operation_exercice_sql->oe_id); // show the ledger $ledger = new Acc_Ledger($cn, 0); $wLedger = $ledger->select_ledger('ODS', 2, FALSE); if ($wLedger == null) throw new Exception(_('Pas de journal disponible')); echo _("Journal destination"), $wLedger->input(); ?>