Fix cash totals in payment summary (#3138)

This commit is contained in:
Jeroen Peelaerts
2021-04-06 10:32:56 +02:00
committed by jekkos
parent 85b9e3bf65
commit a3a06fdb07
3 changed files with 11 additions and 63 deletions

View File

@@ -77,7 +77,7 @@ class Sales extends Secure_Controller
$sales = $this->Sale->search($search, $filters, $limit, $offset, $sort, $order);
$total_rows = $this->Sale->get_found_rows($search, $filters);
$payments = $this->Sale->get_payments_summary($search, $filters);
$payment_summary = $this->xss_clean(get_sales_manage_payments_summary($payments, $sales));
$payment_summary = $this->xss_clean(get_sales_manage_payments_summary($payments));
$data_rows = array();
foreach($sales->result() as $sale)