webht/payment
Lei OT 6 months ago
parent 974e4c6fc2
commit f0074e88ba

@ -43,6 +43,11 @@
.hly-color {background-color: #009fe9;}
.unknown-color{ background-color: #999999;}
/* .text-completed {color: #00CC00;} */
.text-pending {color: #ff9900;}
.text-declined {color: #a94442;}
.text-approved {color: #777;}
.flex {display: flex;}
.items-center {align-items: center;}
.justify-center {justify-content: center;}
@ -252,7 +257,7 @@
<th width="360">主题</th>
<th width="150">付款人</th>
<th width="240" class="hidden-xs">subject</th>
<th width="150" class="hidden-xs">交易</th>
<th width="150" class="hidden-xs">凭证</th>
<th width="150">收单时间</th>
<!-- <th width="150" class="hidden-xs">通知时间</th> -->
<th width="150" class="hidden-xs">账单&nbsp;/&nbsp;录入</th>
@ -263,7 +268,7 @@
<?php
foreach ($notelist as $key => $item) {
?>
<tr class="<?php echo $item->OPN_transactionResult !== 'completed' ? $item->OPN_transactionResult == 'declined' ? 'text-danger' : 'text-muted' : ''; ?>">
<tr class="<?php echo $item->OPN_transactionResult !== 'completed' ? "text-{$item->OPN_transactionResult}" : ''; ?>">
<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>
@ -318,7 +323,7 @@
?>
<?php
if ($item->OPN_transactionResult !== 'completed') {
$cls = $item->OPN_transactionResult == 'declined' ? 'text-danger' : 'text-muted';
$cls = "text-{$item->OPN_transactionResult}";
$text = strtoupper($item->OPN_transactionResult);
echo "<span class={$cls} >{$text}</span><br>";
} elseif ($item->OPN_noticeType !== 'pay') {

Loading…
Cancel
Save