get(); ?>
dt_value); echo $name->input(); ?>
dt_prefix); echo $prefix->input(); ?>
get_array("select last_value,is_called from seq_doc_type_".$doc_type->dt_id) ; $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; ?>
input(); ?>