Added termination address in order list
This commit is contained in:
@@ -46,8 +46,11 @@
|
||||
<?=$order->owner->zip?> <?=$order->owner->city?>
|
||||
</td>
|
||||
<td>
|
||||
<?=$order->termination->building->street?><?=($order->termination->name) ? " ".$order->termination->name : ""?><br />
|
||||
<?=$order->termination->building->zip?> <?=$order->termination->building->city?>
|
||||
<?php if(is_array($order->terminations) && count($order->terminations)): ?>
|
||||
|
||||
<?=$order->terminations[0]->building->street?><?=($order->terminations[0]->name) ? " ".$order->terminations[0]->name : ""?><br />
|
||||
<?=$order->terminations[0]->building->zip?> <?=$order->terminations[0]->building->city?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="text-monospace"><?=date("d.m.Y", $order->order_date)?></td>
|
||||
<td class="text-monospace"><?=date("d.m.Y", $order->edit)?></td>
|
||||
|
||||
Reference in New Issue
Block a user