Commit 72eb9d11 authored by 38823's avatar 38823

个别承租人要求发票项目名称及备注修改

parent c3faf3c8
...@@ -101,8 +101,18 @@ ...@@ -101,8 +101,18 @@
(select i.description (select i.description
from hls_cashflow_item i from hls_cashflow_item i
where i.cf_item = cf.cf_item) as cf_item_desc, where i.cf_item = cf.cf_item) as cf_item_desc,
decode(con.contract_number,'HLL23120001','租赁费',decode(con.division,95,'*经营租赁*'||'租赁费'||'('||to_char(cf.due_date,'MM')||'月'||')',decode(t.cf_item,250,'融资租赁挖掘机','融资租赁费'))) as product_name, decode(t1.bp_name,
decode(con.contract_number,'HLL23120001','租赁费',decode(con.division,95,'*经营租赁*'||'租赁费'||'('||to_char(cf.due_date,'MM')||'月'||')',decode(t.cf_item,250,'融资租赁挖掘机','融资租赁费'))) as product_name_desc, '盐城欧堡利亚城市建设股份有限公司',
'金融服务*融资性售后回租利息',
'上海松投实业有限公司',
'金融服务*融资性售后回租利息',
decode(con.contract_number,'HLL23120001','租赁费',decode(con.division,95,'*经营租赁*'||'租赁费'||'('||to_char(cf.due_date,'MM')||'月'||')',decode(t.cf_item,250,'融资租赁挖掘机','融资租赁费')))) as product_name,
decode(t1.bp_name,
'盐城欧堡利亚城市建设股份有限公司',
'金融服务*融资性售后回租利息',
'上海松投实业有限公司',
'金融服务*融资性售后回租利息',
decode(con.contract_number,'HLL23120001','租赁费',decode(con.division,95,'*经营租赁*'||'租赁费'||'('||to_char(cf.due_date,'MM')||'月'||')',decode(t.cf_item,250,'融资租赁挖掘机','融资租赁费')))) as product_name_desc,
con.contract_status contract_status, con.contract_status contract_status,
cf.cf_status cf_status, cf.cf_status cf_status,
t.invoice_kind_type, t.invoice_kind_type,
......
...@@ -98,7 +98,19 @@ ...@@ -98,7 +98,19 @@
t.cf_item, t.cf_item,
t.tax_amount, t.tax_amount,
'违约金' cf_item_desc, '违约金' cf_item_desc,
decode(con.division,95,'*经营租赁*'||'租赁费'||'('||to_char((SELECT cf.transaction_date FROM hls_journal_detail cf WHERE cf.journal_line_id = t.journal_line_id),'MM')||'月'||')','融资租赁费') as product_name, decode(t1.bp_name,
'盐城欧堡利亚城市建设股份有限公司',
'金融服务*融资性售后回租利息',
'上海松投实业有限公司',
'金融服务*融资性售后回租利息',
decode(con.division,
95,
'*经营租赁*' || '租赁费' || '(' ||
to_char((SELECT cf.transaction_date
FROM hls_journal_detail cf
WHERE cf.journal_line_id = t.journal_line_id),
'MM') || '月' || ')',
'融资租赁费')) as product_name,
decode(con.division,95,'高空作业平台','') as pur_model, decode(con.division,95,'高空作业平台','') as pur_model,
decode(con.division,95,'台','') as pur_unit, decode(con.division,95,'台','') as pur_unit,
con.business_type, con.business_type,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment