@@ -9,7 +9,7 @@ |
||
9 | 9 | class Location extends Model |
10 | 10 | { |
11 | 11 | protected $table = 'sd_locations'; |
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 TicketType extends Model |
8 | 8 | { |
9 | 9 | protected $table = 'ticket_status'; |
10 | - protected $fillable = ['id','name','created_at','updated_at', |
|
10 | + protected $fillable = ['id', 'name', 'created_at', 'updated_at', |
|
11 | 11 | |
12 | 12 | ]; |
13 | 13 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | class Impact extends Model |
8 | 8 | { |
9 | 9 | protected $table = 'sd_impact_types'; |
10 | - protected $fillable = ['id','saved','created_at','updated_at', |
|
10 | + protected $fillable = ['id', 'saved', 'created_at', 'updated_at', |
|
11 | 11 | |
12 | 12 | ]; |
13 | 13 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class SdChangestatus extends Model |
6 | 6 | { |
7 | 7 | protected $table = 'sd_change_status'; |
8 | - protected $fillable = ['id','name','created_at','updated_at']; |
|
8 | + protected $fillable = ['id', 'name', 'created_at', 'updated_at']; |
|
9 | 9 | } |
10 | 10 | \ No newline at end of file |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | $value = str_limit($attr, 10); |
32 | 32 | } |
33 | 33 | if (strlen($value) > 10) { |
34 | - $value .=" <a href=# id='show-description'>Show</a>"; |
|
34 | + $value .= " <a href=# id='show-description'>Show</a>"; |
|
35 | 35 | } |
36 | 36 | return ucfirst($value); |
37 | 37 | } |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | if ($attr) { |
70 | 70 | $attrs = $this->cab()->first(); |
71 | 71 | if ($attrs) { |
72 | - $value = "<a href='" . url('service-desk/cabs/' . $attr . '/' . $owner . '/show') . "'>$attrs->name</a>"; |
|
72 | + $value = "<a href='".url('service-desk/cabs/'.$attr.'/'.$owner.'/show')."'>$attrs->name</a>"; |
|
73 | 73 | } |
74 | 74 | } |
75 | 75 | //dd($value); |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | if ($attr) { |
123 | 123 | $attrs = $this->locationRelation()->first(); |
124 | 124 | if ($attrs) { |
125 | - $value = "<a href=" . url('service-desk/location-types/' . $attr . '/show') . ">$attrs->title</a>"; |
|
125 | + $value = "<a href=".url('service-desk/location-types/'.$attr.'/show').">$attrs->title</a>"; |
|
126 | 126 | } |
127 | 127 | } |
128 | 128 | return ucfirst($value); |
@@ -210,8 +210,8 @@ discard block |
||
210 | 210 | foreach ($ids as $id) { |
211 | 211 | $ass = $asset->find($id); |
212 | 212 | if ($ass) { |
213 | - $value = "<a href=" . url('service-desk/assets/' . $id . '/show') . ">" . ucfirst($ass->name) . "</a>"; |
|
214 | - $assets .=$value . "</br>"; |
|
213 | + $value = "<a href=".url('service-desk/assets/'.$id.'/show').">".ucfirst($ass->name)."</a>"; |
|
214 | + $assets .= $value."</br>"; |
|
215 | 215 | } |
216 | 216 | } |
217 | 217 | } |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | public function subject() { |
282 | 282 | $id = $this->attributes['id']; |
283 | 283 | $title = $this->attributes['subject']; |
284 | - $subject = "<a href=" . url('service-desk/changes/' . $id . '/show') . ">" . $title . "</a>"; |
|
284 | + $subject = "<a href=".url('service-desk/changes/'.$id.'/show').">".$title."</a>"; |
|
285 | 285 | return $subject; |
286 | 286 | } |
287 | 287 |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class SdChangetypes extends Model |
6 | 6 | { |
7 | 7 | protected $table = 'sd_change_types'; |
8 | - protected $fillable = ['id','name','created_at','updated_at']; |
|
8 | + protected $fillable = ['id', 'name', 'created_at', 'updated_at']; |
|
9 | 9 | } |
10 | 10 | \ No newline at end of file |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class SdChangepriorities extends Model |
6 | 6 | { |
7 | 7 | protected $table = 'sd_change_priorities'; |
8 | - protected $fillable = ['id','name','created_at','updated_at']; |
|
8 | + protected $fillable = ['id', 'name', 'created_at', 'updated_at']; |
|
9 | 9 | } |
10 | 10 | \ No newline at end of file |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class SdImpacttypes extends Model |
6 | 6 | { |
7 | 7 | protected $table = 'sd_impact_types'; |
8 | - protected $fillable = ['id','name','created_at','updated_at']; |
|
8 | + protected $fillable = ['id', 'name', 'created_at', 'updated_at']; |
|
9 | 9 | } |
10 | 10 | \ 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_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 |