From e3796d38e4cd321d7fd2db02c809ebf0adfac1a0 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Wed, 24 Jul 2024 09:04:02 +0700 Subject: [PATCH] show voucher date used --- ui/ui/voucher.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/ui/voucher.tpl b/ui/ui/voucher.tpl index dc31026b..1497424b 100644 --- a/ui/ui/voucher.tpl +++ b/ui/ui/voucher.tpl @@ -19,8 +19,8 @@ {if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
Delete All + onclick="return confirm('Delete all used voucher code more than 3 months?')"> Delete > 3 Months
{/if}   @@ -95,6 +95,7 @@ {Lang::T('Code Voucher')} {Lang::T('Status Voucher')} {Lang::T('Customer')} + {Lang::T('Used Date')} {Lang::T('Generated By')} {Lang::T('Manage')} @@ -116,6 +117,7 @@ {if $ds['user'] eq '0'} - {else}{$ds['user']} {/if} + {if $ds['used_date']}{Lang::dateTimeFormat($ds['used_date'])}{/if} {if $ds['generated_by']} {$admins[$ds['generated_by']]} {else} -