Forgotten line for bill payment

This commit is contained in:
Batuhan Baş 2019-02-01 16:27:59 +03:00
parent 69e456b5bf
commit 369d7c83c3

View File

@ -158,7 +158,7 @@ class BillPayments extends Controller
'message' => $message, 'message' => $message,
'html' => 'null', 'html' => 'null',
]); ]);
} elseif ($amount == $total_amount) { } elseif ($amount_check == $total_amount_check) {
$bill->bill_status_code = 'paid'; $bill->bill_status_code = 'paid';
} else { } else {
$bill->bill_status_code = 'partial'; $bill->bill_status_code = 'partial';