Skip to content

Commit

Permalink
#38: Main script refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
lat9 committed Apr 24, 2023
1 parent 51babc1 commit c8797a9
Show file tree
Hide file tree
Showing 2 changed files with 629 additions and 257 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,19 @@ class sales_report2 extends base
$timeframe_id,
$timeframe_sort;

function __construct($parms)
// -----
// Static methods used by the report to display the up- and down-arrow icons.
//
public static function getUpArrowIcon()
{
return '<i class="fa fa-2x fa-caret-up" aria-hidden="true"></i>';
}
public static function getDownArrowIcon()
{
return '<i class="fa fa-2x fa-caret-down" aria-hidden="true"></i>';
}

public function __construct($parms)
{
global $db;

Expand Down
Loading

0 comments on commit c8797a9

Please sign in to comment.