Merge branch 'master' into entreprise
* master: Bug : Bank , no warning if balance incorrect when the first amount is 0 Protect $_REQUEST , do no replace the first amount when it is corrected Generate document : DESCRIPTION for invoice (e_comm) Bug : if all the quantity are NULL, then we have only one row in jrn
This commit is contained in:
commit
6cb6122aef
1 changed files with 6 additions and 8 deletions
|
|
@ -1283,14 +1283,12 @@ class Document
|
|||
."where ag_id=$1 order by AGC_ID asc limit 1"
|
||||
, [$p_array['ag_id']]);
|
||||
return $description;
|
||||
}
|
||||
if (isset($p_array['e_comm']))
|
||||
{
|
||||
return $p_array['e_comm'];
|
||||
}
|
||||
|
||||
return "";
|
||||
break;
|
||||
}
|
||||
if ( isset($p_array['e_comm'])) {return $p_array['e_comm'] ; }
|
||||
|
||||
return "";
|
||||
break;
|
||||
|
||||
|
||||
// Comments, use a counter to move to the next comment, only for Follow-Up
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue