mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-22 22:43:20 -06:00
Fixed some amounts.
This commit is contained in:
parent
ba6f4268f0
commit
ac0280d460
@ -24,8 +24,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 col-md-4 col-sm-3" style="text-align:right;">
|
<div class="col-lg-6 col-md-4 col-sm-3" style="text-align:right;">
|
||||||
<small>{{ trans('firefly.availableIn',{date : period }) }}:
|
<small>{{ trans('firefly.availableIn',{date : period }) }}:
|
||||||
<a href="#" class="updateIncome"><span id="budgetIncomeTotal"
|
<a href="#" class="updateIncome"><span id="budgetIncomeTotal" data-value="{{ budgetIncomeTotal }}">{{ budgetIncomeTotal|formatAmount }}</span></a>
|
||||||
data-value="{{ budgetIncomeTotal }}">{{ budgetIncomeTotal|formatAmount }}</span></a>
|
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -44,7 +43,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-6 col-md-4 col-sm-3">
|
<div class="col-lg-6 col-md-4 col-sm-3">
|
||||||
<small>{{ 'spent'|_ }}: {{ spent|formatAmount }}</small>
|
<small>{{ 'spent'|_ }}: <span class="text-danger">{{ (spent*-1)|formatAmountPlain }}</span></small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -77,7 +76,7 @@
|
|||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<p>
|
<p>
|
||||||
<a href="{{ route('budgets.noBudget') }}">
|
<a href="{{ route('budgets.noBudget') }}">
|
||||||
{{ trans('firefly.transactionsWithoutBudgetDate', {date: Session.get('start').formatLocalized(monthFormat)}) }}
|
{{ trans('firefly.transactionsWithoutBudgetDate', {date: period|lower }) }}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@ -145,7 +144,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width:50%;">{{ 'spent'|_ }}</td>
|
<td style="width:50%;">{{ 'spent'|_ }}</td>
|
||||||
<td>{{ budget.spent|formatAmount }}</td>
|
<td><span class="text-danger">{{ (budget.spent*-1)|formatAmountPlain }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -180,7 +179,7 @@
|
|||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// actually spent bar data:
|
// actually spent bar data:
|
||||||
var spent = {{ spent }};
|
var spent = {{ spent * -1 }};
|
||||||
var currencySymbol = "{{ getCurrencySymbol()|raw }}";
|
var currencySymbol = "{{ getCurrencySymbol()|raw }}";
|
||||||
|
|
||||||
// budgeted data:
|
// budgeted data:
|
||||||
|
Loading…
Reference in New Issue
Block a user