From: Anne Limoges Date: Wed, 21 Nov 2012 08:19:58 +0000 (+0100) Subject: Fix a bug with bankaccounts admin page. X-Git-Tag: xorg/1.1.7~28 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2746db102dbc8df1678f495d3bcacf4e01653f5c;p=platal.git Fix a bug with bankaccounts admin page. --- 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