@@ -127,7 +127,7 @@ |
||
| 127 | 127 | \Cart::clear(); |
| 128 | 128 | $status = 'success'; |
| 129 | 129 | $message = view('themes.default1.front.postPaymentTemplate', compact('invoice','orders', |
| 130 | - 'invoiceItems', 'state', 'currency'))->render(); |
|
| 130 | + 'invoiceItems', 'state', 'currency'))->render(); |
|
| 131 | 131 | |
| 132 | 132 | return ['status'=>$status, 'message'=>$message]; |
| 133 | 133 | } |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | $paymentid = $request->input('id'); |
| 29 | 29 | $creditAmtUserId = $this->payment->where('id', $paymentid)->value('user_id'); |
| 30 | 30 | $creditAmt = $this->payment->where('user_id', $creditAmtUserId) |
| 31 | - ->where('invoice_id', '=', 0)->value('amt_to_credit'); |
|
| 31 | + ->where('invoice_id', '=', 0)->value('amt_to_credit'); |
|
| 32 | 32 | $invoices = $invoice->where('user_id', $creditAmtUserId)->orderBy('created_at', 'desc')->get(); |
| 33 | 33 | $cltCont = new \App\Http\Controllers\User\ClientController(); |
| 34 | 34 | $invoiceSum = $cltCont->getTotalInvoice($invoices); |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | $payment_method, |
| 62 | 62 | $invoiceid, |
| 63 | 63 | $amount, |
| 64 | - $parent_id = '', |
|
| 64 | + $parent_id = '', |
|
| 65 | 65 | $userid = '', |
| 66 | 66 | $payment_status = 'pending' |
| 67 | 67 | ) { |
@@ -217,15 +217,15 @@ discard block |
||
| 217 | 217 | |
| 218 | 218 | return view( |
| 219 | 219 | 'themes.default1.invoice.payment', |
| 220 | - compact( |
|
| 221 | - 'invoice_status', |
|
| 222 | - 'payment_status', |
|
| 223 | - 'payment_method', |
|
| 224 | - 'invoice_id', |
|
| 225 | - 'domain', |
|
| 226 | - 'invoice', |
|
| 227 | - 'userid' |
|
| 228 | - ) |
|
| 220 | + compact( |
|
| 221 | + 'invoice_status', |
|
| 222 | + 'payment_status', |
|
| 223 | + 'payment_method', |
|
| 224 | + 'invoice_id', |
|
| 225 | + 'domain', |
|
| 226 | + 'invoice', |
|
| 227 | + 'userid' |
|
| 228 | + ) |
|
| 229 | 229 | ); |
| 230 | 230 | } |
| 231 | 231 | |