mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Apply the default currency value to pricedetails placeholder.
This commit is contained in:
parent
8153a922f0
commit
42399b5517
3 changed files with 37 additions and 10 deletions
|
@ -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...
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue