Show order info reference on pending orders

This commit is contained in:
Deon George
2020-04-22 23:23:54 +10:00
parent 1934c6dfeb
commit 3b168af492
5 changed files with 41 additions and 3 deletions

View File

@@ -27,7 +27,12 @@
<td><a href="{{ url('u/service',$o->id) }}">{{ $o->id }}</a></td>
<td>{{ $o->account->name }}</td>
<td>{{ $o->name_short }}</td>
<td>{{ $o->status }}</td>
<td>
{{ $o->status }}
@if ($o->status == 'ORDER-SENT')
(#{{$o->order_info_reference}})
@endif
</td>
<td>{{ $o->product->name }}</td>
</tr>
@endforeach

View File

@@ -21,6 +21,12 @@
<th>Status</th>
<td>{!! $o->status_html !!}</td>
</tr>
@if ($o->order_status == 'ORDER-SENT')
<tr>
<th>Order Reference</th>
<td>{{ $o->order_info_reference ?? '' }}</td>
</tr>
@endif
@if ($o->date_end)
<tr>
<th>Cancellation Date</th>