From e70a6c4dae955622103fa3426c1e9b2b7f093e12 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Mon, 7 Oct 2024 14:50:28 +0700 Subject: [PATCH] show is customer online in the Active List --- ui/ui/plan.tpl | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/ui/ui/plan.tpl b/ui/ui/plan.tpl index 32111f4a..518c0289 100644 --- a/ui/ui/plan.tpl +++ b/ui/ui/plan.tpl @@ -94,15 +94,18 @@ {$ds['username']} {/if} + {if $ds['type'] == 'Hotspot'} - {$ds['namebp']} - {/if} - {if $ds['type'] == 'PPPOE'} - {$ds['namebp']} - {/if} - {if $ds['type'] == 'VPN'} - {$ds['namebp']} + {$ds['namebp']} + + {elseif $ds['type'] == 'PPPOE'} + {$ds['namebp']} + + {elseif $ds['type'] == 'VPN'} + {$ds['namebp']} {/if} + + {$ds['type']} {Lang::dateAndTimeFormat($ds['recharged_on'],$ds['recharged_time'])} {Lang::dateAndTimeFormat($ds['expiration'],$ds['time'])}