123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- {Template header}
- <body>
- <div class="warp">
- <div class="title">交易详情</div>
- <div class="packing">
- <!-- <table class="datatitle data" border="0" style="border-collapse:collapse;">
- <tr>
- <td>产品ID</td>
- <td>产品编码</td>
- <td>主图</td>
- <td>商品名称</td>
- <td>每包条数</td>
- <td>数量</td>
- <td>每包单价</td>
- <td>总条数</td>
- <td>总金额</td>
- <td>币种</td>
- </tr>
- </table> -->
- <ul class="setting">
- <div class="need">
- {if !empty($info['transaction_info'])}
- {if !empty($info['transaction_info']['paypal_account_id'])}
- <li>
- <em>paypal账号:</em>
- <b>{$info['transaction_info']['paypal_account_id']}</b>
- </li>
- {/if}
- {if !empty($info['transaction_info']['transaction_id'])}
- <li>
- <em>交易号:</em>
- <b>{$info['transaction_info']['transaction_id']}</b>
- </li>
- {/if}
- {if !empty($info['transaction_info']['transaction_initiation_date'])}
- <li>
- <em>交易创建日期:</em>
- <b>{$info['transaction_info']['transaction_initiation_date']}</b>
- </li>
- {/if}
- {if !empty($info['transaction_info']['transaction_updated_date'])}
- <li>
- <em>交易更新日期:</em>
- <b>{$info['transaction_info']['transaction_updated_date']}</b>
- </li>
- {/if}
- {if !empty($info['transaction_info']['transaction_amount'])}
- <li>
- <em>交易金额:</em>
- <b>{$info['transaction_info']['transaction_amount']['currency_code']}{$info['transaction_info']['transaction_amount']['value']}</b>
- </li>
- {/if}
- {if !empty($info['transaction_info']['fee_amount'])}
- <li>
- <em>手续费:</em>
- <b>{$info['transaction_info']['fee_amount']['currency_code']}{$info['transaction_info']['fee_amount']['value']}</b>
- </li>
- {/if}
- {if !empty($info['transaction_info']['insurance_amount'])}
- <li>
- <em>保险金额:</em>
- <b>{$info['transaction_info']['insurance_amount']['currency_code']}{$info['transaction_info']['insurance_amount']['value']}</b>
- </li>
- {/if}
- {if !empty($info['transaction_info']['shipping_amount'])}
- <li>
- <em>运费:</em>
- <b>{$info['transaction_info']['shipping_amount']['currency_code']}{$info['transaction_info']['shipping_amount']['value']}</b>
- </li>
- {/if}
- {if !empty($info['transaction_info']['transaction_note'])}
- <li>
- <em>备注:</em>
- <b>{$info['transaction_info']['transaction_note']}</b>
- </li>
- {/if}
- {/if}
- {if !empty($info['payer_info'])}
- <li>
- <em>account_id:</em>
- <b>{$info['payer_info']['account_id']}</b>
- </li>
- <li>
- <em>email_address:</em>
- <b>{$info['payer_info']['email_address']}</b>
- </li>
- <li>
- <em>phone_number:</em>
- <b>{$info['payer_info']['phone_number']['national_number']}</b>
- </li>
- <li>
- <em>payer_name:</em>
- <b>{$info['payer_info']['payer_name']['alternate_full_name']}</b>
- </li>
- {/if}
- {if !empty($info['shipping_info'])}
- {foreach $info['shipping_info']['address'] as $k=>$v}
- <li>
- <em>{$k}:</em>
- <b>{$v}</b>
- </li>
- {/foreach}
- {/if}
- </div>
- <div style="clear:both;"></div>
- </ul>
- <div class="need"><input type="hidden" name="id" value="{$fullorder['id']}" /><input type="hidden" name="cost" value="{$fullorder['cost']}" /></div>
- <input type="hidden" name="et" value="{isset($et) ?$et : '0'}" />
- <div class="button"><font class="fh">关 闭</font></div>
- </div>
- <div class="zm none"></div>
- <script type="text/javascript">var addedit="/fullorder/editoff/";var fh="/fullorder/data/";
- $(document).ready(function() {
- datasort();
- var index = $("select[name='printtype']").find("option:selected").index();
- if(index == 0)
- {
- var e = $("select[name=express]").find("option:selected").val();
- var c = $("select[name=country]").find("option:selected").val();
- $.ajax({
- url: "/fullorder/customs/",
- data: "e="+e+"&c="+c,
- type: "POST",
- dataType: "json",
- success: function(a) {
- if (a && a.success) {
- $("input[name=customs]").val(a.money);
- for(i=0;i<a.msg.length;i++)
- {
- $("select[name=productdescription]").append("<option value='"+a.msg[i]['id']+"'>"+a.msg[i]['title']+"</option>");
- }
- $(".productdescription").show();
- $(".customs").show();
- } else {
- $(".productdescription").hide();
- $(".customs").hide();
- }
- }
- });
-
- }else
- {
- $(".productdescription").hide();
- $(".customs").hide();
- }
- });
- function datasort() {
- var num = $('.packing .datatitle tr').children().length;
- $('.data tr td').css("width","5%");
- $(".data tr").each(function() {
- $(this).find('td:eq(0)').css("width","8%");
- $(this).find('td:eq(1)').css("width","8%");
- $(this).find('td:eq(3)').css("width","35%");
- });}
- </script>
- <script src="{$theme}js/fullorder-addedit.js?v=2018010190001"></script>
- {Template footer}
|