Fixes and tests for the journal and journaled transactions #130
This commit is contained in:
@@ -80,6 +80,6 @@ class FinanceService extends BaseService
|
||||
$pilot_rate = $this->getPayRateForPirep($pirep) / 60;
|
||||
$payment = round($pirep->flight_time * $pilot_rate, 2);
|
||||
|
||||
return new Money($payment);
|
||||
return Money::createFromAmount($payment);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user