diff --git a/app/Api/V1/Controllers/Autocomplete/AccountController.php b/app/Api/V1/Controllers/Autocomplete/AccountController.php index a2049fe8e0..3b19beeb54 100644 --- a/app/Api/V1/Controllers/Autocomplete/AccountController.php +++ b/app/Api/V1/Controllers/Autocomplete/AccountController.php @@ -80,13 +80,13 @@ class AccountController extends Controller */ public function accounts(AutocompleteRequest $request): JsonResponse { - $data = $request->getData(); - $types = $data['types']; - $query = $data['query']; - $date = $data['date'] ?? today(config('app.timezone')); - $return = []; + $data = $request->getData(); + $types = $data['types']; + $query = $data['query']; + $date = $data['date'] ?? today(config('app.timezone')); + $return = []; Timer::start(sprintf('AC accounts "%s"', $query)); - $result = $this->repository->searchAccount((string) $query, $types, $this->parameters->get('limit')); + $result = $this->repository->searchAccount((string) $query, $types, $this->parameters->get('limit')); // set date to subday + end-of-day for account balance. so it is at $date 23:59:59 $date->endOfDay(); @@ -101,7 +101,7 @@ class AccountController extends Controller if (in_array($account->accountType->type, $this->balanceTypes, true)) { // this one is correct. Log::debug(sprintf('accounts: Call finalAccountBalance with date/time "%s"', $date->toIso8601String())); - $balance = $allBalances[$account->id] ?? []; + $balance = $allBalances[$account->id] ?? []; $key = $this->convertToPrimary && $currency->id !== $this->primaryCurrency->id ? 'pc_balance' : 'balance'; $useCurrency = $this->convertToPrimary && $currency->id !== $this->primaryCurrency->id ? $this->primaryCurrency : $currency; $amount = $balance[$key] ?? '0'; diff --git a/config/firefly.php b/config/firefly.php index f772668b34..b19f10c004 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -79,7 +79,7 @@ return [ // see cer.php for exchange rates feature flag. ], 'version' => 'develop/2025-08-09', - 'build_time' => 1754747910, + 'build_time' => 1754750540, 'api_version' => '2.1.0', // field is no longer used. 'db_version' => 26,