value=$doc->md_name; echo $a->input(); ?>
name="md_type"; $w->value=$cn->make_array('select dt_id,dt_value from document_type order by dt_value'); $w->selected=$doc->md_type; echo $w->input(); ?>
name='md_affect'; $waffect->value=array( array('value'=>'ACH','label'=>_('Uniquement journaux achat')), array('value'=>'VEN','label'=>_('Uniquement journaux vente')), array('value'=>'GES','label'=>_('Partie gestion')) ); $waffect->selected=$doc->md_affect; echo $waffect->input(); ?>
md_id.'&'.$s.'">(fichier actuel)'; ?> input(); ?>
exist_sequence("seq_doc_type_".$doc->md_type) ) { $ret= $cn->get_array("select last_value,is_called from seq_doc_type_".$doc->md_type) ; $last=$ret[0]['last_value']; /*! *\note With PSQL sequence , the last_value column is 1 when before AND after the first call, to make the difference between them * I have to check whether the sequence has been already called or not */ if ($ret[0]['is_called']=='f' ) $last--; } echo $last; ?>
value=0; echo $pj->input(); ?>
md_id); echo HtmlInput::submit("mod",_('Sauver')); ?>