simplification delete_category
This commit is contained in:
parent
42540b8c53
commit
463661d2f8
@ -8,7 +8,7 @@
|
||||
|
||||
{{#form on="delete"}}
|
||||
{{* lister les matériels de cette catégorie et leurs mouvements *}}
|
||||
{{#load type="equipment" where="$$.category = :key" :key=$_GET.id assign="equipment"}}
|
||||
{{#load type="equipment" category=$_GET.id assign="equipment"}}
|
||||
|
||||
{{* supprimer le matériel courant et les mouvements associés *}}
|
||||
{{:delete where="key = :key OR $$.equipment = :key" :key=$equipment.key}}
|
||||
|
Loading…
Reference in New Issue
Block a user