From 37a67ea723bb6d93421591b8f3ed15738f53ed9e Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 12 Mar 2016 00:20:18 +0100 Subject: First import. --- .../after-bake/src/Template/Services/index.ctp | 100 +++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 generator/after-bake/src/Template/Services/index.ctp (limited to 'generator/after-bake/src/Template/Services/index.ctp') diff --git a/generator/after-bake/src/Template/Services/index.ctp b/generator/after-bake/src/Template/Services/index.ctp new file mode 100644 index 0000000..5bdffc8 --- /dev/null +++ b/generator/after-bake/src/Template/Services/index.ctp @@ -0,0 +1,100 @@ +<% +/** + * Copyright 2016 Ludovic Pouzenc + * Copyright 2016 Nicolas Goaziou + * + * This file is part of CHD Gestion. + * + * CHD Gestion is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * CHD Gestion is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with CHD Gestion. If not, see . +**/ +%> + +
+

+ + Form->create(null) . "\n" ?> + + + + + + + + + + + + + + + + + + Form->end() . "\n" ?> + + + + + + + + + + + + + +
+ Form->input('service_type_id', [ + 'placeholder' => __('Service Type'), + 'empty' => __('Service Type') + ]) ?> + + Form->input('service_statut_id', [ + 'placeholder' => __('Service Statut'), + 'empty' => __('Service Statut') + ]) ?> + + Form->input('relais_id', [ + 'placeholder' => __('Relais'), + 'empty' => __('Relais') + ]) ?> + + Form->button('Filter', ['type' => 'submit']) . "\n" ?> + Html->link('Reset', ['action' => 'index']) . "\n" ?> +
Paginator->sort('adherent_id') ?>Paginator->sort('service_type_id') ?>Paginator->sort('service_statut_id') ?>Paginator->sort('ippublique_id') ?>Paginator->sort('relais_id') ?>Paginator->sort('prix_ht') ?>
has('adherent') ? $this->Html->link($service->adherent->title, ['controller' => 'Adherents', 'action' => 'view', $service->adherent->id]) : '' ?>has('service_type') ? h($service->service_type->title) : '' ?>has('service_statut') ? h($service->service_statut->title) : '' ?>has('ippublique') ? $this->Html->link($service->ippublique->ip4, ['controller' => 'Ippubliques', 'action' => 'view', $service->ippublique->ip4]) : '' ?>has('relais') ? $this->Html->link($service->relais->title, ['controller' => 'Relais', 'action' => 'view', $service->relais->id]) : '' ?>Number->format($service->prix_ht) ?> + Html->link(__('View'), ['action' => 'view', $service->id]) ?> + Html->link(__('Edit'), ['action' => 'edit', $service->id]) ?> +
+
+
    + Paginator->prev('< ' . __('previous')) ?> + Paginator->numbers() ?> + Paginator->next(__('next') . ' >') ?> +
+
+ +
-- cgit v1.1