{extend name="default/base/base_seller" /} {block name="seller_main"}

### {$Think.lang.current_settlement}

{if $bill_info['ob_state'] == BILL_STATE_CREATE} {$Think.lang.current_settlement_correct} {elseif $bill_info['ob_state'] == BILL_STATE_SUCCESS /} {$Think.lang.print_statement} {/if}

- {$Think.lang.settlement_number}：{$bill_info.ob_no} {$bill_info.ob_startdate|date="Y-m-d",###} {$Think.lang.sellerbill_to} {$bill_info.ob_enddate|date="Y-m-d",###}
- {$Think.lang.chuzhang_time}：{$bill_info.ob_createdate|date="Y-m-d",###}
- {$Think.lang.current_receivables}：{$bill_info.ob_result_totals} = {$bill_info.ob_order_totals} ({$Think.lang.order_amount}) - {$bill_info.ob_commis_totals} ({$Think.lang.commission_amount}) - {$bill_info.ob_order_return_totals} ({$Think.lang.refund_amount}) + {$bill_info.ob_commis_return_totals} ({$Think.lang.return_commission}) - {$bill_info.ob_store_cost_totals} ({$Think.lang.cost_sales_promotion}) - {$bill_info.ob_inviter_totals} ({$Think.lang.distribution_commission})
- {$Think.lang.settlement_status}：{:get_bill_state($bill_info['ob_state'])}{if $bill_info['ob_state'] == BILL_STATE_SUCCESS}，{$Think.lang.settlement_date}：{$bill_info.ob_paydate|date="Y-m-d",###}{/if}

| {$Think.lang.refund_number} |  | {$Think.lang.refund_time} | – |

| {$Think.lang.refund_number} | {$Think.lang.order_number} | {$Think.lang.refund_amount} | {$Think.lang.return_commission} | {$Think.lang.sellerbill_type} | {$Think.lang.refund_time}
--- | --- | --- | --- | --- | --- | ---
{notempty name="refund_list"} {foreach name="refund_list" item="refund_info" }
| {$refund_info.refund_sn} | {$refund_info.order_sn} | {$refund_info.refund_amount} | {:ds_price_format($refund_info['commis_amount'])} | {:str_replace(array(1,2), array('{$Think.lang.sellerbill_refund} ','{$Think.lang.sellerbill_return}'),$refund_info['refund_type'])} | {$refund_info.admin_time|date="Y-m-d",###}
{/foreach} {else /}
{$Think.lang.no_record}
{/notempty}
{notempty name="refund_list"}
{$show_page}
{/notempty}

{/block}