Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 66fca05

Browse files
author
James Cori
committed
Merge branch 'develop'
2 parents 0fd6000 + eefae08 commit 66fca05

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/services/paymentService.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ const paymentDetailIdGen = new IDGenerator('PAYMENT_DETAIL_SEQ')
1313
const paymentIdGen = new IDGenerator('PAYMENT_SEQ')
1414

1515
// the insert statement of payment detail
16-
const INSERT_PAYMENT_DETAIL = 'INSERT INTO payment_detail (payment_detail_id, net_amount, gross_amount, payment_status_id, modification_rationale_id, payment_desc, payment_type_id, date_modified, date_due, payment_method_id, component_project_id, create_date, charity_ind, total_amount, installment_number, create_user, jira_issue_id) VALUES(?,?,?,?,?,?,?, CURRENT, CURRENT + INTERVAL (15) DAY(5) TO DAY,?,?, CURRENT,?,?,?,?,?)'
16+
const INSERT_PAYMENT_DETAIL = `INSERT INTO payment_detail (
17+
payment_detail_id, net_amount, gross_amount, payment_status_id, modification_rationale_id,
18+
payment_desc, payment_type_id, date_modified, date_due, payment_method_id, component_project_id,
19+
create_date, charity_ind, total_amount, installment_number, create_user,
20+
jira_issue_id) VALUES(?,?,?,?,?,?,?, CURRENT, EXTEND(CURRENT + INTERVAL (15) DAY(5) TO DAY, YEAR TO DAY),?,?, CURRENT,?,?,?,?,?)`
1721
// the insert statement of payment
1822
const INSERT_PAYMENT = 'INSERT INTO payment (payment_id, user_id, most_recent_detail_id, create_date, modify_date, has_global_ad) VALUES(?,?,?, CURRENT, CURRENT, "f")'
1923
// the insert statement of payment detail xref

0 commit comments

Comments
 (0)