@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | */ |
181 | 181 | public function getPriceRelatedQuantity(): float |
182 | 182 | { |
183 | - if ($this->orderdetail && $this->orderdetail->getPart() && !$this->orderdetail->getPart()->useFloatAmount()) { |
|
183 | + if ($this->orderdetail && $this->orderdetail->getPart() && !$this->orderdetail->getPart()->useFloatAmount()) { |
|
184 | 184 | $tmp = round($this->price_related_quantity); |
185 | 185 | return $tmp < 1 ? 1 : $tmp; |
186 | 186 | } |
@@ -322,6 +322,6 @@ discard block |
||
322 | 322 | */ |
323 | 323 | public function getIDString(): string |
324 | 324 | { |
325 | - return 'PD' . sprintf('%06d', $this->getID()); |
|
325 | + return 'PD'.sprintf('%06d', $this->getID()); |
|
326 | 326 | } |
327 | 327 | } |