/var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/Orders
NameSizeModeActions
add.php19160644editdlrm
index.php149530644editdlrm
view.php44240644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/Orders/index.php (14953B)

form->create(null, ['class' => 'row', 'type' => 'get']); echo '
' . $this->Form->control('uuid', ['label' => __('Order #'), 'value' => $_GET['uuid'] ?? '']) . '
'; echo '
' . $this->Form->control('user_name', ['label' => __('User'), 'type' => 'text', 'value' => $_GET['user_name'] ?? '']) . '
'; echo '
' . $this->Form->control('payment_method_id', ['label' => __('Payment Method'), 'value' => $_GET['payment_method_id'] ?? '', 'class' => 'form-control select-with-search', 'option' => $paymentMethods, 'empty' => __('All')]) . '
'; echo '
' . $this->Form->control('ip', ['label' => __('IP'), 'type' => 'text', 'value' => $_GET['ip'] ?? '']) . '
'; echo '
' . $this->Form->control('email', ['label' => __('Email'), 'type' => 'text', 'value' => $_GET['email'] ?? '']) . '
'; ?>
Form->control('order_status_date', ['templates' => ['inputContainer' => '
{{content}}
'], 'value' => ' ', 'label' => false, 'class' => ['datepicker-range-filter', 'form-control', 'float-right'], 'id' => ['reservation'], 'type' => 'text']); ?>
' . $this->Form->control('is_active', ['class' => 'form-control select-with-search', 'type' => 'select', 'options' => ['1' => __('Yes'), '0' => __('No')], 'empty' => __('All'), 'value' => $_GET['is_active'] ?? '']) . '
'; echo '
' . $this->Form->control('order_status_id', ['class' => 'filter-status-order form-control select-with-search', 'empty' => __('All'), 'label' => __('Order status'), 'options' => $orderStatuses, 'value' => $_GET['order_status_id'] ?? '']) . '
'; echo '
'; echo $this->Form->button('Search', ['class' => 'btn btn-success']); echo $this->Html->link('Reset', ['prefix' => 'Admin', 'controller' => 'Orders', 'action' => 'index'], ['class' => 'btn btn-danger float-right']); echo $this->Form->end() . '
'; ?>

Paginator->sort('Orders.uuid', ['label' => _('Order #')]); ?> Paginator->sort('Orders.user_id', ['label' => _('User')]); ?> Paginator->sort('Orders.notes', ['label' => _('Notes')]); ?> Paginator->sort('Orders.payment_method_id', ['label' => _('Payment method')]); ?> Paginator->sort('Orders.order_status_id', ['label' => _('Status')]); ?> Paginator->sort('Orders.order_status_date', ['label' => _('Status Date')]); ?> Paginator->sort('Orders.order_status_comment', ['label' => _('Status Comment')]); ?> Paginator->sort('Orders.email', ['label' => _('Email')]); ?> Paginator->sort('Orders.total', ['label' => _('Total')]); ?> Paginator->sort('Orders.email_sent', ['label' => _('Email sent')]); ?> Paginator->sort('Orders.is_active', ['label' => _('Active')]); ?> Paginator->sort('Orders.ip', ['label' => _('IP')]); ?> Paginator->sort('Orders.created', ['label' => _('Created')]); ?>
uuid); ?> user->name; ?> payment_method_id) { case 1: echo ''; break; case 2: echo ''; break; case 3: echo ''; break; } ?> order_status->name); ?> order_status_date); ?> Number->format($order->total, ['precision' => 0, 'after' => ' Lei']); ?> email_sent ? '' : ''; ?> is_active ? '' : ''; ?> created); ?> Html->link(__('View'), ['prefix' => 'Admin', 'controller' => 'Orders', 'action' => 'view', $order->id], ['class' => 'btn btn-info btn-xs']); ?> Html->link(__('Edit'), ['prefix' => 'Admin', 'controller' => 'Orders', 'action' => 'edit', $order->id], ['class' => 'btn btn-warning btn-xs']); ?>
element('paginator'); ?>
element('change-status-order'); ?> append('script'); ?> end(); ?>