750 |
|
|
751 |
return $comment; |
return $comment; |
752 |
} |
} |
753 |
|
|
754 |
|
|
755 |
/* function FormAch($p_cn,$p_jrn,$p_user,$p_array=null,$pview_only=true,$p_article=1) |
/* function FormAch($p_cn,$p_jrn,$p_user,$p_array=null,$pview_only=true,$p_article=1) |
756 |
* Purpose : Display the form for buying |
* Purpose : Display the form for buying |
757 |
* Used to show detail, encode a new invoice |
* Used to show detail, encode a new invoice |
773 |
|
|
774 |
if ( $p_array != null ) { |
if ( $p_array != null ) { |
775 |
// TODO utilisation de la fonction extract |
// TODO utilisation de la fonction extract |
776 |
// array contains old value |
extract($p_array); |
|
foreach ( $p_array as $a=>$v) { |
|
|
${"$a"}=$v; |
|
|
} |
|
777 |
} |
} |
778 |
// The date |
// The date |
779 |
// TODO Utilisation de la classe User |
// TODO Utilisation de la classe User |
798 |
$e_ech=(isset($e_ech))?$e_ech:""; |
$e_ech=(isset($e_ech))?$e_ech:""; |
799 |
$e_comment=(isset($e_comment))?$e_comment:""; |
$e_comment=(isset($e_comment))?$e_comment:""; |
800 |
// Save old value and set a new one |
// Save old value and set a new one |
|
// echo_debug(__FILE__,__LINE__,"form_input.php.FormAch p_op_date is $e_date"); |
|
801 |
$r=""; |
$r=""; |
802 |
if ( $pview_only == false) { |
if ( $pview_only == false) { |
803 |
$r.=JS_SEARCH_CARD; |
$r.=JS_SEARCH_CARD; |