mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-08 01:14:34 +02:00
Fixed typos
This commit is contained in:
parent
63df16a369
commit
d04d743520
144 changed files with 263 additions and 265 deletions
|
@ -153,13 +153,13 @@ class PricedetailHelper
|
|||
foreach ($orderdetails as $orderdetail) {
|
||||
$pricedetail = $orderdetail->findPriceForQty($amount);
|
||||
|
||||
//When we dont have informations about this amount, ignore it
|
||||
//When we don't have information about this amount, ignore it
|
||||
if (null === $pricedetail) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$converted = $this->convertMoneyToCurrency($pricedetail->getPricePerUnit(), $pricedetail->getCurrency(), $currency);
|
||||
//Ignore price informations that can not be converted to base currency.
|
||||
//Ignore price information that can not be converted to base currency.
|
||||
if (null !== $converted) {
|
||||
$avg = $avg->plus($converted);
|
||||
++$count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue