refs #4764 validServices
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-05-09 19:49:16 +02:00
parent 212b848131
commit 65646d3b65
1 changed files with 9 additions and 0 deletions

View File

@ -58,6 +58,15 @@ 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;