Merged revisions 4810,4813-4821 via svnmerge from
svn+ssh://ns352270.ovh.net/svn/phpcompta/tags/rel601 ........ r4810 | danydb | 2012-04-24 20:55:23 +0200 (Tue, 24 Apr 2012) | 3 lines Removed merge tracking for "svnmerge" for svn+ssh://danydb@ns352270.ovh.net/svn/phpcompta/tags/rel600 ........ r4813 | danydb | 2012-04-24 20:58:20 +0200 (Tue, 24 Apr 2012) | 1 line change SQL ........ r4814 | danydb | 2012-04-24 21:33:02 +0200 (Tue, 24 Apr 2012) | 2 lines Fix bug predefined operation for misc ledger ........ r4815 | danydb | 2012-04-24 21:33:27 +0200 (Tue, 24 Apr 2012) | 3 lines Fix bug predefined operation for misc ledger Fix bug for check_balance (null value) ........ r4816 | danydb | 2012-04-24 21:51:04 +0200 (Tue, 24 Apr 2012) | 1 line fix bug : rounded value ........ r4817 | danydb | 2012-05-01 16:49:39 +0200 (Tue, 01 May 2012) | 2 lines #569 réécriture des menus fournisseur, client et adm ........ r4818 | danydb | 2012-05-01 16:51:35 +0200 (Tue, 01 May 2012) | 2 lines #568: Impossible d'ajouter une fiche BANQUE dans ADM ........ r4819 | danydb | 2012-05-01 16:53:12 +0200 (Tue, 01 May 2012) | 2 lines #570: Ajout d'un menu contact ........ r4820 | danydb | 2012-05-01 16:53:46 +0200 (Tue, 01 May 2012) | 1 line cosmetic : message d'erreur quand on veut ajouter une fiche dans catégorie non existante ........ r4821 | danydb | 2012-05-01 18:38:34 +0200 (Tue, 01 May 2012) | 1 line code : dead code ........
This commit is contained in:
parent
27a50547ad
commit
2e4dc23d33
28 changed files with 414 additions and 1168 deletions
|
|
@ -64,16 +64,13 @@ if ( $sa == 'jrn' )
|
|||
{
|
||||
$op=new Pre_operation($cn);
|
||||
$op->set_jrn($_GET['jrn']);
|
||||
if ( isset($_GET['direct']))
|
||||
{
|
||||
$op->od_direct='true';
|
||||
}
|
||||
else
|
||||
{
|
||||
$op->od_direct='false';
|
||||
}
|
||||
$array=$op->get_list_ledger();
|
||||
if ( empty($array) == true )
|
||||
$is_ods = $cn->get_value("select count(*)
|
||||
from jrn_def where
|
||||
jrn_def_id=$1
|
||||
and jrn_def_type='ODS'", array($_GET['jrn']));
|
||||
$op->od_direct = ($is_ods > 0) ? 't' : 'f';
|
||||
$array = $op->get_list_ledger();
|
||||
if (empty($array) == true)
|
||||
{
|
||||
echo "Aucun enregistrement";
|
||||
exit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue