Merge branch 'Development'
This commit is contained in:
commit
2f9780cf62
@ -15,8 +15,8 @@
|
|||||||
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
|
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<input type="radio" name="enabled" value="1" {if $d['enabled'] == 1}checked{/if}> Enable
|
<input type="radio" name="enabled" value="1" {if $d['enabled'] == 1}checked{/if}> {Lang::T('Enable')}
|
||||||
<input type="radio" name="enabled" value="0" {if $d['enabled'] == 0}checked{/if}> Disable
|
<input type="radio" name="enabled" value="0" {if $d['enabled'] == 0}checked{/if}> {Lang::T('Disable')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -28,9 +28,9 @@
|
|||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<input type="radio" name="prepaid" onclick="prePaid()" value="yes"
|
<input type="radio" name="prepaid" onclick="prePaid()" value="yes"
|
||||||
{if $d['prepaid'] == 'yes'}checked{/if}>
|
{if $d['prepaid'] == 'yes'}checked{/if}>
|
||||||
Prepaid
|
{Lang::T('Prepaid')}
|
||||||
<input type="radio" name="prepaid" onclick="postPaid()" value="no"
|
<input type="radio" name="prepaid" onclick="postPaid()" value="no"
|
||||||
{if $d['prepaid'] == 'no'}checked{/if}> Postpaid
|
{if $d['prepaid'] == 'no'}checked{/if}> {Lang::T('Postpaid')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -42,9 +42,9 @@
|
|||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<input type="radio" name="plan_type" value="Personal"
|
<input type="radio" name="plan_type" value="Personal"
|
||||||
{if $d['plan_type'] == 'Personal'}checked{/if}>
|
{if $d['plan_type'] == 'Personal'}checked{/if}>
|
||||||
Personal
|
{Lang::T('Personal')}
|
||||||
<input type="radio" name="plan_type" value="Business"
|
<input type="radio" name="plan_type" value="Business"
|
||||||
{if $d['plan_type'] == 'Business'}checked{/if}> Business
|
{if $d['plan_type'] == 'Business'}checked{/if}> {Lang::T('Business')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{if $_c['radius_enable'] and $d['is_radius']}
|
{if $_c['radius_enable'] and $d['is_radius']}
|
||||||
@ -234,7 +234,7 @@
|
|||||||
<label class="col-md-3 control-label">{Lang::T('Expired Internet Plan')}</label>
|
<label class="col-md-3 control-label">{Lang::T('Expired Internet Plan')}</label>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<select id="plan_expired" name="plan_expired" class="form-control select2">
|
<select id="plan_expired" name="plan_expired" class="form-control select2">
|
||||||
<option value='0'>Default - Remove Customer</option>
|
<option value='0'>{Lang::T('Default - Remove Customer')}</option>
|
||||||
{foreach $exps as $exp}
|
{foreach $exps as $exp}
|
||||||
<option value="{$exp['id']}" {if $d['plan_expired'] eq $exp['id']} selected {/if}>
|
<option value="{$exp['id']}" {if $d['plan_expired'] eq $exp['id']} selected {/if}>
|
||||||
{$exp['name_plan']}</option>
|
{$exp['name_plan']}</option>
|
||||||
@ -251,14 +251,14 @@
|
|||||||
{if !$d['is_radius']}
|
{if !$d['is_radius']}
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
||||||
<div class="panel-heading">on-login / on-up</div>
|
<div class="panel-heading">{Lang::T('on-login / on-up')}</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<textarea class="form-control" id="code" name="on_login"
|
<textarea class="form-control" id="code" name="on_login"
|
||||||
style="font-family: 'Courier New', Courier, monospace;" rows="15">{$d['on_login']}</textarea>
|
style="font-family: 'Courier New', Courier, monospace;" rows="15">{$d['on_login']}</textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
||||||
<div class="panel-heading">on-logout / on-down</div>
|
<div class="panel-heading">{Lang::T('on-logout / on-down')}</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<textarea class="form-control" id="code2" name="on_logout"
|
<textarea class="form-control" id="code2" name="on_logout"
|
||||||
style="font-family: 'Courier New', Courier, monospace;" rows="15">{$d['on_logout']}</textarea>
|
style="font-family: 'Courier New', Courier, monospace;" rows="15">{$d['on_logout']}</textarea>
|
||||||
@ -333,4 +333,4 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
@ -32,12 +32,12 @@
|
|||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<form class="form-inline" method="post" action="{$_url}logs/radius/">
|
<form class="form-inline" method="post" action="{$_url}logs/radius/">
|
||||||
<div class="input-group has-error">
|
<div class="input-group has-error">
|
||||||
<span class="input-group-addon">Keep Logs </span>
|
<span class="input-group-addon">{Lang::T('Keep Logs')} </span>
|
||||||
<input type="text" name="keep" class="form-control" placeholder="90" value="90">
|
<input type="text" name="keep" class="form-control" placeholder="90" value="90">
|
||||||
<span class="input-group-addon">Days</span>
|
<span class="input-group-addon">{Lang::T('Days')}</span>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-danger btn-sm"
|
<button type="submit" class="btn btn-danger btn-sm"
|
||||||
onclick="return confirm('Clear old logs?')">Clean Logs</button>
|
onclick="return confirm('Clear old logs?')">{Lang::T('Clean Logs')}</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -66,4 +66,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
@ -32,12 +32,12 @@
|
|||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<form class="form-inline" method="post" action="{$_url}logs/list/">
|
<form class="form-inline" method="post" action="{$_url}logs/list/">
|
||||||
<div class="input-group has-error">
|
<div class="input-group has-error">
|
||||||
<span class="input-group-addon">Keep Logs </span>
|
<span class="input-group-addon">{Lang::T('Keep Logs')} </span>
|
||||||
<input type="text" name="keep" class="form-control" placeholder="90" value="90">
|
<input type="text" name="keep" class="form-control" placeholder="90" value="90">
|
||||||
<span class="input-group-addon">Days</span>
|
<span class="input-group-addon">{Lang::T('Days')}</span>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-danger btn-sm"
|
<button type="submit" class="btn btn-danger btn-sm"
|
||||||
onclick="return confirm('Clear old logs?')">Clean Logs</button>
|
onclick="return confirm('Clear old logs?')">{Lang::T('Clean Logs')}</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -63,4 +63,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
@ -90,24 +90,24 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{if $batchStatus}
|
{if $batchStatus}
|
||||||
<p><span class="label label-success">Total SMS Sent: {$totalSMSSent}</span> <span class="label label-danger">Total SMS
|
<p><span class="label label-success">{Lang::T('Total SMS Sent')}: {$totalSMSSent}</span> <span class="label label-danger">{Lang::T('Total SMS
|
||||||
Failed: {$totalSMSFailed}</span> <span class="label label-success">Total WhatsApp Sent:
|
Failed')}: {$totalSMSFailed}</span> <span class="label label-success">{Lang::T('Total WhatsApp Sent')}:
|
||||||
{$totalWhatsappSent}</span> <span class="label label-danger">Total WhatsApp Failed:
|
{$totalWhatsappSent}</span> <span class="label label-danger">{Lang::T('Total WhatsApp Failed')}:
|
||||||
{$totalWhatsappFailed}</span></p>
|
{$totalWhatsappFailed}</span></p>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header">
|
<div class="box-header">
|
||||||
<h3 class="box-title">Message Results</h3>
|
<h3 class="box-title">{Lang::T('Message Results')}</h3>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box-header -->
|
<!-- /.box-header -->
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<table id="messageResultsTable" class="table table-bordered table-striped table-condensed">
|
<table id="messageResultsTable" class="table table-bordered table-striped table-condensed">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>{Lang::T('Name')}</th>
|
||||||
<th>Phone</th>
|
<th>{Lang::T('Phone')}</th>
|
||||||
<th>Message</th>
|
<th>{Lang::T('Message')}</th>
|
||||||
<th>Status</th>
|
<th>{Lang::T('Status')}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -139,4 +139,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<ul class="list-group list-group-unbordered">
|
<ul class="list-group list-group-unbordered">
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
<b>TRX ID</b> <span class="pull-right"> {$pg['id']} </span>
|
<b>{Lang::T('TRX ID')}</b> <span class="pull-right"> {$pg['id']} </span>
|
||||||
</li>
|
</li>
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
<b>{Lang::T('Invoice')}</b> <span class="pull-right">
|
<b>{Lang::T('Invoice')}</b> <span class="pull-right">
|
||||||
@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
<div class="panel panel-hovered mb20 panel-primary">
|
<div class="panel panel-hovered mb20 panel-primary">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
Response when request payment
|
{Lang::T('Response when request payment')}
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-bordered table-striped table-condensed">
|
<table class="table table-bordered table-striped table-condensed">
|
||||||
@ -80,7 +80,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="panel panel-hovered mb20 panel-primary">
|
<div class="panel panel-hovered mb20 panel-primary">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
Response when payment PAID
|
{Lang::T('Response when payment PAID')}
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-bordered table-striped table-condensed">
|
<table class="table table-bordered table-striped table-condensed">
|
||||||
@ -94,4 +94,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
<table class="table table-bordered table-striped table-condensed">
|
<table class="table table-bordered table-striped table-condensed">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>TRX ID</th>
|
<th>{Lang::T('TRX ID')}</th>
|
||||||
<th>PG ID</th>
|
<th>{Lang::T('PG ID')}</th>
|
||||||
<th>{Lang::T('Username')}</th>
|
<th>{Lang::T('Username')}</th>
|
||||||
<th>{Lang::T('Plan Name')}</th>
|
<th>{Lang::T('Plan Name')}</th>
|
||||||
<th>{Lang::T('Routers')}</th>
|
<th>{Lang::T('Routers')}</th>
|
||||||
@ -46,7 +46,7 @@
|
|||||||
<td>
|
<td>
|
||||||
{if $pg['pg_url_payment']}
|
{if $pg['pg_url_payment']}
|
||||||
<a href="{$pg['pg_url_payment']}" target="_blank" class="btn btn-xs btn-default btn-block"
|
<a href="{$pg['pg_url_payment']}" target="_blank" class="btn btn-xs btn-default btn-block"
|
||||||
rel="noopener noreferrer">open</a>
|
rel="noopener noreferrer">{Lang::T('open')}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
<td>{$pg['payment_method']} - {$pg['payment_channel']}</td>
|
<td>{$pg['payment_method']} - {$pg['payment_channel']}</td>
|
||||||
@ -63,8 +63,8 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
{include file="pagination.tpl"}
|
{include file="pagination.tpl"}
|
||||||
<a href="{$_url}paymentgateway/" class="btn btn-default btn-xs">kembali</a>
|
<a href="{$_url}paymentgateway/" class="btn btn-default btn-xs">{Lang::T('back')}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{include file="sections/header.tpl"}
|
{include file="sections/header.tpl"}
|
||||||
|
|
||||||
{if empty($_c['github_token'])}
|
{if empty($_c['github_token'])}
|
||||||
<p class="help-block">To download from private/paid repository, <a href="{$_url}settings/app#Github_Authentication">Set
|
<p class="help-block">{Lang::T('To download from private/paid repository')}, <a href="{$_url}settings/app#Github_Authentication">
|
||||||
your Github Authentication first</a></p>
|
{Lang::T('Set your Github Authentication first')}</a></p>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<form method="post" enctype="multipart/form-data"
|
<form method="post" enctype="multipart/form-data"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="panel-body row">
|
<div class="panel-body row">
|
||||||
<div class="form-group col-md-4">
|
<div class="form-group col-md-4">
|
||||||
<label>Upload Zip Plugin/Theme/Device</label>
|
<label>{Lang::T('Upload Zip Plugin/Theme/Device')}</label>
|
||||||
<input type="file" name="zip_plugin" accept="application/zip" onchange="this.submit()">
|
<input type="file" name="zip_plugin" accept="application/zip" onchange="this.submit()">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-7">
|
<div class="form-group col-md-7">
|
||||||
@ -31,7 +31,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-1">
|
<div class="col-md-1">
|
||||||
<br>
|
<br>
|
||||||
<button type="submit" class="btn btn-primary">Install</button>
|
<button type="submit" class="btn btn-primary">{Lang::T('Install')}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -41,10 +41,10 @@
|
|||||||
<!-- Nav tabs -->
|
<!-- Nav tabs -->
|
||||||
<ul class="nav nav-tabs" role="tablist">
|
<ul class="nav nav-tabs" role="tablist">
|
||||||
<li role="presentation" class="active"><a href="#plugin" aria-controls="plugin" role="tab"
|
<li role="presentation" class="active"><a href="#plugin" aria-controls="plugin" role="tab"
|
||||||
data-toggle="tab">Plugin</a></li>
|
data-toggle="tab">{Lang::T('Plugin')}</a></li>
|
||||||
<li role="presentation"><a href="#pg" aria-controls="pg" role="tab" data-toggle="tab">Payment Gateway</a>
|
<li role="presentation"><a href="#pg" aria-controls="pg" role="tab" data-toggle="tab">{Lang::T('Payment Gateway')}</a>
|
||||||
</li>
|
</li>
|
||||||
<li role="presentation"><a href="#device" aria-controls="device" role="tab" data-toggle="tab">Devices</a>
|
<li role="presentation"><a href="#device" aria-controls="device" role="tab" data-toggle="tab">{Lang::T('Devices')}</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
@ -61,7 +61,7 @@
|
|||||||
<div class="box-body" style="overflow-y: scroll;">
|
<div class="box-body" style="overflow-y: scroll;">
|
||||||
<div style="max-height: 50px; min-height: 50px;">{$plugin['description']}</div>
|
<div style="max-height: 50px; min-height: 50px;">{$plugin['description']}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-footer ">
|
<div class="box-footer">
|
||||||
<center><small><i>@{$plugin['author']} Last update: {$plugin['last_update']}</i></small>
|
<center><small><i>@{$plugin['author']} Last update: {$plugin['last_update']}</i></small>
|
||||||
</center>
|
</center>
|
||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
@ -162,4 +162,4 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
<input type="text" class="form-control" id="routers" name="routers" value="{$d['routers']}" readonly>
|
<input type="text" class="form-control" id="routers" name="routers" value="{$d['routers']}" readonly>
|
||||||
</div>
|
</div>
|
||||||
{if $_c['radius_enable']}
|
{if $_c['radius_enable']}
|
||||||
<p class="help-block col-md-4">For Radius, you need to add <b>Pool Name</b> in Mikrotik manually</p>
|
<p class="help-block col-md-4">{Lang::T('For Radius, you need to add')} <b>{Lang::T('Name')} Pool</b> {Lang::T('in Mikrotik manually')}</p>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -65,12 +65,12 @@
|
|||||||
</div>
|
</div>
|
||||||
{include file="pagination.tpl"}
|
{include file="pagination.tpl"}
|
||||||
<div class="bs-callout bs-callout-info" id="callout-navbar-role">
|
<div class="bs-callout bs-callout-info" id="callout-navbar-role">
|
||||||
<h4>Create expired Internet Plan</h4>
|
<h4>{Lang::T('Create expired Internet Plan')}</h4>
|
||||||
<p>When customer expired, you can move it to Expired Internet Plan</p>
|
<p>{Lang::T('When customer expired, you can move it to Expired Internet Plan')}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
|
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<input type="radio" checked name="enabled" value="1"> Enable
|
<input type="radio" checked name="enabled" value="1"> {Lang::T('Enable')}
|
||||||
<input type="radio" name="enabled" value="0"> Disable
|
<input type="radio" name="enabled" value="0"> {Lang::T('Disable')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -24,8 +24,8 @@
|
|||||||
data-content="Postpaid will have fix expired date">?</a>
|
data-content="Postpaid will have fix expired date">?</a>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<input type="radio" name="prepaid" onclick="prePaid()" value="yes" checked> Prepaid
|
<input type="radio" name="prepaid" onclick="prePaid()" value="yes" checked> {Lang::T('Prepaid')}
|
||||||
<input type="radio" name="prepaid" onclick="postPaid()" value="no"> Postpaid
|
<input type="radio" name="prepaid" onclick="postPaid()" value="no"> {Lang::T('Postpaid')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -35,8 +35,8 @@
|
|||||||
data-content="Personal Plan will only show to personal Customer, Business plan will only show to Business Customer">?</a>
|
data-content="Personal Plan will only show to personal Customer, Business plan will only show to Business Customer">?</a>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<input type="radio" name="plan_type" value="Personal" checked> Personal
|
<input type="radio" name="plan_type" value="Personal" checked> {Lang::T('Personal')}
|
||||||
<input type="radio" name="plan_type" value="Business"> Business
|
<input type="radio" name="plan_type" value="Business"> {Lang::T('Business')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{if $_c['radius_enable']}
|
{if $_c['radius_enable']}
|
||||||
@ -198,4 +198,4 @@
|
|||||||
</script>
|
</script>
|
||||||
{/literal}
|
{/literal}
|
||||||
{/if}
|
{/if}
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
|
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<input type="radio" name="enabled" value="1" {if $d['enabled'] == 1}checked{/if}> Enable
|
<input type="radio" name="enabled" value="1" {if $d['enabled'] == 1}checked{/if}> {Lang::T('Enable')}
|
||||||
<input type="radio" name="enabled" value="0" {if $d['enabled'] == 0}checked{/if}> Disable
|
<input type="radio" name="enabled" value="0" {if $d['enabled'] == 0}checked{/if}> {Lang::T('Disable')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -27,9 +27,9 @@
|
|||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<input type="radio" name="prepaid" onclick="prePaid()" value="yes"
|
<input type="radio" name="prepaid" onclick="prePaid()" value="yes"
|
||||||
{if $d['prepaid'] == 'yes'}checked{/if}>
|
{if $d['prepaid'] == 'yes'}checked{/if}>
|
||||||
Prepaid
|
{Lang::T('Prepaid')}
|
||||||
<input type="radio" name="prepaid" onclick="postPaid()" value="no"
|
<input type="radio" name="prepaid" onclick="postPaid()" value="no"
|
||||||
{if $d['prepaid'] == 'no'}checked{/if}> Postpaid
|
{if $d['prepaid'] == 'no'}checked{/if}> {Lang::T('Postpaid')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -41,9 +41,9 @@
|
|||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<input type="radio" name="plan_type" value="Personal"
|
<input type="radio" name="plan_type" value="Personal"
|
||||||
{if $d['plan_type'] == 'Personal'}checked{/if}>
|
{if $d['plan_type'] == 'Personal'}checked{/if}>
|
||||||
Personal
|
{Lang::T('Personal')}
|
||||||
<input type="radio" name="plan_type" value="Business"
|
<input type="radio" name="plan_type" value="Business"
|
||||||
{if $d['plan_type'] == 'Business'}checked{/if}> Business
|
{if $d['plan_type'] == 'Business'}checked{/if}> {Lang::T('Business')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{if $_c['radius_enable'] and $d['is_radius']}
|
{if $_c['radius_enable'] and $d['is_radius']}
|
||||||
@ -187,14 +187,14 @@
|
|||||||
{if !$d['is_radius']}
|
{if !$d['is_radius']}
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
||||||
<div class="panel-heading">on-login / on-up</div>
|
<div class="panel-heading">{Lang::T('on-login / on-up')}</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<textarea class="form-control" id="code" name="on_login"
|
<textarea class="form-control" id="code" name="on_login"
|
||||||
style="font-family: 'Courier New', Courier, monospace;" rows="15">{$d['on_login']}</textarea>
|
style="font-family: 'Courier New', Courier, monospace;" rows="15">{$d['on_login']}</textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
||||||
<div class="panel-heading">on-logout / on-down</div>
|
<div class="panel-heading">{Lang::T('on-logout / on-down')}</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<textarea class="form-control" id="code2" name="on_logout"
|
<textarea class="form-control" id="code2" name="on_logout"
|
||||||
style="font-family: 'Courier New', Courier, monospace;" rows="15">{$d['on_logout']}</textarea>
|
style="font-family: 'Courier New', Courier, monospace;" rows="15">{$d['on_logout']}</textarea>
|
||||||
@ -252,4 +252,4 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-1 col-xs-4">
|
<div class="col-lg-1 col-xs-4">
|
||||||
<select class="form-control" id="type1" name="type1">
|
<select class="form-control" id="type1" name="type1">
|
||||||
<option value="">Prepaid & Postpaid</option>
|
<option value="">{Lang::T('Prepaid')} & {Lang::T('Postpaid')}</option>
|
||||||
<option value="yes" {if $type1 eq 'yes' }selected{/if}>Prepaid</option>
|
<option value="yes" {if $type1 eq 'yes' }selected{/if}>{Lang::T('Prepaid')}</option>
|
||||||
<option value="no" {if $type1 eq 'no' }selected{/if}>Postpaid</option>
|
<option value="no" {if $type1 eq 'no' }selected{/if}>{Lang::T('Postpaid')}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-1 col-xs-4">
|
<div class="col-lg-1 col-xs-4">
|
||||||
@ -88,8 +88,8 @@
|
|||||||
<div class="col-lg-1 col-xs-4">
|
<div class="col-lg-1 col-xs-4">
|
||||||
<select class="form-control" id="status" name="status">
|
<select class="form-control" id="status" name="status">
|
||||||
<option value="-">{Lang::T('Status')}</option>
|
<option value="-">{Lang::T('Status')}</option>
|
||||||
<option value="1" {if $status eq '1' }selected{/if}>Enabled</option>
|
<option value="1" {if $status eq '1' }selected{/if}>{Lang::T('Enabled')}</option>
|
||||||
<option value="0" {if $status eq '0' }selected{/if}>Disable</option>
|
<option value="0" {if $status eq '0' }selected{/if}>{Lang::T('Disable')}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-1 col-xs-8">
|
<div class="col-lg-1 col-xs-8">
|
||||||
@ -133,13 +133,13 @@
|
|||||||
{foreach $d as $ds}
|
{foreach $d as $ds}
|
||||||
<tr {if $ds['enabled'] != 1}class="danger" title="disabled" {/if}>
|
<tr {if $ds['enabled'] != 1}class="danger" title="disabled" {/if}>
|
||||||
<td>{$ds['name_plan']}</td>
|
<td>{$ds['name_plan']}</td>
|
||||||
<td>{$ds['plan_type']} {if $ds['prepaid'] != 'yes'}<b>Postpaid</b>{else}Prepaid{/if}</td>
|
<td>{$ds['plan_type']} {if $ds['prepaid'] != 'yes'}<b>{Lang::T('Postpaid')}</b>{else}{Lang::T('Prepaid')}{/if}</td>
|
||||||
<td>{$ds['name_bw']}</td>
|
<td>{$ds['name_bw']}</td>
|
||||||
<td>{Lang::moneyFormat($ds['price'])}</td>
|
<td>{Lang::moneyFormat($ds['price'])}</td>
|
||||||
<td>{$ds['validity']} {$ds['validity_unit']}</td>
|
<td>{$ds['validity']} {$ds['validity_unit']}</td>
|
||||||
<td>{$ds['pool']}</td>
|
<td>{$ds['pool']}</td>
|
||||||
<td>{if $ds['plan_expired']}<a
|
<td>{if $ds['plan_expired']}<a
|
||||||
href="{$_url}services/edit/{$ds['plan_expired']}">Yes</a>{else}No
|
href="{$_url}services/edit/{$ds['plan_expired']}">{Lang::T('Yes')}</a>{else}{Lang::T('No')}
|
||||||
{/if}</td>
|
{/if}</td>
|
||||||
<td>{if $ds['prepaid'] == no}{$ds['expired_date']}{/if}</td>
|
<td>{if $ds['prepaid'] == no}{$ds['expired_date']}{/if}</td>
|
||||||
<td>
|
<td>
|
||||||
@ -168,12 +168,12 @@
|
|||||||
<div class="panel-footer">
|
<div class="panel-footer">
|
||||||
{include file="pagination.tpl"}
|
{include file="pagination.tpl"}
|
||||||
<div class="bs-callout bs-callout-info" id="callout-navbar-role">
|
<div class="bs-callout bs-callout-info" id="callout-navbar-role">
|
||||||
<h4>Create expired Internet Plan</h4>
|
<h4>{Lang::T('Create expired Internet Plan')}</h4>
|
||||||
<p>When customer expired, you can move it to Expired Internet Plan</p>
|
<p>{Lang::T('When customer expired, you can move it to Expired Internet Plan')}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<a href="{$_url}order/gateway/0/{$plan['id']}"
|
<a href="{$_url}order/gateway/0/{$plan['id']}"
|
||||||
onclick="return confirm('{Lang::T('Buy Balance')}?')"
|
onclick="return confirm('{Lang::T('Buy Balance')}?')"
|
||||||
class="btn btn-sm btn-block btn-primary">Buy</a>
|
class="btn btn-sm btn-block btn-primary">{Lang::T('Buy')}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -34,4 +34,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{include file="user-ui/footer.tpl"}
|
{include file="user-ui/footer.tpl"}
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/radius/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/gateway/radius/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/radius/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/pay/radius/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
@ -90,7 +90,7 @@
|
|||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/radius/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/gateway/radius/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/radius/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/pay/radius/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
@ -141,7 +141,7 @@
|
|||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/pppoe/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/gateway/pppoe/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwritten')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwritten')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/pppoe/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/pay/pppoe/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwritten')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwritten')}')"
|
||||||
@ -191,7 +191,7 @@
|
|||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/hotspot/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/gateway/hotspot/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwritten')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwritten')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/hotspot/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/pay/hotspot/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwritten')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwritten')}')"
|
||||||
@ -251,7 +251,7 @@
|
|||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
@ -300,7 +300,7 @@
|
|||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
@ -350,7 +350,7 @@
|
|||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
@ -397,7 +397,7 @@
|
|||||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||||
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/gateway/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')"
|
||||||
class="btn btn-sm btn-block btn-warning text-black">Buy</a>
|
class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}</a>
|
||||||
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
|
||||||
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
<a href="{$_url}order/pay/{$router['id']}/{$plan['id']}&stoken={App::getToken()}"
|
||||||
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
onclick="return confirm('{Lang::T('Pay this with Balance? your active package will be overwrite')}')"
|
||||||
@ -421,4 +421,4 @@
|
|||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{include file="user-ui/footer.tpl"}
|
{include file="user-ui/footer.tpl"}
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="panel-footer">
|
<div class="panel-footer">
|
||||||
<form method="post" action="{$_url}order/buy/{$route2}/{$route3}">
|
<form method="post" action="{$_url}order/buy/{$route2}/{$route3}">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-md-4 ">Payment Gateway</label>
|
<label class="col-md-4">{Lang::T('Payment Gateway')}</label>
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<select name="gateway" id="gateway" class="form-control">
|
<select name="gateway" id="gateway" class="form-control">
|
||||||
{foreach $pgs as $pg}
|
{foreach $pgs as $pg}
|
||||||
@ -121,4 +121,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{include file="user-ui/footer.tpl"}
|
{include file="user-ui/footer.tpl"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user