Merge pull request #283 from ahmadhusein17/Development

Development
This commit is contained in:
iBNu Maksum 2024-08-29 23:39:07 +07:00 committed by GitHub
commit 35ace619d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 29 additions and 33 deletions

View File

@ -89,7 +89,7 @@
<label class="col-md-5 control-label">{Lang::T('Send Notification')}</label> <label class="col-md-5 control-label">{Lang::T('Send Notification')}</label>
<div class="col-md-7"> <div class="col-md-7">
<select name="send_notif" id="send_notif" class="form-control"> <select name="send_notif" id="send_notif" class="form-control">
<option value="-">{Lang::T('Don't Send')}</option> <option value="-">{Lang::T("Don't Send")}</option>
<option value="sms">{Lang::T('By SMS')}</option> <option value="sms">{Lang::T('By SMS')}</option>
<option value="wa">{Lang::T('By WhatsApp')}</option> <option value="wa">{Lang::T('By WhatsApp')}</option>
</select> </select>

View File

@ -422,7 +422,7 @@
<li {if $_system_menu eq 'voucher'}class="active" {/if}> <li {if $_system_menu eq 'voucher'}class="active" {/if}>
<a href="{$_url}voucher/activation"> <a href="{$_url}voucher/activation">
<i class="fa fa-ticket"></i> <i class="fa fa-ticket"></i>
<span>{Lang::T('Voucher')}</span> <span>Voucher</span>
</a> </a>
</li> </li>
{/if} {/if}
@ -485,4 +485,4 @@
} }
}); });
</script> </script>
{/if} {/if}

View File

@ -4,7 +4,7 @@
<div class="col-sm-12"> <div class="col-sm-12">
{if $_c['enable_balance'] == 'yes'} {if $_c['enable_balance'] == 'yes'}
<div class="box box-solid box-success bg-gray-light"> <div class="box box-solid box-success bg-gray-light">
<div class="box-header">{Lang::T('Balance Plans')}</div> <div class="box-header">{Lang::T('Buy Balance Plans')}</div>
<div class="box-body row"> <div class="box-body row">
{foreach $plans_balance as $plan} {foreach $plans_balance as $plan}
<div class="col col-md-4"> <div class="col col-md-4">

View File

@ -11,14 +11,14 @@
<thead> <thead>
<tr> <tr>
<th>{Lang::T('Plan Name')}</th> <th>{Lang::T('Plan Name')}</th>
<th>{Lang::T('Gateway')}</th> <th>{Lang::T('Payment Method')}</th>
<th>{Lang::T('Routers')}</th> <th>Routers</th>
<th>{Lang::T('Type')}</th> <th>{Lang::T('Type')}</th>
<th>{Lang::T('Plan Price')}</th> <th>{Lang::T('Plan Price')}</th>
<th>{Lang::T('Created On')}</th> <th>{Lang::T('Created on')}</th>
<th>{Lang::T('Expires On')}</th> <th>{Lang::T('Expires on')}</th>
<th>{Lang::T('Date Done')}</th> <th>{Lang::T('Date')}</th>
<th>{Lang::T('Method')}</th> <th>{Lang::T('Status')}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -53,4 +53,4 @@
</div> </div>
{include file="user-ui/footer.tpl"} {include file="user-ui/footer.tpl"}

View File

@ -5,7 +5,7 @@
<div class="col-md-6"> <div class="col-md-6">
<div <div
class="panel mb20 {if $trx['status']==1}panel-warning{elseif $trx['status']==2}panel-success{elseif $trx['status']==3}panel-danger{elseif $trx['status']==4}panel-danger{else}panel-primary{/if} panel-hovered"> class="panel mb20 {if $trx['status']==1}panel-warning{elseif $trx['status']==2}panel-success{elseif $trx['status']==3}panel-danger{elseif $trx['status']==4}panel-danger{else}panel-primary{/if} panel-hovered">
<div class="panel-footer">Transaction #{$trx['id']}</div> <div class="panel-footer">{Lang::T('Transaction')} #{$trx['id']}</div>
{if !in_array($trx['routers'],['balance','radius'])} {if !in_array($trx['routers'],['balance','radius'])}
<div class="panel-body"> <div class="panel-body">
<div class="panel panel-primary panel-hovered"> <div class="panel panel-primary panel-hovered">
@ -120,7 +120,7 @@
{/if} {/if}
{/if} {/if}
<tr> <tr>
<td>{Lang::T('Plan Validity')}</td> <td>{Lang::T('Validity Periode')}</td>
<td>{$plan['validity']} {$plan['validity_unit']}</td> <td>{$plan['validity']} {$plan['validity_unit']}</td>
</tr> </tr>
<tr> <tr>
@ -134,15 +134,15 @@
{/if} {/if}
</div> </div>
{if $trx['status']==1} {if $trx['status']==1}
<div class="panel-footer "> <div class="panel-footer">
<div class="btn-group btn-group-justified"> <div class="btn-group btn-group-justified">
<a href="{$trx['pg_url_payment']}" {if $trx['gateway']=='midtrans'} target="_blank" {/if} <a href="{$trx['pg_url_payment']}" {if $trx['gateway']=='midtrans'} target="_blank" {/if}
class="btn btn-primary">{Lang::T('PAY NOW')}</a> class="btn btn-primary">{Lang::T('Pay Now')}</a>
<a href="{$_url}order/view/{$trx['id']}/check" <a href="{$_url}order/view/{$trx['id']}/check"
class="btn btn-info">{Lang::T('Check for Payment')}</a> class="btn btn-info">{Lang::T('Check for Payment')}</a>
</div> </div>
</div> </div>
<div class="panel-footer "> <div class="panel-footer">
<a href="{$_url}order/view/{$trx['id']}/cancel" class="btn btn-danger" <a href="{$_url}order/view/{$trx['id']}/cancel" class="btn btn-danger"
onclick="return confirm('{Lang::T('Cancel it?')}')">{Lang::T('Cancel')}</a> onclick="return confirm('{Lang::T('Cancel it?')}')">{Lang::T('Cancel')}</a>
</div> </div>
@ -150,4 +150,4 @@
</div> </div>
</div> </div>
</div> </div>
{include file="user-ui/footer.tpl"} {include file="user-ui/footer.tpl"}

View File

@ -4,9 +4,8 @@
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-12"> <div class="col-sm-12 col-md-12">
<div class="panel panel-primary panel-hovered panel-stacked mb30"> <div class="panel panel-primary panel-hovered panel-stacked mb30">
<div class="panel-heading">{Lang::T('Edit User')}</div> <div class="panel-heading">{Lang::T('Data Change')}</div>
<div class="panel-body"> <div class="panel-body">
<form class="form-horizontal" method="post" role="form" action="{$_url}accounts/edit-profile-post"> <form class="form-horizontal" method="post" role="form" action="{$_url}accounts/edit-profile-post">
<input type="hidden" name="id" value="{$_user['id']}"> <input type="hidden" name="id" value="{$_user['id']}">
<div class="form-group"> <div class="form-group">
@ -21,7 +20,7 @@
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">{Lang::T('Full Name')}</label> <label class="col-md-2 control-label">{Lang::T('Full name')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="text" class="form-control" id="fullname" name="fullname" <input type="text" class="form-control" id="fullname" name="fullname"
value="{$_user['fullname']}"> value="{$_user['fullname']}">
@ -36,25 +35,25 @@
</div> </div>
{if $_c['allow_phone_otp'] != 'yes'} {if $_c['allow_phone_otp'] != 'yes'}
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">{Lang::T('Phone Number')}</label> <label class="col-md-2 control-label">{Lang::T('Phone number')}</label>
<div class="col-md-6"> <div class="col-md-6">
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="basic-addon1">+</span> <span class="input-group-addon" id="basic-addon1">+</span>
<input type="text" class="form-control" name="phonenumber" id="phonenumber" <input type="text" class="form-control" name="phonenumber" id="phonenumber"
value="{$_user['phonenumber']}" value="{$_user['phonenumber']}"
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']}{/if} {Lang::T('Phone Number')}"> placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']}{/if} {Lang::T('Phone number')}">
</div> </div>
</div> </div>
</div> </div>
{else} {else}
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">{Lang::T('Phone Number')}</label> <label class="col-md-2 control-label">{Lang::T('Phone number')}</label>
<div class="col-md-6"> <div class="col-md-6">
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="basic-addon1">+</span> <span class="input-group-addon" id="basic-addon1">+</span>
<input type="text" class="form-control" name="phonenumber" id="phonenumber" <input type="text" class="form-control" name="phonenumber" id="phonenumber"
value="{$_user['phonenumber']}" readonly value="{$_user['phonenumber']}" readonly
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']}{/if} {Lang::T('Phone Number')}"> placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']}{/if} {Lang::T('Phone number')}">
<span class="input-group-btn"> <span class="input-group-btn">
<a href="{$_url}accounts/phone-update" type="button" <a href="{$_url}accounts/phone-update" type="button"
class="btn btn-info btn-flat">{Lang::T('Change')}</a> class="btn btn-info btn-flat">{Lang::T('Change')}</a>
@ -63,7 +62,6 @@
</div> </div>
</div> </div>
{/if} {/if}
{if $_c['allow_email_otp'] != 'yes'} {if $_c['allow_email_otp'] != 'yes'}
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">{Lang::T('Email')}</label> <label class="col-md-2 control-label">{Lang::T('Email')}</label>
@ -87,7 +85,6 @@
</div> </div>
</div> </div>
{/if} {/if}
<div class="form-group"> <div class="form-group">
<div class="col-lg-offset-2 col-lg-10"> <div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" type="submit"> <button class="btn btn-success" type="submit">
@ -96,10 +93,9 @@
</div> </div>
</div> </div>
</form> </form>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
{include file="user-ui/footer.tpl"} {include file="user-ui/footer.tpl"}

View File

@ -41,7 +41,7 @@
{/if} {/if}
<li class="list-group-item"> <li class="list-group-item">
<b>{Lang::T('Type')}</b> <span class="pull-right">{if $plan['prepaid'] eq <b>{Lang::T('Type')}</b> <span class="pull-right">{if $plan['prepaid'] eq
'yes'}Prepaid{else}Postpaid 'yes'}{Lang::T('Prepaid')}{else}{Lang::T('Postpaid')}
{/if} {/if}
{$plan['type']}</span> {$plan['type']}</span>
</li> </li>
@ -54,7 +54,7 @@
</li> </li>
{if $plan['validity']} {if $plan['validity']}
<li class="list-group-item"> <li class="list-group-item">
<b>{Lang::T('Plan Validity')}</b> <span class="pull-right">{$plan['validity']} <b>{Lang::T('Validity Periode')}</b> <span class="pull-right">{$plan['validity']}
{$plan['validity_unit']}</span> {$plan['validity_unit']}</span>
</li> </li>
{/if} {/if}

View File

@ -38,7 +38,7 @@
{Lang::moneyFormat($plan['price'])}</td> {Lang::moneyFormat($plan['price'])}</td>
</tr> </tr>
<tr> <tr>
<td>{Lang::T('Validity')}</td> <td>{Lang::T('Validity Periode')}</td>
<td>{$plan['validity']} {$plan['validity_unit']}</td> <td>{$plan['validity']} {$plan['validity_unit']}</td>
</tr> </tr>
</tbody> </tbody>
@ -53,7 +53,7 @@
</div> </div>
<div class="form-group col-sm-3" align="center"> <div class="form-group col-sm-3" align="center">
<button class="btn btn-success btn-block" id="sendBtn" type="submit" name="send" <button class="btn btn-success btn-block" id="sendBtn" type="submit" name="send"
onclick="return confirm('{Lang::T(" Are You Sure?")}')" value="plan"><i onclick="return confirm('{Lang::T("Are You Sure?")}')" value="plan"><i
class="glyphicon glyphicon-send"></i></button> class="glyphicon glyphicon-send"></i></button>
</div> </div>
</div> </div>
@ -64,4 +64,4 @@
</div> </div>
</div> </div>
</div> </div>
{include file="user-ui/footer.tpl"} {include file="user-ui/footer.tpl"}