|
|
|
|
@ -41,6 +41,8 @@
|
|
|
|
|
.highlights-color {background-color: #eb5e26;}
|
|
|
|
|
.trippest-color {background-color: #E83201;}
|
|
|
|
|
|
|
|
|
|
.opacity-4 {opacity: 0.4;}
|
|
|
|
|
|
|
|
|
|
.app-color {background-color: #EC3A4F;}
|
|
|
|
|
.hly-color {background-color: #009fe9;}
|
|
|
|
|
.unknown-color{ background-color: #999999;}
|
|
|
|
|
@ -49,12 +51,12 @@
|
|
|
|
|
.table td { word-break: break-word; }
|
|
|
|
|
/* .text-completed {color: #00CC00;} */
|
|
|
|
|
/* .text-pending {color: #ff9900;} */
|
|
|
|
|
.text-pending {color: #00A2E8;}
|
|
|
|
|
.text-declined {color: #a94442;}
|
|
|
|
|
.text-under_review {color: #ff9900;}
|
|
|
|
|
.text-resolved {color: #ff9900;}
|
|
|
|
|
.text-customer_dispute_updated {color: #ff9900;}
|
|
|
|
|
.text-approved {color: #777;}
|
|
|
|
|
.text-pending, .text-pending a:not(.btn) {color: #00A2E8;}
|
|
|
|
|
.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-customer_dispute_updated, .text-customer_dispute_updated a:not(.btn) {color: #ff9900;}
|
|
|
|
|
.text-approved, .text-approved a:not(.btn) {color: #777;}
|
|
|
|
|
|
|
|
|
|
.flex {display: flex;}
|
|
|
|
|
.items-center {align-items: center;}
|
|
|
|
|
@ -278,8 +280,12 @@
|
|
|
|
|
?>
|
|
|
|
|
<tr class="<?php echo $item->OPN_transactionResult !== 'completed' ? "text-{$item->OPN_transactionResult}" : ''; ?> text-<?= str_ireplace('.', '_', strtolower($item->OPN_resultMsg)) ?>">
|
|
|
|
|
<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><div></div>
|
|
|
|
|
<td>
|
|
|
|
|
<span class="brand_text <?php echo strtolower(str_replace(" ","",$item->brand_name))."-color"; ?>"><?php echo $item->brand_name; ?></span>
|
|
|
|
|
<?php if ($item->OPN_paymentSource != '' && stripos($item->OPN_paymentSource, $item->brand_name) === false) { ?>
|
|
|
|
|
<span class="brand_text opacity-4 <?php echo strtolower(str_replace(" ","",$item->brand_name))."-color"; ?>"><?php echo $item->OPN_paymentSource; ?></span>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<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><div></div>
|
|
|
|
|
|
|
|
|
|
<a href="<?php $p_invoice = explode('_', $item->OPN_invoiceId);
|
|
|
|
|
echo set_url_param(
|
|
|
|
|
@ -293,7 +299,9 @@
|
|
|
|
|
<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 .'<br>'. $item->OPN_payerEmail ?></td>
|
|
|
|
|
<td><?= $item->OPN_payerName .'<br>' ?>
|
|
|
|
|
<a href="<?php echo set_url_param(array('keywords'=>$item->OPN_payerEmail,'method' => '','date'=>'')); ?>"><?php echo $item->OPN_payerEmail; ?></a>
|
|
|
|
|
</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>
|
|
|
|
|
@ -307,10 +315,10 @@
|
|
|
|
|
<?php // echo $item->OPN_remark ? "<div>{$item->OPN_remark}</div>" : ''; ?>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="hidden-xs"><?php // echo $item->OPN_transactionId; ?>
|
|
|
|
|
<a href="<?php echo set_url_param(array('keywords'=>$item->OPN_transactionId,'method' => '',)); ?>"><?php echo $item->OPN_transactionId; ?></a>
|
|
|
|
|
<a href="<?php echo set_url_param(array('keywords'=>$item->OPN_transactionId,'method' => '','date'=>'')); ?>"><?php echo $item->OPN_transactionId; ?></a>
|
|
|
|
|
<div>
|
|
|
|
|
<?php if ($item->OPN_relatedId) { ?>
|
|
|
|
|
┖ <a href="<?php echo set_url_param(array('keywords'=>$item->OPN_relatedId,'method' => '',)); ?>"><?php echo $item->OPN_relatedId; ?></a>
|
|
|
|
|
┖ <a href="<?php echo set_url_param(array('keywords'=>$item->OPN_relatedId,'method' => '','date'=>'')); ?>"><?php echo $item->OPN_relatedId; ?></a>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
@ -340,15 +348,21 @@
|
|
|
|
|
if ($item->OPN_transactionResult !== 'completed') {
|
|
|
|
|
$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>';
|
|
|
|
|
} else {
|
|
|
|
|
$send_text = ($item->OPN_noticeSendStatus ? $item->OPN_noticeSendStatus : '⏳');
|
|
|
|
|
echo '<span class="text-success" >' . 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; ?>')">
|
|
|
|
|
<?php // echo $send_text; ?>
|
|
|
|
|
</button> -->
|
|
|
|
|
<a href="javascript:void(0);" class="btn btn-sm <?php echo $send_class; ?>" onclick="show_gai_modal('<?php echo $item->OPN_SN; ?>')">
|
|
|
|
|
<?php echo $item->OPN_noticeSendStatus ? $item->OPN_noticeSendStatus : '⏳' ; ?>
|
|
|
|
|
<?php echo $send_text ; ?>
|
|
|
|
|
</a>
|
|
|
|
|
<span class="ml-auto"><?php echo ($recored_text); ?></span>
|
|
|
|
|
</div>
|
|
|
|
|
@ -471,7 +485,7 @@ jQuery.browser = {};
|
|
|
|
|
$('#modal_set_gai').modal('show');
|
|
|
|
|
},
|
|
|
|
|
error: function(msg) {
|
|
|
|
|
alert('\u53d1\u751f\u9519\u8bef\uff0c\u8bf7\u8054\u7cfbYoyo...');
|
|
|
|
|
alert('\u53d1\u751f\u9519\u8bef\uff0c\u8bf7\u8054\u7cfbYoyo....');
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|