mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-02-10 21:09:12 +00:00
Compare commits
1 Commits
main
...
fix/import
| Author | SHA1 | Date | |
|---|---|---|---|
| 35967b93a0 |
@ -1,7 +1,7 @@
|
|||||||
spring.application.name=erp
|
spring.application.name=erp
|
||||||
# Active profile
|
# Active profile
|
||||||
#spring.profiles.active=local
|
spring.profiles.active=local
|
||||||
spring.profiles.active=dev
|
#spring.profiles.active=dev
|
||||||
#spring.profiles.active=test
|
#spring.profiles.active=test
|
||||||
#spring.profiles.active=prod
|
#spring.profiles.active=prod
|
||||||
|
|
||||||
|
|||||||
@ -1897,6 +1897,15 @@ export default class PresupuestoWizard {
|
|||||||
...result,
|
...result,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (!this.formData.servicios.servicios.some(s => s.id === "marcapaginas") && result.precio > 0) {
|
||||||
|
this.formData.servicios.servicios.push({
|
||||||
|
id: "marcapaginas",
|
||||||
|
label: $(`label[for="marcapaginas"] .service-title`).text().trim(),
|
||||||
|
units: 1,
|
||||||
|
price: result.precio,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
this.#cacheFormData();
|
this.#cacheFormData();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user