@@ -125,10 +125,10 @@ discard block |
||
| 125 | 125 | ->addColumn('name', function ($model) { |
| 126 | 126 | return ucfirst($model->name); |
| 127 | 127 | }) |
| 128 | - ->addColumn('image', function ($model) { |
|
| 129 | - // return $model->image; |
|
| 130 | - return "<img src= '$model->image' + height=\"80\"/>"; |
|
| 131 | - }) |
|
| 128 | + ->addColumn('image', function ($model) { |
|
| 129 | + // return $model->image; |
|
| 130 | + return "<img src= '$model->image' + height=\"80\"/>"; |
|
| 131 | + }) |
|
| 132 | 132 | ->addColumn('type', function ($model) { |
| 133 | 133 | if ($this->type->where('id', $model->type)->first()) { |
| 134 | 134 | return $this->type->where('id', $model->type)->first()->name; |
@@ -174,9 +174,9 @@ discard block |
||
| 174 | 174 | $this->validate($request, [ |
| 175 | 175 | 'producttitle' => 'required', |
| 176 | 176 | 'version' => 'required', |
| 177 | - // 'filename' => 'required', |
|
| 178 | - // ], |
|
| 179 | - // ['filename.required' => 'Please Uplaod A file', |
|
| 177 | + // 'filename' => 'required', |
|
| 178 | + // ], |
|
| 179 | + // ['filename.required' => 'Please Uplaod A file', |
|
| 180 | 180 | ]); |
| 181 | 181 | |
| 182 | 182 | try { |