From e9a46d1a6839b5efc9a651a601fca80b9af70e7f Mon Sep 17 00:00:00 2001 From: Anne Limoges Date: Mon, 11 Jun 2012 17:12:38 +0200 Subject: [PATCH] Show event status in payment administration. --- modules/payment.php | 2 +- templates/admin/index.tpl | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/payment.php b/modules/payment.php index a8fd9ed..1291ef0 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -590,7 +590,7 @@ class PaymentModule extends PLModule // adds a column with the start date of the linked event if there is one $table_editor->add_option_table('group_events', 'group_events.paiement_id = t.id'); - $table_editor->add_option_field('group_events.debut', 'related_event', 'évènement', 'timestamp'); + $table_editor->add_option_field('group_events.archive', 'related_event', 'évènement archivé ?', 'tinyint'); $table_editor->apply($page, $action, $id); } diff --git a/templates/admin/index.tpl b/templates/admin/index.tpl index 74d07d1..d20e113 100644 --- a/templates/admin/index.tpl +++ b/templates/admin/index.tpl @@ -73,7 +73,11 @@ Paiements   |   + Méthodes de paiement +   |   Virements +   |   + RIBs -- 2.1.4