User Notification Option to Email

This commit is contained in:
Ibnu Maksum
2024-07-22 15:19:29 +07:00
parent 79585d54a1
commit 922f24b630
4 changed files with 240 additions and 40 deletions

View File

@ -476,6 +476,8 @@
{/if}>Whatsapp</option>
<option value="sms" {if $_c['user_notification_expired']=='sms' }selected="selected"
{/if}>SMS</option>
<option value="email" {if $_c['user_notification_expired']=='email' }selected="selected"
{/if}>Email</option>
</select>
</div>
<p class="help-block col-md-4">{Lang::T('User will get notification when package expired')}</p>
@ -490,6 +492,8 @@
{/if}>Whatsapp</option>
<option value="sms" {if $_c['user_notification_payment']=='sms' }selected="selected"
{/if}>SMS</option>
<option value="email" {if $_c['user_notification_payment']=='email' }selected="selected"
{/if}>Email</option>
</select>
</div>
<p class="help-block col-md-4">
@ -505,6 +509,8 @@
{/if}>Whatsapp</option>
<option value="sms" {if $_c['user_notification_reminder']=='sms' }selected="selected"
{/if}>SMS</option>
<option value="sms" {if $_c['user_notification_reminder']=='email' }selected="selected"
{/if}>Email</option>
</select>
</div>
</div>
@ -622,21 +628,23 @@
{Lang::T('If user buy same internet plan, expiry date will extend')}</p>
</div>
<div class="form-group">
<label class="col-md-2 control-label">{Lang::T('Hotspot Auth Method')}</label>
<div class="col-md-6">
<select name="hs_auth_method" id="auth_method" class="form-control">
<option value="api" {if $_c['hs_auth_method']=='api' }selected="selected" {/if}>
<label class="col-md-2 control-label">{Lang::T('Hotspot Auth Method')}</label>
<div class="col-md-6">
<select name="hs_auth_method" id="auth_method" class="form-control">
<option value="api" {if $_c['hs_auth_method']=='api' }selected="selected" {/if}>
{Lang::T('Api')}
</option>
<option value="hchap" {if $_c['hs_auth_method']=='hchap' }selected="selected" {/if}>
{Lang::T('Http-Chap')}
</option>
</select>
</div>
<p class="help-block col-md-4">
{Lang::T('Hotspot Authentication Method. Make sure you have changed your hotspot login page.')}<br><a href="https://github.com/agstrxyz/phpnuxbill-login-hotspot" target="_blank">Download phpnuxbill-login-hotspot</a>
</p>
</option>
<option value="hchap" {if $_c['hs_auth_method']=='hchap' }selected="selected" {/if}>
{Lang::T('Http-Chap')}
</option>
</select>
</div>
<p class="help-block col-md-4">
{Lang::T('Hotspot Authentication Method. Make sure you have changed your hotspot login page.')}<br><a
href="https://github.com/agstrxyz/phpnuxbill-login-hotspot" target="_blank">Download
phpnuxbill-login-hotspot</a>
</p>
</div>
</div>
<div class="panel-heading">