/var/www/vhosts/ihelp.ro/httpdocs/templates/Dashboard/Orders
Edit: /var/www/vhosts/ihelp.ro/httpdocs/templates/Dashboard/Orders/my_orders.php (9811B)
assign('title', __('Comenzi emise')); ?>
Breadcrumbs->reset()->add(__('Comenzi emise'), null);
$this->Breadcrumbs->prepend([
['title' => __('Contul meu'), 'url' => ['controller' => 'Profiles', 'action' => 'view']],
]);
$this->Breadcrumbs->prepend([
['title' => __('Acasă'), 'url' => ['controller' => 'Pages', 'action' => 'home']],
]);
?>
Breadcrumbs->render() ?>
Time->format($order->created, 'dd/MM/yyyy H:mm'); ?>
|
Number->format($order->total, ['precision' => 0, 'after' => ' Lei']); ?>
Html->link('Detalii', ['action' => 'viewMyOrders', $order->uuid], ['escape' => false, 'class' => 'btn outline secondary size-xs']); ?>
|
|
Paginator->sort('order_status_id', __('Status')); ?>
|
Paginator->sort('order_status_date', __('Data status')); ?>
|
Paginator->sort('created', __('Data comanda')); ?>
|
Paginator->sort('order_status_comment', __('Comentarii')); ?>
|
Paginator->sort('total', __('Total')); ?>
|
Paginator->sort('is_active', __('Activ')); ?>
|
|
|
order_products)) :
foreach ($order->order_products as $product) :
?>
Html->link($product->product->name, ['prefix' => false, 'controller' => 'Products', 'action' => 'view', 'slug' => $product->product->slug, 'uuid' => $product->product->uuid], ['class' => 'link', 'escape' => false]) ?>
|
order_status->name; ?>
|
Time->format($order->order_status_date, 'dd/MM/yyyy H:mm'); ?>
|
Time->format($order->created, 'dd/MM/yyyy H:mm'); ?>
|
order_status_comment); ?>
|
Number->format($order->total, ['precision' => 0, 'after' => ' Lei']); ?>
|
|
Html->link('', ['action' => 'view', $order->uuid], ['escape' => false, 'class' => 'btn outline primary size-xs has-svg']); ?>
Form->postLink('', ['prefix' => 'Dashboard', 'controller' => 'Products', 'action' => 'changeStatus', $order->uuid], ['confirm' => __('Are you sure you want to delete # {0}?', $order->uuid), 'escape' => false, 'class' => 'btn outline primary size-xs has-svg']); ?>
|
element('paginator'); ?>