From 2746db102dbc8df1678f495d3bcacf4e01653f5c Mon Sep 17 00:00:00 2001 From: Anne Limoges Date: Wed, 21 Nov 2012 09:19:58 +0100 Subject: [PATCH] Fix a bug with bankaccounts admin page. --- modules/payment.php | 4 ++-- templates/admin/index.tpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/payment.php b/modules/payment.php index e3788e5..183c723 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -127,7 +127,7 @@ class PaymentModule extends PLModule 'admin/reconcile' => $this->make_hook('adm_reconcile', AUTH_PASSWD, 'admin'), 'admin/reconcile/importlogs' => $this->make_hook('adm_importlogs', AUTH_PASSWD, 'admin'), 'admin/reconcile/transfers' => $this->make_hook('adm_transfers', AUTH_PASSWD, 'admin'), - 'admin/reconcile/bankaccounts' => $this->make_hook('adm_bankaccounts', AUTH_PASSWD, 'admin'), + 'admin/payments/bankaccounts' => $this->make_hook('adm_bankaccounts', AUTH_PASSWD, 'admin'), ); } @@ -618,7 +618,7 @@ class PaymentModule extends PLModule $page->assign('title', "Liste des RIBs"); $table_editor = new PLTableEditor('admin/payments/bankaccounts', 'payment_bankaccounts', 'id'); - $table_editor->describe('asso_id', 'ID du groupe', false, false); + $table_editor->describe('asso_id', 'ID du groupe', false, true); $table_editor->describe('owner', 'titulaire', true); $table_editor->add_option_table('groups', 'groups.id = t.asso_id'); $table_editor->add_option_field('groups.diminutif', 'group_name', 'groupe', 'varchar','account'); diff --git a/templates/admin/index.tpl b/templates/admin/index.tpl index d7cf838..5f9b5b9 100644 --- a/templates/admin/index.tpl +++ b/templates/admin/index.tpl @@ -75,7 +75,7 @@   |   Virements   |   - RIBs + RIBs   |   Méthodes de paiement -- 2.1.4