From 80cecabfb0aba2e956ccc2b4e10bd603149ae61e Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Mon, 5 Feb 2024 14:25:23 +0700 Subject: [PATCH] Fix Calculation --- system/lan/english/common.lan.php | 1 + ui/ui/dashboard.tpl | 368 +++++++++++++++--------------- version.json | 2 +- 3 files changed, 186 insertions(+), 185 deletions(-) diff --git a/system/lan/english/common.lan.php b/system/lan/english/common.lan.php index 543740f1..66514989 100644 --- a/system/lan/english/common.lan.php +++ b/system/lan/english/common.lan.php @@ -427,3 +427,4 @@ $_L['Buy_this_your_active_package_will_be_overwrite'] = 'Buy this? your active p $_L['Monthly_Registered_Customers'] = 'Monthly Registered Customers'; $_L['Total_Monthly_Sales'] = 'Total Monthly Sales'; $_L['Active_Users'] = 'Active Users'; +$_L['All_Users_Insights'] = 'All Users Insights'; diff --git a/ui/ui/dashboard.tpl b/ui/ui/dashboard.tpl index 5a39c776..c7c5ca18 100644 --- a/ui/ui/dashboard.tpl +++ b/ui/ui/dashboard.tpl @@ -99,34 +99,34 @@
{if $_c['disable_voucher'] != 'yes' && $stocks['unused']>0 || $stocks['used']>0} -
-
Vouchers Stock
-
- - +
+
Vouchers Stock
+
+
+ + + + + + + + + {foreach $plans as $stok} + + + + + + + {/foreach} - - - + + + - - - {foreach $plans as $stok} - - - - - - - {/foreach} - - - - - -
{$_L['Plan_Name']}unusedused
{$stok['name_plan']}{$stok['unused']}{$stok['used']}
{$_L['Plan_Name']}unusedusedTotal{$stocks['unused']}{$stocks['used']}
{$stok['name_plan']}{$stok['unused']}{$stok['used']}
Total{$stocks['unused']}{$stocks['used']}
+ +
-
{/if}
{$_L['User_Expired_Today']}
@@ -143,15 +143,15 @@ {$no = 1} {foreach $expire as $expired} - - {$no++} - {$expired['username']} - {Lang::dateAndTimeFormat($expired['recharged_on'],$expired['recharged_time'])} - - {Lang::dateAndTimeFormat($expired['expiration'],$expired['time'])} - - - + + {$no++} + {$expired['username']} + {Lang::dateAndTimeFormat($expired['recharged_on'],$expired['recharged_time'])} + + {Lang::dateAndTimeFormat($expired['expiration'],$expired['time'])} + + + {/foreach}
@@ -175,11 +175,11 @@
    {foreach $dlog as $dlogs} -
  • - - {time_elapsed_string($dlogs['date'],true)} -

    {$dlogs['description']}

    -
  • +
  • + + {time_elapsed_string($dlogs['date'],true)} +

    {$dlogs['description']}

    +
  • {/foreach}
@@ -192,171 +192,171 @@ {literal} - + + - - + {/literal}