";
}
- /*!\brief show the summary of the operation and propose to save it
- *\param array contains normally $_POST. It proposes also to save
+ /*!@brief show the summary of the operation and propose to save it
+ *@param array contains normally $_POST. It proposes also to save
* the Analytic accountancy
- *\return string
+ *@return string
*/
- function confirm($p_array)
+ function confirm($p_array,$p_summary=false)
{
extract ($p_array);
- $this->verify($p_array) ;
+
+ // don't need to verify for a summary
+ if ( ! $p_summary ) $this->verify($p_array) ;
$anc=null;
// to show a select list for the analytic & VAT USE
// if analytic is op (optionnel) there is a blank line
@@ -761,7 +763,7 @@ class Acc_Ledger_Sold extends Acc_Ledger
$anc_op=new Anc_Operation($this->db);
$null=($owner->MY_ANALYTIC=='op')?1:0;
$r.='
';
- $p_mode=1;
+ $p_mode=($p_summary==false)?1:0;
$p_array['pa_id']=$a_anc;
/* op is the operation it contains either a sequence or a jrnx.j_id */
$r.=HtmlInput::hidden('op[]=',$i);
@@ -777,12 +779,15 @@ class Acc_Ledger_Sold extends Acc_Ledger
$r.='';
if ( $owner->MY_ANALYTIC!='nu') // use of AA
- $r.='';
+ $r.='';
$r.='';
- $r.=$this->extra_info();
-
-
- $r.='