Update paymentgateway-audit.tpl

- fix the view
This commit is contained in:
ABDALRAHMAN MOLOOD 2024-08-07 01:53:53 +03:00 committed by GitHub
parent 6316992bc3
commit dc4adbc0c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,16 +17,12 @@
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>TRX ID</th>
<th>PG ID</th>
<th>{Lang::T('Username')}</th>
<th>{Lang::T('Plan Name')}</th>
<th>{Lang::T('Routers')}</th>
<th>{Lang::T('Price')}</th>
<th>{Lang::T('Payment Link')}</th>
<th>{Lang::T('Channel')}</th>
<th>{Lang::T('Created')}</th>
<th>{Lang::T('Expired')}</th>
<th>{Lang::T('Paid')}</th>
<th>{Lang::T('Invoice')}</th>
<th>{Lang::T('Status')}</th>
@ -35,13 +31,11 @@
<tbody>
{foreach $pgs as $pg}
<tr class="{if $pg['status'] == 1}warning{elseif $pg['status'] == 2}success{else}danger{/if}">
<td>{$pg['id']}</td>
<td><a href="{$_url}paymentgateway/audit-view/{$pg['id']}"
class="text-black">{$pg['gateway_trx_id']}</a></td>
class="text-black">{$pg['id']}</a></td>
<td><a href="{$_url}customers/viewu/{$pg['username']}" class="text-black">{$pg['username']}</a>
</td>
<td>{$pg['plan_name']}</td>
<td>{$pg['routers']}</td>
<td>{Lang::moneyFormat($pg['price'])}</td>
<td>
{if $pg['pg_url_payment']}
@ -49,9 +43,7 @@
rel="noopener noreferrer">open</a>
{/if}
</td>
<td>{$pg['payment_method']} - {$pg['payment_channel']}</td>
<td>{if $pg['created_date'] != null}{Lang::dateTimeFormat($pg['created_date'])}{/if}</td>
<td>{if $pg['expired_date'] != null}{Lang::dateTimeFormat($pg['expired_date'])}{/if}</td>
<td>{if $pg['paid_date'] != null}{Lang::dateTimeFormat($pg['paid_date'])}{/if}</td>
<td>{if $pg['trx_invoice']}<a href="{$_url}reports/activation&q={$pg['trx_invoice']}"
class="text-black">{$pg['trx_invoice']}</a>{/if}</td>
@ -63,8 +55,8 @@
</table>
</div>
{include file="pagination.tpl"}
<a href="{$_url}paymentgateway/" class="btn btn-default btn-xs">kembali</a>
<button type="button" class="btn btn-primary btn-block" onclick="window.history.back();">{Lang::T('back')}</button>
</div>
</div>
{include file="sections/footer.tpl"}
{include file="sections/footer.tpl"}