<form action="/webht.php/apps/pay/iPayLinksService/note_modal_save" method="post" id="form_modal_orderid" name="form_modal_orderid">

    <dl class="dl-horizontal">
        <dt>交易号</dt>
        <dd><?php echo $note->IPL_dealId ?> ( <?php echo $paytext[intval(trim($note->IPL_stateCode))].".".$note->IPL_resultMsg; ?> )</dd>
    </dl>
    <dl class="dl-horizontal">
        <dt>付款金额</dt>
        <dd><?php echo $note->IPL_currencyCode . ' ' . $note->IPL_orderAmount ?></dd>
    </dl>
    <dl class="dl-horizontal">
        <dt>付款时间</dt>
        <dd><?php echo $note->IPL_acquiringTime; ?></dd>
    </dl>

    <dl class="dl-horizontal">
        <dt>订单号</dt>
        <dd>
            <div class="input-group">
                <input type="text" class="form-control" id="pn_invoice" name="pn_invoice" value="<?php echo!empty($IPL_orderId) ? $IPL_orderId : $note->IPL_orderId; ?>">
                <span class="input-group-addon search-btn" onclick="show_order_modal('<?php echo $note->IPL_dealId; ?>', $('#pn_invoice').val(),'<?php echo $note->IPL_noticeTime; ?>','<?php echo $note->IPL_orderId; ?>','<?php echo $note->IPL_sn; ?>')"></span>
            </div>
            <label class="text-danger">订单号形如: 160414408_B , B商务订单，JJ160321052_T,T传统订单，请务必加上后缀</label>
        </dd>
    </dl>

    <dl class="dl-horizontal">
        <dt>订单详细内容</dt>
        <dd>
            <?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 '找不到订单内容';
            }
            ?>

        </dd>
    </dl>
    <dl class="dl-horizontal">
        <dt><a href="javascript:void(0);" onclick="$('#note_original_data').toggle()" >原始数据</a></dt>
        <dd> <span style="display: none;" id="note_original_data"><?php echo str_replace('","', '"<br/>"', $note->IPL_memo); ?></span></dd>
    </dl>

    <input type="hidden" name="pn_txn_id" id="pn_txn_id" value="<?php echo $note->IPL_dealId; ?>" />
    <input type="hidden" name="pn_id" id="pn_id" value="<?php echo $note->IPL_sn; ?>" />
</form>
