From 524c912d70cf0e33b1d4441081e36ead774d97dc Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 12 Jun 2016 17:59:50 +0200 Subject: =?UTF-8?q?Adherent/view=20:=20allow=20service=20termination=20if?= =?UTF-8?q?=20ServiceStatut=20is=20"Pr=C3=A9vu"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- generator/after-bake/src/Template/Adherents/view.ctp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'generator/after-bake/src/Template/Adherents/view.ctp') diff --git a/generator/after-bake/src/Template/Adherents/view.ctp b/generator/after-bake/src/Template/Adherents/view.ctp index e93b234..9beccb2 100644 --- a/generator/after-bake/src/Template/Adherents/view.ctp +++ b/generator/after-bake/src/Template/Adherents/view.ctp @@ -192,6 +192,10 @@ __('Activate'), ['controller' => 'Services', 'action' => 'activate', $services->id], ['confirm' => __('Are you sure you want to activate # {0}?', $services->id)] ) . "\n"; + echo $this->Form->postLink( + __('Terminate'), ['controller' => 'Services', 'action' => 'terminate', $services->id], + ['confirm' => __('Are you sure you want to terminate # {0}?', $services->id)] + ) . "\n"; break; case 2: /* Actif TTN */ echo $this->Form->postLink( -- cgit v1.1