@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('api_settings', function (Blueprint $table) { |
|
15 | + Schema::create('api_settings', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('key'); |
18 | 18 | $table->string('value'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('template_types', function (Blueprint $table) { |
|
15 | + Schema::create('template_types', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->timestamps(); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('kb_article_relationship', function (Blueprint $table) { |
|
15 | + Schema::create('kb_article_relationship', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('article_id')->unsigned()->index('article_relationship_article_id_foreign'); |
18 | 18 | $table->integer('category_id')->unsigned()->index('article_relationship_category_id_foreign'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('ratings', function (Blueprint $table) { |
|
15 | + Schema::create('ratings', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->integer('display_order'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('department', function (Blueprint $table) { |
|
15 | + Schema::create('department', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->string('type'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('timezone', function (Blueprint $table) { |
|
15 | + Schema::create('timezone', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->string('location'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('log_notification', function (Blueprint $table) { |
|
15 | + Schema::create('log_notification', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('log'); |
18 | 18 | $table->timestamps(); |
@@ -32,7 +32,7 @@ |
||
32 | 32 | $impact = App\Itil\Models\Problem\Impact::lists('name', 'id')->toArray(); |
33 | 33 | $group = \App\Model\helpdesk\Agent\Groups::lists('name', 'id')->toArray(); |
34 | 34 | $agent = \App\User::where('role', '!=', 'user')->lists('email', 'id')->toArray(); |
35 | - if(isAsset()==true){ |
|
35 | + if (isAsset() == true) { |
|
36 | 36 | $assets = \App\Itil\Models\Assets\SdAssets::lists('name', 'id')->toArray(); |
37 | 37 | } |
38 | 38 | $location = App\Itil\Models\Common\Location::lists('title', 'id')->toArray(); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | </div> |
16 | 16 | <div class="btn-group"> |
17 | 17 | <?php |
18 | - $url = url('service-desk/location-types/' . $location->id . '/delete'); |
|
18 | + $url = url('service-desk/location-types/'.$location->id.'/delete'); |
|
19 | 19 | $delete = \App\Itil\Controllers\UtilityController::deletePopUp($location->id, $url, "Delete $location->name", "btn btn-danger"); |
20 | 20 | ?> |
21 | 21 | {!! $delete !!} |