@@ -175,7 +175,7 @@ |
||
| 175 | 175 | 'Chumper\Datatable\DatatableServiceProvider', |
| 176 | 176 | 'Chumper\Zipper\ZipperServiceProvider', |
| 177 | 177 | 'Tymon\JWTAuth\Providers\JWTAuthServiceProvider', |
| 178 | - \Torann\GeoIP\GeoIPServiceProvider::class, |
|
| 178 | + \Torann\GeoIP\GeoIPServiceProvider::class, |
|
| 179 | 179 | Unisharp\Laravelfilemanager\LaravelFilemanagerServiceProvider::class, |
| 180 | 180 | Intervention\Image\ImageServiceProvider::class, |
| 181 | 181 | Unisharp\Ckeditor\ServiceProvider::class, |
@@ -5,25 +5,25 @@ discard block |
||
| 5 | 5 | |
| 6 | 6 | class CreateLocationRequest extends Request { |
| 7 | 7 | |
| 8 | - /** |
|
| 9 | - * Determine if the user is authorized to make this request. |
|
| 10 | - * |
|
| 11 | - * @return bool |
|
| 12 | - */ |
|
| 13 | - public function authorize() |
|
| 14 | - { |
|
| 15 | - return true; |
|
| 16 | - } |
|
| 8 | + /** |
|
| 9 | + * Determine if the user is authorized to make this request. |
|
| 10 | + * |
|
| 11 | + * @return bool |
|
| 12 | + */ |
|
| 13 | + public function authorize() |
|
| 14 | + { |
|
| 15 | + return true; |
|
| 16 | + } |
|
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Get the validation rules that apply to the request. |
|
| 20 | - * |
|
| 21 | - * @return array |
|
| 22 | - */ |
|
| 23 | - public function rules() |
|
| 24 | - { |
|
| 25 | - return [ |
|
| 26 | - // |
|
| 18 | + /** |
|
| 19 | + * Get the validation rules that apply to the request. |
|
| 20 | + * |
|
| 21 | + * @return array |
|
| 22 | + */ |
|
| 23 | + public function rules() |
|
| 24 | + { |
|
| 25 | + return [ |
|
| 26 | + // |
|
| 27 | 27 | 'title' =>'required|max:15', |
| 28 | 28 | 'email' =>'email|required', |
| 29 | 29 | 'phone' =>'required|numeric', |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | 'department' =>'required', |
| 33 | 33 | |
| 34 | 34 | |
| 35 | - ]; |
|
| 36 | - } |
|
| 35 | + ]; |
|
| 36 | + } |
|
| 37 | 37 | |
| 38 | 38 | } |
| 39 | 39 | \ No newline at end of file |
@@ -45,10 +45,10 @@ |
||
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | public function seed(){ |
| 48 | - try{ |
|
| 49 | - $controller = new ServiceDeskSeeder(); |
|
| 50 | - $controller->run(); |
|
| 51 | - return 1; |
|
| 48 | + try{ |
|
| 49 | + $controller = new ServiceDeskSeeder(); |
|
| 50 | + $controller->run(); |
|
| 51 | + return 1; |
|
| 52 | 52 | } catch (Exception $ex) { |
| 53 | 53 | dd($ex); |
| 54 | 54 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | return \Datatable::Collection($locationcategory) |
| 27 | 27 | ->showColumns('name', 'created_at', 'updated_at') |
| 28 | 28 | ->addColumn('action', function($model) { |
| 29 | - $url = url('service-desk/location-category-types/'.$model->id.'/delete'); |
|
| 29 | + $url = url('service-desk/location-category-types/'.$model->id.'/delete'); |
|
| 30 | 30 | $delete = \App\Itil\Controllers\UtilityController::deletePopUp($model->id, $url, "Delete $model->subject",'btn btn-danger btn-sm'); |
| 31 | 31 | |
| 32 | 32 | return "<a href=" . url('service-desk/location-category-types/' . $model->id . '/edit') . " class='btn btn-info btn-sm'>Edit</a>" |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | /** |
| 15 | 15 | * common |
| 16 | 16 | */ |
| 17 | - 'show'=>'Show', |
|
| 17 | + 'show'=>'Show', |
|
| 18 | 18 | 'edit'=>'Edit', |
| 19 | 19 | |
| 20 | 20 | |
@@ -367,7 +367,7 @@ discard block |
||
| 367 | 367 | 'vote'=>'Vote', |
| 368 | 368 | 'comment'=>'Comment', |
| 369 | 369 | 'show-vote'=>'Show Vote', |
| 370 | - /* |
|
| 370 | + /* |
|
| 371 | 371 | |-------------------------------------- |
| 372 | 372 | | Location Catagory create lang |
| 373 | 373 | |-------------------------------------- |
@@ -403,7 +403,7 @@ discard block |
||
| 403 | 403 | 'assigned'=>'Assigned', |
| 404 | 404 | 'serial_no'=>'Serial No', |
| 405 | 405 | |
| 406 | - /* |
|
| 406 | + /* |
|
| 407 | 407 | |-------------------------------------- |
| 408 | 408 | | Location Catagory create lang |
| 409 | 409 | |-------------------------------------- |
@@ -7,5 +7,5 @@ |
||
| 7 | 7 | { |
| 8 | 8 | protected $table = 'sd_release_priorities'; |
| 9 | 9 | |
| 10 | - protected $fillable = ['id','name','created_at','updated_at']; |
|
| 10 | + protected $fillable = ['id','name','created_at','updated_at']; |
|
| 11 | 11 | } |
| 12 | 12 | \ No newline at end of file |
@@ -7,5 +7,5 @@ |
||
| 7 | 7 | { |
| 8 | 8 | protected $table = 'sd_release_status'; |
| 9 | 9 | |
| 10 | - protected $fillable = ['id','name','created_at','updated_at']; |
|
| 10 | + protected $fillable = ['id','name','created_at','updated_at']; |
|
| 11 | 11 | } |
| 12 | 12 | \ No newline at end of file |
@@ -7,5 +7,5 @@ |
||
| 7 | 7 | { |
| 8 | 8 | protected $table = 'sd_release_priorities'; |
| 9 | 9 | |
| 10 | - protected $fillable = ['id','name','created_at','updated_at']; |
|
| 10 | + protected $fillable = ['id','name','created_at','updated_at']; |
|
| 11 | 11 | } |
| 12 | 12 | \ No newline at end of file |
@@ -7,5 +7,5 @@ |
||
| 7 | 7 | { |
| 8 | 8 | protected $table = 'sd_release_types'; |
| 9 | 9 | |
| 10 | - protected $fillable = ['id','name','created_at','updated_at']; |
|
| 10 | + protected $fillable = ['id','name','created_at','updated_at']; |
|
| 11 | 11 | } |
| 12 | 12 | \ No newline at end of file |