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:
sparkyx 2021-03-14 10:51:17 +01:00
commit 6cb6122aef

View file

@ -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
//