{extend name="../../base/view/common/base" /} {block name="body"}
{eq name="$detail.invoice_type" value="0"}

Non-invoice Payment Details

{notempty name="$detail.remark"} {/notempty} {notempty name="$detail.file_ids"} {/notempty}
Advance Amount (CNY) {$detail.amount} Payer {$detail.subject}
Payee (Supplier) {$detail.supplier_name}
Remarks {$detail.remark}
Attachments
{volist name="$detail.file_array" id="vo"}
{:file_card($vo,'view')}
{/volist}
{else/}

Invoice Information

{notempty name="$detail.remark"} {/notempty} {notempty name="$detail.file_ids"} {/notempty} {notempty name="$detail.other_file_ids"} {/notempty}
Invoice Amount (CNY) {$detail.amount} Invoice Type {eq name="$detail.invoice_type" value="1"}VAT Special Invoice{/eq} {eq name="$detail.invoice_type" value="2"}Regular Invoice{/eq} {eq name="$detail.invoice_type" value="3"}Special Invoice{/eq}
Invoice Title {$detail.subject} Invoice Issuer (Supplier) {$detail.supplier_name}
Remarks {$detail.remark}
Attachments
{volist name="$detail.file_array" id="vo"}
{:file_card($vo,'view')}
{/volist}
Invoice No. {$detail.code} Issue Date {$detail.open_time|date='Y-m-d'}
Invoice Attachments
{volist name="$detail.other_file_array" id="vo"}
{:file_card($vo,'view')}
{/volist}
{/eq}

Payment Information

Payment Status {if condition="($detail.pay_status == 0)"} Unpaid {elseif condition="($detail.pay_status == 1)"} Partially paid {elseif condition="($detail.pay_status == 2)"} Paid in full {/if} Unpaid Amount (CNY) {$detail.not_pay} Paid Amount (CNY) {$detail.pay_amount}
Payment Records {empty name="$detail.payment"} {else/} {volist name="$detail.payment" id="vo"} {/volist} {/empty}
Payment Date Payment Amount (CNY) Remarks Recorded By Recorded At
No payment records
{$vo.pay_time | date='Y-m-d'} {$vo.amount} {$vo.remarks} {$vo.admin} {$vo.create_time | date='Y-m-d H:i:s'}
{/block} {block name="script"} {/block}