add orders created date to the table

This commit is contained in:
edmondlang
2022-04-06 10:21:40 +08:00
parent e871f4b287
commit 45c878a2ed
@@ -43,6 +43,7 @@
<th scope="col">Receiver Name</th>
<th scope="col">Receiver Address</th>
<th scope="col">Receiver Phone</th>
<th scope="col">Created Date</th>
</tr>
</thead>
<tbody>
@@ -70,6 +71,7 @@
<td>{{data.delivery_address.contact.reference}}</td>
<td>{{data.delivery_address.street_one+' '+(data.delivery_address.street_two ? data.delivery_address.street_two : '')+', '+ data.delivery_address.district.name+', '+data.delivery_address.post_code+' '+data.delivery_address.state.name+', '+data.delivery_address.country.name}}</td>
<td>{{data.delivery_address.contact.phone}}</td>
<td>{{data.created_at}}</td>
</tr>
<tr v-if="$store.getters.getListData(section).length === 0">
<td colspan="100%" class="text-center">No data available in table</td>