delete payment gateway

This commit is contained in:
Ibnu Maksum
2024-03-12 10:00:28 +07:00
parent e1f7b324cb
commit 16f0642007
2 changed files with 37 additions and 27 deletions

View File

@ -1,33 +1,22 @@
{include file="sections/header.tpl"}
<div class="row">
<div class="col-sm-12">
<div class="col-md-6 col-md-offset-3">
<div class="panel panel-info panel-hovered">
<div class="panel-heading">{Lang::T('Payment Gateway')}</div>
<div class="panel-body row">
{foreach $pgs as $pg}
<div class="col-sm-4 mb20">
<a href="{$_url}paymentgateway/{$pg}" class="btn btn-block btn-default">{ucwords($pg)}</a>
</div>
{/foreach}
<div class="table-responsive">
<table class="table table-striped table-condensed">
<tbody>
{foreach $pgs as $pg}
<tr>
<td><a href="{$_url}paymentgateway/{$pg}"
class="btn btn-block btn-default text-left">{ucwords($pg)}</a></td>
<td width="10"><a href="{$_url}paymentgateway/delete/{$pg}" onclick="return confirm('{Lang::T('Delete')} {$pg}?')" class="btn btn-danger"><i
class="glyphicon glyphicon-trash"></i></a></td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<!-- <div class="panel-footer">
<form method="post">
<div class="form-group row">
<label class="col-md-2 control-label">Payment Gateway</label>
<div class="col-md-8">
<select name="payment_gateway" id="payment_gateway" class="form-control">
<option value="none">None</option>
{foreach $pgs as $pg}
<option value="{$pg}" {if $_c['payment_gateway'] eq {$pg}}selected="selected" {/if}>{ucwords($pg)}</option>
{/foreach}
</select>
</div>
<div class="col-md-2">
<button class="btn btn-block btn-primary" type="submit">{Lang::T('Save Changes')}</button>
</div>
</div>
</div>
</div> -->
</div>
</div>
{include file="sections/footer.tpl"}
{include file="sections/footer.tpl"}