index.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {extend name="default/base/base_member" /}
  2. {block name="member_main"}
  3. <table class="dsm-default-table">
  4. <thead>
  5. <tr>
  6. <th class="w80">{$Think.lang.invoice_state}</th>
  7. <th class="w150">{$Think.lang.invoice_title}</th>
  8. <th class="tl">{$Think.lang.invoice_code}</th>
  9. <th class="w110">{$Think.lang.ds_handle}</th>
  10. </tr>
  11. </thead>
  12. <tbody>
  13. {notempty name="invoice_list"}
  14. {foreach name="invoice_list" item="invoice"}
  15. <tr class="bd-line">
  16. <td>{$invoice.invoice_state}</td>
  17. <td>{if $invoice.invoice_state==1}{$invoice.invoice_title}{else}{$invoice.invoice_company}{/if}</td>
  18. <td>{if $invoice.invoice_state==1}{$invoice.invoice_code}{else}{$invoice.invoice_company_code}{/if}</td>
  19. <td class="dsm-table-handle">
  20. <span>
  21. <a href="{:url('Memberinvoice/edit',['invoice_id'=>$invoice.invoice_id])}" class="btn-blue"><i class="iconfont">&#xe731;</i><p>{$Think.lang.ds_edit}</p></a>
  22. </span>
  23. <span>
  24. <a href="javascript:void(0)" onclick="ds_ajaxget_confirm('{:url('Memberinvoice/drop',['invoice_id'=>$invoice.invoice_id])}','{$Think.lang.ds_ensure_del}');" class="btn-red" ><i class="iconfont">&#xe725;</i>
  25. <p>{$Think.lang.ds_delete}</p>
  26. </a>
  27. </span>
  28. </td>
  29. </tr>
  30. {/foreach}
  31. {else}
  32. <tr>
  33. <td colspan="4" class="norecord"><div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span></div></td>
  34. </tr>
  35. {/notempty}
  36. </tbody>
  37. </table>
  38. {/block}