complain_complain.info.php 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <table class="table tb-type2 order mtw">
  2. <thead class="thead">
  3. <tr class="space">
  4. <th><?php echo $lang['complain_message'];?></th>
  5. </tr>
  6. </thead>
  7. <tbody>
  8. <tr>
  9. <th><?php echo $lang['complain_message'];?></th>
  10. </tr>
  11. <tr class="noborder hover">
  12. <td><ul>
  13. <li><strong><?php echo $lang['complain_state'];?>:</strong><b><?php echo $output['complain_info']['complain_state_text'];?></b></li>
  14. <li><strong><?php echo $lang['complain_subject_content'];?>:</strong><?php echo $output['complain_info']['complain_subject_content'];?></li>
  15. <li><strong><?php echo $lang['complain_accuser'];?>:</strong><?php echo $output['complain_info']['accuser_name'];?></li>
  16. <li><strong><?php echo $lang['complain_evidence'];?>:</strong>
  17. <?php
  18. if(empty($output['complain_info']['complain_pic1'])&&empty($output['complain_info']['complain_pic2'])&&empty($output['complain_info']['complain_pic3'])) {
  19. echo $lang['complain_pic_none'];
  20. }
  21. else {
  22. $pic_link = 'index.php?act=show_pics&type=complain&pics=';
  23. if(!empty($output['complain_info']['complain_pic1'])) {
  24. $pic_link .= $output['complain_info']['complain_pic1'].'|';
  25. }
  26. if(!empty($output['complain_info']['complain_pic2'])) {
  27. $pic_link .= $output['complain_info']['complain_pic2'].'|';
  28. }
  29. if(!empty($output['complain_info']['complain_pic3'])) {
  30. $pic_link .= $output['complain_info']['complain_pic3'].'|';
  31. }
  32. $pic_link = rtrim($pic_link,'|');
  33. ?>
  34. <a href="<?php echo $pic_link;?>" target="_blank"><?php echo $lang['complain_pic_view'];?></a>
  35. <?php } ?>
  36. </li>
  37. <li><strong><?php echo $lang['complain_datetime'];?>:</strong><?php echo date('Y-m-d H:i:s',$output['complain_info']['complain_datetime']);?></li>
  38. </ul></td>
  39. </tr>
  40. <tr>
  41. <th><?php echo $lang['complain_goods'];?></th>
  42. </tr>
  43. <tr class="noborder">
  44. <td><table class="table tb-type2 goods ">
  45. <tr>
  46. <th colspan="2"><?php echo $lang['complain_goods_name'];?></th>
  47. <th><?php echo $lang['complain_text_num'];?></th>
  48. <th><?php echo $lang['complain_text_price'];?></th>
  49. </tr>
  50. <?php foreach((array)$output['complain_goods_list'] as $complain_goods) { ?>
  51. <tr>
  52. <td width="65" align="center" valign="middle"><a style="text-decoration:none;" href="<?php echo urlShop('goods','index',array('goods_id'=> $complain_goods['goods_id']));?>" target="_blank">
  53. <img width="50" src="<?php echo cthumb($complain_goods['goods_image'], 60,$output['order_info']['store_id']);?>" />
  54. </a></td>
  55. <td class="intro">
  56. <p><a href="<?php echo urlShop('goods','index',array('goods_id'=> $complain_goods['goods_id']));?>" target="_blank"><?php echo $complain_goods['goods_name'];?> </a></p>
  57. <p><?php echo orderGoodsType($complain_goods['goods_type']); ?></p>
  58. </td>
  59. <td width="10%"><?php echo $complain_goods['goods_num'];?></td>
  60. <td width="10%"><?php echo $lang['currency'].$complain_goods['goods_price'];?></td>
  61. </tr>
  62. <?php } ?>
  63. </table></td>
  64. </tr>
  65. <tr>
  66. <th><?php echo $lang['complain_content'];?></th>
  67. </tr>
  68. <tr class="noborder">
  69. <td><div class="complain-intro" style=" color: #06C; border-color: #A7CAED; "><?php echo $output['complain_info']['complain_content'];?></div></td>
  70. </tr>
  71. </tbody>
  72. </table>
  73. <?php if(!empty($output['refund_list']) && is_array($output['refund_list'])) { ?>
  74. <table class="table tb-type2 order mtw">
  75. <thead class="thead">
  76. <tr class="space">
  77. <th>退款信息</th>
  78. </tr>
  79. </thead>
  80. <tbody>
  81. <tr>
  82. <td>
  83. <?php if($output['order_info']['refund_amount'] > 0) { ?>
  84. <p><?php echo $lang['refund_order_refund'];?>:<b><?php echo $lang['currency'].$output['order_info']['refund_amount'];?></b></p>
  85. <?php } ?>
  86. <p> 注:下表中订单商品退款在处理中的或已经确认,不能再次退款。</p>
  87. </td>
  88. </tr>
  89. <tr class="noborder">
  90. <td>
  91. <table class="table tb-type2 goods ">
  92. <tr>
  93. <th colspan="2"><?php echo $lang['complain_goods_name'];?></th>
  94. <th>退款金额</th>
  95. <th>实际支付额</th>
  96. <th>商家审核</th>
  97. <th>平台确认</th>
  98. <th>购买数量</th>
  99. <th><?php echo $lang['complain_text_price'];?></th>
  100. </tr>
  101. <?php foreach ($output['refund_list'] as $key => $val) { ?>
  102. <tr>
  103. <td width="65" align="center" valign="middle"><a style="text-decoration:none;" href="<?php echo urlShop('goods','index',array('goods_id'=> $val['goods_id']));?>" target="_blank">
  104. <img width="50" src="<?php echo thumb($val,60);?>" />
  105. </a></td>
  106. <td class="intro">
  107. <p><a href="<?php echo urlShop('goods','index',array('goods_id'=> $val['goods_id']));?>" target="_blank"><?php echo $val['goods_name'];?> </a></p>
  108. <p><?php echo orderGoodsType($val['goods_type']); ?></p>
  109. </td>
  110. <td width="10%"><?php echo $lang['currency'].$val['extend_refund']['refund_amount'];?></td>
  111. <td width="10%"><?php echo $lang['currency'].$val['goods_pay_price'];?></td>
  112. <td width="10%"><?php echo $output['state_array'][$val['extend_refund']['seller_state']];?></td>
  113. <td width="10%"><?php echo $val['extend_refund']['seller_state']==2 ? $output['admin_array'][$val['extend_refund']['refund_state']]:'无'; ?></td>
  114. <td width="10%"><?php echo $val['goods_num'];?></td>
  115. <td width="10%"><?php echo $lang['currency'].$val['goods_price'];?></td>
  116. </tr>
  117. <?php } ?>
  118. </table>
  119. </td>
  120. </tr>
  121. </tbody>
  122. </table>
  123. <?php } ?>