@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -$reason =""; |
|
2 | +$reason = ""; |
|
3 | 3 | if ($change->getGeneralByIdentifier('reason')) { |
4 | 4 | $reason = $change->getGeneralByIdentifier('reason')->value; |
5 | 5 | } |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -$backout =""; |
|
2 | +$backout = ""; |
|
3 | 3 | if ($change->getGeneralByIdentifier('backout-plan')) { |
4 | 4 | $backout = $change->getGeneralByIdentifier('backout-plan')->value; |
5 | 5 | } |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -$rollout =""; |
|
2 | +$rollout = ""; |
|
3 | 3 | if ($change->getGeneralByIdentifier('rollout-plan')) { |
4 | 4 | $rollout = $change->getGeneralByIdentifier('rollout-plan')->value; |
5 | 5 | } |
@@ -3,7 +3,7 @@ |
||
3 | 3 | $sd_release_priorities = \App\Itil\Models\Releases\SdReleasepriorities::lists('name', 'id')->toArray(); |
4 | 4 | $sd_release_types = App\Itil\Models\Releases\SdReleasetypes::lists('name', 'id')->toArray(); |
5 | 5 | $sd_locations = App\Itil\Models\Releases\SdLocations::lists('title', 'id')->toArray(); |
6 | -if(isAsset()==true){ |
|
6 | +if (isAsset() == true) { |
|
7 | 7 | $assets = \App\Itil\Models\Assets\SdAssets::lists('name', 'id')->toArray(); |
8 | 8 | } |
9 | 9 | ?> |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -$impact =""; |
|
2 | +$impact = ""; |
|
3 | 3 | if ($change->getGeneralByIdentifier('impact')) { |
4 | 4 | $impact = $change->getGeneralByIdentifier('impact')->value; |
5 | 5 | } |
@@ -11,14 +11,14 @@ discard block |
||
11 | 11 | if ($problem->getGeneralByIdentifier('root-cause')) { |
12 | 12 | $root = $problem->getGeneralByIdentifier('root-cause')->value; |
13 | 13 | |
14 | - $delete_root_url = url('service-desk/general/' . $owner . '/root-cause/delete'); |
|
14 | + $delete_root_url = url('service-desk/general/'.$owner.'/root-cause/delete'); |
|
15 | 15 | $popid = "root-cause$problem->id"; |
16 | 16 | $title = "Delete Root Cause"; |
17 | 17 | $delete_root_popup = \App\Itil\Controllers\UtilityController::deletePopUp($popid, $delete_root_url, $title, "fa fa-remove", " "); |
18 | 18 | } |
19 | 19 | if ($problem->getGeneralByIdentifier('symptoms')) { |
20 | 20 | $symptom = $problem->getGeneralByIdentifier('symptoms')->value; |
21 | - $delete_symptoms_url = url('service-desk/general/' . $owner . '/symptoms/delete'); |
|
21 | + $delete_symptoms_url = url('service-desk/general/'.$owner.'/symptoms/delete'); |
|
22 | 22 | $popid = "symptoms$problem->id"; |
23 | 23 | $title = "Delete symptoms"; |
24 | 24 | $delete_symptoms_popup = \App\Itil\Controllers\UtilityController::deletePopUp($popid, $delete_symptoms_url, $title, "fa fa-remove", " "); |
@@ -29,14 +29,14 @@ discard block |
||
29 | 29 | } |
30 | 30 | if ($problem->getGeneralByIdentifier('solution')) { |
31 | 31 | $solution = $problem->getGeneralByIdentifier('solution')->value; |
32 | - $delete_solution_url = url('service-desk/general/' . $owner . '/solution/delete'); |
|
32 | + $delete_solution_url = url('service-desk/general/'.$owner.'/solution/delete'); |
|
33 | 33 | $popid = "solution$problem->id"; |
34 | 34 | $title = "Delete solution"; |
35 | 35 | $delete_solution_popup = \App\Itil\Controllers\UtilityController::deletePopUp($popid, $delete_solution_url, $title, "fa fa-remove", " "); |
36 | 36 | } |
37 | 37 | if ($problem->getGeneralByIdentifier('impact')) { |
38 | 38 | $impact = $problem->getGeneralByIdentifier('impact')->value; |
39 | - $delete_impact_url = url('service-desk/general/' . $owner . '/impact/delete'); |
|
39 | + $delete_impact_url = url('service-desk/general/'.$owner.'/impact/delete'); |
|
40 | 40 | $popid = "impact$problem->id"; |
41 | 41 | $title = "Delete impact"; |
42 | 42 | $delete_impact_popup = \App\Itil\Controllers\UtilityController::deletePopUp($popid, $delete_impact_url, $title, "fa fa-remove", " "); |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | @foreach($problem->generalAttachments('root-cause') as $attachment) |
85 | 85 | <?php |
86 | 86 | $deleteid = $attachment->id; |
87 | - $deleteurl = url('service-desk/delete/' . $attachment->id . '/' . $attachment->owner . '/attachment'); |
|
87 | + $deleteurl = url('service-desk/delete/'.$attachment->id.'/'.$attachment->owner.'/attachment'); |
|
88 | 88 | ?> |
89 | 89 | @include('itil::interface.agent.popup.delete') |
90 | 90 | <div class="col-md-3"> |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | @foreach($problem->generalAttachments('impact') as $attachment) |
150 | 150 | <?php |
151 | 151 | $deleteid = $attachment->id; |
152 | - $deleteurl = url('service-desk/delete/' . $attachment->id . '/' . $attachment->owner . '/attachment'); |
|
152 | + $deleteurl = url('service-desk/delete/'.$attachment->id.'/'.$attachment->owner.'/attachment'); |
|
153 | 153 | ?> |
154 | 154 | @include('itil::interface.agent.popup.delete') |
155 | 155 | <div class="col-md-3"> |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | @foreach($problem->generalAttachments('symptom') as $attachment) |
213 | 213 | <?php |
214 | 214 | $deleteid = $attachment->id; |
215 | - $deleteurl = url('service-desk/delete/' . $attachment->id . '/' . $attachment->owner . '/attachment'); |
|
215 | + $deleteurl = url('service-desk/delete/'.$attachment->id.'/'.$attachment->owner.'/attachment'); |
|
216 | 216 | ?> |
217 | 217 | @include('itil::interface.agent.popup.delete') |
218 | 218 | <div class="col-md-3"> |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | @foreach($problem->generalAttachments('solution') as $attachment) |
282 | 282 | <?php |
283 | 283 | $deleteid = $attachment->id; |
284 | - $deleteurl = url('service-desk/delete/' . $attachment->id . '/' . $attachment->owner . '/attachment'); |
|
284 | + $deleteurl = url('service-desk/delete/'.$attachment->id.'/'.$attachment->owner.'/attachment'); |
|
285 | 285 | ?> |
286 | 286 | @include('itil::interface.agent.popup.delete') |
287 | 287 | <div class="col-md-3"> |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | @foreach($problem->attachments() as $attachment) |
347 | 347 | <?php |
348 | 348 | $deleteid = $attachment->id; |
349 | - $deleteurl = url('service-desk/delete/' . $attachment->id . '/' . $attachment->owner . '/attachment'); |
|
349 | + $deleteurl = url('service-desk/delete/'.$attachment->id.'/'.$attachment->owner.'/attachment'); |
|
350 | 350 | ?> |
351 | 351 | @include('itil::interface.agent.popup.delete') |
352 | 352 | <div class="col-md-3"> |
@@ -32,7 +32,7 @@ |
||
32 | 32 | <td>{{str_limit($ticket->title,20)}}</td> |
33 | 33 | <td><a href="{{url('thread/'.$ticket->id)}}" class="btn btn-info">View</a></td> |
34 | 34 | </tr> |
35 | - <?php $i++;?> |
|
35 | + <?php $i++; ?> |
|
36 | 36 | @empty |
37 | 37 | <tr><td>No Tickets Associated</td></tr> |
38 | 38 | @endforelse |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | //$info = $problem->general(); |
3 | -$title =""; |
|
3 | +$title = ""; |
|
4 | 4 | $solution = ""; |
5 | 5 | if ($problem->getGeneralByIdentifier('solution-title')) { |
6 | 6 | $title = $problem->getGeneralByIdentifier('solution-title')->value; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | //$info = $problem->general(); |
3 | -$root =""; |
|
3 | +$root = ""; |
|
4 | 4 | if ($problem->getGeneralByIdentifier('root-cause')) { |
5 | 5 | $root = $problem->getGeneralByIdentifier('root-cause')->value; |
6 | 6 | } |