Simplification appels traitement commun
This commit is contained in:
parent
6330861130
commit
c86154d1b3
@ -24,10 +24,13 @@
|
||||
{{:assign designation=$equipment.designation}}
|
||||
{{:assign var="categories." value=$equipment.category}}
|
||||
{{/load}}
|
||||
{{:assign date=$_POST.date|parse_date}}
|
||||
|
||||
{{* Extraire et compiler les infos de la base *}}
|
||||
{{:include file="/%s/_calcul_dispo.html"|args:$module.name keep="equipments"}}
|
||||
{{:include
|
||||
file="/%s/_calcul_dispo.html"|args:$module.name
|
||||
keep="equipments"
|
||||
date=$_POST.date|parse_date
|
||||
}}
|
||||
|
||||
{{* déterminer la quantité sortie temporairement de ce matriel à la date donnée *}}
|
||||
{{:assign var=sorti from="equipments.%s.eqpmt.%s.exterieur"|args:$equipment.category:$_POST.equipment}}
|
||||
|
@ -24,10 +24,13 @@
|
||||
{{:assign designation=$equipment.designation}}
|
||||
{{:assign var="categories." value=$equipment.category}}
|
||||
{{/load}}
|
||||
{{:assign date=$_POST.date|parse_date}}
|
||||
|
||||
{{* Extraire et compiler les infos de la base *}}
|
||||
{{:include file="/%s/_calcul_dispo.html"|args:$module.name keep="equipments"}}
|
||||
{{:include
|
||||
file="/%s/_calcul_dispo.html"|args:$module.name
|
||||
keep="equipments"
|
||||
date=$_POST.date|parse_date
|
||||
}}
|
||||
|
||||
{{* déterminer la quantité présente de ce matériel à la date donnée *}}
|
||||
{{:assign var=present from="equipments.%s.eqpmt.%s.nonproprio"|args:$equipment.category:$_POST.equipment}}
|
||||
|
@ -24,10 +24,13 @@
|
||||
{{:assign designation=$equipment.designation}}
|
||||
{{:assign var="categories." value=$equipment.category}}
|
||||
{{/load}}
|
||||
{{:assign date=$_POST.date|parse_date}}
|
||||
|
||||
{{* Extraire et compiler les infos de la base *}}
|
||||
{{:include file="/%s/_calcul_dispo.html"|args:$module.name keep="equipments"}}
|
||||
{{:include
|
||||
file="/%s/_calcul_dispo.html"|args:$module.name
|
||||
keep="equipments"
|
||||
date=$_POST.date|parse_date
|
||||
}}
|
||||
|
||||
{{* déterminer la quantité disponible de ce matériel à la date donnée *}}
|
||||
{{:assign var=stock from="equipments.%s.eqpmt.%s.stock"|args:$equipment.category:$_POST.equipment}}
|
||||
|
Loading…
Reference in New Issue
Block a user