@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | |
| 190 | 190 | return response()->json($result); |
| 191 | 191 | } catch (\Exception $ex) { |
| 192 | - app('log')->error($ex->getMessage()); |
|
| 192 | + app('log')->error($ex->getMessage()); |
|
| 193 | 193 | Bugsnag::notifyException($ex); |
| 194 | 194 | |
| 195 | 195 | return $ex->getMessage(); |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | return redirect('auth/login')->with('fails', \Lang::get('please-purcahse-a-product')); |
| 238 | 238 | } |
| 239 | 239 | } catch (\Exception $ex) { |
| 240 | - app('log')->error($ex->getMessage()); |
|
| 240 | + app('log')->error($ex->getMessage()); |
|
| 241 | 241 | Bugsnag::notifyException($ex); |
| 242 | 242 | |
| 243 | 243 | return redirect('auth/login')->with('fails', $ex->getMessage()); |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | $paymentRenewal = $this->updateInvoicePayment( |
| 159 | 159 | $invoiceid, |
| 160 | 160 | $payment_method, |
| 161 | - $payment_status, |
|
| 161 | + $payment_status, |
|
| 162 | 162 | $payment_date, |
| 163 | 163 | $amount |
| 164 | 164 | ); |
@@ -216,15 +216,15 @@ discard block |
||
| 216 | 216 | |
| 217 | 217 | return view( |
| 218 | 218 | 'themes.default1.invoice.payment', |
| 219 | - compact( |
|
| 220 | - 'invoice_status', |
|
| 221 | - 'payment_status', |
|
| 222 | - 'payment_method', |
|
| 223 | - 'invoice_id', |
|
| 224 | - 'domain', |
|
| 225 | - 'invoice', |
|
| 226 | - 'userid' |
|
| 227 | - ) |
|
| 219 | + compact( |
|
| 220 | + 'invoice_status', |
|
| 221 | + 'payment_status', |
|
| 222 | + 'payment_method', |
|
| 223 | + 'invoice_id', |
|
| 224 | + 'domain', |
|
| 225 | + 'invoice', |
|
| 226 | + 'userid' |
|
| 227 | + ) |
|
| 228 | 228 | ); |
| 229 | 229 | } |
| 230 | 230 | |
@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | foreach ($amounts as $amount) { |
| 365 | 365 | if ($amount) { |
| 366 | 366 | $paidSum = $paidSum + $amount->amount; |
| 367 | - // $credit = $paidSum + $amount->amt_to_credit; |
|
| 367 | + // $credit = $paidSum + $amount->amt_to_credit; |
|
| 368 | 368 | } |
| 369 | 369 | } |
| 370 | 370 | return $paidSum; |
@@ -374,5 +374,5 @@ discard block |
||
| 374 | 374 | |
| 375 | 375 | return redirect()->back()->with('fails', $ex->getMessage()); |
| 376 | 376 | } |
| 377 | - } |
|
| 377 | + } |
|
| 378 | 378 | } |