Merge branch 'NEW/addline_with_position_choice_develop' of github.com:atm-gauthier/dolibarr into NEW/addline_with_position_choice_develop

This commit is contained in:
Gauthier PC portable 024 2021-11-16 16:43:01 +01:00
commit 72614ecc0d
8 changed files with 12 additions and 13 deletions

View File

@ -1858,8 +1858,7 @@ class CommandeFournisseur extends CommonOrder
$localtax1_type = empty($localtaxes_type[0]) ? '' : $localtaxes_type[0]; $localtax1_type = empty($localtaxes_type[0]) ? '' : $localtaxes_type[0];
$localtax2_type = empty($localtaxes_type[2]) ? '' : $localtaxes_type[2]; $localtax2_type = empty($localtaxes_type[2]) ? '' : $localtaxes_type[2];
if ($rang < 0) if ($rang < 0) {
{
$rangmax = $this->line_max(); $rangmax = $this->line_max();
$rang = $rangmax + 1; $rang = $rangmax + 1;
} }