mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-16 12:57:32 -04:00
Fix Summary report table header (#1972)
This commit is contained in:
@@ -366,7 +366,7 @@ class Reports extends Secure_Controller
|
||||
$tabular_data[] = $this->xss_clean(array(
|
||||
'payment_type' => $row['payment_type'],
|
||||
'report_count' => $row['count'],
|
||||
'amount_tendered' => to_currency($row['payment_amount'])
|
||||
'amount_due' => to_currency($row['payment_amount'])
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ class Summary_payments extends Summary_report
|
||||
return array(
|
||||
array('payment_type' => $this->lang->line('reports_payment_type')),
|
||||
array('report_count' => $this->lang->line('reports_count')),
|
||||
array('amount_tendered' => $this->lang->line('sales_amount_tendered'), 'sorter' => 'number_sorter'));
|
||||
array('amount_due' => $this->lang->line('sales_amount_due'), 'sorter' => 'number_sorter'));
|
||||
}
|
||||
|
||||
public function getData(array $inputs)
|
||||
|
||||
Reference in New Issue
Block a user