|
|
|
|
@ -260,14 +260,17 @@
|
|
|
|
|
<?php
|
|
|
|
|
foreach ($notelist as $key => $item) {
|
|
|
|
|
?>
|
|
|
|
|
<tr class="<?php echo $item->OPN_transactionResult !== 'completed' ? 'text-muted' : ''; ?>">
|
|
|
|
|
<tr class="<?php echo $item->OPN_transactionResult !== 'completed' ? $item->OPN_transactionResult == 'declined' ? 'text-danger' : 'text-muted' : ''; ?>">
|
|
|
|
|
<td><?php echo $key+1; ?></td>
|
|
|
|
|
<td><span class="brand_text <?php echo strtolower(str_replace(" ","",$item->brand_name))."-color"; ?>"><?php echo $item->brand_name; ?></span>
|
|
|
|
|
<span class="brand_text <?php echo strtolower(str_replace('cht', '',str_replace(" ","",$item->OPN_fundSource)))."-color"; ?>"><?php echo str_replace('cht', '', $item->OPN_fundSource); ?></span>
|
|
|
|
|
<span><?php echo $item->OPN_orderId . ' / ' ?><b><?php echo $item->OPN_orderAmount; ?></b><?php echo $item->OPN_currency; ?></span>
|
|
|
|
|
|
|
|
|
|
<a href="<?php $p_invoice = explode('_', $item->OPN_invoiceId); echo set_url_param(array('keywords'=>$p_invoice[0] ? $p_invoice[0] : $item->OPN_orderId)); ?>"><?php echo $item->OPN_orderId; ?></a>
|
|
|
|
|
|
|
|
|
|
<span><?php // echo $item->OPN_orderId . ' / ' ?> / <b><?php echo $item->OPN_orderAmount; ?></b><?php echo $item->OPN_currency; ?></span>
|
|
|
|
|
<?php // echo $item->OPN_orderId . ' / ' . $item->OPN_orderAmount . $item->OPN_currency; ?>
|
|
|
|
|
</td>
|
|
|
|
|
<td><?= $item->OPN_payerName ? $item->OPN_payerName : $item->OPN_payerEmail ?></td>
|
|
|
|
|
<td><?= $item->OPN_payerName .'<br>'. $item->OPN_payerEmail ?></td>
|
|
|
|
|
<td class="hidden-xs">
|
|
|
|
|
<?php if ($item->app_name) { ?>
|
|
|
|
|
<span class="brand_text <?php echo strtolower(str_replace(" ","",$item->app_name))."-color"; ?>"><?php echo $item->app_name; ?></span>
|
|
|
|
|
@ -305,7 +308,9 @@
|
|
|
|
|
?>
|
|
|
|
|
<?php
|
|
|
|
|
if ($item->OPN_transactionResult !== 'completed') {
|
|
|
|
|
echo '<span class=text-muted >' . strtoupper($item->OPN_transactionResult) . '</span><br>';
|
|
|
|
|
$cls = $item->OPN_transactionResult == 'declined' ? 'text-danger' : 'text-muted';
|
|
|
|
|
$text = strtoupper($item->OPN_transactionResult);
|
|
|
|
|
echo "<span class={$cls} >{$text}</span><br>";
|
|
|
|
|
} elseif ($item->OPN_noticeType !== 'pay') {
|
|
|
|
|
echo '<span class=text-danger >' . strtoupper($item->OPN_noticeType) . '</span><br>';
|
|
|
|
|
} else {
|
|
|
|
|
|