Merge pull request #282 from ahmadhusein17/Development

Development
This commit is contained in:
iBNu Maksum 2024-08-29 09:04:37 +07:00 committed by GitHub
commit e8885e91ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 70 additions and 70 deletions

View file

@ -89,9 +89,9 @@
<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="-">Don't Send</option> <option value="-">{Lang::T('Don't Send')}</option>
<option value="sms">By SMS</option> <option value="sms">{Lang::T('By SMS')}</option>
<option value="wa">By WhatsApp</option> <option value="wa">{Lang::T('By WhatsApp')}</option>
</select> </select>
</div> </div>
</div> </div>
@ -116,4 +116,4 @@
</script> </script>
{/literal} {/literal}
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}

View file

@ -56,9 +56,9 @@
<div class="col-md-9"> <div class="col-md-9">
<select name="status" id="status" class="form-control"> <select name="status" id="status" class="form-control">
<option value="Active" {if $d['status'] eq 'Active'}selected="selected" {/if}> <option value="Active" {if $d['status'] eq 'Active'}selected="selected" {/if}>
Active</option> {Lang::T('Active')}</option>
<option value="Inactive" {if $d['status'] eq 'Inactive'}selected="selected" {/if}> <option value="Inactive" {if $d['status'] eq 'Inactive'}selected="selected" {/if}>
Inactive</option> {Lang::T('Inactive')}</option>
</select> </select>
</div> </div>
</div> </div>
@ -141,4 +141,4 @@
} }
</script> </script>
{/literal} {/literal}
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}

View file

@ -105,7 +105,7 @@
</div> </div>
<hr> <hr>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">Radius Plan</label> <label class="col-md-2 control-label">{Lang::T('Radius Package')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="text" class="form-control" id="radius_plan" name="radius_plan" <input type="text" class="form-control" id="radius_plan" name="radius_plan"
value="{if $_c['radius_plan']==''}Radius Plan{else}{$_c['radius_plan']}{/if}"> value="{if $_c['radius_plan']==''}Radius Plan{else}{$_c['radius_plan']}{/if}">
@ -113,7 +113,7 @@
<span class="help-block col-md-4">{Lang::T('Change title in user Plan order')}</span> <span class="help-block col-md-4">{Lang::T('Change title in user Plan order')}</span>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">Hotspot Plan</label> <label class="col-md-2 control-label">{Lang::T('Hotspot Package')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="text" class="form-control" id="hotspot_plan" name="hotspot_plan" <input type="text" class="form-control" id="hotspot_plan" name="hotspot_plan"
value="{if $_c['hotspot_plan']==''}Hotspot Plan{else}{$_c['hotspot_plan']}{/if}"> value="{if $_c['hotspot_plan']==''}Hotspot Plan{else}{$_c['hotspot_plan']}{/if}">
@ -121,7 +121,7 @@
<span class="help-block col-md-4">{Lang::T('Change title in user Plan order')}</span> <span class="help-block col-md-4">{Lang::T('Change title in user Plan order')}</span>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">PPPOE Plan</label> <label class="col-md-2 control-label">{Lang::T('PPPOE Package')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="text" class="form-control" id="pppoe_plan" name="pppoe_plan" <input type="text" class="form-control" id="pppoe_plan" name="pppoe_plan"
value="{if $_c['pppoe_plan']==''}PPPOE Plan{else}{$_c['pppoe_plan']}{/if}"> value="{if $_c['pppoe_plan']==''}PPPOE Plan{else}{$_c['pppoe_plan']}{/if}">
@ -141,4 +141,4 @@
</div> </div>
</div> </div>
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}

View file

@ -196,7 +196,7 @@
</p> </p>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">Redirect after Activation</label> <label class="col-md-2 control-label">{Lang::T('Redirect URL after Activation')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="text" class="form-control" id="voucher_redirect" name="voucher_redirect" <input type="text" class="form-control" id="voucher_redirect" name="voucher_redirect"
placeholder="https://192.168.88.1/status" value="{$_c['voucher_redirect']}"> placeholder="https://192.168.88.1/status" value="{$_c['voucher_redirect']}">
@ -216,7 +216,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">Enable Radius</label> <label class="col-md-2 control-label">{Lang::T('Enable Radius')}</label>
<div class="col-md-6"> <div class="col-md-6">
<select name="radius_enable" id="radius_enable" class="form-control text-muted"> <select name="radius_enable" id="radius_enable" class="form-control text-muted">
<option value="0">{Lang::T('No')}</option> <option value="0">{Lang::T('No')}</option>
@ -266,7 +266,7 @@
<button class="btn btn-primary btn-xs" title="save" type="submit"><span <button class="btn btn-primary btn-xs" title="save" type="submit"><span
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button> class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
</div> </div>
{Lang::T('Balance System')} {Lang::T('Customer Balance System')}
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="form-group"> <div class="form-group">
@ -410,14 +410,14 @@
<p class="help-block col-md-4">{Lang::T('Empty this to use internal mail() PHP')}</p> <p class="help-block col-md-4">{Lang::T('Empty this to use internal mail() PHP')}</p>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">SMTP Username</label> <label class="col-md-2 control-label">{Lang::T('SMTP Username')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="text" class="form-control" id="smtp_user" name="smtp_user" <input type="text" class="form-control" id="smtp_user" name="smtp_user"
value="{$_c['smtp_user']}" placeholder="user@host.tld"> value="{$_c['smtp_user']}" placeholder="user@host.tld">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">SMTP Password</label> <label class="col-md-2 control-label">{Lang::T('SMTP Password')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="password" class="form-control" id="smtp_pass" name="smtp_pass" <input type="password" class="form-control" id="smtp_pass" name="smtp_pass"
value="{$_c['smtp_pass']}" onmouseleave="this.type = 'password'" value="{$_c['smtp_pass']}" onmouseleave="this.type = 'password'"
@ -469,13 +469,13 @@
<div class="col-md-6"> <div class="col-md-6">
<select name="user_notification_expired" id="user_notification_expired" <select name="user_notification_expired" id="user_notification_expired"
class="form-control"> class="form-control">
<option value="none">None</option> <option value="none">{Lang::T('None')}</option>
<option value="wa" {if $_c['user_notification_expired']=='wa' }selected="selected" <option value="wa" {if $_c['user_notification_expired']=='wa' }selected="selected"
{/if}>Whatsapp</option> {/if}>{Lang::T('By WhatsApp')}</option>
<option value="sms" {if $_c['user_notification_expired']=='sms' }selected="selected" <option value="sms" {if $_c['user_notification_expired']=='sms' }selected="selected"
{/if}>SMS</option> {/if}>{Lang::T('By SMS')}</option>
<option value="email" {if $_c['user_notification_expired']=='email' }selected="selected" <option value="email" {if $_c['user_notification_expired']=='email' }selected="selected"
{/if}>Email</option> {/if}>{Lang::T('By Email')}</option>
</select> </select>
</div> </div>
<p class="help-block col-md-4">{Lang::T('User will get notification when package expired')}</p> <p class="help-block col-md-4">{Lang::T('User will get notification when package expired')}</p>
@ -485,13 +485,13 @@
<div class="col-md-6"> <div class="col-md-6">
<select name="user_notification_payment" id="user_notification_payment" <select name="user_notification_payment" id="user_notification_payment"
class="form-control"> class="form-control">
<option value="none">None</option> <option value="none">{Lang::T('None')}</option>
<option value="wa" {if $_c['user_notification_payment']=='wa' }selected="selected" <option value="wa" {if $_c['user_notification_payment']=='wa' }selected="selected"
{/if}>Whatsapp</option> {/if}>{Lang::T('By WhatsApp')}</option>
<option value="sms" {if $_c['user_notification_payment']=='sms' }selected="selected" <option value="sms" {if $_c['user_notification_payment']=='sms' }selected="selected"
{/if}>SMS</option> {/if}>{Lang::T('By SMS')}</option>
<option value="email" {if $_c['user_notification_payment']=='email' }selected="selected" <option value="email" {if $_c['user_notification_payment']=='email' }selected="selected"
{/if}>Email</option> {/if}>{Lang::T('By Email')}</option>
</select> </select>
</div> </div>
<p class="help-block col-md-4"> <p class="help-block col-md-4">
@ -502,13 +502,13 @@
<div class="col-md-6"> <div class="col-md-6">
<select name="user_notification_reminder" id="user_notification_reminder" <select name="user_notification_reminder" id="user_notification_reminder"
class="form-control"> class="form-control">
<option value="none">None</option> <option value="none">{Lang::T('None')}</option>
<option value="wa" {if $_c['user_notification_reminder']=='wa' }selected="selected" <option value="wa" {if $_c['user_notification_reminder']=='wa' }selected="selected"
{/if}>Whatsapp</option> {/if}>{Lang::T('By WhatsApp')}</option>
<option value="sms" {if $_c['user_notification_reminder']=='sms' }selected="selected" <option value="sms" {if $_c['user_notification_reminder']=='sms' }selected="selected"
{/if}>SMS</option> {/if}>{Lang::T('By SMS')}</option>
<option value="sms" {if $_c['user_notification_reminder']=='email' }selected="selected" <option value="sms" {if $_c['user_notification_reminder']=='email' }selected="selected"
{/if}>Email</option> {/if}>{Lang::T('By Email')}</option>
</select> </select>
</div> </div>
</div> </div>
@ -546,7 +546,7 @@
<label class="col-md-2 control-label">{Lang::T('Access Token')}</label> <label class="col-md-2 control-label">{Lang::T('Access Token')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="password" class="form-control" id="api_key" name="api_key" <input type="password" class="form-control" id="api_key" name="api_key"
value="{$_c['api_key']}" placeholder="Empty this to randomly created API key" value="{$_c['api_key']}" placeholder="{Lang::T('Empty this to randomly created API key')}"
onmouseleave="this.type = 'password'" onmouseenter="this.type = 'text'"> onmouseleave="this.type = 'password'" onmouseenter="this.type = 'text'">
</div> </div>
<p class="col-md-4 help-block">{Lang::T('This Token will act as SuperAdmin/Admin')}</p> <p class="col-md-4 help-block">{Lang::T('This Token will act as SuperAdmin/Admin')}</p>
@ -655,11 +655,11 @@
<div class="col-md-6"> <div class="col-md-6">
<select name="phone_otp_type" id="phone_otp_type" class="form-control"> <select name="phone_otp_type" id="phone_otp_type" class="form-control">
<option value="sms" {if $_c['phone_otp_type']=='sms' }selected="selected" {/if}> <option value="sms" {if $_c['phone_otp_type']=='sms' }selected="selected" {/if}>
{Lang::T('SMS')} {Lang::T('By SMS')}
<option value="whatsapp" {if $_c['phone_otp_type']=='whatsapp' }selected="selected" <option value="whatsapp" {if $_c['phone_otp_type']=='whatsapp' }selected="selected"
{/if}> {Lang::T('WhatsApp')} {/if}> {Lang::T('by WhatsApp')}
<option value="both" {if $_c['phone_otp_type']=='both' }selected="selected" {/if}> <option value="both" {if $_c['phone_otp_type']=='both' }selected="selected" {/if}>
{Lang::T('SMS and WhatsApp')} {Lang::T('By WhatsApp and SMS')}
</option> </option>
</select> </select>
</div> </div>
@ -759,18 +759,18 @@
</option> </option>
<!-- Custom tax rate option --> <!-- Custom tax rate option -->
<option value="custom" {if $_c['tax_rate']=='custom' }selected="selected" {/if}> <option value="custom" {if $_c['tax_rate']=='custom' }selected="selected" {/if}>
{Lang::T('Custom')}</option> {Lang::T('Custome')}</option>
</select> </select>
</div> </div>
<p class="help-block col-md-4">{Lang::T('Tax Rates in percentage')}</p> <p class="help-block col-md-4">{Lang::T('Tax Rates in percentage')}</p>
</div> </div>
<!-- Custom tax rate input field (initially hidden) --> <!-- Custom tax rate input field (initially hidden) -->
<div class="form-group" id="customTaxRate" style="display: none;"> <div class="form-group" id="customTaxRate" style="display: none;">
<label class="col-md-2 control-label">{Lang::T('Custom Tax Rate')}</label> <label class="col-md-2 control-label">{Lang::T('Custome Tax Rate')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="text" value="{$_c['custom_tax_rate']}" class="form-control" <input type="text" value="{$_c['custom_tax_rate']}" class="form-control"
name="custom_tax_rate" id="custom_tax_rate" name="custom_tax_rate" id="custom_tax_rate"
placeholder="{Lang::T('Enter Custom Tax Rate')}"> placeholder="{Lang::T('Enter Custome Tax Rate')}">
</div> </div>
<p class="help-block col-md-4">{Lang::T('Enter the custom tax rate (e.g., 3.75 for 3.75%)')}</p> <p class="help-block col-md-4">{Lang::T('Enter the custom tax rate (e.g., 3.75 for 3.75%)')}</p>
</div> </div>

View file

@ -3,7 +3,7 @@
<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 Service Plan')}</div> <div class="panel-heading">{Lang::T('Edit Service Package')}</div>
<div class="panel-body"> <div class="panel-body">
<form class="form-horizontal" method="post" role="form" action="{$_url}services/balance-edit-post"> <form class="form-horizontal" method="post" role="form" action="{$_url}services/balance-edit-post">
<input type="hidden" name="id" value="{$d['id']}"> <input type="hidden" name="id" value="{$d['id']}">
@ -19,13 +19,13 @@
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">{Lang::T('Plan Name')}</label> <label class="col-md-2 control-label">{Lang::T('Package Name')}</label>
<div class="col-md-6"> <div class="col-md-6">
<input type="text" required class="form-control" id="name" value="{$d['name_plan']}" name="name" maxlength="40" placeholder="Topup 100"> <input type="text" required class="form-control" id="name" value="{$d['name_plan']}" name="name" maxlength="40" placeholder="{Lang::T('Topup')} 100">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">{Lang::T('Plan Price')}</label> <label class="col-md-2 control-label">{Lang::T('Package Price')}</label>
<div class="col-md-6"> <div class="col-md-6">
<div class="input-group"> <div class="input-group">
<span class="input-group-addon">{$_c['currency_code']}</span> <span class="input-group-addon">{$_c['currency_code']}</span>

View file

@ -3,7 +3,7 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="panel panel-hovered mb20 panel-primary"> <div class="panel panel-hovered mb20 panel-primary">
<div class="panel-heading">{Lang::T('Balance Plans')}</div> <div class="panel-heading">{Lang::T('Balance Package')}</div>
<div class="panel-body"> <div class="panel-body">
<div class="md-whiteframe-z1 mb20 text-center" style="padding: 15px"> <div class="md-whiteframe-z1 mb20 text-center" style="padding: 15px">
<div class="col-md-8"> <div class="col-md-8">
@ -20,15 +20,15 @@
</form> </form>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<a href="{$_url}services/balance-add" class="btn btn-primary btn-block"><i class="ion ion-android-add"> </i> {Lang::T('New Service Plan')}</a> <a href="{$_url}services/balance-add" class="btn btn-primary btn-block"><i class="ion ion-android-add"> </i> {Lang::T('New Service Package')}</a>
</div>&nbsp; </div>&nbsp;
</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">
<thead> <thead>
<tr> <tr>
<th>{Lang::T('Plan Name')}</th> <th>{Lang::T('Package Name')}</th>
<th>{Lang::T('Plan Price')}</th> <th>{Lang::T('Package Price')}</th>
<th>{Lang::T('Manage')}</th> <th>{Lang::T('Manage')}</th>
</tr> </tr>
</thead> </thead>

View file

@ -70,7 +70,7 @@
<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-primary" <button class="btn btn-primary"
type="submit">{Lang::T('Submit')}</button> type="submit">{Lang::T('Save')}</button>
Or <a href="{$_url}bandwidth/list">{Lang::T('Cancel')}</a> Or <a href="{$_url}bandwidth/list">{Lang::T('Cancel')}</a>
</div> </div>
</div> </div>
@ -81,4 +81,4 @@
</div> </div>
</div> </div>
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}

View file

@ -81,7 +81,7 @@
<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-primary" <button class="btn btn-primary"
type="submit">{Lang::T('Submit')}</button> type="submit">{Lang::T('Save Change')}</button>
Or <a href="{$_url}bandwidth/list">{Lang::T('Cancel')}</a> Or <a href="{$_url}bandwidth/list">{Lang::T('Cancel')}</a>
</div> </div>
</div> </div>
@ -92,4 +92,4 @@
</div> </div>
</div> </div>
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}

View file

@ -57,8 +57,8 @@
</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>{Lang::T('Create Bandwidth Plan for expired Internet Plan')}</h4> <h4>{Lang::T('Create Bandwidth Package for expired Internet Package')}</h4>
<p>{Lang::T('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 Package')}</p>
</div> </div>
</div> </div>
</div> </div>

View file

@ -112,7 +112,7 @@
<table class="table table-condensed"> <table class="table table-condensed">
<thead> <thead>
<tr> <tr>
<th>{Lang::T('Plan Name')}</th> <th>{Lang::T('Package Name')}</th>
<th>unused</th> <th>unused</th>
<th>used</th> <th>used</th>
</tr> </tr>
@ -145,7 +145,7 @@
<tr> <tr>
<th>{Lang::T('Username')}</th> <th>{Lang::T('Username')}</th>
<th>{Lang::T('Created / Expired')}</th> <th>{Lang::T('Created / Expired')}</th>
<th>{Lang::T('Internet Plan')}</th> <th>{Lang::T('Internet Package')}</th>
<th>{Lang::T('Location')}</th> <th>{Lang::T('Location')}</th>
</tr> </tr>
</thead> </thead>
@ -437,4 +437,4 @@
</script> </script>
{/if} {/if}
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}

View file

@ -11,7 +11,7 @@
<tr> <tr>
<th width="50%">{Lang::T('Table Name')}</th> <th width="50%">{Lang::T('Table Name')}</th>
<th>{Lang::T('Rows')}</th> <th>{Lang::T('Rows')}</th>
<th>Select</th> <th>{Lang::T('Choose')}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -31,7 +31,7 @@
<div class="col-md-4 text-right"> <div class="col-md-4 text-right">
<button type="submit" class="btn btn-primary btn-xs btn-block"><i <button type="submit" class="btn btn-primary btn-xs btn-block"><i
class="fa fa-download"></i> class="fa fa-download"></i>
{Lang::T('Download Database Backup')}</button> {Lang::T('Download Backup')} Database</button>
</div> </div>
</div> </div>
</div> </div>
@ -41,14 +41,14 @@
</div> </div>
<div class="col-sm-5"> <div class="col-sm-5">
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading">{Lang::T('Restore Database')}</div> <div class="panel-heading">{Lang::T('Restore')} Database</div>
<form method="post" action="{$_url}settings/dbrestore" enctype="multipart/form-data"> <form method="post" action="{$_url}settings/dbrestore" enctype="multipart/form-data">
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
<div class="col-md-7"><input type="file" name="json" accept="application/json"></div> <div class="col-md-7"><input type="file" name="json" accept="application/json"></div>
<div class="col-md-5 text-right"> <div class="col-md-5 text-right">
<button type="submit" class="btn btn-primary btn-block btn-xs"><i class="fa fa-upload"></i> <button type="submit" class="btn btn-primary btn-block btn-xs"><i class="fa fa-upload"></i>
{Lang::T('Restore Database')}</button> {Lang::T('Restore')} Database</button>
</div> </div>
</div> </div>
</div> </div>

View file

@ -16,7 +16,7 @@
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label"><a href="{$_url}services/balance">{Lang::T('Balance Plans')}</a></label> <label class="col-md-2 control-label"><a href="{$_url}services/balance">{Lang::T('Balance Package')}</a></label>
<div class="col-md-6"> <div class="col-md-6">
<select id="planSelect" class="form-control select2" name="id_plan" style="width: 100%" <select id="planSelect" class="form-control select2" name="id_plan" style="width: 100%"
data-placeholder="{Lang::T('Select Plans')}..."> data-placeholder="{Lang::T('Select Plans')}...">
@ -41,4 +41,4 @@
</div> </div>
</div> </div>
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}

View file

@ -32,8 +32,8 @@
{Lang::pads(Lang::T('Sales'), $_admin['fullname'], ' ')} {Lang::pads(Lang::T('Sales'), $_admin['fullname'], ' ')}
{Lang::pad("", '=')} {Lang::pad("", '=')}
{Lang::pads(Lang::T('Type'), $in['type'], ' ')} {Lang::pads(Lang::T('Type'), $in['type'], ' ')}
{Lang::pads(Lang::T('Plan Name'), $in['plan_name'], ' ')} {Lang::pads(Lang::T('Package Name'), $in['plan_name'], ' ')}
{Lang::pads(Lang::T('Plan Price'), Lang::moneyFormat($in['price']), ' ')} {Lang::pads(Lang::T('Package Price'), Lang::moneyFormat($in['price']), ' ')}
{Lang::pad($in['method'], ' ', 2)} {Lang::pad($in['method'], ' ', 2)}
{Lang::pads(Lang::T('Username'), $in['username'], ' ')} {Lang::pads(Lang::T('Username'), $in['username'], ' ')}
@ -69,4 +69,4 @@
</body> </body>
</html> </html>

View file

@ -17,7 +17,7 @@
<a href="{$_url}plan/view/{$in['id']}/send" class="btn btn-info text-black btn-sm"><i <a href="{$_url}plan/view/{$in['id']}/send" class="btn btn-info text-black btn-sm"><i
class="glyphicon glyphicon-envelope"></i> {Lang::T("Resend")}</a> class="glyphicon glyphicon-envelope"></i> {Lang::T("Resend")}</a>
<button type="submit" class="btn btn-info text-black btn-sm"><i class="glyphicon glyphicon-print"></i> <button type="submit" class="btn btn-info text-black btn-sm"><i class="glyphicon glyphicon-print"></i>
Print</button> {Lang::T('Print')}</button>
<a href="nux://print?text={urlencode($invoice)}" <a href="nux://print?text={urlencode($invoice)}"
class="btn btn-success text-black btn-sm hidden-md hidden-lg"> class="btn btn-success text-black btn-sm hidden-md hidden-lg">
<i class="glyphicon glyphicon-phone"></i> <i class="glyphicon glyphicon-phone"></i>
@ -37,4 +37,4 @@
var s5_taf_parent = window.location; var s5_taf_parent = window.location;
document.getElementById('content').innerHTML = document.getElementById('formcontent').innerHTML; document.getElementById('content').innerHTML = document.getElementById('formcontent').innerHTML;
</script> </script>
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}

View file

@ -23,9 +23,9 @@
<label class="col-md-2 control-label">{Lang::T('Send Via')}</label> <label class="col-md-2 control-label">{Lang::T('Send Via')}</label>
<div class="col-md-6"> <div class="col-md-6">
<select class="form-control" name="via" id="via"> <select class="form-control" name="via" id="via">
<option value="sms" selected> {Lang::T('SMS')}</option> <option value="sms" selected> {Lang::T('via SMS')}</option>
<option value="wa"> {Lang::T('WhatsApp')}</option> <option value="wa"> {Lang::T('Via WhatsApp')}</option>
<option value="both"> {Lang::T('SMS and WhatsApp')}</option> <option value="both"> {Lang::T('Via WhatsApp and SMS')}</option>
</select> </select>
</div> </div>
</div> </div>
@ -61,4 +61,4 @@
</div> </div>
{include file="sections/footer.tpl"} {include file="sections/footer.tpl"}

View file

@ -27,7 +27,7 @@
</div> </div>
<br> <br>
{/if} {/if}
<button type="submit" class="btn btn-primary btn-block">SAVE</button> <button type="submit" class="btn btn-primary btn-block">{Lang::T('Save')}</button>
<br> <br>
<p class="help-block">{Lang::T('Sometimes you need to refresh 3 times until content change')}</p> <p class="help-block">{Lang::T('Sometimes you need to refresh 3 times until content change')}</p>
<input type="text" class="form-control" onclick="this.select()" readonly <input type="text" class="form-control" onclick="this.select()" readonly
@ -42,9 +42,9 @@
<div class="panel-footer"> <div class="panel-footer">
<p class="help-block"> <p class="help-block">
<b>[[company_name]]</b> {Lang::T('Your Company Name at Settings')}.<br> <b>[[company_name]]</b> {Lang::T('Your Company Name at Settings')}.<br>
<b>[[price]]</b> {Lang::T('Plan Price')}.<br> <b>[[price]]</b> {Lang::T('Package Price')}.<br>
<b>[[voucher_code]]</b> {Lang::T('Voucher Code')}.<br> <b>[[voucher_code]]</b> {Lang::T('Voucher Code')}.<br>
<b>[[plan]]</b> {Lang::T('Voucher Plan')}.<br> <b>[[plan]]</b> {Lang::T('Voucher Package')}.<br>
<b>[[counter]]</b> {Lang::T('Counter')}.<br> <b>[[counter]]</b> {Lang::T('Counter')}.<br>
</p> </p>
</div> </div>