This commit is contained in:
parent
aa96f1eb97
commit
212b848131
|
@ -33,7 +33,12 @@
|
|||
vn-acl="invoicing, claimManager, salesAssistant"
|
||||
vn-acl-action="remove">
|
||||
</vn-submit>
|
||||
|
||||
</vn-button-bar><br>
|
||||
<vn-horizontal ng-repeat="service in $ctrl.services">
|
||||
<vn-check tabindex="-1"
|
||||
ng-model="service.checked">
|
||||
</vn-check>
|
||||
<vn-autocomplete vn-two vn-focus
|
||||
data="ticketServiceTypes"
|
||||
label="Description"
|
||||
show-field="name"
|
||||
|
|
|
@ -58,15 +58,6 @@ class Controller extends Section {
|
|||
});
|
||||
}
|
||||
|
||||
selectedValidServices() {
|
||||
if (!this.services) return;
|
||||
|
||||
const selectedServices = this.selectedServices();
|
||||
return selectedServices.filter(service => {
|
||||
return service.id != undefined;
|
||||
});
|
||||
}
|
||||
|
||||
createRefund() {
|
||||
const services = this.selectedServices();
|
||||
if (!services) return;
|
||||
|
|
Loading…
Reference in New Issue