You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
information-system/webht/third_party/pay/views/alipay_note_setting.php

66 lines
3.2 KiB
PHTML

<form action="/webht.php/apps/pay/AlipayTradeService/note_modal_save" method="post" id="form_modal_orderid" name="form_modal_orderid">
<?php if ( ! empty($gai_info)) { ?>
<p>已录入订单 <?php echo !empty($old_order) ? $old_order : ""; ?></p>
<table class="table table-hover table-bordered">
<thead>
<th>订单号</th>
<th>申请金额/币种</th>
<th>实收金额</th>
</thead>
<?php foreach ($gai_info as $key => $value) { ?>
<tr>
<td><?php echo $value->COLI_ID; ?></td>
<td><?php echo $value->GAI_SQJE; ?>&nbsp;<?php echo $value->GAI_SQJECurrency; ?></td>
<td><?php echo $value->GAI_SSJE; ?>&nbsp;CNY</td>
</tr>
<?php } ?>
</table>
<p style="color:#a31022;">撤回以上订单收款记录, 并转移到订单: (手动录入的不会撤回) </p>
<?php } else { ?>
<dl class="dl-horizontal">
<dt>交易号</dt>
<dd><?php echo $note->ALI_dealId ?> ( <?php echo $paytext[(trim($note->ALI_resultMsg))].".".$note->ALI_resultMsg; ?> )</dd>
</dl>
<dl class="dl-horizontal">
<dt>付款金额</dt>
<dd><?php echo $note->ALI_currencyCode . ' ' . $note->ALI_orderAmount ?></dd>
</dl>
<dl class="dl-horizontal">
<dt>付款时间</dt>
<dd><?php echo $note->ALI_acquiringTime; ?></dd>
</dl>
<?php } ?>
<dl class="dl-horizontal">
<div class="input-group">
<input type="text" class="form-control" id="pn_invoice" name="pn_invoice" value="<?php //echo!empty($ALI_orderId) ? $ALI_orderId : $note->ALI_orderId; ?><?php echo !empty($new_order) ? $new_order : $old_order; ?>">
<span class="input-group-addon search-btn" onclick="show_order_modal('<?php echo $note->ALI_dealId; ?>', $('#pn_invoice').val(),'<?php echo $note->ALI_noticeTime; ?>','<?php echo $note->ALI_orderId; ?>')"></span>
</div>
<label class="text-danger">订单号形如: 160414408_B , B商务订单JJ160321052_T,T传统订单请务必加上后缀</label>
</dl>
<dl class="dl-horizontal">
<p>订单详细内容</p>
<?php
if (!empty($order_info)) {
echo "COLI_SN => $order_info->COLI_SN<br/>";
echo "COLI_ID => $order_info->COLI_ID<br/>";
echo "OPI_Email => $order_info->OPI_Email<br/>";
echo "OPI_Name => $order_info->OPI_Name<br/>";
echo!empty($order_info->COLI_GroupCode) ? "COLI_GroupCode => $order_info->COLI_GroupCode<br/>" : false;
echo!empty($order_info->COLI_OrderDetailText) ? "COLI_OrderDetailText => $order_info->COLI_OrderDetailText\n" : false;
} else {
echo '找不到订单内容';
}
?>
</dl>
<dl class="dl-horizontal">
<p><a href="javascript:void(0);" onclick="$('#note_original_data').toggle()" style="color:#a31022;" >原始数据&nbsp;&raquo;</a></p>
<span style="display: none;" id="note_original_data"><?php echo str_replace('","', '"<br/>"', $note->ALI_memo); ?></span>
</dl>
<input type="hidden" name="pn_txn_id" id="pn_txn_id" value="<?php echo $note->ALI_dealId; ?>" />
</form>