Fixed order_date
This commit is contained in:
@@ -712,7 +712,7 @@
|
||||
<?=$order->terminations[0]->building->zip?> <?=$order->terminations[0]->building->city?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td onclick="toggleOrder(<?=$order->id?>)" class="text-monospace"><?=date("d.m.Y", $order->order_date)?></td>
|
||||
<td onclick="toggleOrder(<?=$order->id?>)" class="text-monospace"><?=($order->order_date) ? date("d.m.Y", $order->order_date) : ""?></td>
|
||||
<td onclick="toggleOrder(<?=$order->id?>)" class="text-monospace"><?=date("d.m.Y", $order->edit)?></td>
|
||||
<td onclick="toggleOrder(<?=$order->id?>)" class="text-monospace"><?=$order->editor->name?></td>
|
||||
<td style="text-align: left; letter-spacing: 4px; font-size: 1.1em;">
|
||||
|
||||
@@ -723,7 +723,7 @@ class OrderController extends mfBaseController {
|
||||
$order_data['allow_spin'] = ($r->allow_spin) ? 1 : 0;
|
||||
$order_data['note'] = $r->note;
|
||||
|
||||
$order_data['order_date'] = ($order_data['order_date']) ? Layout::dateToInt($r->order_date) : date("U");
|
||||
$order_data['order_date'] = ($r->order_date) ? Layout::dateToInt($r->order_date) : date("U");
|
||||
|
||||
if($r->finish_after) {
|
||||
$order_data['finish_after'] = Layout::dateToInt($r->finish_after);
|
||||
|
||||
Reference in New Issue
Block a user