mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-22 20:16:22 +00:00 
			
		
		
		
	Catch some amounts
This commit is contained in:
		| @@ -62,10 +62,10 @@ class AccountBalanceGrouped | ||||
|                 'currency_symbol'         => $currency['currency_symbol'], | ||||
|                 'currency_code'           => $currency['currency_code'], | ||||
|                 'currency_decimal_places' => $currency['currency_decimal_places'], | ||||
|                 'native_id'               => (string)$currency['native_id'], | ||||
|                 'native_symbol'           => $currency['native_symbol'], | ||||
|                 'native_code'             => $currency['native_code'], | ||||
|                 'native_decimal_places'   => $currency['native_decimal_places'], | ||||
|                 'native_currency_id'               => (string)$currency['native_currency_id'], | ||||
|                 'native_currency_symbol'           => $currency['native_currency_symbol'], | ||||
|                 'native_currency_code'             => $currency['native_currency_code'], | ||||
|                 'native_currency_decimal_places'   => $currency['native_currency_decimal_places'], | ||||
|                 'start'                   => $this->start->toAtomString(), | ||||
|                 'end'                     => $this->end->toAtomString(), | ||||
|                 'period'                  => $this->preferredRange, | ||||
| @@ -78,10 +78,10 @@ class AccountBalanceGrouped | ||||
|                 'currency_symbol'         => $currency['currency_symbol'], | ||||
|                 'currency_code'           => $currency['currency_code'], | ||||
|                 'currency_decimal_places' => $currency['currency_decimal_places'], | ||||
|                 'native_id'               => (string)$currency['native_id'], | ||||
|                 'native_symbol'           => $currency['native_symbol'], | ||||
|                 'native_code'             => $currency['native_code'], | ||||
|                 'native_decimal_places'   => $currency['native_decimal_places'], | ||||
|                 'native_currency_id'               => (string)$currency['native_currency_id'], | ||||
|                 'native_currency_symbol'           => $currency['native_currency_symbol'], | ||||
|                 'native_currency_code'             => $currency['native_currency_code'], | ||||
|                 'native_currency_decimal_places'   => $currency['native_currency_decimal_places'], | ||||
|                 'start'                   => $this->start->toAtomString(), | ||||
|                 'end'                     => $this->end->toAtomString(), | ||||
|                 'period'                  => $this->preferredRange, | ||||
| @@ -138,10 +138,10 @@ class AccountBalanceGrouped | ||||
|                 'currency_name'           => $journal['currency_name'], | ||||
|                 'currency_decimal_places' => $journal['currency_decimal_places'], | ||||
|                 // native currency info (could be the same)
 | ||||
|                 'native_id'               => (string)$this->default->id, | ||||
|                 'native_code'             => $this->default->code, | ||||
|                 'native_symbol'           => $this->default->symbol, | ||||
|                 'native_decimal_places'   => $this->default->decimal_places, | ||||
|                 'native_currency_id'               => (string)$this->default->id, | ||||
|                 'native_currency_code'             => $this->default->code, | ||||
|                 'native_currency_symbol'           => $this->default->symbol, | ||||
|                 'native_currency_decimal_places'   => $this->default->decimal_places, | ||||
|             ]; | ||||
| 
 | ||||
|             // set the array (in monetary info) with spent/earned in this $period, if it does not exist.
 | ||||
| @@ -214,11 +214,11 @@ class AccountBalanceGrouped | ||||
|             'currency_code'           => $default->code, | ||||
|             'currency_name'           => $default->name, | ||||
|             'currency_decimal_places' => $default->decimal_places, | ||||
|             'native_id'               => (string)$defaultCurrencyId, | ||||
|             'native_symbol'           => $default->symbol, | ||||
|             'native_code'             => $default->code, | ||||
|             'native_name'             => $default->name, | ||||
|             'native_decimal_places'   => $default->decimal_places, | ||||
|             'native_currency_id'               => (string)$defaultCurrencyId, | ||||
|             'native_currency_symbol'           => $default->symbol, | ||||
|             'native_currency_code'             => $default->code, | ||||
|             'native_currency_name'             => $default->name, | ||||
|             'native_currency_decimal_places'   => $default->decimal_places, | ||||
|         ]; | ||||
|     } | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user