Première version publique v1.0.0
This commit is contained in:
1 parent
9479955cc5
commit
30dd875bd9
80 files changed
+9746
-26
No files matched your search
@@ -0,0 +1,46 @@
|
||||
{{* -*- brindille -*- *}}
|
||||
|
||||
{{#restrict block=true section="accounting" level="write"}}{{/restrict}}
|
||||
|
||||
{{*
|
||||
Afficher les lieux de stockage
|
||||
*}}
|
||||
|
||||
{{:admin_header title="Configuration" current="module_%s"|args:$module.name}}
|
||||
|
||||
{{:include file="../_nav.html" current="config" subcurrent="storage"}}
|
||||
|
||||
{{if $_GET.ok}}
|
||||
{{if $_GET.msg == "ajout"}}
|
||||
<p class="block confirm">Ajout effectué</p>
|
||||
{{elseif $_GET.msg == "suppression"}}
|
||||
<p class="block confirm">Suppression effectuée</p>
|
||||
{{/if}}
|
||||
{{elseif $_GET.err}}
|
||||
{{if $_GET.msg == "suppression"}}
|
||||
<p class="block error">Impossible de supprimer ce lieu de stockage car il est utilisé !</p>
|
||||
{{else}}
|
||||
<p class="block error">Opération refusée</p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#list
|
||||
type="storage"
|
||||
select="
|
||||
$$.name AS 'Nom';
|
||||
$$.location AS 'Emplacement'
|
||||
"
|
||||
}}
|
||||
<tr>
|
||||
<td>{{$name}}</td>
|
||||
<td>{{$location}}</td>
|
||||
<td class="actions">
|
||||
{{:linkbutton label="Modifier" shape="edit" href="modify_storage.html?key=%s"|args:$key target="_dialog"}}
|
||||
{{:linkbutton label="Supprimer" shape="delete" href="delete_storage.html?key=%s"|args:$key target="_dialog"}}
|
||||
</td>
|
||||
</tr>
|
||||
{{else}}
|
||||
<p class="block alert">Aucun lieu de stockage.</p>
|
||||
{{/list}}
|
||||
|
||||
{{:admin_footer}}
|
||||
Reference in new issue
Block a user