- {% if budget.no_budget %}
+ @if($budget['no_budget'])
|
- {{ 'no_budget'|_ }} ({{ budget_limit.currency_name }})
+ {{ __('firefly.no_budget') }} ({{ $budgetLimit['currency_name'] }})
|
@else
-
- {{ budget.budget_name }}
+ |
+ {{ $budget['budget_name'] }}
|
@endif
-
- {% if null != budget_limit.budget_limit_id %}
-
- {{ budget_limit.start_date.isoFormat($monthAndDayFormat) }}
+ |
+ @if(null !== $budgetLimit['budget_limit_id'])
+
+ {{ $budgetLimit['start_date']->isoFormat($monthAndDayFormat) }}
—
- {{ budget_limit.end_date.isoFormat($monthAndDayFormat) }}
+ {{ $budgetLimit['end_date']->isoFormat($monthAndDayFormat) }}
@endif
|
-
- {% if null != budget_limit.budgeted %}
- {!! format_amount_by_symbol(budget_limit.budgeted, budget_limit.currency_symbol, budget_limit.currency_decimal_places) }}
+ |
+ @if(null !== $budgetLimit['budgeted'])
+ {!! format_amount_by_symbol($budgetLimit['budgeted'], $budgetLimit['currency_symbol'], $budgetLimit['currency_decimal_places']) !!}
@endif
|
-
- {{ budget_limit.budgeted_pct }}%
+ |
+ {{ $budgetLimit['budgeted_pct'] }}%
|
-
- {!! format_amount_by_symbol(budget_limit.spent, budget_limit.currency_symbol, budget_limit.currency_decimal_places) }}
+ |
+ {!! format_amount_by_symbol($budgetLimit['spent'], $budgetLimit['currency_symbol'], $budgetLimit['currency_decimal_places']) !!}
|
-
- {{ budget_limit.spent_pct }}%
+ |
+ {{ $budgetLimit['spent_pct'] }}%
|
- {% if budget_limit.spent != 0 %}
-
+ @if($budgetLimit['spent'] != 0)
+
@endif
|
-
- {% if null != budget_limit.left %}
- {!! format_amount_by_symbol(budget_limit.left, budget_limit.currency_symbol, budget_limit.currency_decimal_places) }}
+ |
+ @if(null !== $budgetLimit['left'])
+ {!! format_amount_by_symbol($budgetLimit['left'], $budgetLimit['currency_symbol'], $budgetLimit['currency_decimal_places']) !!}
@endif
|
-
- {% if null != budget_limit.overspent %}
- {!! format_amount_by_symbol(budget_limit.overspent, budget_limit.currency_symbol, budget_limit.currency_decimal_places) }}
+ |
+ @if(null !== $budgetLimit['overspent'])
+ {!! format_amount_by_symbol($budgetLimit['overspent'], $budgetLimit['currency_symbol'], $budgetLimit['currency_decimal_places']) !!}
@endif
|
@@ -83,17 +83,16 @@
@endforeach