mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-20 20:02:44 -04:00
Sale Overview change:
- set today as view date and comment out the debug dates
This commit is contained in:
@@ -27,11 +27,10 @@ class Sales extends Secure_area
|
||||
$lines_per_page = $this->Appconfig->get('lines_per_page');
|
||||
|
||||
$today = date('Y-m-d');
|
||||
// $yesterday = date('Y-m-d', mktime(0,0,0,date("m"),date("d")-1,date("Y")));
|
||||
// $tomorrow = date('Y-m-d', mktime(0,0,0,date("m"),date("d")+1,date("Y")));
|
||||
$yesterday = date('Y-m-d', mktime(0,0,0,date("m"),date("d")-1,date("Y")));
|
||||
$start_of_time = date('Y-m-d', 0);
|
||||
|
||||
$start_date = $start_of_time;
|
||||
$start_date = $today;
|
||||
$end_date = $today;
|
||||
$sale_type = 'sales';
|
||||
$location_id = 'all';
|
||||
|
||||
Reference in New Issue
Block a user