This commit is contained in:
James Cole 2020-10-02 17:45:35 +02:00
parent f92780d3da
commit 96028e91be
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D
2 changed files with 14 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -224,7 +224,10 @@
</div>
<div class="box-footer">
<div class="btn-group">
<button class="btn btn-success" @click="submit" id="submitButton">{{ $t('firefly.update_transaction') }}</button>
<button class="btn btn-success" @click="submit" id="submitButton">{{
$t('firefly.update_transaction')
}}
</button>
</div>
</div>
</div>
@ -656,6 +659,9 @@ export default {
if (parseInt(row.bill) > 0) {
currentArray.bill_id = parseInt(row.bill);
}
if (0 === parseInt(row.bill)) {
currentArray.bill_id = null;
}
if (parseInt(row.piggy_bank) > 0) {
currentArray.piggy_bank_id = parseInt(row.piggy_bank);