mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Implement currency routes.
This commit is contained in:
		| @@ -93,7 +93,7 @@ class AccountTransformer extends AbstractTransformer | ||||
|             $zoomLevel = $location->zoom_level; | ||||
|         } | ||||
|         return [ | ||||
|             'id'                      => (int) $account->id, | ||||
|             'id'                      => (string) $account->id, | ||||
|             'created_at'              => $account->created_at->toAtomString(), | ||||
|             'updated_at'              => $account->updated_at->toAtomString(), | ||||
|             'active'                  => $account->active, | ||||
| @@ -183,7 +183,7 @@ class AccountTransformer extends AbstractTransformer | ||||
|         if (null === $currency) { | ||||
|             $currency = app('amount')->getDefaultCurrencyByUser($account->user); | ||||
|         } | ||||
|         $currencyId     = (int) $currency->id; | ||||
|         $currencyId     = (string) $currency->id; | ||||
|         $currencyCode   = $currency->code; | ||||
|         $decimalPlaces  = $currency->decimal_places; | ||||
|         $currencySymbol = $currency->symbol; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user