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

Commit df42cd7

Browse files
author
Sachin Maheshwari
committed
setting default value of 'has_global_ad' false
1 parent 1f6949a commit df42cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/paymentService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const paymentIdGen = new IDGenerator('PAYMENT_SEQ')
1414
// the insert statement of payment detail
1515
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) VALUES(?,?,?,?,?,?,?, CURRENT, CURRENT + INTERVAL (15) DAY(5) TO DAY,?,?, CURRENT,?,?,?,?)'
1616
// the insert statement of payment
17-
const INSERT_PAYMENT = 'INSERT INTO payment (payment_id, user_id, most_recent_detail_id, create_date, modify_date) VALUES(?,?,?, CURRENT, CURRENT)'
17+
const INSERT_PAYMENT = 'INSERT INTO payment (payment_id, user_id, most_recent_detail_id, create_date, modify_date, has_global_ad) VALUES(?,?,?, CURRENT, CURRENT, false)'
1818
// the insert statement of payment detail xref
1919
const INSERT_PAYMENT_DETAIL_XREF = 'INSERT INTO payment_detail_xref (payment_id, payment_detail_id) VALUES(?,?)'
2020

0 commit comments

Comments
 (0)