{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_inviter_totals} ({$Think.lang.distribution_commission}) + {$bill_info.ob_vr_order_totals} ({$Think.lang.ob_vr_order_totals}) - {$bill_info.ob_vr_order_return_totals} ({$Think.lang.ob_vr_order_return_totals}) - {$bill_info.ob_vr_commis_totals} ({$Think.lang.ob_vr_commis_totals}) + {$bill_info.ob_vr_commis_return_totals} ({$Think.lang.ob_vr_commis_return_totals}) - {$bill_info.ob_vr_inviter_totals} ({$Think.lang.ob_vr_inviter_totals}) - {$bill_info.ob_store_cost_totals} ({$Think.lang.promotional_expenses})
- {$Think.lang.settlement_status}：{:get_bill_state($bill_info['ob_state'])}
{if $bill_info.ob_seller_content}
- {$Think.lang.ob_seller_content}：{$bill_info.ob_seller_content}
{/if} {if $bill_info.ob_admin_content}
- {$Think.lang.ob_admin_content}：{$bill_info.ob_admin_content}
{/if}

| {$Think.lang.order_number} |  | {$Think.lang.transaction_time} | – |

| {$Think.lang.order_number} | {$Think.lang.transaction_time} | {$Think.lang.bill_calcu_time} | {$Think.lang.order_amount} | {$Think.lang.refund_amount} | {$Think.lang.sellerbill_freight} | {$Think.lang.commission_amount} | {$Think.lang.return_commission} | {$Think.lang.distribution_commission} | {$Think.lang.ds_handle}
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{notempty name="order_list"} {foreach name="order_list" item="order_info" }
| {$order_info.order_sn} | {$order_info.finnshed_time|date="Y-m-d"} | {$order_info.delay_time|date="Y-m-d"} | {$order_info.order_amount} | {$order_info.refund_amount} | {$order_info.shipping_fee} | {$commis_list[$order_info.order_id]['commis_amount']|default='0.00'} | {if $order_info.refund_state==2}{$commis_list[$order_info.order_id]['commis_amount']|default='0.00'}{else}{$commis_list[$order_info.order_id]['return_commis_amount']|default='0.00'}{/if} | {$commis_list[$order_info.order_id]['inviter_amount']|default='0.00'} | {$Think.lang.ds_view}
{/foreach} {else /}
{$Think.lang.no_record}
{/notempty}
{notempty name="order_list"}
{$show_page|raw}
{/notempty}

{/block}