|
|
|
@ -254,6 +254,7 @@
|
|
|
|
|
<li class="col-sm-3" >
|
|
|
|
|
<?php
|
|
|
|
|
$show_send = '';
|
|
|
|
|
$status_detail = '';
|
|
|
|
|
$class_css = '';
|
|
|
|
|
$show_record = '查看录入状态';
|
|
|
|
|
if ($item->pn_send == 'send' || substr($item->pn_send, 0, 5) == "send-") {
|
|
|
|
@ -267,8 +268,14 @@
|
|
|
|
|
} else {
|
|
|
|
|
$class_css = 'btn-danger';
|
|
|
|
|
$show_send = $item->pn_payment_status ? $item->pn_payment_status : $raw_content->txn_type;
|
|
|
|
|
// $show_send .= '. ';
|
|
|
|
|
$status_detail .= isset($raw_content->resource->status_details) ? $raw_content->resource->status_details->reason : '';
|
|
|
|
|
}
|
|
|
|
|
?><a href="javascript:void(0);" onclick="show_order_modal('<?php echo $item->pn_txn_id; ?>', '<?php echo $item->pn_sn; ?>')" class="btn btn-sm <?php echo $class_css; ?>"><?php echo $show_send; ?></a>
|
|
|
|
|
<?php if ($status_detail) { ?>
|
|
|
|
|
<br class="hidden-xs">
|
|
|
|
|
<span class="text-muted"><?php echo $status_detail; ?></span>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<br class="hidden-xs">
|
|
|
|
|
<a href="javascript:void(0);" class="text_padding text-primary" style="padding: 10px;"
|
|
|
|
|
onclick="show_gai_modal('<?php echo $item->pn_txn_id; ?>','<?php echo $item->pn_sn; ?>')"
|
|
|
|
|