(node:2172188) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2172188) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2172188) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2172188) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2172188) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2172188) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2172188) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3386036) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3386036) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3386036) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3386036) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3386036) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3386036) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3386036) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2062503) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2062503) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2062503) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2062503) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2062503) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2062503) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2062503) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:959049) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:959049) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:959049) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:959049) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:959049) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:959049) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:959049) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1051540) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1051540) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1051540) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1051540) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1051540) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1051540) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1051540) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:977638) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:977638) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:977638) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:977638) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:977638) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:977638) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:977638) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1922105) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1922105) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1922105) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1922105) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1922105) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1922105) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1922105) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3651733) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3651733) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3651733) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3651733) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3651733) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3651733) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3651733) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:373164) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:373164) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:373164) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:373164) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:373164) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:373164) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:373164) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:398200) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:398200) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:398200) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:398200) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:398200) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:398200) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:398200) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:400904) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:400904) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:400904) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:400904) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:400904) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:400904) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:400904) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3060818) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3060818) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3060818) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3060818) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3060818) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3060818) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3060818) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:645890) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:645890) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:645890) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:645890) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:645890) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:645890) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:645890) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3323335) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3323335) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3323335) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3323335) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3323335) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3323335) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3323335) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:199211) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:199211) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:199211) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:199211) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:199211) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:199211) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:199211) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:687153) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:687153) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:687153) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:687153) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:687153) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:687153) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:687153) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:842847) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:842847) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:842847) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:842847) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:842847) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:842847) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:842847) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2563423) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2563423) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2563423) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2563423) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2563423) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2563423) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2563423) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:588652) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:588652) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:588652) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:588652) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:588652) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:588652) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:588652) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3746633) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3746633) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3746633) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3746633) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3746633) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3746633) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3746633) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3579867) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3579867) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3579867) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3579867) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3579867) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3579867) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3579867) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3594977) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3594977) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3594977) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3594977) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3594977) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3594977) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3594977) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1254305) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1254305) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1254305) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1254305) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1254305) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1254305) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1254305) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2896216) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2896216) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2896216) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2896216) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2896216) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2896216) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2896216) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4145698) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4145698) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4145698) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4145698) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4145698) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4145698) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4145698) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3425005) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3425005) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3425005) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3425005) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3425005) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3425005) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3425005) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1727998) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1727998) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1727998) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1727998) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1727998) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1727998) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1727998) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1439498) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1439498) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1439498) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1439498) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1439498) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1439498) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1439498) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2236969) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2236969) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2236969) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2236969) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2236969) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2236969) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2236969) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1070089) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1070089) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1070089) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1070089) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1070089) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1070089) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1070089) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1954098) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1954098) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1954098) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1954098) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1954098) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1954098) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1954098) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2333915) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2333915) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2333915) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2333915) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2333915) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2333915) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2333915) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1591062) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1591062) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1591062) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1591062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1591062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1591062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1591062) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:4063980) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4063980) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4063980) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4063980) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4063980) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4063980) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4063980) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1508547) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1508547) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1508547) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1508547) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1508547) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1508547) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1508547) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1772084) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1772084) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1772084) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1772084) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1772084) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1772084) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1772084) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1783118) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1783118) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1783118) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1783118) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1783118) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1783118) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1783118) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2637263) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2637263) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2637263) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2637263) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2637263) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2637263) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2637263) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:99379) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:99379) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:99379) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:99379) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:99379) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:99379) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:99379) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:367991) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:367991) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:367991) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:367991) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:367991) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:367991) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:367991) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:21185) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:21185) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:21185) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:21185) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:21185) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:21185) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:21185) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3118808) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3118808) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3118808) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3118808) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3118808) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3118808) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3118808) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:903796) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:903796) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:903796) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:903796) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:903796) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:903796) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:903796) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:45297) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:45297) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:45297) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:45297) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:45297) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:45297) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:45297) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3466986) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3466986) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3466986) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3466986) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3466986) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3466986) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3466986) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3526644) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3526644) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3526644) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3526644) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3526644) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3526644) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3526644) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3561330) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3561330) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3561330) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3561330) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3561330) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3561330) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3561330) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4099638) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4099638) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4099638) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4099638) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4099638) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4099638) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4099638) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2402797) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2402797) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2402797) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2402797) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2402797) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2402797) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2402797) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2224521) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2224521) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2224521) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2224521) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2224521) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2224521) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2224521) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2781068) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2781068) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2781068) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2781068) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2781068) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2781068) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2781068) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1712812) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1712812) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1712812) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1712812) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1712812) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1712812) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1712812) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2508234) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2508234) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2508234) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2508234) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2508234) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2508234) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2508234) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:695997) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:695997) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:695997) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:695997) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:695997) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:695997) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:695997) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1198164) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1198164) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1198164) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1198164) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1198164) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1198164) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1198164) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1199018) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1199018) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1199018) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1199018) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1199018) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1199018) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1199018) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1202607) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1202607) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1202607) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1202607) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1202607) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1202607) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1202607) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1206512) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1206512) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1206512) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1206512) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1206512) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1206512) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1206512) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1206563) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1206563) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1206563) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1206563) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1206563) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1206563) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1206563) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1024778) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1024778) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1024778) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1024778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1024778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1024778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1024778) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1358328) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1358328) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1358328) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1358328) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1358328) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1358328) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1358328) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:10813) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:10813) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:10813) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:10813) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10813) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10813) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10813) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2145492) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2145492) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2145492) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2145492) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2145492) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2145492) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2145492) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2143027) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2143027) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2143027) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2143027) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2143027) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2143027) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2143027) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1109503) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1109503) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1109503) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1109503) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1109503) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1109503) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1109503) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3626026) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3626026) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3626026) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3626026) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3626026) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3626026) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3626026) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:68062) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:68062) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:68062) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:68062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:68062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:68062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:68062) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2691568) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2691568) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2691568) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2691568) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2691568) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2691568) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2691568) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2779082) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2779082) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2779082) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2779082) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2779082) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2779082) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2779082) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1885173) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1885173) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1885173) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1885173) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1885173) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1885173) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1885173) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1891110) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1891110) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1891110) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1891110) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1891110) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1891110) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1891110) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2655151) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2655151) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2655151) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2655151) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2655151) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2655151) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2655151) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2658862) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2658862) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2658862) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2658862) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2658862) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2658862) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2658862) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3264264) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3264264) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3264264) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3264264) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3264264) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3264264) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3264264) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3565446) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3565446) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3565446) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3565446) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3565446) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3565446) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3565446) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3576476) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3576476) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3576476) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3576476) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3576476) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3576476) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3576476) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1359363) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1359363) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1359363) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1359363) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1359363) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1359363) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1359363) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:15832) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:15832) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:15832) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:15832) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:15832) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:15832) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:15832) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:239696) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:239696) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:239696) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:239696) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:239696) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:239696) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:239696) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2259906) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2259906) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2259906) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2259906) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2259906) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2259906) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2259906) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4163380) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4163380) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4163380) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4163380) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4163380) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4163380) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4163380) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3576045) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3576045) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3576045) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3576045) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3576045) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3576045) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3576045) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3578706) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3578706) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3578706) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3578706) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3578706) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3578706) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3578706) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3580737) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3580737) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3580737) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3580737) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3580737) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3580737) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3580737) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1914540) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1914540) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1914540) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1914540) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1914540) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1914540) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1914540) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1915404) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1915404) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1915404) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1915404) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1915404) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1915404) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1915404) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1916843) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1916843) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1916843) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1916843) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1916843) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1916843) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1916843) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2684847) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2684847) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2684847) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2684847) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2684847) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2684847) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2684847) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2686319) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2686319) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2686319) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2686319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2686319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2686319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2686319) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4017525) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4017525) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4017525) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4017525) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4017525) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4017525) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4017525) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3694700) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3694700) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3694700) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3694700) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3694700) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3694700) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3694700) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1885651) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1885651) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1885651) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1885651) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1885651) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1885651) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1885651) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1890042) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1890042) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1890042) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1890042) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1890042) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1890042) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1890042) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1891602) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1891602) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1891602) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1891602) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1891602) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1891602) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1891602) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2331904) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2331904) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2331904) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2331904) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2331904) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2331904) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2331904) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2540095) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2540095) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2540095) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2540095) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2540095) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2540095) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2540095) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1853730) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1853730) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1853730) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1853730) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1853730) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1853730) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1853730) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:15712) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:15712) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:15712) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:15712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:15712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:15712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:15712) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:91887) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:91887) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:91887) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:91887) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:91887) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:91887) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:91887) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:92561) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:92561) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:92561) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:92561) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:92561) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:92561) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:92561) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:4012524) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4012524) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4012524) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4012524) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4012524) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4012524) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4012524) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:4013820) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4013820) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4013820) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4013820) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4013820) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4013820) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4013820) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:57381) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:57381) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:57381) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:57381) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:57381) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:57381) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:57381) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3487372) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3487372) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3487372) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3487372) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3487372) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3487372) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3487372) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2287694) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2287694) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2287694) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2287694) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2287694) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2287694) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2287694) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1943570) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1943570) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1943570) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1943570) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1943570) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1943570) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1943570) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1944996) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1944996) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1944996) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1944996) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1944996) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1944996) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1944996) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1946573) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1946573) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1946573) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1946573) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1946573) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1946573) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1946573) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1953692) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1953692) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1953692) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1953692) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1953692) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1953692) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1953692) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1956875) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1956875) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1956875) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1956875) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1956875) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1956875) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1956875) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2294262) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2294262) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2294262) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2294262) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2294262) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2294262) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2294262) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:490334) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:490334) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:490334) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:490334) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:490334) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:490334) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:490334) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:491152) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:491152) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:491152) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:491152) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:491152) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:491152) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:491152) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2306) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2306) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2306) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2306) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2306) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2306) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2306) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:796741) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:796741) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:796741) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:796741) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:796741) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:796741) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:796741) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3536832) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3536832) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3536832) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3536832) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3536832) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3536832) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3536832) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3538676) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3538676) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3538676) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3538676) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3538676) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3538676) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3538676) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2728859) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2728859) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2728859) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2728859) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2728859) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2728859) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2728859) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2729555) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2729555) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2729555) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2729555) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2729555) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2729555) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2729555) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2211025) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2211025) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2211025) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2211025) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2211025) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2211025) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2211025) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2211837) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2211837) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2211837) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2211837) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2211837) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2211837) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2211837) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2212582) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2212582) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2212582) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2212582) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2212582) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2212582) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2212582) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2217049) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2217049) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2217049) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2217049) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2217049) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2217049) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2217049) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:912712) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:912712) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:912712) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:912712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:912712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:912712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:912712) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1096911) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1096911) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1096911) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1096911) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1096911) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1096911) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1096911) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:214107) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:214107) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:214107) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:214107) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:214107) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:214107) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:214107) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1967332) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1967332) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1967332) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1967332) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1967332) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1967332) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1967332) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:8032) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:8032) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:8032) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:8032) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8032) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8032) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8032) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3720005) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3720005) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3720005) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3720005) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3720005) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3720005) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3720005) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1067835) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1067835) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1067835) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1067835) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1067835) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1067835) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1067835) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1458259) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1458259) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1458259) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1458259) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1458259) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1458259) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1458259) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3946182) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3946182) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3946182) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3946182) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3946182) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3946182) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3946182) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3948760) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3948760) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3948760) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3948760) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3948760) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3948760) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3948760) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3949930) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3949930) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3949930) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3949930) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3949930) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3949930) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3949930) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3605136) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3605136) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3605136) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3605136) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3605136) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3605136) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3605136) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3690014) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3690014) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3690014) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3690014) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3690014) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3690014) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3690014) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1797993) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1797993) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1797993) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1797993) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1797993) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1797993) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1797993) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2289169) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2289169) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2289169) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2289169) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2289169) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2289169) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2289169) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2291679) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2291679) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2291679) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2291679) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2291679) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2291679) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2291679) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2328706) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2328706) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2328706) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2328706) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2328706) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2328706) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2328706) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1366799) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1366799) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1366799) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1366799) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1366799) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1366799) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1366799) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1106398) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1106398) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1106398) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1106398) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1106398) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1106398) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1106398) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1169686) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1169686) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1169686) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1169686) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1169686) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1169686) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1169686) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4032545) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4032545) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4032545) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4032545) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4032545) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4032545) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4032545) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2640022) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2640022) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2640022) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2640022) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2640022) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2640022) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2640022) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1265663) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1265663) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1265663) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1265663) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1265663) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1265663) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1265663) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1583448) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1583448) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1583448) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1583448) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1583448) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1583448) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1583448) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:399226) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:399226) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:399226) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:399226) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:399226) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:399226) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:399226) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3600862) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3600862) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3600862) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3600862) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3600862) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3600862) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3600862) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3736029) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3736029) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3736029) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3736029) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3736029) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3736029) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3736029) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3786307) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3786307) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3786307) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3786307) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3786307) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3786307) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3786307) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2911180) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2911180) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2911180) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2911180) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2911180) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2911180) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2911180) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:565341) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:565341) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:565341) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:565341) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:565341) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:565341) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:565341) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2140544) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2140544) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2140544) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2140544) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2140544) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2140544) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2140544) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:4009231) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4009231) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4009231) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4009231) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4009231) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4009231) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4009231) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3068727) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3068727) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3068727) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3068727) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3068727) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3068727) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3068727) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1280427) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1280427) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1280427) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1280427) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1280427) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1280427) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1280427) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
/opt/alt/alt-nodejs16/root/usr/bin/node: /opt/alt/alt-nodejs16/root/usr/lib64/libcrypto.so.1.1: version `OPENSSL_1_1_1e' not found (required by /opt/alt/alt-nodejs16/root/usr/lib64/libnode.so.93)
(node:3046702) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3046702) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3046702) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3046702) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3046702) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3046702) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3046702) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3046735) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3046735) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3046735) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3046735) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3046735) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3046735) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3046735) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:3083824) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3083824) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3083824) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3083824) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3083824) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3083824) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3083824) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:361903) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:361903) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:361903) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:361903) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:361903) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:361903) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:361903) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:686435) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:686435) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:686435) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:686435) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:686435) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:686435) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:686435) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2177730) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2177730) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2177730) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2177730) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2177730) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2177730) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2177730) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:3178074) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3178074) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3178074) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3178074) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3178074) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3178074) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3178074) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:3278507) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3278507) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3278507) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3278507) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3278507) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3278507) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3278507) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2009233) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2009233) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2009233) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2009233) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2009233) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2009233) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2009233) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1672351) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1672351) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1672351) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1672351) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1672351) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1672351) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1672351) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:3525560) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3525560) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3525560) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3525560) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3525560) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3525560) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3525560) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:409226) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:409226) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:409226) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:409226) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:409226) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:409226) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:409226) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2482513) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2482513) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2482513) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2482513) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2482513) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2482513) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2482513) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:2669180) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2669180) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2669180) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2669180) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2669180) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2669180) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2669180) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:858790) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:858790) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:858790) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:858790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:858790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:858790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:858790) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:2554741) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2554741) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2554741) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2554741) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2554741) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2554741) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2554741) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3104078) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3104078) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3104078) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3104078) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3104078) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3104078) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3104078) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:509974) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:509974) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:509974) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:509974) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:509974) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:509974) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:509974) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:224812) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:224812) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:224812) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:224812) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:224812) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:224812) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:224812) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2576642) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2576642) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2576642) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2576642) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2576642) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2576642) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2576642) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:2582455) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2582455) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2582455) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2582455) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2582455) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2582455) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2582455) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:2588155) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2588155) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2588155) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2588155) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2588155) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2588155) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2588155) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:2624565) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2624565) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2624565) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2624565) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2624565) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2624565) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2624565) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:2917334) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2917334) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2917334) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2917334) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2917334) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2917334) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2917334) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2984519) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2984519) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2984519) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2984519) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2984519) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2984519) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2984519) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:2301785) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2301785) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2301785) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2301785) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2301785) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2301785) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2301785) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2323211) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2323211) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2323211) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2323211) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2323211) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2323211) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2323211) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:2533885) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2533885) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2533885) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2533885) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2533885) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2533885) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2533885) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2374445) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2374445) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2374445) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2374445) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2374445) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2374445) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2374445) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:3636844) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3636844) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3636844) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3636844) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3636844) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3636844) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3636844) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:428160) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:428160) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:428160) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:428160) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:428160) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:428160) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:428160) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1449481) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1449481) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1449481) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1449481) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1449481) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1449481) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1449481) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:1843590) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1843590) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1843590) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1843590) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1843590) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1843590) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1843590) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2779321) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2779321) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2779321) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2779321) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2779321) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2779321) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2779321) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1004485) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1004485) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1004485) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1004485) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1004485) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1004485) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1004485) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3248020) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3248020) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3248020) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3248020) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3248020) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3248020) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3248020) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3396883) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3396883) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3396883) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3396883) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3396883) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3396883) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3396883) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:655:11)
    at ServerResponse.header (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjenterp/nodevenv/api.hjenterprises.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjenterp/api.hjenterprises.lk/app/controllers/payment.js:19:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.20.8
(node:1717629) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1717629) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1717629) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1717629) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1717629) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1717629) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1717629) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
