Completed
Pull Request — development (#480)
by Ashutosh
24:12 queued 12:58
created
app/Http/Controllers/Order/ExtendedBaseInvoiceController.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
             $orders = $order->where('client', $clientid)->get();
34 34
 
35 35
             return view('themes.default1.invoice.newpayment', compact('clientid', 'client', 'invoices',  'orders',
36
-                  'invoiceSum', 'amountReceived', 'pendingAmount', 'currency'));
36
+                    'invoiceSum', 'amountReceived', 'pendingAmount', 'currency'));
37 37
         } catch (Exception $ex) {
38 38
             return redirect()->back()->with('fails', $ex->getMessage());
39 39
         }
@@ -42,9 +42,9 @@  discard block
 block discarded – undo
42 42
     public function postNewPayment($clientid, Request $request)
43 43
     {
44 44
         $this->validate($request, [
45
-           'payment_date'  => 'required',
46
-           'payment_method'=> 'required',
47
-           'amount'        => 'required',
45
+            'payment_date'  => 'required',
46
+            'payment_method'=> 'required',
47
+            'amount'        => 'required',
48 48
         ]);
49 49
 
50 50
         try {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
             $currency = $client->currency;
33 33
             $orders = $order->where('client', $clientid)->get();
34 34
 
35
-            return view('themes.default1.invoice.newpayment', compact('clientid', 'client', 'invoices',  'orders',
35
+            return view('themes.default1.invoice.newpayment', compact('clientid', 'client', 'invoices', 'orders',
36 36
                   'invoiceSum', 'amountReceived', 'pendingAmount', 'currency'));
37 37
         } catch (Exception $ex) {
38 38
             return redirect()->back()->with('fails', $ex->getMessage());
Please login to merge, or discard this patch.