Update commande.class.php
This commit is contained in:
parent
642e75c3dd
commit
6c01cc16f8
@ -1014,7 +1014,7 @@ class Commande extends CommonOrder
|
|||||||
// Complete vat rate with code
|
// Complete vat rate with code
|
||||||
$vatrate = $line->tva_tx;
|
$vatrate = $line->tva_tx;
|
||||||
if ($line->vat_src_code && !preg_match('/\(.*\)/', $vatrate)) $vatrate .= ' ('.$line->vat_src_code.')';
|
if ($line->vat_src_code && !preg_match('/\(.*\)/', $vatrate)) $vatrate .= ' ('.$line->vat_src_code.')';
|
||||||
$origin = !empty($line->origin) ? $line->origin : $this->element;
|
$origin = (!empty($line->origin) ? $line->origin : $this->element);
|
||||||
$result = $this->addline(
|
$result = $this->addline(
|
||||||
$line->desc,
|
$line->desc,
|
||||||
$line->subprice,
|
$line->subprice,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user