mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
32 lines
1.6 KiB
Twig
32 lines
1.6 KiB
Twig
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal"><span>×</span><span class="sr-only">{{ 'close'|_ }}</span>
|
|
</button>
|
|
<h4 class="modal-title">
|
|
{{ trans('firefly.update_budget_amount_range',
|
|
{start: start.formatLocalized(monthAndDayFormat), end: end.formatLocalized(monthAndDayFormat)}) }}
|
|
</h4>
|
|
</div>
|
|
|
|
<form style="display: inline;" id="income" action="{{ route('budgets.income.post') }}" method="POST">
|
|
<div class="modal-body">
|
|
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
|
|
<input type="hidden" name="start" value="{{ start.format('Y-m-d') }}"/>
|
|
<input type="hidden" name="end" value="{{ end.format('Y-m-d') }}"/>
|
|
<input type="hidden" name="page" value="{{ page }}" />
|
|
|
|
<div class="input-group">
|
|
<div class="input-group-addon">{{ defaultCurrency.symbol|raw }}</div>
|
|
<input step="any" class="form-control" id="amount" value="{{ available }}" autocomplete="off" name="amount" type="number"/>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">{{ 'close'|_ }}</button>
|
|
<button type="submit" class="btn btn-primary">{{ 'update_amount'|_ }}</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|