formatting
This commit is contained in:
parent
3f457f4ae2
commit
ca5750b1e3
@ -114,7 +114,7 @@ class Contact extends Model
|
|||||||
$this->$collection()->accrued()->notPaid()->each(function ($item) use (&$amount) {
|
$this->$collection()->accrued()->notPaid()->each(function ($item) use (&$amount) {
|
||||||
$unpaid = $item->amount - $item->paid;
|
$unpaid = $item->amount - $item->paid;
|
||||||
|
|
||||||
$amount += $this->convertFromDefault($unpaid, $item->currency_code, $item->currency_rate, false);
|
$amount += $this->convertFromDefault($unpaid, $item->currency_code, $item->currency_rate);
|
||||||
});
|
});
|
||||||
|
|
||||||
return $amount;
|
return $amount;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user