From 88aca9bac5d5772befcf8de2212d64439c915ef5 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Fri, 13 Oct 2023 16:17:23 +0700 Subject: [PATCH] hide table when stock 0 --- ui/ui/dashboard.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ui/dashboard.tpl b/ui/ui/dashboard.tpl index ddc3ff74..5fdf1ada 100644 --- a/ui/ui/dashboard.tpl +++ b/ui/ui/dashboard.tpl @@ -62,7 +62,7 @@
- {if $_c['disable_voucher'] != 'yes'} + {if $_c['disable_voucher'] != 'yes' && $stocks['unused']>0 || $stocks['used']>0}
Vouchers Stock