Completed
Push — dev5 ( 8c09cb...b58b46 )
by Ron
08:27
created
app/Http/Controllers/Customers/CustomerController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
             $searchResults = new CustomerCollection(
112 112
             Customers::where('cust_id', 'like', '%'.$request->search.'%')
113 113
                 ->orWhere('name', 'like', '%'.$request->search.'%')
114
-                ->orWhere('dba_name', 'like', '%' . $request->search . '%')
114
+                ->orWhere('dba_name', 'like', '%'.$request->search.'%')
115 115
                 ->get()
116 116
             );
117 117
         }
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     //  Toggle whether or not the customer is listed as a user favorite
144 144
     public function toggleFav($action, $id)
145 145
     {
146
-        switch ($action)
146
+        switch($action)
147 147
         {
148 148
             case 'add':
149 149
                 CustomerFavs::create([
Please login to merge, or discard this patch.