extend_expiry default yes
This commit is contained in:
parent
db49b9693b
commit
f1dc8f3810
@ -197,7 +197,7 @@ class Package
|
|||||||
if ($plan_id != $b['plan_id']) {
|
if ($plan_id != $b['plan_id']) {
|
||||||
$isChangePlan = true;
|
$isChangePlan = true;
|
||||||
}
|
}
|
||||||
if ($config['extend_expiry'] === 'yes') {
|
if ($config['extend_expiry'] != 'no') {
|
||||||
if ($b['namebp'] == $p['name_plan'] && $b['status'] == 'on') {
|
if ($b['namebp'] == $p['name_plan'] && $b['status'] == 'on') {
|
||||||
// if it same internet plan, expired will extend
|
// if it same internet plan, expired will extend
|
||||||
if ($p['validity_unit'] == 'Months') {
|
if ($p['validity_unit'] == 'Months') {
|
||||||
@ -399,7 +399,7 @@ class Package
|
|||||||
if ($plan_id != $b['plan_id']) {
|
if ($plan_id != $b['plan_id']) {
|
||||||
$isChangePlan = true;
|
$isChangePlan = true;
|
||||||
}
|
}
|
||||||
if ($config['extend_expiry'] === 'yes') {
|
if ($config['extend_expiry'] != 'no') {
|
||||||
if ($b['namebp'] == $p['name_plan'] && $b['status'] == 'on') {
|
if ($b['namebp'] == $p['name_plan'] && $b['status'] == 'on') {
|
||||||
// if it same internet plan, expired will extend
|
// if it same internet plan, expired will extend
|
||||||
if ($p['validity_unit'] == 'Months') {
|
if ($p['validity_unit'] == 'Months') {
|
||||||
|
@ -89,9 +89,12 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label">{Lang::T('Recharge Using')}</label>
|
<label class="col-md-2 control-label">{Lang::T('Recharge Using')}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input type="text" name="payment_usings" class="form-control" value="{$_c['payment_usings']}" placeholder="{Lang::T('Cash')}, {Lang::T('Bank Transfer')}">
|
<input type="text" name="payment_usings" class="form-control"
|
||||||
|
value="{$_c['payment_usings']}"
|
||||||
|
placeholder="{Lang::T('Cash')}, {Lang::T('Bank Transfer')}">
|
||||||
</div>
|
</div>
|
||||||
<p class="help-block col-md-4">This used for admin to select payment in recharge, using comma for every new options</p>
|
<p class="help-block col-md-4">This used for admin to select payment in recharge, using comma
|
||||||
|
for every new options</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label">APP URL</label>
|
<label class="col-md-2 control-label">APP URL</label>
|
||||||
@ -606,17 +609,18 @@
|
|||||||
<label class="col-md-2 control-label">{Lang::T('Extend Package Expiry')}</label>
|
<label class="col-md-2 control-label">{Lang::T('Extend Package Expiry')}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<select name="extend_expiry" id="extend_expiry" class="form-control">
|
<select name="extend_expiry" id="extend_expiry" class="form-control">
|
||||||
|
<option value="yes" {if $_c['extend_expiry']=='yes' }selected="selected" {/if}>
|
||||||
|
{Lang::T('Yes')}</option>
|
||||||
<option value="no" {if $_c['extend_expiry']=='no' }selected="selected" {/if}>
|
<option value="no" {if $_c['extend_expiry']=='no' }selected="selected" {/if}>
|
||||||
{Lang::T('No')}
|
{Lang::T('No')}</option>
|
||||||
<option value="yes" {if $_c['extend_expiry']=='yes' }selected="selected"
|
|
||||||
{/if}> {Lang::T('Yes')}
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<p class="help-block col-md-4">{Lang::T('If user buy same internet plan, expiry date will extend')}</p>
|
<p class="help-block col-md-4">
|
||||||
|
{Lang::T('If user buy same internet plan, expiry date will extend')}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<div class="btn-group pull-right">
|
<div class="btn-group pull-right">
|
||||||
<button class="btn btn-primary btn-xs" title="save" type="submit">
|
<button class="btn btn-primary btn-xs" title="save" type="submit">
|
||||||
<span class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span>
|
<span class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user