Completed
Push — development ( 034e49...2b1a43 )
by Bhanu
21:29 queued 11:19
created
app/Traits/PaymentsAndInvoices.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
                 $paymentRenewal = $this->updateInvoicePayment(
158 158
                 $invoiceid,
159 159
                 $payment_method,
160
-             $payment_status,
160
+                $payment_status,
161 161
                 $payment_date,
162 162
                 $amount
163 163
             );
@@ -215,15 +215,15 @@  discard block
 block discarded – undo
215 215
 
216 216
                     return view(
217 217
                     'themes.default1.invoice.payment',
218
-                 compact(
219
-                     'invoice_status',
220
-                     'payment_status',
221
-                  'payment_method',
222
-                     'invoice_id',
223
-                     'domain',
224
-                     'invoice',
225
-                     'userid'
226
-                 )
218
+                    compact(
219
+                        'invoice_status',
220
+                        'payment_status',
221
+                    'payment_method',
222
+                        'invoice_id',
223
+                        'domain',
224
+                        'invoice',
225
+                        'userid'
226
+                    )
227 227
                 );
228 228
                 }
229 229
 
Please login to merge, or discard this patch.
app/Http/Controllers/Common/BaseMailChimpController.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -50,18 +50,18 @@  discard block
 block discarded – undo
50 50
             }
51 51
             if ($interestGroupIdForNo && $productGroupId) {
52 52
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
53
-                 'interests'         => [$interestGroupIdForNo => true, $interestGroupIdForYes=>false, $productGroupId =>true],
54
-                  ]);
53
+                    'interests'         => [$interestGroupIdForNo => true, $interestGroupIdForYes=>false, $productGroupId =>true],
54
+                    ]);
55 55
             //refer to https://us7.api.mailchimp.com/playground
56 56
             } elseif ($interestGroupIdForNo && $productGroupId == null) {
57 57
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
58
-                 'interests'         => [$interestGroupIdForNo => true, $interestGroupIdForYes=>false],
59
-                  ]);
58
+                    'interests'         => [$interestGroupIdForNo => true, $interestGroupIdForYes=>false],
59
+                    ]);
60 60
             //refer to https://us7.api.mailchimp.com/playground
61 61
             } elseif ($productGroupId && $interestGroupIdForNo == null || $interestGroupIdForYes == null) {
62 62
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
63
-                 'interests'         => [$productGroupId =>true],
64
-                  ]);
63
+                    'interests'         => [$productGroupId =>true],
64
+                    ]);
65 65
             }
66 66
         } catch (Exception $ex) {
67 67
             $exe = json_decode($ex->getMessage(), true);
@@ -85,18 +85,18 @@  discard block
 block discarded – undo
85 85
             }
86 86
             if ($interestGroupIdForNo && $productGroupId) {
87 87
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
88
-                 'interests'         => [$interestGroupIdForNo => false, $interestGroupIdForYes=>true, $productGroupId =>true],
89
-                 //refer to https://us7.api.mailchimp.com/playground
90
-                 ]);
88
+                    'interests'         => [$interestGroupIdForNo => false, $interestGroupIdForYes=>true, $productGroupId =>true],
89
+                    //refer to https://us7.api.mailchimp.com/playground
90
+                    ]);
91 91
             } elseif ($interestGroupIdForNo && $productGroupId == null) {
92 92
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
93
-                 'interests'         => [$interestGroupIdForNo => false, $interestGroupIdForYes=>true],
94
-                  ]);
93
+                    'interests'         => [$interestGroupIdForNo => false, $interestGroupIdForYes=>true],
94
+                    ]);
95 95
             //refer to https://us7.api.mailchimp.com/playground
96 96
             } elseif ($productGroupId && $interestGroupIdForNo == null || $interestGroupIdForYes == null) {
97 97
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
98
-                 'interests'         => [$productGroupId =>true],
99
-                  ]);
98
+                    'interests'         => [$productGroupId =>true],
99
+                    ]);
100 100
             }
101 101
             //refer to https://us7.api.mailchimp.com/playground
102 102
         } catch (Exception $ex) {
Please login to merge, or discard this patch.