File "payment-bonuses.php"
Full Path: /home/cananyalcin/public_html/core/temp/admin/settings/payment-bonuses.php
File size: 1.6 KB
MIME-type: text/html
Charset: utf-8
<div class="col-md-8">
<?php if( $success ): ?>
<div class="alert alert-success "><?php echo $successText; ?></div>
<?php endif; ?>
<?php if( $error ): ?>
<div class="alert alert-danger "><?php echo $errorText; ?></div>
<?php endif; ?>
<div class="settings-header__table">
<button type="button" class="btn btn-default m-b" data-toggle="modal" data-target="#modalDiv" data-action="new_paymentbonus" >Add New Payment Bonus</button>
</div>
<table class="table">
<thead>
<tr>
<th>
ID
</th>
<th>
Minimum Payment
</th>
<th>
Payment Method
</th>
<th>
Bonus Percentage
</th>
<th></th>
</tr>
</thead>
<tbody class="methods-sortable">
<?php foreach($bonusList as $bonus): ?>
<tr>
<td>
<?php echo $bonus["id"]; ?>
</td>
<td>
<?php echo $bonus["bonus_from"]; ?>
</td>
<td>
<?php echo $bonus["method_name"]; ?>
</td>
<td>
%<?php echo $bonus["bonus_amount"]; ?>
</td>
<td class="p-r">
<button type="button" class="btn btn-default btn-xs pull-right edit-payment-method" data-toggle="modal" data-target="#modalDiv" data-action="edit_paymentbonus" data-id="<?php echo $bonus["bonus_id"]; ?>">Düzenle</button>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>