@@ -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 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | class SdStatusTypes extends Model |
8 | 8 | { |
9 | 9 | protected $table = 'sd_status_types'; |
10 | - protected $fillable = ['id','name','created_at','updated_at', |
|
10 | + protected $fillable = ['id', 'name', 'created_at', 'updated_at', |
|
11 | 11 | |
12 | 12 | ]; |
13 | 13 | } |
@@ -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 | } |