close #767 Fixed: Modals dublicate action issue (Customer, Vendor, Tax, Payment etc)

This commit is contained in:
cuneytsenturk
2019-02-13 15:33:00 +03:00
parent c073248ec5
commit 3b8a276219
12 changed files with 196 additions and 150 deletions

View File

@ -59,7 +59,9 @@ class BillPayments extends Controller
$bill->grand_total = round($bill->total - $paid, $currency->precision) ;
}
$html = view('modals.bills.payment', compact('bill', 'accounts', 'currencies', 'currency', 'payment_methods'))->render();
$rand = rand();
$html = view('modals.bills.payment', compact('bill', 'accounts', 'currencies', 'currency', 'payment_methods', 'rand'))->render();
return response()->json([
'success' => true,