print bill bug

This commit is contained in:
MJ Isip 2019-11-27 16:34:04 +08:00
parent b541b0a2c2
commit e139e71199

View File

@ -362,7 +362,7 @@ class Bills extends Controller
{ {
$paid = 0; $paid = 0;
foreach ($bill->payments as $item) { foreach ($bill->transactions as $item) {
$amount = $item->amount; $amount = $item->amount;
if ($bill->currency_code != $item->currency_code) { if ($bill->currency_code != $item->currency_code) {