{{#restrict section="config" level="admin" block=true}}{{/restrict}} {{:admin_header title="Gestion des matériels" current="module_equipment"}} {{* barre de navigation *}} {{:include file="/%s/_nav.html"|args:$module.name current="entrees"}} {{if $_GET.ok}}

{{$_GET.msg}}

{{/if}}
Ajouter une entrée pour du {{:linkbutton label="Matériel répertorié" shape="plus" href="repertorie.html?dialog" target="_dialog"}} {{:linkbutton label="Matériel non répertorié" shape="plus" href="non_repertorie.html?dialog" target="_dialog"}}
{{* lister les entrées *}}

Liste des entrées

{{#list select=" $$.date AS 'Date' ; $$.inputNature AS 'Type' ; $$.amount AS 'Nombre' ; (SELECT $$.designation FROM @TABLE AS b WHERE b.key = @TABLE.$$.equipment) AS 'Matériel' ; $$.comment AS 'Remarques'" type="movement" direction="entrée" order=1}} {{:assign var='mvt_key' value=$key}} {{$date|date_short}} {{$inputNature}} {{$amount}} {{$col4}} {{$comment}} {{* {{:linkbutton label="Supprimer" href="delete_entree.html?key=%s"|args:$mvt_key shape="delete" target="_dialog"}} *}} {{:linkbutton label="Supprimer" href="../delete_movement.html?key=%s&mvt=entrée&caller=%s"|args:$mvt_key:$request_url shape="delete" target="_dialog"}} {{/list}}
{{:admin_footer}}