/
var
/
www
/
vhosts
/
ihelp.ro
/
httpdocs
/
templates
/
cell
/
Admin
/
InfoOrderBlock
/
/var/www/vhosts/ihelp.ro/httpdocs/templates/cell/Admin/InfoOrderBlock
mkdir
upload
Name
Size
Mode
Actions
display.php
2481
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/httpdocs/templates/cell/Admin/InfoOrderBlock/display.php
(2481B)
<div class="row"> <div class="col-xs-6 col-lg-12"> <strong scope="row"><?php echo __('ID'); ?></strong> <p><?php echo $this->Number->format($order->id) ?></p> <strong scope="row"><?php echo __('UUID'); ?></strong> <p><?php echo h($order->uuid) ?></p> <strong scope="row"><?php echo __('User'); ?></strong> <p> <a href="<?php echo $this->Url->build(['prefix' => 'Admin', 'controller' => 'User', 'action' => 'view', $order->user->id]) ?>"> <span class="label label-default" title="<?php echo '#' . $order->user->id ?>"><?php echo h($order->user->name) ?></span> </a> </p> <strong scope="row"><?php echo __('User Address'); ?></strong> <p><?php echo $order->user_address->full_address; ?></p> <strong scope="row"><?php echo __('Payment Method'); ?></strong> <p><?php echo $order->payment_method->name; ?></p> <strong scope="row"><?php echo __('Status'); ?></strong> <p><?php echo $order->order_status->name; ?></p> <strong scope="row"><?php echo __('Status Comment'); ?></strong> <p><?php echo h($order->order_status_comment); ?></p> <strong scope="row"><?php echo __('Email'); ?></strong> <p><?php echo h($order->email) ?></p> <strong scope="row"><?php echo __('Total'); ?></strong> <p><?php echo $this->Number->format($order->total, ['precision' => 0, 'after' => ' Lei']); ?></p> </div> <div class="col-xs-6 col-lg-12"> <strong scope="row"><?php echo __('IP'); ?></strong> <p><?php echo h($order->ip); ?></p> <strong scope="row"><?php echo __('Status Date'); ?></strong> <p><?php echo h($order->order_status_date); ?></p> <strong scope="row"><?php echo __('Created'); ?></strong> <p><?php echo h($order->created) ?></p> <p> <label scope="row"><?php echo __('Email Sent'); ?> <span> <i class="fa <?php echo ($order->email_sent) ? 'fa-check-circle text-success ' : 'fa-times-circle text-danger'; ?>"></i> </span> </label> </p> <p> <label scope="row"><?php echo __('Is Active'); ?> <span> <i class="fa <?php echo ($order->is_active) ? 'fa-check-circle text-success ' : 'fa-times-circle text-danger'; ?>"></i> </span> </label> </p> </div> </div>
Save
cmd:
run