From cd8f5fe9224f2ba9842f8b1dfc3f6b8c66f2ccef Mon Sep 17 00:00:00 2001 From: cuneytsenturk Date: Sat, 10 Nov 2018 16:55:43 +0300 Subject: [PATCH] close #614 Fixed: Cannot pay for the bill and cannot delete the bill --- app/Jobs/Expense/CreateBill.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Expense/CreateBill.php b/app/Jobs/Expense/CreateBill.php index 92d64d6a5..a4463fa82 100644 --- a/app/Jobs/Expense/CreateBill.php +++ b/app/Jobs/Expense/CreateBill.php @@ -85,7 +85,7 @@ class CreateBill $amount = $s_total + $tax_total; - $request['amount'] = money($amount, $this->request['currency_code'])->getAmount(); + $this->request['amount'] = money($amount, $this->request['currency_code'])->getAmount(); $bill->update($this->request->input());