Payment Gateway Tripay done

This commit is contained in:
Ibnu Maksum
2022-09-10 16:01:51 +07:00
parent 5ce70b972b
commit 4a6ea093c1
22 changed files with 1069 additions and 923 deletions

View File

@ -28,35 +28,36 @@
</form>
</div>
</div>
<table class="table table-bordered invoice-table mb10">
<thead>
<tr>
<th>{$_L['Username']}</th>
<th>{$_L['Type']}</th>
<th>{$_L['Plan_Name']}</th>
<th>{$_L['Plan_Price']}</th>
<th>{$_L['Created_On']}</th>
<th>{$_L['Expires_On']}</th>
<th>{$_L['Method']}</th>
<th>{$_L['Routers']}</th>
</tr>
</thead>
<tbody>
{foreach $d as $ds}
<tr>
<td>{$ds['username']}</td>
<td>{$ds['type']}</td>
<td>{$ds['plan_name']}</td>
<td class="text-right">{$_c['currency_code']} {number_format($ds['price'],0,$_c['dec_point'],$_c['thousands_sep'])}</td>
<td>{date($_c['date_format'], strtotime($ds['recharged_on']))} {$ds['time']}</td>
<td>{date($_c['date_format'], strtotime($ds['expiration']))} {$ds['time']}</td>
<td>{$ds['method']}</td>
<td>{$ds['routers']}</td>
</tr>
{/foreach}
</tbody>
</table>
<div class="table-responsive">
<table class="table table-bordered invoice-table mb10">
<thead>
<tr>
<th>{$_L['Username']}</th>
<th>{$_L['Type']}</th>
<th>{$_L['Plan_Name']}</th>
<th>{$_L['Plan_Price']}</th>
<th>{$_L['Created_On']}</th>
<th>{$_L['Expires_On']}</th>
<th>{$_L['Method']}</th>
<th>{$_L['Routers']}</th>
</tr>
</thead>
<tbody>
{foreach $d as $ds}
<tr>
<td>{$ds['username']}</td>
<td>{$ds['type']}</td>
<td>{$ds['plan_name']}</td>
<td class="text-right">{$_c['currency_code']} {number_format($ds['price'],0,$_c['dec_point'],$_c['thousands_sep'])}</td>
<td>{date($_c['date_format'], strtotime($ds['recharged_on']))} {$ds['time']}</td>
<td>{date($_c['date_format'], strtotime($ds['expiration']))} {$ds['time']}</td>
<td>{$ds['method']}</td>
<td>{$ds['routers']}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<div class="clearfix text-right total-sum mb10">
<h4 class="text-uppercase text-bold">{$_L['Total_Income']}:</h4>
<h3 class="sum">{$_c['currency_code']} {number_format($dr,2,$_c['dec_point'],$_c['thousands_sep'])}</h3>