fix orderplan
This commit is contained in:
parent
85c5441934
commit
ee022781b1
@ -1016,5 +1016,13 @@
|
|||||||
"Dont_select_logs_if_it_failed": "Dont select logs if it failed",
|
"Dont_select_logs_if_it_failed": "Dont select logs if it failed",
|
||||||
"Download_Backup": "Download Backup",
|
"Download_Backup": "Download Backup",
|
||||||
"Restore": "Restore",
|
"Restore": "Restore",
|
||||||
"Restoring_database_will_clean_up_data_and_then_restore_all_the_data": "Restoring database will clean up data and then restore all the data"
|
"Restoring_database_will_clean_up_data_and_then_restore_all_the_data": "Restoring database will clean up data and then restore all the data",
|
||||||
|
"Transaction": "Transaction",
|
||||||
|
"Face_Detection": "Face Detection",
|
||||||
|
"Other": "Other",
|
||||||
|
"Customer_can_login_but_cannot_buy_internet_package__Admin_cannot_recharge_customer": "Customer can login but cannot buy internet package, Admin cannot recharge customer",
|
||||||
|
"Don_t_forget_to_deactivate_all_active_package_too": "Don't forget to deactivate all active package too",
|
||||||
|
"Continue_the_Customer_Data_change_process_": "Continue the Customer Data change process?",
|
||||||
|
"Oops__The_page_you_are_looking_for_was_not_found": "Oops! The page you are looking for was not found",
|
||||||
|
"Back_to_Dashboard": "Back to Dashboard"
|
||||||
}
|
}
|
@ -121,7 +121,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{elseif $_user['service_type'] == 'Others' || $_user['service_type'] == '' && (Lang::arrayCount($radius_pppoe)>0
|
{elseif $_user['service_type'] == 'Others' || $_user['service_type'] == '' && (Lang::arrayCount($radius_pppoe)>0
|
||||||
|| Lang::arrayCount($radius_hotspot)>0)}
|
|| Lang::arrayCount($radius_hotspot)>0)}
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li>{if $_c['radius_plan']==''}Radius Plan{else}{$_c['radius_plan']}{/if}</li>
|
<li>{if $_c['radius_plan']==''}Radius Plan{else}{$_c['radius_plan']}{/if}</li>
|
||||||
<li>{if $_c['pppoe_plan']==''}PPPOE Plan{else}{$_c['pppoe_plan']}{/if}</li>
|
<li>{if $_c['pppoe_plan']==''}PPPOE Plan{else}{$_c['pppoe_plan']}{/if}</li>
|
||||||
@ -224,7 +224,7 @@
|
|||||||
onclick="return ask(this, '{Lang::T('Buy this? your active package will be overwritten')}')"
|
onclick="return ask(this, '{Lang::T('Buy this? your active package will be overwritten')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' &&
|
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' &&
|
||||||
$_user['balance']>=$plan['price']}
|
$_user['balance']>=$plan['price']}
|
||||||
<a href="{Text::url('order/send/hotspot/', $plan['id'], '&stoken=', App::getToken())}"
|
<a href="{Text::url('order/send/hotspot/', $plan['id'], '&stoken=', App::getToken())}"
|
||||||
onclick="return ask(this, '{Lang::T('Buy this for friend account?')}')"
|
onclick="return ask(this, '{Lang::T('Buy this for friend account?')}')"
|
||||||
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
||||||
@ -239,8 +239,8 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{foreach $routers as $router}
|
{foreach $routers as $router}
|
||||||
{if Validator::isRouterHasPlan($plans_hotspot, $router['name']) || Validator::isRouterHasPlan($plans_pppoe,
|
{if Validator::isRouterHasPlan($plans_hotspot, $router['name']) || Validator::isRouterHasPlan($plans_pppoe,
|
||||||
$router['name']) || Validator::isRouterHasPlan($plans_vpn,
|
$router['name']) || Validator::isRouterHasPlan($plans_vpn,
|
||||||
$router['name'])}
|
$router['name'])}
|
||||||
<div class="box box-solid box-primary bg-gray">
|
<div class="box box-solid box-primary bg-gray">
|
||||||
<div class="box-header text-white text-bold">{$router['name']}</div>
|
<div class="box-header text-white text-bold">{$router['name']}</div>
|
||||||
{if $router['description'] != ''}
|
{if $router['description'] != ''}
|
||||||
@ -290,7 +290,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<a href="{Text::url('order/gateway/', $router['id'],'/',$plan['id'], '&stoken=' App::getToken())}"
|
<a href="{Text::url('order/gateway/', $router['id'],'/',$plan['id'], '&stoken=', App::getToken())}"
|
||||||
onclick="return ask(this, '{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return ask(this, '{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
@ -402,11 +402,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<a href="{Text::url('order/gateway/',$router['id'],'/',$plan['id'],'&stoken=',App::getToken())}"
|
<a href="{Text::url('order/gateway/',$router['id'],'/',$plan['id'],'&stoken=', App::getToken())}"
|
||||||
onclick="return ask(this, '{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return ask(this, '{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{Text::url('order/send/',$router['id'],'/', $plan['id'], '&stoken='App::getToken())}"
|
<a href="{Text::url('order/send/',$router['id'],'/', $plan['id'], '&stoken=', App::getToken())}"
|
||||||
onclick="return ask(this, '{Lang::T('Buy this for friend account?')}')"
|
onclick="return ask(this, '{Lang::T('Buy this for friend account?')}')"
|
||||||
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy for friend')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
@ -418,9 +418,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{if $_user['service_type'] == 'Others' || $_user['service_type'] == '' &&
|
{if $_user['service_type'] == 'Others' || $_user['service_type'] == '' &&
|
||||||
(Validator::countRouterPlan($plans_hotspot, $router['name'])>0 || Validator::countRouterPlan($plans_pppoe,
|
(Validator::countRouterPlan($plans_hotspot, $router['name'])>0 || Validator::countRouterPlan($plans_pppoe,
|
||||||
$router['name'])>0 || Validator::countRouterPlan($plans_vpn,
|
$router['name'])>0 || Validator::countRouterPlan($plans_vpn,
|
||||||
$router['name'])>0)}
|
$router['name'])>0)}
|
||||||
<div class="box-header text-white">{if $_c['hotspot_plan']==''}Hotspot Plan{else}{$_c['hotspot_plan']}{/if}
|
<div class="box-header text-white">{if $_c['hotspot_plan']==''}Hotspot Plan{else}{$_c['hotspot_plan']}{/if}
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body row">
|
<div class="box-body row">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user