Go to end of day.

This commit is contained in:
James Cole
2021-02-26 18:09:48 +01:00
parent 5944cda03a
commit 4d9aafbeaf

View File

@@ -68,6 +68,7 @@ class AccountTransformer extends AbstractTransformer
// get account role (will only work if the type is asset.
$accountRole = $this->getAccountRole($account, $accountType);
$date = $this->getDate();
$date->endOfDay();
[$currencyId, $currencyCode, $currencySymbol, $decimalPlaces] = $this->getCurrency($account);
[$creditCardType, $monthlyPaymentDate] = $this->getCCInfo($account, $accountRole, $accountType);