Fix Summary report table header (#1972)

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

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'])
));
}

View File

@@ -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)