From 43ee99ab8f53d8ec6d76199d78c979121dee162e Mon Sep 17 00:00:00 2001
From: joriot221 <florian.joriot@unicarn.fr>
Date: Wed, 4 May 2022 14:03:51 +0200
Subject: [PATCH] =?UTF-8?q?Correction=20de=20Service=20r=C3=A9alis=C3=A9?=
=?UTF-8?q?=20qui=20cache=20les=20heures=20quand=20heure=20a=200=20meme=20?=
=?UTF-8?q?si=20heure=20en=20pr=C3=A9visionnel?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/js/service.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/public/js/service.js b/public/js/service.js
index 4e3843fb44..aa0b6b7763 100755
--- a/public/js/service.js
+++ b/public/js/service.js
@@ -207,7 +207,7 @@ $.widget("ose.serviceListe", {
totalHeures += $(this).data('value');
});
//On affiche toutes les lignes de services meme celle avec 0H
- if (totalHeures === 0) {
+ if (totalHeures = 0) {
$(this).hide();
that.element.find("table.service tr#service-" + id + "-volume-horaire-tr").hide();
} else {
@@ -227,7 +227,7 @@ $.widget("ose.serviceListe", {
this.calculTotaux();
- this.showHideTypesIntervention();
+ //this.showHideTypesIntervention();
},
--
GitLab