show invoice/bill totals sorted
This commit is contained in:
@ -74,7 +74,7 @@ class Bills extends Controller
|
||||
$date_format = $this->getCompanyDateFormat();
|
||||
|
||||
// Get Bill Totals
|
||||
foreach ($bill->totals as $bill_total) {
|
||||
foreach ($bill->totals_sorted as $bill_total) {
|
||||
$bill->{$bill_total->code} = $bill_total->amount;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user