show_cost_list.html 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {include file="public/header" /}
  2. <div class="page">
  3. <table class="search-form">
  4. <tbody>
  5. <tr><td>{$Think.lang.ds_store_name} - {$bill_info.ob_store_name}(ID:{$bill_info.ob_store_id}) {$bill_info.ob_no} {$Think.lang.bill_phase_numbers}&emsp;
  6. {if $bill_info.ob_state == $Think.BILL_STATE_STORE_COFIRM}
  7. <a class="btn btn-mini" href="javascript:ds_get_confirm('{$Think.lang.bill_verify_explanation}','{:url('Bill/bill_check',['ob_no'=>$Request.param.ob_no])}')"><span>{$Think.lang.bill_verify_explanation}</span></a>
  8. {elseif $bill_info.ob_state == $Think.BILL_STATE_SYSTEM_CHECK /}
  9. <a class="btn btn-mini" href="{:url('Bill/bill_pay',['ob_no'=>$Request.param.ob_no])}"><span>{$Think.lang.bill_order_state_paid}</span></a>
  10. {elseif $bill_info.ob_state == $Think.BILL_STATE_SUCCESS /}
  11. <a class="btn btn-mini" target="_blank" href="{:url('Bill/bill_print',['ob_no'=>$Request.param.ob_no])}"><span>{$Think.lang.ds_export}{$Think.lang.bill_print}</span></a>
  12. {/if}
  13. </td></tr>
  14. <tr><td>{$Think.lang.order_time_from}{$Think.lang.bill_print_odd_numbers}{$Think.lang.ds_colon}{$bill_info.ob_no}</td></tr>
  15. <tr><td>{$Think.lang.bill_start_end_date}{$Think.lang.ds_colon}{$bill_info.ob_startdate|date='Y-m-d'} &nbsp;{$Think.lang.bill_print_zhi}&nbsp; {$bill_info.ob_enddate|date='Y-m-d'}
  16. </td></tr><tr>
  17. <td>{$Think.lang.bill_out_date}{$Think.lang.ds_colon}{$bill_info.ob_createdate|date='Y-m-d'}</td></tr><tr>
  18. <td>{$Think.lang.bill_platform_pay}:{$bill_info.ob_result_totals} = {$bill_info.ob_order_totals} ({$Think.lang.order_price_from}) - {$bill_info.ob_commis_totals} ({$Think.lang.bill_print_commision}) - {$bill_info.ob_order_return_totals} ({$Think.lang.bill_refund_price}) + {$bill_info.ob_commis_return_totals} ({$Think.lang.bill_refund_commision}) - {$bill_info.ob_inviter_totals} ({$Think.lang.ob_inviter_totals}) + {$bill_info.ob_vr_order_totals} ({$Think.lang.bill_ob_vr_order_totals}) - {$bill_info.ob_vr_order_return_totals} ({$Think.lang.bill_ob_vr_order_return_totals}) - {$bill_info.ob_vr_commis_totals} ({$Think.lang.bill_ob_vr_commis_totals}) + {$bill_info.ob_vr_commis_return_totals} ({$Think.lang.bill_ob_vr_commis_return_totals}) - {$bill_info.ob_vr_inviter_totals} ({$Think.lang.bill_ob_vr_inviter_totals}) - {$bill_info.ob_store_cost_totals} ({$Think.lang.bill_print_store_promotion})</td>
  19. </tr>
  20. <tr><td>{$Think.lang.bill_print_state}:{:get_bill_state($bill_info['ob_state'])}
  21. </td></tr>
  22. {if $bill_info.ob_seller_content}
  23. <tr><td><b>{$Think.lang.ob_seller_content}:{$bill_info.ob_seller_content}</b>
  24. </td></tr>
  25. {/if}
  26. {if $bill_info.ob_admin_content}
  27. <tr><td><b>{$Think.lang.ob_admin_content}:{$bill_info.ob_admin_content}</b>
  28. </td></tr>
  29. {/if}
  30. </tbody>
  31. </table>
  32. <form method="get" action="" name="formSearch" id="formSearch">
  33. <div class="ds-search-form">
  34. <dl>
  35. <dt>{$Think.lang.bill_order_type}</dt>
  36. <dd>
  37. <input type="hidden" name="ob_no" value="{$bill_info.ob_no}" />
  38. <select name="query_type" class="querySelect">
  39. <option value="order" {if condition="$Request.get.query_type eq 'order'"}selected{/if}>{$Think.lang.bill_order_list}</option>
  40. <option value="vrorder" {if condition="$Request.param.query_type eq 'vrorder'"}selected{/if}>{$Think.lang.bill_vrorder_list}</option>
  41. <option value="cost" {if condition="$Request.get.query_type eq 'cost'"}selected{/if}>{$Think.lang.bill_store_money}</option>
  42. </select>
  43. </dd>
  44. </dl>
  45. <dl>
  46. <dt>{$Think.lang.bill_transaction_time}</dt>
  47. <dd><input class="txt date" type="text" value="{$Request.get.query_start_date}" id="query_start_date" name="query_start_date">
  48. ~
  49. <input class="txt date" type="text" value="{$Request.get.query_end_date}" id="query_end_date" name="query_end_date"/>
  50. </dd>
  51. </dl>
  52. <div class="btn_group">
  53. <a href="javascript:document.formSearch.submit();" class="btn " title="">{$Think.lang.ds_query}</a>
  54. </div>
  55. </div>
  56. </form>
  57. <table class="ds-default-table">
  58. <thead>
  59. <tr class="thead">
  60. <th class="align-center">{$Think.lang.ds_store}</th>
  61. <th class="align-center">{$Think.lang.bill_storecost_remark}</th>
  62. <th class="align-center">{$Think.lang.bill_storecost_price}</th>
  63. <th class="align-center">{$Think.lang.storecost_time}</th>
  64. </tr>
  65. </thead>
  66. <tbody>
  67. {notempty name="cost_list"}
  68. {foreach name="cost_list" item="cost_info" }
  69. <tr class="hover">
  70. <td class="align-center">{$store_info.store_name}</td>
  71. <td class="align-center">{$cost_info.storecost_remark}</td>
  72. <td class="align-center">{:ds_price_format($cost_info['storecost_price'])}</td>
  73. <td class="align-center">{$cost_info.storecost_time|date='Y-m-d'}</td>
  74. </tr>
  75. {/foreach}
  76. {else /}
  77. <tr class="no_data">
  78. <td colspan="15">{$Think.lang.ds_no_record}</td>
  79. </tr>
  80. {/notempty}
  81. </tbody>
  82. <tfoot>
  83. <tr class="tfoot">
  84. <td colspan="15" id="dataFuncs">{$show_page|raw}</td>
  85. </tr>
  86. </tfoot>
  87. </table>
  88. </div>
  89. <script type="text/javascript">
  90. $(function() {
  91. $('#query_start_date').datepicker({dateFormat: 'yy-mm-dd', minDate: "{$bill_info.ob_startdate|date='Y-m-d'}", maxDate: "{$bill_info.ob_enddate|date='Y-m-d'}"});
  92. $('#query_end_date').datepicker({dateFormat: 'yy-mm-dd', minDate: "{$bill_info.ob_startdate|date='Y-m-d'}", maxDate: "{$bill_info.ob_enddate|date='Y-m-d'}"});
  93. });
  94. </script>