diff --git a/html/ajax_ledger.php b/html/ajax_ledger.php index 7b2c9321b..842b6763d 100644 --- a/html/ajax_ledger.php +++ b/html/ajax_ledger.php @@ -195,8 +195,10 @@ case 'de': try { - $op->get(); /* get detail op (D/C) */ - $obj=$op->get_quant(); /* return an obj. ACH / FIN or VEN or null if nothing is found*/ + /* get detail op (D/C) */ + $op->get(); + /* return an obj. ACH / FIN or VEN or null if nothing is found*/ + $obj=$op->get_quant(); $oLedger=new Acc_Ledger($cn,$ledger); if ( $obj==null || $obj->signature == 'ODS' )