From b92efe3d304e90619977df18c16d31326cf49abf Mon Sep 17 00:00:00 2001 From: Novath Thomas Date: Mon, 18 Mar 2024 22:50:46 +0300 Subject: [PATCH] added plan type to front ui --- ui/ui/hotspot-add.tpl | 8 ++++++++ ui/ui/hotspot-edit.tpl | 15 +++++++++++++++ ui/ui/hotspot.tpl | 3 ++- ui/ui/pppoe-add.tpl | 9 +++++++++ ui/ui/pppoe-edit.tpl | 11 +++++++++++ ui/ui/pppoe.tpl | 2 ++ 6 files changed, 47 insertions(+), 1 deletion(-) diff --git a/ui/ui/hotspot-add.tpl b/ui/ui/hotspot-add.tpl index 9f5c7fb9..f09ab264 100644 --- a/ui/ui/hotspot-add.tpl +++ b/ui/ui/hotspot-add.tpl @@ -20,6 +20,14 @@ Postpaid + +
+ +
+ Personal + Business +
+
{if $_c['radius_enable']}
diff --git a/ui/ui/hotspot-edit.tpl b/ui/ui/hotspot-edit.tpl index 95b5d331..1e502239 100644 --- a/ui/ui/hotspot-edit.tpl +++ b/ui/ui/hotspot-edit.tpl @@ -14,6 +14,8 @@ Disable
+ +
@@ -24,6 +26,19 @@ {if $d['prepaid'] == no}checked{/if}> Postpaid
+ +
+ +
+ + Personal + Business +
+
+ + {if $_c['radius_enable'] and $d['is_radius']}
diff --git a/ui/ui/hotspot.tpl b/ui/ui/hotspot.tpl index 3662d386..ba6fa350 100644 --- a/ui/ui/hotspot.tpl +++ b/ui/ui/hotspot.tpl @@ -53,7 +53,8 @@ {$ds['name_plan']} - {$ds['typebp']} + {$ds['plan_type']} + {$ds['typebp']} {$ds['name_bw']} {Lang::moneyFormat($ds['price'])} {$ds['time_limit']} {$ds['time_unit']} diff --git a/ui/ui/pppoe-add.tpl b/ui/ui/pppoe-add.tpl index d2e8d1eb..ea5a9c52 100644 --- a/ui/ui/pppoe-add.tpl +++ b/ui/ui/pppoe-add.tpl @@ -20,6 +20,15 @@ Postpaid
+ +
+ +
+ Personal + Business +
+
+ {if $_c['radius_enable']}
diff --git a/ui/ui/pppoe-edit.tpl b/ui/ui/pppoe-edit.tpl index b558a1b7..8edd5753 100644 --- a/ui/ui/pppoe-edit.tpl +++ b/ui/ui/pppoe-edit.tpl @@ -22,6 +22,17 @@ Postpaid
+
+ +
+ + Personal + Business +
+
+ {if $_c['radius_enable'] and $d['is_radius']}
diff --git a/ui/ui/pppoe.tpl b/ui/ui/pppoe.tpl index 4bb711e6..86d7a55f 100644 --- a/ui/ui/pppoe.tpl +++ b/ui/ui/pppoe.tpl @@ -36,6 +36,7 @@ {Lang::T('Plan Name')} + {Lang::T('Plan Type')} {Lang::T('Bandwidth Plans')} {Lang::T('Plan Price')} {Lang::T('Plan Validity')} @@ -51,6 +52,7 @@ {$ds['name_plan']} + {$ds['plan_type']} {$ds['name_bw']} {Lang::moneyFormat($ds['price'])} {$ds['validity']} {$ds['validity_unit']}