remove unnecessary method for account
This commit is contained in:
parent
7958a9f0cc
commit
9e94dd9fac
25
resources/assets/js/views/banking/accounts.js
vendored
25
resources/assets/js/views/banking/accounts.js
vendored
@ -31,29 +31,4 @@ const app = new Vue({
|
||||
bulk_action: new BulkAction('accounts'),
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
onType(event) {
|
||||
return;
|
||||
let type = event.target.value;
|
||||
|
||||
switch(type) {
|
||||
case 'credit_card':
|
||||
this.onCreditCard();
|
||||
break;
|
||||
case 'bank':
|
||||
default:
|
||||
this.onBank();
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
onCreditCard() {
|
||||
|
||||
},
|
||||
|
||||
onBank() {
|
||||
|
||||
},
|
||||
}
|
||||
});
|
||||
|
@ -26,7 +26,6 @@
|
||||
'credit_card' => trans_choice('accounts.credit_cards', 1),
|
||||
]"
|
||||
checked="bank"
|
||||
@input="onType($event)"
|
||||
/>
|
||||
|
||||
<x-form.group.text name="name" label="{{ trans('general.name') }}" form-group-class="sm:col-span-6" />
|
||||
|
@ -20,7 +20,6 @@
|
||||
'credit_card' => trans_choice('accounts.credit_cards', 1),
|
||||
]"
|
||||
checked="{{ $account->type }}"
|
||||
@input="onType($event)"
|
||||
/>
|
||||
|
||||
<x-form.group.text name="name" label="{{ trans('general.name') }}" form-group-class="sm:col-span-6" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user