mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Fix issues where data-variable was not initialized properly.
This commit is contained in:
@@ -28,8 +28,8 @@ use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* Class Steam.
|
||||
*
|
||||
* @method string balance(Account $account, Carbon $date)
|
||||
* @method string balanceIgnoreVirtual(Account $account, Carbon $date)
|
||||
* @method array balanceInRange(Account $account, Carbon $start, Carbon $end)
|
||||
@@ -42,6 +42,7 @@ use Illuminate\Support\Facades\Facade;
|
||||
* @method tryDecrypt($value)
|
||||
* @method string positive(string $amount)
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
class Steam extends Facade
|
||||
{
|
||||
|
@@ -150,6 +150,7 @@ class General extends Twig_Extension
|
||||
if (null === $account) {
|
||||
return 'NULL';
|
||||
}
|
||||
/** @var Carbon $date */
|
||||
$date = session('end', Carbon::now()->endOfMonth());
|
||||
|
||||
return app('steam')->balance($account, $date);
|
||||
|
Reference in New Issue
Block a user