Passed
Push — dev5 ( 1d1d2b...f018c9 )
by Ron
06:53
created
app/Http/Controllers/DashboardController.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,12 +48,12 @@
 block discarded – undo
48 48
         $totalLinks  = FileLinks::where('user_id', Auth::user()->user_id)->count();
49 49
 
50 50
         return view('dashboard', [
51
-           'custFavs'    => $custFavs,
52
-           'tipFavs'     => $tipFavs,
53
-           'tips30'      => $tips30Days,
54
-           'tipsAll'     => $tipsTotal,
55
-           'activeLinks' => $activeLinks,
56
-           'totalLinks'  => $totalLinks,
51
+            'custFavs'    => $custFavs,
52
+            'tipFavs'     => $tipFavs,
53
+            'tips30'      => $tips30Days,
54
+            'tipsAll'     => $tipsTotal,
55
+            'activeLinks' => $activeLinks,
56
+            'totalLinks'  => $totalLinks,
57 57
 //            'modules'       => $modules
58 58
         ]);
59 59
     }
Please login to merge, or discard this patch.
routes/web.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
 
117 117
 
118 118
 
119
- //     //  System custionization settings
119
+    //     //  System custionization settings
120 120
         //     Route::get('system-customization', 'Installer\SettingsController@customizeSystem')->name('customize');
121 121
         //     Route::post('system-customization', 'Installer\SettingsController@submitCustomizeSystem')->name('customize');
122 122
         //     Route::post('new-logo', 'Installer\SettingsController@submitLogo')->name('submitLogo');
Please login to merge, or discard this patch.
app/Http/Controllers/Installer/SystemsController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -209,10 +209,10 @@  discard block
 block discarded – undo
209 209
     }
210 210
 
211 211
     //  Delete an existing system - note this will fail if the system has any customers or tech tips assigned to it
212
-   public function destroy($id)
213
-   {
214
-       //
215
-       try {
212
+    public function destroy($id)
213
+    {
214
+        //
215
+        try {
216 216
             SystemTypes::find($id)->delete();
217 217
             return response()->json(['success' => true, 'reason' => 'Equipment Successfully Deleted']);
218 218
         }
@@ -220,5 +220,5 @@  discard block
 block discarded – undo
220 220
         {
221 221
             return response()->json(['success' => false, 'reason' => 'Cannot delete this equipment.  It has Customers or Tech Tips assigned to it.  Please delete those first.']);
222 222
         }
223
-   }
223
+    }
224 224
 }
Please login to merge, or discard this patch.