Fix Summary report table header (#1972)

This commit is contained in:
FrancescoUK committed 2018-05-12 20:34:27 +01:00
1 parent 37390ae9dd
commit b13ac8d4f0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)