72 lines
3.6 KiB
Smarty
72 lines
3.6 KiB
Smarty
{include file="sections/header.tpl"}
|
|
<!-- pool -->
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="panel panel-hovered mb20 panel-primary">
|
|
<div class="panel-heading">
|
|
{Lang::T('Activity Log')}
|
|
</div>
|
|
<div class="panel-body">
|
|
<div class="text-center" style="padding: 15px">
|
|
<div class="col-md-4">
|
|
<form id="site-search" method="post" action="{Text::url('')}reports/activation">
|
|
<div class="input-group">
|
|
<div class="input-group-addon">
|
|
<span class="fa fa-search"></span>
|
|
</div>
|
|
<input type="text" name="q" class="form-control" value="{$q}"
|
|
placeholder="{Lang::T('Invoice')}...">
|
|
<div class="input-group-btn">
|
|
<button class="btn btn-success" type="submit">{Lang::T('Search')}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="col-md-8">
|
|
|
|
</div>
|
|
</div>
|
|
<br>
|
|
<div class="table-responsive">
|
|
<table id="datatable" class="table table-bordered table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>{Lang::T('Invoice')}</th>
|
|
<th>{Lang::T('Username')}</th>
|
|
<th>{Lang::T('Fullname')}</th>
|
|
<th>{Lang::T('Plan Name')}</th>
|
|
<th>{Lang::T('Plan Price')}</th>
|
|
<th>{Lang::T('Type')}</th>
|
|
<th>{Lang::T('Created On')}</th>
|
|
<th>{Lang::T('Expires On')}</th>
|
|
<th>{Lang::T('Method')}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach $activation as $ds}
|
|
<tr>
|
|
<td onclick="window.location.href = '{Text::url('')}plan/view/{$ds['id']}'"
|
|
style="cursor:pointer;">{$ds['invoice']}</td>
|
|
<td onclick="window.location.href = '{Text::url('')}customers/viewu/{$ds['username']}'"
|
|
style="cursor:pointer;">{$ds['username']}</td>
|
|
<td>{$ds['fullname']}</td>
|
|
<td>{$ds['plan_name']}</td>
|
|
<td>{Lang::moneyFormat($ds['price'])}</td>
|
|
<td>{$ds['type']}</td>
|
|
<td class="text-success">
|
|
{Lang::dateAndTimeFormat($ds['recharged_on'],$ds['recharged_time'])}
|
|
</td>
|
|
<td class="text-danger">{Lang::dateAndTimeFormat($ds['expiration'],$ds['time'])}</td>
|
|
<td>{$ds['method']}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{include file="pagination.tpl"}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{include file="sections/footer.tpl"} |