FIX wrong subprice if price base type is TTC (#30887)

This commit is contained in:
Regis Houssin 2024-09-09 04:26:22 +02:00 committed by GitHub
parent 043f396ea1
commit 910daa24aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3241,7 +3241,7 @@ class Commande extends CommonOrder
$this->line->localtax1_type = empty($localtaxes_type[0]) ? '' : $localtaxes_type[0];
$this->line->localtax2_type = empty($localtaxes_type[2]) ? '' : $localtaxes_type[2];
$this->line->remise_percent = $remise_percent;
$this->line->subprice = $subprice;
$this->line->subprice = $pu_ht;
$this->line->info_bits = $info_bits;
$this->line->special_code = $special_code;
$this->line->total_ht = $total_ht;