/var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/Causes
NameSizeModeActions
add.php22620644editdlrm
edit.php38110644editdlrm
edit_docs.php32490644editdlrm
edit_gallery.php44120644editdlrm
index.php122070644editdlrm
view.php49430644editdlrm
view_direct_donation.php54580644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/Causes/index.php (12207B)

Html->link(__('New'), ['action' => 'add'], ['class' => 'btn btn-success btn-xs']); ?>

form->create(null, ['class' => 'row', 'type' => 'get']); echo '
' . $this->Form->control('uuid', ['label' => __('Cause #'), 'value' => $_GET['uuid'] ?? '']) . '
'; echo '
' . $this->Form->control('user_name', ['label' => __('User'), 'type' => 'text', 'value' => $_GET['user_name'] ?? '']) . '
'; ?>
Form->control('date_start', ['value' => ' ', 'label' => false, 'templates' => ['inputContainer' => '
{{content}}
'], 'class' => ['datepicker-range-filter', 'form-control', 'float-right'], 'type' => 'text']); ?>
Form->control('date_end', ['templates' => ['inputContainer' => '
{{content}}
'], 'value' => ' ', 'label' => false, 'class' => ['datepicker-range-filter', 'form-control', 'pull-right'], 'type' => 'text']); ?>
' . '
' . $this->Form->control('order_start', ['class' => 'form-control ', 'templates' => ['inputContainer' => '{{content}}'], 'label' => false, 'type' => 'text', 'value' => $_GET['order_start'] ?? '']) . '
' . ' -
' . $this->Form->control('order_end', ['class' => 'form-control ', 'templates' => ['inputContainer' => '{{content}}'], 'label' => false, 'type' => 'text', 'value' => $_GET['order_end'] ?? '']) . '
'; echo '
' . '
' . $this->Form->control('product_start', ['class' => 'form-control ', 'templates' => ['inputContainer' => '{{content}}'], 'label' => false, 'type' => 'text', 'value' => $_GET['product_start'] ?? '']) . '
' . ' -
' . $this->Form->control('product_end', ['class' => 'form-control ', 'templates' => ['inputContainer' => '{{content}}'], 'label' => false, 'type' => 'text', 'value' => $_GET['product_end'] ?? '']) . '
'; echo '
' . $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 '
'; echo $this->Form->button('Search'); echo $this->Html->link('Reset', ['prefix' => 'Admin', 'controller' => 'Causes', 'action' => 'index'], ['class' => 'btn btn-danger float-right']); echo $this->Form->end() . '
'; ?>
Paginator->sort('Causes.id', ['label' => _('Cause #')]); ?> Paginator->sort('Causes.user_id', ['label' => _('User')]); ?> Paginator->sort('Causes.name', ['label' => _('Name')]); ?> Paginator->sort('Causes.donation_sum', ['label' => _('Donation sum')]); ?> Paginator->sort('Causes.donation_amount', ['label' => _('Donation amount')]); ?> Paginator->sort('Causes.date_start', ['label' => _('Start Donation Date')]); ?> Paginator->sort('Causes.date_end', ['label' => _('End Donation Date')]); ?> Paginator->sort('Causes.order_count', ['label' => _('# of Orders')]); ?> Paginator->sort('Causes.product_count', ['label' => _('# of Products')]); ?> Paginator->sort('Causes.is_active', ['label' => _('Activ')]); ?> Paginator->sort('Causes.created', ['label' => _('Created')]); ?>
uuid); ?> user->name; ?> name; ?> Number->format($cause->donation_sum, ['precision' => 0, 'after' => ' Lei']); ?> Number->format($cause->donation_amount, ['precision' => 0, 'after' => ' Lei']); ?> date_start); ?> date_end); ?> Number->format($cause->order_count); ?> Number->format($cause->product_count); ?> created); ?> Html->link(__('View'), ['prefix' => 'Admin', 'controller' => 'Causes', 'action' => 'view', $cause->id], ['class' => 'btn btn-info btn-xs']); ?> Html->link(__('Edit'), ['prefix' => 'Admin', 'controller' => 'Causes', 'action' => 'edit', $cause->id], ['class' => 'btn btn-warning btn-xs']); ?>
element('paginator'); ?>