refs #4764 check selectedvalidservices
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Satorres 2023-05-09 19:43:55 +02:00
parent aa96f1eb97
commit 212b848131
2 changed files with 6 additions and 10 deletions

View File

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

View File

@ -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;