/[phpcompta]/phpcompta/html/fiche_search.php
ViewVC logotype

Diff of /phpcompta/html/fiche_search.php

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

revision 1.14 by stanpinte, Sat Jun 11 20:35:34 2005 UTC revision 1.15 by stanpinte, Mon Jul 4 17:58:50 2005 UTC
# Line 107  if ( isset ( $_POST['search']) )  { Line 107  if ( isset ( $_POST['search']) )  {
107    // Get the field from database    // Get the field from database
108    if ( $e_type == 'deb' ) {    if ( $e_type == 'deb' ) {
109      $get='jrn_def_fiche_deb';      $get='jrn_def_fiche_deb';
110      $list_fiche=get_list_fiche($cn,$get,$_SESSION['g_jrn']);      $list_fiche=get_list_fiche($cn,$get,$_GET['p_jrn']);
111      $sql="select * from vw_fiche_attr where fd_id in ( $list_fiche )";      $sql="select * from vw_fiche_attr where fd_id in ( $list_fiche )";
112    }    }
113    if ( $e_type == 'cred' ) {    if ( $e_type == 'cred' ) {
114      $get='jrn_def_fiche_cred';      $get='jrn_def_fiche_cred';
115      $list_fiche=get_list_fiche($cn,$get,$_SESSION['g_jrn']);      $list_fiche=get_list_fiche($cn,$get,$_GET['p_jrn']);
116      $sql="select * from vw_fiche_attr where fd_id in ( $list_fiche )";      $sql="select * from vw_fiche_attr where fd_id in ( $list_fiche )";
117    }    }
118    

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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