Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add reverse button
James Cole5714bd074969
diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.phpindex d4d725f7c9..71ef5389db 100644--- a/resources/lang/en_US/firefly.php+++ b/resources/lang/en_US/firefly.php@@ -701,6 +701,7 @@ return ['yearly' => 'yearly',// rules+ 'is_not_rule_trigger' => 'Not','cannot_fire_inactive_rules' => 'You cannot execute inactive rules.','rules' => 'Rules','rule_name' => 'Name of rule',diff --git a/resources/views/rules/partials/action.twig b/resources/views/rules/partials/action.twigindex 981d2a2e61..bfdca1166c 100644--- a/resources/views/rules/partials/action.twig+++ b/resources/views/rules/partials/action.twig@@ -3,7 +3,7 @@<a href="#" class="btn btn-danger btn-sm remove-action"><span class="fa fa-trash"></span></a></td><td style="width:30%;">-{# See reference nr. 2 #}+ {# See reference nr. 2 #}<select name="actions[{{ count }}][type]" class="form-control">{% for key,type in allRuleActions() %}<option value="{{ key }}" label="{{ type }}" {% if key == oldAction %} selected{% endif %}>{{ type }}</option>diff --git a/resources/views/rules/partials/trigger.twig b/resources/views/rules/partials/trigger.twigindex 88758b9e98..3f6e26b929 100644--- a/resources/views/rules/partials/trigger.twig+++ b/resources/views/rules/partials/trigger.twig@@ -13,6 +13,15 @@{% endfor %}</select></td>+ <td style="width:40px;">+ <div class="checkbox">+ <label>+ <input type="checkbox" name="triggers[{{ count }}][prohibited]" value="1"+ {% if oldProhibited %}checked{% endif %}+ />+ </label>+ </div>+ </td><td><input autocomplete="off" type="text" value="{{ oldValue }}" name="triggers[{{ count }}][value]"class="form-control">diff --git a/resources/views/rules/rule/edit.twig b/resources/views/rules/rule/edit.twigindex 518b17808f..efe83960c3 100644--- a/resources/views/rules/rule/edit.twig+++ b/resources/views/rules/rule/edit.twig@@ -51,6 +51,7 @@<thead><tr><th colspan="2">{{ 'trigger'|_ }}</th>+ <th>{{ 'is_not_rule_trigger'|_ }}</th><th>{{ 'trigger_value'|_ }}</th><th>{{ 'stop_processing_other_triggers'|_ }}</th></tr>