|
|
|
|
@ -55,9 +55,12 @@
|
|
|
|
|
.text-declined, .text-declined a:not(.btn) {color: #c0192a;}
|
|
|
|
|
.text-under_review, .text-under_review a:not(.btn) {color: #ff9900;}
|
|
|
|
|
.text-resolved, .text-resolved a:not(.btn) {color: #ff9900;}
|
|
|
|
|
.text-paypal_dispute, .text-paypal_dispute a:not(.btn),
|
|
|
|
|
.text-customer_dispute_resolved, .text-customer_dispute_resolved a:not(.btn),
|
|
|
|
|
.text-customer_dispute_updated, .text-customer_dispute_updated a:not(.btn) {color: #ff9900;}
|
|
|
|
|
.text-approved, .text-approved a:not(.btn) {color: #777;}
|
|
|
|
|
.text-approved, .text-approved a:not(.btn),
|
|
|
|
|
.text-paypal_order, .text-paypal_order a:not(.btn)
|
|
|
|
|
{color: #777;}
|
|
|
|
|
|
|
|
|
|
.flex {display: flex;}
|
|
|
|
|
.items-center {align-items: center;}
|
|
|
|
|
@ -261,7 +264,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
<!-- left end -->
|
|
|
|
|
<div class=" pay_form_div col-sm-20 col-xs-24" style="min-height:1024px;border-left:1px solid #ddd;">
|
|
|
|
|
<table class="table table-bordered table-hover">
|
|
|
|
|
<!-- table-bordered -->
|
|
|
|
|
<table class="table table-hover">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th width="40">#</th>
|
|
|
|
|
@ -278,8 +282,13 @@
|
|
|
|
|
<tbody>
|
|
|
|
|
<?php
|
|
|
|
|
foreach ($notelist as $key => $item) {
|
|
|
|
|
$row_cls = implode(' ',[
|
|
|
|
|
"text-{$item->OPN_transactionResult}",
|
|
|
|
|
"text-".str_ireplace('.', '_', strtolower($item->OPN_resultMsg)),
|
|
|
|
|
"text-".str_ireplace('.', '_', strtolower($item->OPN_noticeType)),
|
|
|
|
|
]);
|
|
|
|
|
?>
|
|
|
|
|
<tr class="<?php echo $item->OPN_transactionResult !== 'completed' ? "text-{$item->OPN_transactionResult}" : ''; ?> text-<?= str_ireplace('.', '_', strtolower($item->OPN_resultMsg)) ?>">
|
|
|
|
|
<tr class="<?php echo $row_cls ?>">
|
|
|
|
|
<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>
|
|
|
|
|
@ -348,16 +357,21 @@
|
|
|
|
|
?>
|
|
|
|
|
<?php
|
|
|
|
|
if ($item->OPN_transactionResult !== 'completed') {
|
|
|
|
|
// declined pending dispute approved
|
|
|
|
|
$cls = "text-{$item->OPN_transactionResult}";
|
|
|
|
|
$text = strtoupper($item->OPN_transactionResult);
|
|
|
|
|
$send_text = $item->OPN_noticeType !== 'pay' ? strtoupper($item->OPN_noticeType) : $item->OPN_resultCode;
|
|
|
|
|
echo "<span class={$cls} >{$text}</span><br>";
|
|
|
|
|
} elseif ($item->OPN_noticeType !== 'pay') {
|
|
|
|
|
$send_text = $item->OPN_noticeType == 'refund' ? strtoupper($item->OPN_transactionResult) : $item->OPN_resultCode;
|
|
|
|
|
echo '<span class=text-danger >' . strtoupper($item->OPN_noticeType) . '</span><br>';
|
|
|
|
|
// refund
|
|
|
|
|
$send_text = $item->OPN_noticeType == 'refund' ? ($item->OPN_noticeSendStatus) : $item->OPN_resultCode;
|
|
|
|
|
$_cls = "tag-".$item->OPN_noticeType;
|
|
|
|
|
echo "<span class='text-danger {$_cls}' >" . strtoupper($item->OPN_noticeType) . '</span><br>';
|
|
|
|
|
} else {
|
|
|
|
|
// completed pay
|
|
|
|
|
$send_text = ($item->OPN_noticeSendStatus ? $item->OPN_noticeSendStatus : '⏳');
|
|
|
|
|
echo '<span class="text-success" >' . strtoupper($item->OPN_transactionResult) . '</span><br>';
|
|
|
|
|
$_cls = "tag-".$item->OPN_transactionResult;
|
|
|
|
|
echo "<span class=\"text-success {$_cls}\" >" . strtoupper($item->OPN_transactionResult) . '</span><br>';
|
|
|
|
|
} ?>
|
|
|
|
|
<div class="flex items-center">
|
|
|
|
|
<!-- <button type="button" class="btn btn-sm btn-default <?php // echo $send_class; ?>" onclick="show_gai_modal('<?php // echo $item->OPN_SN; ?>')">
|
|
|
|
|
|