Suppression chemins absolus

This commit is contained in:
Jean-Christophe Engel 2023-12-05 10:07:01 +01:00
parent c70668831c
commit 6b6a54c357
17 changed files with 37 additions and 38 deletions

View file

@ -3,7 +3,7 @@
{{if $_GET.dialog === null}}
{{* barre de navigation *}}
{{:include file="/%s/_nav.html"|args:$module.name current="entrees"}}
{{:include file="../../_nav.html" current="entrees"}}
{{else}}
<header class="header">
<h1>Entrée de matériel</h1>
@ -11,7 +11,7 @@
{{/if}}
{{* récupérer la config des entrées/sorties *}}
{{:include file="/%s/_get_config.html"|args:$module.name keep="config"}}
{{:include file="../../_get_config.html" keep="config"}}
{{* types d'entrées *}}
{{#foreach from=$config.inputNature item="elem"}}
@ -38,7 +38,7 @@
{{* enregistrer un nouveau matériel *}}
{{:save
key=$equipment_key
validate_schema="/%s/equipment.schema.json"|args:$module.name
validate_schema="../../equipment.schema.json"
type="equipment"
category=$category.key
designation=$_POST.designation|trim
@ -51,7 +51,7 @@
{{:save
key=$mvt_key
validate_schema="/%s/mouvements/movement.schema.json"|args:$module.name
validate_schema="../movement.schema.json"
type="movement"
direction="entrée"
inputNature=$operation