diff --git a/html/ajax_ledger.php b/html/ajax_ledger.php index 1697cf7f7..3bf76ce72 100644 --- a/html/ajax_ledger.php +++ b/html/ajax_ledger.php @@ -99,18 +99,106 @@ case 'de': // form for the file ///////////////////////////////////////////////////////////////////////////// case 'file': + $op->get(); $obj=$op->get_quant(); /* return an obj. ACH / FIN or VEN or null if nothing is found*/ + + if ( $obj->det->jr_pj_name=='') { echo '
'; exit(); + } else { + echo ""; + $repo=new Database(); + $theme=$repo->get_value("select the_filestyle from theme where the_name=$1",array($_SESSION['g_theme'])); + echo " "; + echo ""; + echo '