forked from kevinowino869/mitrobill
midtrans succes paid, but will be drop
This commit is contained in:
@ -38,7 +38,7 @@
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">Finish Redirect URL</label>
|
||||
<div class="col-md-6">
|
||||
<input type="text" readonly class="form-control" onclick="this.select()" value="{$_url}accounts/transaction">
|
||||
<input type="text" readonly class="form-control" onclick="this.select()" value="{$_url}order/unpaid">
|
||||
<p class="help-block">{Lang::T('Finish Redirect URL, Unfinish Redirect URL, Error Redirect URL')}</p>
|
||||
<a href="https://dashboard.midtrans.com/settings/vtweb_configuration" target="_blank" class="help-block">https://dashboard.midtrans.com/settings/vtweb_configuration</a>
|
||||
</div>
|
||||
|
@ -138,8 +138,7 @@
|
||||
<ul class="inner-drop list-unstyled">
|
||||
<li {if $_system_menu eq 'order'}class="active"{/if}><a href="{$_url}order/voucher">Voucher</a></li>
|
||||
{if $_c['payment_gateway'] != 'none' or $_c['payment_gateway'] == '' }
|
||||
<li {if $_system_menu eq 'order'}class="active"{/if}><a href="{$_url}order/hotspot">Hotspot</a></li>
|
||||
<li {if $_system_menu eq 'order'}class="active"{/if}><a href="{$_url}order/ppoe">PPOE</a></li>
|
||||
<li {if $_system_menu eq 'order'}class="active"{/if}><a href="{$_url}order/package">{Lang::T('Package')}</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -1,48 +0,0 @@
|
||||
{include file="sections/user-header.tpl"}
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="panel mb20 panel-default panel-hovered">
|
||||
<div class="panel-heading">Order PPOE</div>
|
||||
</div>
|
||||
{foreach $routers as $router}
|
||||
<div class="panel mb20 panel-info panel-hovered">
|
||||
<div class="panel-heading">{$router['name']}</div>
|
||||
{if $router['description'] != ''}
|
||||
<div class="panel-body">
|
||||
{$router['description']}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="panel-body row">
|
||||
{foreach $plans as $plan}
|
||||
{if $router['name'] eq $plan['routers']}
|
||||
<div class="col-sm-3">
|
||||
<div class="panel mb10 panel-default panel-hovered">
|
||||
<div class="panel-heading"> {$plan['name_plan']}</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Price</td>
|
||||
<td>{$plan['price']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Validity</td>
|
||||
<td>{$plan['validity']} {$plan['validity_unit']}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="{$_url}order/hotspot-buy/{$router['id']}/{$plan['id']}" onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')" class="btn btn-sm btn-block btn-primary">Buy</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
{include file="sections/user-footer.tpl"}
|
@ -2,7 +2,7 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="panel mb20 panel-default panel-hovered">
|
||||
<div class="panel-heading">Order Hotspot</div>
|
||||
<div class="panel-heading">{Lang::T('Order Internet Package')}</div>
|
||||
</div>
|
||||
{foreach $routers as $router}
|
||||
<div class="panel mb20 panel-info panel-hovered">
|
||||
@ -22,6 +22,10 @@
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{Lang::T('Type')}</td>
|
||||
<td>{$plan['type']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Price</td>
|
||||
<td>{$plan['price']}</td>
|
||||
@ -34,7 +38,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="{$_url}order/hotspot-buy/{$router['id']}/{$plan['id']}" onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')" class="btn btn-sm btn-block btn-primary">Buy</a>
|
||||
<a href="{$_url}order/buy/{$router['id']}/{$plan['id']}" onclick="return confirm('{Lang::T('Buy this? your active package will be overwrite')}')" class="btn btn-sm btn-block btn-primary">Buy</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -75,7 +75,10 @@
|
||||
{if $trx['status']==1}
|
||||
<div class="panel-footer ">
|
||||
<div class="btn-group btn-group-justified">
|
||||
<a href="{$trx['pg_url_payment']}" target="_blank" class="btn btn-primary">{Lang::T('PAY NOW')}</a>
|
||||
<a href="{$trx['pg_url_payment']}"
|
||||
{if $trx['gateway']=='midtrans'}
|
||||
target="_blank"
|
||||
{/if} class="btn btn-primary">{Lang::T('PAY NOW')}</a>
|
||||
<a href="{$_url}order/view/{$trx['id']}/check" class="btn btn-info">{Lang::T('Check for Payment')}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user