/[phpcompta]/phpcompta/include/form_input.php
ViewVC logotype

Diff of /phpcompta/include/form_input.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.58 by sparkyx, Wed Sep 7 14:37:53 2005 UTC revision 1.59 by sparkyx, Wed Sep 21 13:30:49 2005 UTC
# Line 750  function RecordInvoice($p_cn,$p_array,$p Line 750  function RecordInvoice($p_cn,$p_array,$p
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
# Line 771  function FormAch($p_cn,$p_jrn,$p_user,$p Line 773  function FormAch($p_cn,$p_jrn,$p_user,$p
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
# Line 799  function FormAch($p_cn,$p_jrn,$p_user,$p Line 798  function FormAch($p_cn,$p_jrn,$p_user,$p
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;

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26