Файл: upload-2031-rs1/admin/view/template/sale/customer_reward.tpl
Строк: 28
<?php if ($error_warning) { ?>
<div class="alert
alert-danger"><i class="fa
fa-exclamation-circle"></i> <?php echo $error_warning;
?>
<button type="button" class="close"
data-dismiss="alert">×</button>
</div>
<?php
} ?>
<?php if ($success) { ?>
<div class="alert
alert-success"><i class="fa
fa-check-circle"></i> <?php echo $success; ?>
<button type="button" class="close"
data-dismiss="alert">×</button>
</div>
<?php
} ?>
<div class="table-responsive">
<table
class="table table-bordered table-hover">
<thead>
<tr>
<td class="text-left"><?php echo
$column_date_added; ?></td>
<td
class="text-left"><?php echo $column_description;
?></td>
<td class="text-right"><?php
echo $column_points; ?></td>
</tr>
</thead>
<tbody>
<?php if ($rewards) { ?>
<?php
foreach ($rewards as $reward) { ?>
<tr>
<td
class="text-left"><?php echo $reward['date_added'];
?></td>
<td class="text-left"><?php
echo $reward['description']; ?></td>
<td
class="text-right"><?php echo $reward['points'];
?></td>
</tr>
<?php } ?>
<tr>
<td></td>
<td
class="text-right"><b><?php echo $text_balance;
?></b></td>
<td
class="text-right"><?php echo $balance; ?></td>
</tr>
<?php } else { ?>
<tr>
<td class="text-center" colspan="3"><?php echo
$text_no_results; ?></td>
</tr>
<?php }
?>
</tbody>
</table>
</div>
<div
class="row">
<div class="col-sm-6
text-left"><?php echo $pagination; ?></div>
<div
class="col-sm-6 text-right"><?php echo $results;
?></div>
</div>