remove unnecessary method for account

This commit is contained in:
Cüneyt Şentürk 2023-05-11 10:13:34 +03:00
parent 7958a9f0cc
commit 9e94dd9fac
3 changed files with 0 additions and 27 deletions

View File

@ -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() {
},
}
});

View File

@ -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" />

View File

@ -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" />