{{#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="sorties"}} {{if $_GET.ok}}

{{$_GET.msg}}

{{elseif $_GET.err}}

{{$_GET.msg}}

{{/if}}
Ajouter une sortie {{:linkbutton label="Matériel en stock disponible" shape="plus" href="stock_disponible.html?dialog" target="_dialog"}} {{:linkbutton label="Matériel emprunté" shape="plus" href="emprunte.html?dialog" target="_dialog"}}
{{* lister les sorties *}}

Liste des sorties

{{#list select=" $$.date AS 'Date' ; $$.outputNature 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="sortie" order=1}} {{:assign var='mvt_key' value=$key}} {{$date|date_short}} {{$outputNature}} {{$amount}} {{$col4}} {{$comment}} {{:linkbutton label="Supprimer" href="delete_sortie.html?key=%s"|args:$mvt_key shape="delete" target="_dialog"}} {{:linkbutton label="Modifier" href="../modifier_mouvement.html?key=%s&direction=sortie&caller=%s"|args:$mvt_key:$request_url shape="edit" target="_dialog"}} {{else}}

Il n'y a aucune sortie : vous devez en ajouter.

{{/list}}
{{:admin_footer}}