no elig link for aquilenet

This commit is contained in:
Johan Le Baut 2022-04-13 11:27:02 +02:00
parent b02881720d
commit eecbde1d24

View file

@ -148,11 +148,12 @@ function updateEligData(map, eligData) {
eligTestApi=`eligtest/ftth?idImm=${building.idImm}&codePostal=${building.codePostal}&axione=${building.aquilenetEligStatus.isEligible}&liazo=${building.fdnEligStatus.isEligible}`
if (building.aquilenetEligStatus.isEligible) {
messageElig = `<p class=deployeeAquilenet>Fibre deployee !`
messageElig += `<br/><a href=${eligTestApi}>Tester l'eligibilite par Aquilenet`
if (building.fdnEligStatus.isEligible) {
messageElig += " et FDN"
}
messageElig += "</a></p>"
// messageElig += `<br/><a href=${eligTestApi}>Tester l'eligibilite par Aquilenet`
// if (building.fdnEligStatus.isEligible) {
// messageElig += " et FDN"
// }
// messageElig += "</a>"
messageElig += "</p>"
} else if (building.fdnEligStatus.isEligible && building.othersEligStatus.isEligible) {
messageElig = `<p class=deployeeFDN>Fibre deployee mais pas chez Aquilenet !`
messageElig += `<br/><a href=${eligTestApi}>Tester l'eligibilite par FDN</a></p>`