@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('sd_change_release', function (Blueprint $table) { |
|
15 | + Schema::create('sd_change_release', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('change_id')->unsigned()->nullable(); |
18 | 18 | $table->foreign('change_id')->references('id')->on('sd_changes'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('sd_cab_votes', function (Blueprint $table) { |
|
15 | + Schema::create('sd_cab_votes', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('cab_id')->unsigned()->nullable(); |
18 | 18 | $table->foreign('cab_id')->references('id')->on('sd_cab'); |
@@ -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 | |-------------------------------------- |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class Group extends Model |
10 | 10 | { |
11 | 11 | protected $table = 'sd_group_types'; |
12 | - protected $fillable = ['id','name','created_at','updated_at', |
|
12 | + protected $fillable = ['id', 'name', 'created_at', 'updated_at', |
|
13 | 13 | |
14 | 14 | ]; |
15 | 15 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | class Attachments extends Model |
8 | 8 | { |
9 | 9 | protected $table = 'sd_attachments'; |
10 | - protected $fillable = ['id','saved','owner','value','type','size','created_at','updated_at', |
|
10 | + protected $fillable = ['id', 'saved', 'owner', 'value', 'type', 'size', 'created_at', 'updated_at', |
|
11 | 11 | |
12 | 12 | ]; |
13 | 13 | } |
@@ -73,8 +73,8 @@ discard block |
||
73 | 73 | foreach ($ids as $id) { |
74 | 74 | $ass = $asset->find($id); |
75 | 75 | if ($ass) { |
76 | - $value = "<a href=" . url('service-desk/assets/' . $id . '/show') . ">" . ucfirst($ass->name) . "</a>"; |
|
77 | - $assets .=$value . "</br>"; |
|
76 | + $value = "<a href=".url('service-desk/assets/'.$id.'/show').">".ucfirst($ass->name)."</a>"; |
|
77 | + $assets .= $value."</br>"; |
|
78 | 78 | } |
79 | 79 | } |
80 | 80 | } |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | $attrs = $this->belongsTo('App\Itil\Models\Problem\Location', 'location_type_id')->first(); |
143 | 143 | //dd($attrs); |
144 | 144 | if ($attrs) { |
145 | - $value = "<a href=" . url('service-desk/location-types/' . $attr . '/show') . ">$attrs->title</a>"; |
|
145 | + $value = "<a href=".url('service-desk/location-types/'.$attr.'/show').">$attrs->title</a>"; |
|
146 | 146 | } |
147 | 147 | } |
148 | 148 | return ucfirst($value); |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | $value = str_limit($attr, 10); |
209 | 209 | } |
210 | 210 | if (strlen($value) > 10) { |
211 | - $value .=" <a href=# id='show-description'>Show</a>"; |
|
211 | + $value .= " <a href=# id='show-description'>Show</a>"; |
|
212 | 212 | } |
213 | 213 | return ucfirst($value); |
214 | 214 | } |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | public function subject() { |
331 | 331 | $id = $this->attributes['id']; |
332 | 332 | $title = $this->attributes['subject']; |
333 | - $subject = "<a href=" . url('service-desk/problem/' . $id . '/show') . ">" . $title . "</a>"; |
|
333 | + $subject = "<a href=".url('service-desk/problem/'.$id.'/show').">".$title."</a>"; |
|
334 | 334 | return $subject; |
335 | 335 | } |
336 | 336 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class Priority extends Model |
10 | 10 | { |
11 | 11 | protected $table = 'sd_priority_types'; |
12 | - protected $fillable = ['id','name','contract_end_date','created_at','updated_at', |
|
12 | + protected $fillable = ['id', 'name', 'contract_end_date', 'created_at', 'updated_at', |
|
13 | 13 | |
14 | 14 | ]; |
15 | 15 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class Assigned extends Model |
10 | 10 | { |
11 | 11 | protected $table = 'sd_assigned_types'; |
12 | - protected $fillable = ['id','name','created_at','updated_at', |
|
12 | + protected $fillable = ['id', 'name', 'created_at', 'updated_at', |
|
13 | 13 | |
14 | 14 | ]; |
15 | 15 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class Agent extends Model |
10 | 10 | { |
11 | 11 | protected $table = 'sd_agent_types'; |
12 | - protected $fillable = ['id','name','created_at','updated_at', |
|
12 | + protected $fillable = ['id', 'name', 'created_at', 'updated_at', |
|
13 | 13 | |
14 | 14 | ]; |
15 | 15 | } |