/var/www/vhosts/ihelp.ro/httpdocs/templates/Dashboard/Products
NameSizeModeActions
add.php73140644editdlrm
edit.php75500644editdlrm
edit_gallery.php34690644editdlrm
index.php228930644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/templates/Dashboard/Products/index.php (22893B)
assign('title', __('Produse')); ?> Breadcrumbs->reset()->add(__('Produse'), null); $this->Breadcrumbs->prepend([ ['title' => __('Contul meu'), 'url' => ['controller' => 'Profiles', 'action' => 'view']], ]); $this->Breadcrumbs->prepend([ ['title' => __('Acasă'), 'url' => ['controller' => 'Pages', 'action' => 'home']], ]); ?>
Breadcrumbs->render() ?>

Html->link(__('Adaugă un produs'), ['prefix' => 'Dashboard', 'controller' => 'Products', 'action' => 'add'], ['class' => 'btn full primary size-xs ml-auto']); ?>
Html->image($this->Custom->generateUrlHdy( [ 'model_name' => $product->model_name, 'uuid' => $product->uuid, 'image_name' => $product->featured_image['image_path'] ], true, 300, 200, true ), ['class' => 'img-fluid']) ?> Html->link($image, ['prefix' => false, 'controller' => 'Products', 'action' => 'view', $product->slug, $product->uuid], ['escape' => false]); ?>

Html->link($product->name, ['prefix' => false, 'controller' => 'Products', 'action' => 'view', 'slug' => $product->slug, 'uuid' => $product->uuid], ['class' => 'link', 'escape' => false]) ?>

cause->name)) { echo $this->Html->link($product->cause->name, ['prefix' => false, 'controller' => 'Causes', 'action' => 'view', 'slug' => $product->cause->slug, 'uuid' => $product->cause->uuid], ['class' => 'link', 'escape' => false]); } ?>

order_products) { ?> Html->link('Comenzi', 'javascript: void(0);', ['escape' => false, 'class' => 'btn outline secondary size-xs viewProductOrders']); ?> Html->link('Comenzi', 'javascript: void(0);', ['escape' => false, 'class' => 'btn outline secondary size-xs disabled']); ?> Html->link('Modifică', ['prefix' => 'Dashboard', 'controller' => 'Products', 'action' => 'edit', $product->uuid], ['escape' => false, 'class' => 'btn outline secondary size-xs']); ?> Form->postLink('Șterge', ['prefix' => 'Dashboard', 'controller' => 'Products', 'action' => 'changeStatus', $product->uuid], ['confirm' => __('Ești sigur că vrei să modifici starea # {0}?', $product->uuid), 'escape' => false, 'class' => 'btn outline primary size-xs']); ?>
order_products) : ?>
order_products as $order) : ?>

order->order_status->name; ?> order->order_status_comment; ?>

stock; ?>

qnt; ?>

Number->format($order->price, ['precision' => 0, 'after' => ' Lei']); ?>

Number->format($order->price * $order->qnt, ['precision' => 0, 'after' => ' Lei']); ?>

order_products) : ?>
Paginator->sort('uuid', __('#ID')); ?> Paginator->sort('name', __('Produs')); ?> Paginator->sort('cause_id', __('Cauză')); ?> Paginator->sort('category_id', __('Categorie')); ?> Paginator->sort('tag_id', __('Etichete')); ?> Paginator->sort('stock', __('Stoc')); ?> Paginator->sort('price_min', __('Preț minim')); ?> Paginator->sort('price', __('Preț')); ?> Paginator->sort('is_price_fixed', __('Preț fix')); ?> Paginator->sort('is_active', __('Activ')); ?>
Html->link($product->name, ['prefix' => false, 'controller' => 'Products', 'action' => 'view', 'slug' => $product->slug, 'uuid' => $product->uuid], ['class' => 'link', 'escape' => false]) ?> cause->name)) { echo $this->Html->link($product->cause->name, ['prefix' => false, 'controller' => 'Causes', 'action' => 'view', 'slug' => $product->cause->slug, 'uuid' => $product->cause->uuid], ['class' => 'link', 'escape' => false]); } ?> Html->link($product->category->name, ['prefix' => false, 'controller' => 'Categories', 'action' => 'view', 'slug' => $product->category->slug, 'uuid' => $product->category->uuid], ['class' => 'link', 'escape' => false]) ?> tags)) : foreach ($product->tags as $tag) : ?> name; ?> stock); ?> Number->format($product->price_min, ['precision' => 0, 'after' => ' Lei']); ?> Number->format($product->price, ['precision' => 0, 'after' => ' Lei']); ?>
is_price_fixed) ? '' : ''; ?>
is_active) ? '' : ''; ?>
Html->link('', ['prefix' => 'Dashboard', 'controller' => 'Products', 'action' => 'edit', $product->uuid], ['escape' => false, 'class' => 'btn outline primary size-xs has-svg']); ?> Form->postLink('', ['prefix' => 'Dashboard', 'controller' => 'Products', 'action' => 'changeStatus', $product->uuid], ['confirm' => __('Ești sigur că vrei să modifici starea # {0}?', $product->uuid), 'escape' => false, 'class' => 'btn outline primary size-xs has-svg']); ?>
order_products as $order) : ?>
order->order_status->name; ?> order->order_status_comment; ?> qnt; ?> Number->format($order->price, ['precision' => 0, 'after' => ' Lei']); ?> Number->format($order->price * $order->qnt, ['precision' => 0, 'after' => ' Lei']); ?>
is_active) ? '' : ''; ?>
order->order_status->id == 4) ? __('Create AWB') : ''; ?>
element('paginator'); ?>
start('script'); ?> end(); ?>