From 2765b030661a726c5810d8ed1ca93c7a09b99411 Mon Sep 17 00:00:00 2001 From: Vincent Danjean Date: Thu, 24 Jul 2014 00:59:42 +0200 Subject: [PATCH 3/3] =?UTF-8?q?Garder=20le=20journal=20choisi=20entre=20de?= =?UTF-8?q?ux=20=C3=A9crans?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quand on crée un appel de fond, on garde le journal choisi sur l'écran précédent (au lieu du premier de la liste systématiquement) En prime, on a maintenant la pièce associée qui est correctement générée (nom et numéro). --- include/class_coprop_appel_fond.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_coprop_appel_fond.php b/include/class_coprop_appel_fond.php index f7b07a6..0ec7bf8 100644 --- a/include/class_coprop_appel_fond.php +++ b/include/class_coprop_appel_fond.php @@ -162,8 +162,8 @@ class Coprop_Appel_Fond function display_ledger() { global $cn; - $ledger = new Acc_Ledger($cn,0); $this->load(); + $ledger = new Acc_Ledger($cn,$this->af_ledger); $adetail = $cn->get_array(" select sum(afd_amount) as amount,S.coprop_id from coprop.appel_fond_detail as A -- 2.0.0