/[phpcompta]/phpcompta/include/jrn.php
ViewVC logotype

Diff of /phpcompta/include/jrn.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by sparkyx, Thu Mar 31 21:16:35 2005 UTC revision 1.29 by sparkyx, Fri Jun 17 10:44:40 2005 UTC
# Line 543  function GetJrnProperty($p_cn,$p_jrn) Line 543  function GetJrnProperty($p_cn,$p_jrn)
543   *      - an array containing properties   *      - an array containing properties
544   *   *
545   */   */
546  function GetJrnProp($p_dossier,$p_jrn)  function GetJrnProp($p_dossier,$p_jrn,$is_connected=0)
547  {  {
548    $cn=DbConnect($p_dossier);    if ( $is_connected == 0 )
549        $cn=DbConnect($p_dossier);
550      else
551        $cn=$p_dossier;
552    
553    $Res=ExecSql($cn,"select jrn_Def_id,jrn_def_name,jrn_def_class_deb,jrn_def_class_cred,jrn_def_type,    $Res=ExecSql($cn,"select jrn_Def_id,jrn_def_name,jrn_def_class_deb,jrn_def_class_cred,jrn_def_type,
554                     jrn_deb_max_line,jrn_cred_max_line,jrn_def_ech,jrn_def_ech_lib,jrn_def_code,                     jrn_deb_max_line,jrn_cred_max_line,jrn_def_ech,jrn_def_ech_lib,jrn_def_code,
555                     jrn_def_fiche_deb,jrn_def_fiche_deb                     jrn_def_fiche_deb,jrn_def_fiche_deb

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26