forked from kevinowino869/mitrobill
Qrcode scanner
This commit is contained in:
@ -2,34 +2,33 @@
|
||||
<!-- user-activation -->
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="col-md-8">
|
||||
<div class="box box-primary box-solid">
|
||||
<div class="box-header"><h3 class="box-title">{Lang::T('Order Voucher')}</h3></div>
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{Lang::T('Order Voucher')}</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
{include file="$_path/../pages/Order_Voucher.html"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="panel panel-success panel-hovered panel-stacked mb30">
|
||||
<div class="panel-heading">{Lang::T('Voucher Activation')}</div>
|
||||
<div class="panel-body">
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}voucher/activation-post">
|
||||
<div class="col-md-4">
|
||||
<div class="box box-primary box-solid">
|
||||
<div class="box-header">{Lang::T('Voucher Activation')}</div>
|
||||
<div class="box-body">
|
||||
<form method="post" role="form" action="{$_url}voucher/activation-post">
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('Code Voucher')}</label>
|
||||
<div class="col-md-6">
|
||||
<input type="text" class="form-control" id="code" name="code"
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" id="code" name="code" value="{$code}"
|
||||
placeholder="{Lang::T('Enter voucher code here')}">
|
||||
<span class="input-group-btn">
|
||||
<a class="btn btn-default" href="{APP_URL}/scan/?back={urlencode($_url)}{urlencode("voucher/activation&code=")}"><i class="glyphicon glyphicon-qrcode"></i></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<button class="btn btn-success"
|
||||
type="submit">{Lang::T('Recharge')}</button>
|
||||
<button class="btn btn-success" type="submit">{Lang::T('Recharge')}</button>
|
||||
Or <a href="{$_url}home">{Lang::T('Cancel')}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -288,26 +288,28 @@
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<form method="post" role="form" class="form-horizontal" action="{$_url}voucher/activation-post">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label text-center">{Lang::T('Code Voucher')}</label>
|
||||
<div class="col-sm-7">
|
||||
<input type="text" id="code" name="code" class="form-control"
|
||||
placeholder="{Lang::T('Enter voucher code here')}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group" align="center">
|
||||
<button class="btn btn-success" type="submit">{Lang::T('Recharge')}</button>
|
||||
<div class="input-group">
|
||||
<span class="input-group-btn">
|
||||
<a class="btn btn-default"
|
||||
href="{APP_URL}/scan/?back={urlencode($_url)}{urlencode("home&code=")}"><i
|
||||
class="glyphicon glyphicon-qrcode"></i></a>
|
||||
</span>
|
||||
<input type="text" id="code" name="code" class="form-control"
|
||||
placeholder="{Lang::T('Enter voucher code here')}" value="{$code}">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-primary" type="submit">{Lang::T('Recharge')}</button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<div class="btn-group btn-group-justified" role="group">
|
||||
<a class="btn btn-warning" href="{$_url}voucher/activation">
|
||||
<a class="btn btn-default" href="{$_url}voucher/activation">
|
||||
<i class="ion ion-ios-cart"></i>
|
||||
{Lang::T('Order Voucher')}
|
||||
</a>
|
||||
{if $_c['payment_gateway'] != 'none' or $_c['payment_gateway'] == '' }
|
||||
<a href="{$_url}order/package" class="btn btn-primary">
|
||||
<a href="{$_url}order/package" class="btn btn-default">
|
||||
<i class="ion ion-ios-cart"></i>
|
||||
{Lang::T('Order Package')}
|
||||
</a>
|
||||
|
@ -59,8 +59,13 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{Lang::T('Enter voucher code here')}</label>
|
||||
<input type="text" class="form-control" name="voucher" required autocomplete="off"
|
||||
placeholder="{Lang::T('Code Voucher')}">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" id="voucher" name="voucher" required value="{$code}"
|
||||
placeholder="{Lang::T('Enter voucher code here')}">
|
||||
<span class="input-group-btn">
|
||||
<a class="btn btn-default" href="{APP_URL}/scan/?back={urlencode($_url)}{urlencode("login&code=")}"><i class="glyphicon glyphicon-qrcode"></i></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn-group btn-group-justified mb15">
|
||||
<div class="btn-group">
|
||||
|
Reference in New Issue
Block a user