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 |
|
|