Completed
Branch development (b1b115)
by Johannes
10:28
created
app/Http/Controllers/DashboardController.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
         return view('themes.default1.common.dashboard', compact('totalSalesINR', 'totalSalesUSD',
47 47
                 'yearlySalesINR', 'yearlySalesUSD', 'monthlySalesINR', 'monthlySalesUSD', 'users',
48 48
 
49
-                 'count_users', 'arraylists', 'productSoldlists','orders','subscriptions','invoices',
50
-                 'products', 'arrayCountList'));
49
+                    'count_users', 'arraylists', 'productSoldlists','orders','subscriptions','invoices',
50
+                    'products', 'arrayCountList'));
51 51
     }
52 52
 
53 53
     /**
@@ -156,9 +156,9 @@  discard block
 block discarded – undo
156 156
     {
157 157
         $user = new User();
158 158
         $allUsers = $user->orderBy('created_at', 'desc')->where('active', 1)->where('mobile_verified', 1)
159
-              ->take(8)
160
-              ->get()
161
-              ->toArray();
159
+                ->take(8)
160
+                ->get()
161
+                ->toArray();
162 162
 
163 163
         return $allUsers;
164 164
     }
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
         $dayUtc = new Carbon('-30 days');
190 190
         $minus30Day = $dayUtc->toDateTimeString();
191 191
         $recentOrders = Order::where('created_at', '>', $minus30Day)->orderBy('created_at', 'desc')
192
-                 ->where('price_override', '>', 0)->get();
192
+                    ->where('price_override', '>', 0)->get();
193 193
 
194 194
         return $recentOrders;
195 195
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         return view('themes.default1.common.dashboard', compact('totalSalesINR', 'totalSalesUSD',
47 47
                 'yearlySalesINR', 'yearlySalesUSD', 'monthlySalesINR', 'monthlySalesUSD', 'users',
48 48
 
49
-                 'count_users', 'arraylists', 'productSoldlists','orders','subscriptions','invoices',
49
+                 'count_users', 'arraylists', 'productSoldlists', 'orders', 'subscriptions', 'invoices',
50 50
                  'products', 'arrayCountList'));
51 51
     }
52 52
 
Please login to merge, or discard this patch.