Completed
Push — development ( 7faa8d...b5300f )
by Ashutosh
15:42
created
app/Http/Controllers/Payment/TaxController.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -106,27 +106,27 @@  discard block
 block discarded – undo
106 106
     public function getTaxTable()
107 107
     {
108 108
         return \DataTables::of(TaxByState::select('id', 'state', 'c_gst', 's_gst', 'i_gst', 'ut_gst')->get())
109
-                         ->addColumn('id', function ($model) {
110
-                             return $model->id;
111
-                         })
112
-
113
-                         ->addColumn('state', function ($model) {
114
-                             return ucfirst($model->state);
115
-                         })
116
-                         ->addColumn('c_gst', function ($model) {
117
-                             return ucfirst($model->c_gst);
118
-                         })
119
-                         ->addColumn('s_gst', function ($model) {
120
-                             return ucfirst($model->s_gst);
121
-                         })
122
-                         ->addColumn('i_gst', function ($model) {
123
-                             return ucfirst($model->i_gst);
124
-                         })
125
-                         ->addColumn('ut_gst', function ($model) {
126
-                             return ucfirst($model->ut_gst);
127
-                         })
128
-                          ->rawColumns(['id', 'state',  'c_gst', 's_gst', 'i_gst', 'ut_gst'])
129
-                          ->make(true);
109
+                            ->addColumn('id', function ($model) {
110
+                                return $model->id;
111
+                            })
112
+
113
+                            ->addColumn('state', function ($model) {
114
+                                return ucfirst($model->state);
115
+                            })
116
+                            ->addColumn('c_gst', function ($model) {
117
+                                return ucfirst($model->c_gst);
118
+                            })
119
+                            ->addColumn('s_gst', function ($model) {
120
+                                return ucfirst($model->s_gst);
121
+                            })
122
+                            ->addColumn('i_gst', function ($model) {
123
+                                return ucfirst($model->i_gst);
124
+                            })
125
+                            ->addColumn('ut_gst', function ($model) {
126
+                                return ucfirst($model->ut_gst);
127
+                            })
128
+                            ->rawColumns(['id', 'state',  'c_gst', 's_gst', 'i_gst', 'ut_gst'])
129
+                            ->make(true);
130 130
     }
131 131
 
132 132
     /**
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
             }
175 175
             $defaultValue = ['Others', 'Intra State GST', 'Inter State GST', 'Union Territory GST'];
176 176
 
177
-          $state = \App\Http\Controllers\Front\CartController::getStateByCode($tax->state);
177
+            $state = \App\Http\Controllers\Front\CartController::getStateByCode($tax->state);
178 178
             $states = \App\Http\Controllers\Front\CartController::findStateByRegionId($tax->country);
179 179
             if (count($classes) == 0) {
180 180
                 $classes = $this->tax_class->get();
Please login to merge, or discard this patch.
app/Http/Controllers/Product/BaseProductController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -303,7 +303,7 @@
 block discarded – undo
303 303
             if ($product->retired == 1) {
304 304
                 $field .= "<div class='col-md-4 form-group'>
305 305
 	                        <label class='required'>"./* @scrutinizer ignore-type */
306
-                             \Lang::get('message.description')."</label>
306
+                                \Lang::get('message.description')."</label>
307 307
 	                        <textarea name='description' class='form-control' id='description' placeholder='Description'></textarea>
308 308
 	                </div>";
309 309
             }
Please login to merge, or discard this patch.