package html
const FinancialFormApply = `
{{ if eq .Type "financialFormApply" }}
序号: {{ .ID }};
申请人: {{ .SubmitterName }};
申请类型: {{ .TypeName }};
付款公司别: {{ .FinancialForm.PaymentCompany }};
经办部门: {{ .FinancialForm.TransactionDepartment }};
收款人全称: {{ .FinancialForm.Payee }};
收款人开户行: {{ .FinancialForm.BeneficiaryBank }};
收款人账号: {{ .FinancialForm.BankNo }};
费用说明:
{{ range $index, $item := .FinancialForm.CostInfo }}
费用{{ $index }}说明 - 费用单价: {{ $item.UnitPrice }};
费用{{ $index }}说明 - 费用单位: {{ $item.CostUnit }};
费用{{ $index }}说明 - 费用数量: {{ $item.CostNum }};
费用{{ $index }}说明 - 费用总额: {{ $item.TotalPrice }};
费用{{ $index }}说明 - 使用部门: {{ $item.UsedDepartment }};
费用{{ $index }}说明 - 付款方式: {{ $.FinancialForm.PaymentMethod }};
{{ end }}
发票信息:
{{ range $index, $item := .FinancialForm.InvoiceInfo }}
发票信息{{ $index }} - 发票日期: {{ $item.InvoiceDate }};
发票信息{{ $index }} - 发票号码(电子发票需提供): {{ $item.InvoiceNo }};
发票信息{{ $index }} - 发票供应商名称: {{ $item.InvoiceProvider }};
发票信息{{ $index }} - 发票或付款金额: {{ $item.Amount }};
发票信息{{ $index }} - 费用用途: {{ $item.UseTo }};
发票信息{{ $index }} - 申请人: {{ $item.Applicant }};
发票信息{{ $index }} - 付款方式: {{ $item.PaymentMethod }};
发票信息{{ $index }} - 付款或报销对象: {{ $item.PaymentObj }};
发票信息{{ $index }} - 发票类型: {{ $item.InvoiceType }};
发票信息{{ $index }} - 备注: {{ $item.Notes }};
{{ end }}
具体内容: {{ .Content }};
{{ end }}
`