mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 14:46:37 +00:00
Add ability to set some transaction flags. Fixes #6526
This commit is contained in:
@@ -229,6 +229,30 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">
|
||||
{{ $t('firefly.submission_options') }}
|
||||
</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input v-model="applyRules" name="apply_rules" type="checkbox">
|
||||
{{ $t('firefly.apply_rules_checkbox') }}
|
||||
</label>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input v-model="fireWebhooks" name="fire_webhooks" type="checkbox">
|
||||
{{ $t('firefly.fire_webhooks_checkbox') }}
|
||||
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</template>
|
||||
@@ -293,6 +317,8 @@ export default {
|
||||
convertData: function () {
|
||||
// console.log('Now in convertData()');
|
||||
let data = {
|
||||
'apply_rules': this.applyRules,
|
||||
'fire_webhooks': this.fireWebhooks,
|
||||
'transactions': [],
|
||||
};
|
||||
let transactionType;
|
||||
@@ -966,6 +992,8 @@ export default {
|
||||
cash_account_id: 0,
|
||||
createAnother: false,
|
||||
resetFormAfter: false,
|
||||
fireWebhooks: true,
|
||||
applyRules: true,
|
||||
resetButtonDisabled: true,
|
||||
attachmentCount: 0,
|
||||
};
|
||||
|
Reference in New Issue
Block a user