Progress on order progress to provisioning

This commit is contained in:
Deon George
2020-04-23 17:38:09 +10:00
parent 3b168af492
commit 4935a9f5ff
8 changed files with 229 additions and 15 deletions

View File

@@ -29,9 +29,17 @@
<td>{{ $o->name_short }}</td>
<td>
{{ $o->status }}
@if ($o->status == 'ORDER-SENT')
(#{{$o->order_info_reference}})
@endif
@switch($o->status)
@case ('ORDER-SENT')
<br>(#{{ $o->order_info_reference }})
@break;
@case ('PROVISION-PLANNED')
<br>({{ ($xx=$o->date_start) ? $xx->format('Y-m-d') : 'No Date' }})
@break;
@case ('CANCEL-PENDING')
<br>({{ ($xx=$o->date_end) ? $xx->format('Y-m-d') : 'No Date' }})
@break;
@endswitch
</td>
<td>{{ $o->product->name }}</td>
</tr>