mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Build code for tag report.
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
<option label="{{ 'report_type_audit'|_ }}" value="audit">{{ 'report_type_audit'|_ }}</option>
|
||||
<option label="{{ 'report_type_budget'|_ }}" value="budget">{{ 'report_type_budget'|_ }}</option>
|
||||
<option label="{{ 'report_type_category'|_ }}" value="category">{{ 'report_type_category'|_ }}</option>
|
||||
<option label="{{ 'report_type_tag'|_ }}" value="tag">{{ 'report_type_tag'|_ }}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
<p>
|
||||
{{ 'select_budget'|_ }}
|
||||
</p>
|
||||
<select id="inputBudgets" name="budget[]" multiple="multiple" class="form-control">
|
||||
{% for budget in budgets %}
|
||||
<option value="{{ budget.id }}" label="{{ budget.name }}">{{ budget.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<div class="form-group">
|
||||
<label for="inputBudgets" class="col-sm-3 control-label">{{ 'select_budget'|_ }}</label>
|
||||
<div class="col-sm-9">
|
||||
<select id="inputBudgets" name="budget[]" multiple="multiple" class="form-control">
|
||||
{% for budget in budgets %}
|
||||
<option value="{{ budget.id }}" label="{{ budget.name }}">{{ budget.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,8 +1,11 @@
|
||||
<p>
|
||||
{{ 'select_category'|_ }}
|
||||
</p>
|
||||
<select id="inputCategories" name="category[]" multiple="multiple" class="form-control">
|
||||
{% for category in categories %}
|
||||
<option value="{{ category.id }}" label="{{ category.name }}">{{ category.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<div class="form-group">
|
||||
<label for="inputCategories" class="col-sm-3 control-label">{{ 'select_category'|_ }}</label>
|
||||
<div class="col-sm-9">
|
||||
<select id="inputCategories" name="category[]" multiple="multiple" class="form-control">
|
||||
{% for category in categories %}
|
||||
<option value="{{ category.id }}" label="{{ category.name }}">{{ category.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
10
resources/views/reports/options/tag.twig
Normal file
10
resources/views/reports/options/tag.twig
Normal file
@@ -0,0 +1,10 @@
|
||||
<div class="form-group">
|
||||
<label for="inputTags" class="col-sm-3 control-label">{{ 'select_tag'|_ }}</label>
|
||||
<div class="col-sm-9">
|
||||
<select id="inputTags" name="tag[]" multiple="multiple" class="form-control">
|
||||
{% for tag in tags %}
|
||||
<option value="{{ tag.tag }}" label="{{ tag.tag }}">{{ tag.tag }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user