Apply the default currency value to pricedetails placeholder.

This commit is contained in:
Jan Böhmer 2019-08-31 13:43:41 +02:00
parent 8153a922f0
commit 42399b5517
3 changed files with 37 additions and 10 deletions

View file

@ -205,6 +205,10 @@ class Orderdetail extends DBElement
return $this->supplier_product_url;
}
if ($this->supplier === null) {
return "";
}
return $this->getSupplier()->getAutoProductUrl($this->supplierpartnr); // maybe an automatic url is available...
}