| 会计科目: |
<{if $history}>
<{if $diff_data.account}>
<{$diff_data.account.old_value}>
<{$diff_data.account.new_value}>
<{else}>
<{$account_info.account}>
<{/if}>
<{else}>
<{/if}>
|
| 客户: |
<{if $history}>
<{if $diff_data.customer}>
<{$diff_data.customer.old_value}>
<{$diff_data.customer.new_value}>
<{else}>
<{$account_info.customer}>
<{/if}>
<{else}>
会计科目 和 客户 至少填写一项
<{/if}>
|
| 科目描述: |
<{if $history}>
<{if $diff_data.description}>
<{$diff_data.description.old_value}>
<{$diff_data.description.new_value}>
<{else}>
<{$account_info.description}>
<{/if}>
<{else}>
<{/if}>
|
| *记账码: |
<{if $history}>
<{if $diff_data.postingkey}>
<{$diff_data.postingkey.old_value}>
<{$diff_data.postingkey.new_value}>
<{else}>
<{$account_info.postingkey}>
<{/if}>
<{else}>
<{/if}>
|
| 成本中心: |
<{if $history}>
<{if $diff_data.costcenter}>
<{$diff_data.costcenter.old_value}>
<{$diff_data.costcenter.new_value}>
<{else}>
<{$account_info.costcenter}>
<{/if}>
<{else}>
<{/if}>
|
| 原因代码: |
<{if $history}>
<{if $diff_data.reason_code}>
<{$diff_data.reason_code.old_value}>
<{$diff_data.reason_code.new_value}>
<{else}>
<{$account_info.reason_code}>
<{/if}>
<{else}>
<{/if}>
|
| 税率: |
<{if $history}>
<{if $diff_data.tax_rate}>
<{$diff_data.tax_rate.old_value}>
<{$diff_data.tax_rate.new_value}>
<{else}>
<{$account_info.tax_rate}>
<{/if}>
<{else}>
<{/if}>
|
| 税率会计科目: |
<{if $history}>
<{if $diff_data.tax_account}>
<{$diff_data.tax_account.old_value}>
<{$diff_data.tax_account.new_value}>
<{else}>
<{$account_info.tax_account}>
<{/if}>
<{else}>
如果有税率,此字段为必填
<{/if}>
|
<{if !in_array('platform_amount', $existing_categories) || !in_array('actually_amount', $existing_categories) || !in_array('refundplatform_amount', $existing_categories) || !in_array('refundactually_amount', $existing_categories)}>
| 应用场景: |
<{if $history}>
<{if $diff_data.account_category}>
<{$diff_data.account_category.old_value}>
<{$diff_data.account_category.new_value}>
<{else}>
<{if $account_info.account_category == 'platform_amount'}>平台承担
<{elseif $account_info.account_category == 'actually_amount'}>客户实付
<{elseif $account_info.account_category == 'refundplatform_amount'}>平台补贴退
<{elseif $account_info.account_category == 'refundactually_amount'}>客户应退
<{else}>未设置
<{/if}>
<{/if}>
<{else}>
每个应用场景只能设置一条会计科目
<{/if}>
|
<{/if}>