Correction erreur calcul quantité matériel non propriété

This commit is contained in:
Jean-Christophe Engel 2023-11-20 12:31:39 +01:00
parent 4dd8d660a8
commit 56119b985b

View File

@ -122,7 +122,7 @@
var="equipments.%s.eqpmt.%s.exterieur"|args:$cat_key:$eqpmt_key var="equipments.%s.eqpmt.%s.exterieur"|args:$cat_key:$eqpmt_key
from=exterieur}} from=exterieur}}
{{elseif $elem.type == 'retour'}} {{elseif $elem.type == 'retour'}}
{{:assign nonproprio="%d-%d"|math:nonproprio:$nombre}} {{:assign nonproprio="%d-%d"|math:$nonproprio:$nombre}}
{{:assign {{:assign
var="equipments.%s.eqpmt.%s.nonproprio"|args:$cat_key:$eqpmt_key var="equipments.%s.eqpmt.%s.nonproprio"|args:$cat_key:$eqpmt_key
from=nonproprio}} from=nonproprio}}