input();?>
name='bank'; $card->extra=$cn->make_list('select fd_id from fiche_def where frd_id=4'); $card->set_dblclick("fill_ipopcard(this);"); $card->set_function('fill_data'); $card->set_attribute('ipopup','ipop_card'); $list=$cn->make_list('select fd_id from fiche_def where frd_id=4'); $card->set_attribute('typecard',$list); $card->value=$qcode_bank; echo $card->search(); echo $card->input(); echo $str_add_button; ?>
Minimum de lignes à afficher input()?>

Fiches

exec_sql("select fd_id,fd_label from fiche_def order by fd_label"); $num=$cn->size(); // default card for ACH if ($new == 1) { $rdeb=$default_deb_purchase; $rcred=$default_cred_purchase; } for ($i=0;$i<$num;$i++) { $res=$cn->fetch($i); $CHECKED=" unchecked"; foreach ( $rdeb as $element) { if ( $element == $res['fd_id'] ) { $CHECKED="CHECKED"; break; } } echo ''; printf ('', $res['fd_id'],$CHECKED,$res['fd_label']); $CHECKED=" unchecked"; foreach ( $rcred as $element) { if ( $element == $res['fd_id'] ) { $CHECKED="CHECKED"; break; } } printf ('', $res['fd_id'],$CHECKED,$res['fd_label']); echo ''; } ?>
Services, fournitures ou biens achetés (D) Fournisseurs (C)
%s %s

Fiches

exec_sql("select fd_id,fd_label from fiche_def order by fd_label"); $num=$cn->size(); // default card for VEN if ($new == 1) { $rdeb=$default_deb_sale; $rcred=$default_cred_sale; } for ($i=0;$i<$num;$i++) { $res=$cn->fetch($i); $CHECKED=" unchecked"; foreach ( $rdeb as $element) { if ( $element == $res['fd_id'] ) { $CHECKED="CHECKED"; break; } } echo ''; printf ('', $res['fd_id'],$CHECKED,$res['fd_label']); $CHECKED=" unchecked"; foreach ( $rcred as $element) { if ( $element == $res['fd_id'] ) { $CHECKED="CHECKED"; break; } } printf ('', $res['fd_id'],$CHECKED,$res['fd_label']); echo ''; } ?>
Clients (C) Services, fournitures ou biens vendus (D)
%s %s

Fiches

exec_sql("select fd_id,fd_label from fiche_def order by fd_label"); $num=$cn->size(); // default card for ODS if ($new == 1) { $rdeb=$default_ods; } for ($i=0;$i<$num;$i++) { $res=$cn->fetch($i); $CHECKED=" unchecked"; foreach ( $rdeb as $element) { if ( $element == $res['fd_id'] ) { $CHECKED="CHECKED"; break; } } echo ''; printf ('', $res['fd_id'],$CHECKED,$res['fd_label']); $CHECKED=" unchecked"; foreach ( $rcred as $element) { if ( $element == $res['fd_id'] ) { $CHECKED="CHECKED"; break; } } echo ''; } ?>
Fiches utilisables (D/C)
%s

Fiches

exec_sql("select fd_id,fd_label from fiche_def order by fd_label"); $num=$cn->size(); // default card for ACH if ($new == 1) { $rdeb=$default_fin; } for ($i=0;$i<$num;$i++) { $res=$cn->fetch($i); $CHECKED=" unchecked"; foreach ( $rdeb as $element) { if ( $element == $res['fd_id'] ) { $CHECKED="CHECKED"; break; } } echo ''; printf ('', $res['fd_id'],$CHECKED,$res['fd_label']); $CHECKED=" unchecked"; foreach ( $rcred as $element) { if ( $element == $res['fd_id'] ) { $CHECKED="CHECKED"; break; } } echo ''; } ?>
Tiers (D/C)
%s