(node:2550043) [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:2550043) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2550043) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2550043) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2550043) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2550043) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2550043) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2608363) [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:2608363) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2608363) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2608363) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2608363) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2608363) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2608363) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4193945) [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:4193945) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4193945) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4193945) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4193945) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4193945) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4193945) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:109647) [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:109647) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:109647) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:109647) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:109647) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:109647) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:109647) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3416255) [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:3416255) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3416255) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3416255) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3416255) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3416255) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3416255) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2016391) [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:2016391) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2016391) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2016391) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2016391) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2016391) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2016391) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2865709) [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:2865709) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2865709) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2865709) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2865709) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2865709) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2865709) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2904116) [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:2904116) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2904116) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2904116) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2904116) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2904116) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2904116) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3444531) [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:3444531) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3444531) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3444531) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3444531) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3444531) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3444531) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3560855) [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:3560855) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3560855) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3560855) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3560855) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3560855) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3560855) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:332948) [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:332948) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:332948) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:332948) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:332948) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:332948) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:332948) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1873674) [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:1873674) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1873674) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1873674) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1873674) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1873674) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1873674) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:993358) [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:993358) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:993358) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:993358) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:993358) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:993358) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:993358) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2123879) [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:2123879) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2123879) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2123879) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2123879) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2123879) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2123879) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2697727) [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:2697727) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2697727) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2697727) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2697727) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2697727) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2697727) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:252561) [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:252561) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:252561) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:252561) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:252561) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:252561) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:252561) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2750351) [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:2750351) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2750351) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2750351) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2750351) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2750351) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2750351) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2893632) [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:2893632) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2893632) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2893632) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2893632) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2893632) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2893632) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3921930) [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:3921930) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3921930) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3921930) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3921930) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3921930) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3921930) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2344574) [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:2344574) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2344574) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2344574) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2344574) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2344574) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2344574) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1147003) [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:1147003) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1147003) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1147003) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1147003) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1147003) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1147003) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2185661) [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:2185661) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2185661) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2185661) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2185661) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2185661) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2185661) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2985772) [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:2985772) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2985772) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2985772) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2985772) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2985772) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2985772) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:32129) [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:32129) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:32129) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:32129) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:32129) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:32129) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:32129) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3124171) [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:3124171) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3124171) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3124171) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3124171) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3124171) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3124171) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1660992) [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:1660992) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1660992) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1660992) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1660992) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1660992) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1660992) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1757280) [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:1757280) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1757280) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1757280) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1757280) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1757280) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1757280) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2953162) [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:2953162) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2953162) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2953162) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2953162) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2953162) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2953162) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3744051) [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:3744051) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3744051) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3744051) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3744051) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3744051) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3744051) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3871430) [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:3871430) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3871430) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3871430) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3871430) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3871430) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3871430) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:568482) [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:568482) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:568482) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:568482) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:568482) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:568482) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:568482) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1775077) [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:1775077) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1775077) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1775077) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1775077) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1775077) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1775077) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3417661) [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:3417661) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3417661) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3417661) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3417661) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3417661) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3417661) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3499631) [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:3499631) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3499631) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3499631) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3499631) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3499631) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3499631) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:675842) [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:675842) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:675842) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:675842) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:675842) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:675842) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:675842) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:675870) [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:675870) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:675870) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:675870) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:675870) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:675870) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:675870) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:367577) [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:367577) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:367577) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:367577) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:367577) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:367577) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:367577) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:394699) [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:394699) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:394699) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:394699) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:394699) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:394699) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:394699) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3814472) [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:3814472) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3814472) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3814472) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3814472) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3814472) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3814472) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:336600) [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:336600) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:336600) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:336600) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:336600) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:336600) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:336600) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4127519) [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:4127519) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4127519) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4127519) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4127519) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4127519) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4127519) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3431058) [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:3431058) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3431058) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3431058) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3431058) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3431058) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3431058) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:10003) [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:10003) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:10003) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:10003) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10003) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10003) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10003) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:214650) [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:214650) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:214650) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:214650) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:214650) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:214650) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:214650) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3595702) [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:3595702) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3595702) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3595702) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3595702) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3595702) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3595702) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3750436) [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:3750436) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3750436) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3750436) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3750436) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3750436) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3750436) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1208098) [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:1208098) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1208098) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1208098) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1208098) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1208098) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1208098) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1558081) [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:1558081) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1558081) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1558081) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1558081) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1558081) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1558081) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:680554) [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:680554) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:680554) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:680554) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:680554) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:680554) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:680554) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2552406) [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:2552406) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2552406) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2552406) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2552406) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2552406) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2552406) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:200129) [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:200129) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:200129) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:200129) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:200129) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:200129) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:200129) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:224516) [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:224516) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:224516) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:224516) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:224516) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:224516) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:224516) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3264964) [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:3264964) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3264964) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3264964) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3264964) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3264964) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3264964) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3267876) [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:3267876) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3267876) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3267876) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3267876) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3267876) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3267876) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3516987) [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:3516987) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3516987) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3516987) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3516987) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3516987) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3516987) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:463076) [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:463076) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:463076) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:463076) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:463076) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:463076) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:463076) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:445094) [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:445094) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:445094) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:445094) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:445094) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:445094) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:445094) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:684090) [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:684090) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:684090) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:684090) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:684090) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:684090) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:684090) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1032450) [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:1032450) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1032450) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1032450) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1032450) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1032450) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1032450) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:532395) [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:532395) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:532395) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:532395) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:532395) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:532395) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:532395) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:789370) [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:789370) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:789370) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:789370) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:789370) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:789370) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:789370) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1838484) [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:1838484) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1838484) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1838484) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1838484) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1838484) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1838484) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4013786) [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:4013786) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4013786) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4013786) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4013786) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4013786) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4013786) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:4020101) [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:4020101) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4020101) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4020101) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4020101) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4020101) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4020101) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4110767) [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:4110767) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4110767) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4110767) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4110767) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4110767) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4110767) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:81410) [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:81410) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:81410) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:81410) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:81410) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:81410) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:81410) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:982024) [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:982024) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:982024) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:982024) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:982024) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:982024) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:982024) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3109134) [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:3109134) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3109134) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3109134) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3109134) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3109134) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3109134) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:495538) [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:495538) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:495538) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:495538) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:495538) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:495538) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:495538) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:509393) [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:509393) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:509393) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:509393) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:509393) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:509393) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:509393) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:653089) [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:653089) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:653089) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:653089) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:653089) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:653089) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:653089) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1962618) [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:1962618) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1962618) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1962618) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1962618) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1962618) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1962618) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4012368) [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:4012368) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4012368) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4012368) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4012368) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4012368) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4012368) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4130121) [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:4130121) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4130121) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4130121) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4130121) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4130121) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4130121) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:431892) [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:431892) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:431892) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:431892) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:431892) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:431892) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:431892) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3876906) [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:3876906) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3876906) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3876906) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3876906) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3876906) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3876906) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3936689) [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:3936689) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3936689) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3936689) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3936689) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3936689) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3936689) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2513508) [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:2513508) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2513508) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2513508) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2513508) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2513508) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2513508) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:595855) [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:595855) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:595855) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:595855) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:595855) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:595855) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:595855) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:742617) [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:742617) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:742617) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:742617) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:742617) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:742617) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:742617) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3894656) [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:3894656) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3894656) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3894656) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3894656) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3894656) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3894656) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:4046327) [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:4046327) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4046327) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4046327) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4046327) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4046327) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4046327) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2207752) [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:2207752) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2207752) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2207752) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2207752) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2207752) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2207752) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2208767) [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:2208767) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2208767) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2208767) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2208767) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2208767) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2208767) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2361770) [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:2361770) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2361770) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2361770) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2361770) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2361770) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2361770) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2363690) [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:2363690) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2363690) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2363690) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2363690) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2363690) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2363690) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:519950) [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:519950) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:519950) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:519950) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:519950) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:519950) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:519950) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1036696) [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:1036696) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1036696) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1036696) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1036696) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1036696) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1036696) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:721217) [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:721217) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:721217) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:721217) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:721217) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:721217) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:721217) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1821483) [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:1821483) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1821483) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1821483) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1821483) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1821483) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1821483) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3185926) [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:3185926) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3185926) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3185926) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3185926) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3185926) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3185926) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1538971) [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:1538971) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1538971) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1538971) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1538971) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1538971) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1538971) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4789) [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:4789) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4789) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4789) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4789) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4789) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4789) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:68980) [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:68980) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:68980) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:68980) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:68980) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:68980) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:68980) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1591224) [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:1591224) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1591224) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1591224) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1591224) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1591224) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1591224) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1898125) [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:1898125) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1898125) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1898125) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1898125) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1898125) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1898125) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:795260) [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:795260) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:795260) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:795260) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:795260) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:795260) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:795260) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:305657) [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:305657) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:305657) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:305657) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:305657) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:305657) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:305657) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:522346) [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:522346) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:522346) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:522346) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:522346) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:522346) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:522346) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1298620) [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:1298620) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1298620) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1298620) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1298620) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1298620) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1298620) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4163050) [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:4163050) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4163050) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4163050) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4163050) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4163050) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4163050) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:192286) [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:192286) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:192286) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:192286) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:192286) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:192286) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:192286) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1134726) [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:1134726) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1134726) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1134726) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1134726) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1134726) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1134726) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1158129) [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:1158129) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1158129) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1158129) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1158129) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1158129) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1158129) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1447633) [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:1447633) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1447633) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1447633) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1447633) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1447633) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1447633) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1448225) [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:1448225) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1448225) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1448225) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1448225) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1448225) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1448225) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2783400) [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:2783400) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2783400) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2783400) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2783400) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2783400) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2783400) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:114093) [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:114093) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:114093) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:114093) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:114093) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:114093) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:114093) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:74599) [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:74599) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:74599) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:74599) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:74599) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:74599) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:74599) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2754040) [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:2754040) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2754040) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2754040) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2754040) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2754040) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2754040) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3561496) [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:3561496) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3561496) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3561496) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3561496) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3561496) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3561496) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2700327) [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:2700327) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2700327) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2700327) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2700327) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2700327) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2700327) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3094779) [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:3094779) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3094779) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3094779) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3094779) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3094779) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3094779) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3890640) [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:3890640) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3890640) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3890640) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3890640) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3890640) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3890640) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:423673) [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:423673) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:423673) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:423673) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:423673) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:423673) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:423673) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1334366) [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:1334366) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1334366) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1334366) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1334366) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1334366) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1334366) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3150920) [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:3150920) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3150920) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3150920) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3150920) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3150920) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3150920) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3259225) [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:3259225) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3259225) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3259225) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3259225) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3259225) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3259225) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2943252) [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:2943252) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2943252) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2943252) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2943252) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2943252) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2943252) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2272814) [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:2272814) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2272814) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2272814) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2272814) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2272814) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2272814) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3583963) [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:3583963) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3583963) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3583963) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3583963) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3583963) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3583963) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3911801) [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:3911801) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3911801) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3911801) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3911801) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3911801) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3911801) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3768644) [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:3768644) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3768644) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3768644) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3768644) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3768644) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3768644) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1530336) [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:1530336) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1530336) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1530336) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1530336) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1530336) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1530336) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1169808) [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:1169808) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1169808) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1169808) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1169808) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1169808) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1169808) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1338794) [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:1338794) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1338794) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1338794) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1338794) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1338794) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1338794) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1162612) [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:1162612) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1162612) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1162612) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1162612) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1162612) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1162612) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:808805) [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:808805) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:808805) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:808805) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:808805) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:808805) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:808805) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1968978) [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:1968978) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1968978) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1968978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1968978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1968978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1968978) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3547613) [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:3547613) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3547613) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3547613) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3547613) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3547613) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3547613) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1672440) [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:1672440) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1672440) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1672440) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1672440) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1672440) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1672440) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2055013) [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:2055013) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2055013) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2055013) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2055013) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2055013) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2055013) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3061815) [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:3061815) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3061815) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3061815) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3061815) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3061815) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3061815) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2292092) [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:2292092) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2292092) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2292092) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2292092) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2292092) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2292092) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:676442) [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:676442) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:676442) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:676442) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:676442) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:676442) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:676442) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:720025) [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:720025) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:720025) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:720025) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:720025) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:720025) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:720025) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2783474) [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:2783474) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2783474) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2783474) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2783474) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2783474) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2783474) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2413635) [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:2413635) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2413635) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2413635) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2413635) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2413635) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2413635) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3654131) [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:3654131) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3654131) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3654131) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3654131) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3654131) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3654131) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3973600) [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:3973600) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3973600) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3973600) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3973600) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3973600) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3973600) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:71278) [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:71278) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:71278) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:71278) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:71278) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:71278) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:71278) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:662974) [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:662974) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:662974) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:662974) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:662974) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:662974) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:662974) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3256409) [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:3256409) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3256409) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3256409) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3256409) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3256409) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3256409) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3755973) [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:3755973) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3755973) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3755973) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3755973) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3755973) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3755973) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:866113) [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:866113) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:866113) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:866113) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:866113) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:866113) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:866113) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2226765) [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:2226765) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2226765) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2226765) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2226765) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2226765) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2226765) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:328976) [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:328976) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:328976) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:328976) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:328976) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:328976) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:328976) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3096144) [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:3096144) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3096144) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3096144) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3096144) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3096144) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3096144) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2619130) [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:2619130) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2619130) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2619130) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2619130) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2619130) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2619130) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3850356) [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:3850356) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3850356) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3850356) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3850356) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3850356) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3850356) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:217630) [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:217630) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:217630) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:217630) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:217630) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:217630) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:217630) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:291306) [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:291306) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:291306) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:291306) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:291306) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:291306) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:291306) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1537737) [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:1537737) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1537737) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1537737) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1537737) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1537737) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1537737) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1534071) [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:1534071) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1534071) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1534071) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1534071) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1534071) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1534071) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1415233) [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:1415233) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1415233) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1415233) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1415233) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1415233) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1415233) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1888004) [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:1888004) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1888004) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1888004) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1888004) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1888004) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1888004) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:7798) [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:7798) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:7798) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:7798) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7798) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7798) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7798) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3809269) [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:3809269) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3809269) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3809269) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3809269) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3809269) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3809269) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:719861) [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:719861) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:719861) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:719861) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:719861) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:719861) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:719861) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2591604) [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:2591604) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2591604) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2591604) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2591604) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2591604) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2591604) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3712217) [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:3712217) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3712217) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3712217) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3712217) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3712217) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3712217) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3012588) [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:3012588) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3012588) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3012588) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3012588) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3012588) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3012588) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2120048) [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:2120048) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2120048) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2120048) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2120048) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2120048) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2120048) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2125721) [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:2125721) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2125721) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2125721) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2125721) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2125721) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2125721) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2141306) [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:2141306) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2141306) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2141306) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2141306) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2141306) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2141306) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2541319) [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:2541319) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2541319) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2541319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2541319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2541319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2541319) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3962778) [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:3962778) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3962778) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3962778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3962778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3962778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3962778) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:74863) [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:74863) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:74863) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:74863) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:74863) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:74863) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:74863) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1784264) [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:1784264) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1784264) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1784264) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1784264) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1784264) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1784264) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:174800) [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:174800) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:174800) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:174800) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:174800) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:174800) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:174800) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:203854) [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:203854) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:203854) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:203854) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:203854) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:203854) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:203854) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1641721) [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:1641721) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1641721) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1641721) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1641721) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1641721) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1641721) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1817171) [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:1817171) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1817171) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1817171) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1817171) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1817171) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1817171) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3250729) [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:3250729) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3250729) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3250729) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3250729) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3250729) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3250729) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:810907) [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:810907) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:810907) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:810907) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:810907) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:810907) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:810907) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1982828) [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:1982828) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1982828) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1982828) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1982828) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1982828) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1982828) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1623113) [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:1623113) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1623113) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1623113) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1623113) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1623113) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1623113) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1938236) [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:1938236) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1938236) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1938236) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1938236) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1938236) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1938236) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:11693) [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:11693) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:11693) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:11693) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:11693) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:11693) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:11693) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1627790) [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:1627790) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1627790) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1627790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1627790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1627790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1627790) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2388648) [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:2388648) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2388648) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2388648) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2388648) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2388648) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2388648) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4129875) [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:4129875) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4129875) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4129875) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4129875) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4129875) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4129875) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1577033) [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:1577033) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1577033) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1577033) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1577033) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1577033) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1577033) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2897957) [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:2897957) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2897957) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2897957) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2897957) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2897957) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2897957) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2928371) [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:2928371) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2928371) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2928371) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2928371) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2928371) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2928371) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2231751) [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:2231751) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2231751) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2231751) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2231751) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2231751) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2231751) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2590320) [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:2590320) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2590320) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2590320) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2590320) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2590320) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2590320) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2145035) [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:2145035) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2145035) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2145035) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2145035) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2145035) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2145035) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2495609) [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:2495609) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2495609) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2495609) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2495609) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2495609) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2495609) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2526511) [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:2526511) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2526511) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2526511) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2526511) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2526511) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2526511) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1646427) [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:1646427) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1646427) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1646427) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1646427) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1646427) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1646427) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2402979) [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:2402979) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2402979) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2402979) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2402979) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2402979) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2402979) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2205029) [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:2205029) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2205029) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2205029) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2205029) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2205029) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2205029) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2247413) [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:2247413) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2247413) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2247413) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2247413) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2247413) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2247413) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3215631) [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:3215631) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3215631) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3215631) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3215631) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3215631) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3215631) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1878520) [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:1878520) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1878520) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1878520) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1878520) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1878520) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1878520) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:22113) [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:22113) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:22113) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:22113) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:22113) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:22113) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:22113) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:702955) [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:702955) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:702955) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:702955) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:702955) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:702955) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:702955) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4016271) [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:4016271) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4016271) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4016271) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4016271) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4016271) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4016271) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:4129780) [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:4129780) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4129780) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4129780) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4129780) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4129780) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4129780) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2867411) [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:2867411) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2867411) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2867411) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2867411) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2867411) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2867411) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3464635) [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:3464635) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3464635) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3464635) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3464635) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3464635) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3464635) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3481429) [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:3481429) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3481429) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3481429) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3481429) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3481429) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3481429) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4076786) [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:4076786) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4076786) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4076786) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4076786) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4076786) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4076786) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1246275) [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:1246275) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1246275) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1246275) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1246275) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1246275) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1246275) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1264286) [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:1264286) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1264286) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1264286) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1264286) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1264286) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1264286) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1595522) [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:1595522) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1595522) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1595522) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1595522) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1595522) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1595522) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1607907) [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:1607907) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1607907) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1607907) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1607907) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1607907) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1607907) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2248586) [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:2248586) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2248586) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2248586) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2248586) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2248586) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2248586) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3895293) [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:3895293) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3895293) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3895293) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3895293) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3895293) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3895293) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4062500) [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:4062500) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4062500) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4062500) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4062500) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4062500) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4062500) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1334263) [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:1334263) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1334263) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1334263) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1334263) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1334263) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1334263) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2379743) [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:2379743) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2379743) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2379743) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2379743) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2379743) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2379743) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:101325) [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:101325) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:101325) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:101325) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:101325) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:101325) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:101325) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:831166) [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:831166) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:831166) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:831166) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:831166) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:831166) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:831166) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:886978) [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:886978) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:886978) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:886978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:886978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:886978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:886978) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1010462) [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:1010462) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1010462) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1010462) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1010462) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1010462) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1010462) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:54597) [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:54597) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:54597) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:54597) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:54597) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:54597) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:54597) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1138072) [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:1138072) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1138072) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1138072) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1138072) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1138072) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1138072) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1181139) [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:1181139) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1181139) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1181139) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1181139) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1181139) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1181139) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2837126) [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:2837126) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2837126) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2837126) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2837126) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2837126) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2837126) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2487251) [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:2487251) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2487251) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2487251) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2487251) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2487251) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2487251) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3589491) [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:3589491) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3589491) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3589491) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3589491) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3589491) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3589491) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3885008) [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:3885008) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3885008) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3885008) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3885008) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3885008) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3885008) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3954389) [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:3954389) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3954389) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3954389) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3954389) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3954389) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3954389) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4048464) [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:4048464) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4048464) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4048464) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4048464) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4048464) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4048464) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1257866) [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:1257866) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1257866) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1257866) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1257866) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1257866) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1257866) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:297021) [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:297021) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:297021) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:297021) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:297021) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:297021) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:297021) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1358173) [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:1358173) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1358173) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1358173) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1358173) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1358173) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1358173) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3804285) [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:3804285) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3804285) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3804285) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3804285) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3804285) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3804285) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1499669) [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:1499669) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1499669) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1499669) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1499669) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1499669) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1499669) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2003248) [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:2003248) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2003248) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2003248) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2003248) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2003248) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2003248) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2105006) [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:2105006) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2105006) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2105006) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2105006) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2105006) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2105006) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:6425) [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:6425) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:6425) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:6425) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:6425) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:6425) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:6425) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:436426) [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:436426) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:436426) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:436426) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:436426) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:436426) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:436426) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3329722) [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:3329722) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3329722) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3329722) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3329722) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3329722) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3329722) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3404563) [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:3404563) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3404563) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3404563) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3404563) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3404563) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3404563) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3026778) [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:3026778) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3026778) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3026778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3026778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3026778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3026778) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3537350) [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:3537350) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3537350) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3537350) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3537350) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3537350) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3537350) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3590182) [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:3590182) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3590182) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3590182) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3590182) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3590182) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3590182) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2044063) [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:2044063) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2044063) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2044063) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2044063) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2044063) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2044063) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2203790) [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:2203790) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2203790) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2203790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2203790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2203790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2203790) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2424770) [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:2424770) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2424770) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2424770) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2424770) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2424770) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2424770) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:839020) [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:839020) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:839020) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:839020) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:839020) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:839020) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:839020) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1010745) [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:1010745) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1010745) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1010745) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1010745) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1010745) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1010745) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:2357625) [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:2357625) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2357625) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2357625) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2357625) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2357625) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2357625) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1135541) [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:1135541) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1135541) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1135541) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1135541) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1135541) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1135541) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2518341) [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:2518341) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2518341) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2518341) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2518341) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2518341) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2518341) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:93641) [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:93641) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:93641) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:93641) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:93641) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:93641) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:93641) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:137835) [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:137835) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:137835) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:137835) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:137835) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:137835) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:137835) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3233019) [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:3233019) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3233019) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3233019) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3233019) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3233019) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3233019) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1454801) [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:1454801) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1454801) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1454801) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1454801) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1454801) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1454801) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4156874) [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:4156874) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4156874) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4156874) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4156874) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4156874) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4156874) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:312772) [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:312772) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:312772) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:312772) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:312772) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:312772) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:312772) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1712013) [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:1712013) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1712013) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1712013) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1712013) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1712013) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1712013) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:3538249) [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:3538249) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3538249) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3538249) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3538249) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3538249) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3538249) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1041618) [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:1041618) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1041618) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1041618) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1041618) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1041618) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1041618) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1315749) [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:1315749) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1315749) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1315749) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1315749) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1315749) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1315749) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2816441) [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:2816441) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2816441) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2816441) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2816441) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2816441) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2816441) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1617227) [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:1617227) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1617227) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1617227) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1617227) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1617227) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1617227) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1820177) [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:1820177) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1820177) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1820177) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1820177) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1820177) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1820177) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1044276) [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:1044276) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1044276) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1044276) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1044276) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1044276) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1044276) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4015978) [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:4015978) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4015978) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4015978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4015978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4015978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4015978) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:156365) [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:156365) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:156365) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:156365) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:156365) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:156365) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:156365) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1215711) [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:1215711) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1215711) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1215711) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1215711) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1215711) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1215711) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3680932) [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:3680932) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3680932) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3680932) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3680932) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3680932) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3680932) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3804314) [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:3804314) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3804314) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3804314) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3804314) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3804314) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3804314) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:900358) [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:900358) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:900358) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:900358) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:900358) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:900358) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:900358) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1259100) [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:1259100) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1259100) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1259100) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1259100) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1259100) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1259100) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3886082) [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:3886082) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3886082) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3886082) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3886082) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3886082) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3886082) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2826023) [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:2826023) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2826023) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2826023) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2826023) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2826023) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2826023) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2860829) [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:2860829) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2860829) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2860829) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2860829) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2860829) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2860829) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2982609) [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:2982609) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2982609) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2982609) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2982609) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2982609) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2982609) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2767019) [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:2767019) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2767019) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2767019) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2767019) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2767019) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2767019) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:222344) [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:222344) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:222344) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:222344) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:222344) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:222344) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:222344) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:249560) [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:249560) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:249560) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:249560) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:249560) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:249560) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:249560) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1423635) [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:1423635) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1423635) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1423635) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1423635) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1423635) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1423635) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1629745) [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:1629745) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1629745) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1629745) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1629745) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1629745) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1629745) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3285977) [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:3285977) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3285977) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3285977) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3285977) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3285977) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3285977) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:771918) [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:771918) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:771918) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:771918) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:771918) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:771918) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:771918) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:786242) [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:786242) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:786242) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:786242) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:786242) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:786242) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:786242) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1149877) [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:1149877) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1149877) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1149877) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1149877) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1149877) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1149877) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3801655) [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:3801655) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3801655) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3801655) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3801655) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3801655) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3801655) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:28589) [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:28589) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:28589) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:28589) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:28589) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:28589) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:28589) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1247000) [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:1247000) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1247000) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1247000) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1247000) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1247000) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1247000) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:1280352) [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:1280352) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1280352) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1280352) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1280352) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1280352) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1280352) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1482876) [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:1482876) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1482876) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1482876) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1482876) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1482876) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1482876) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2779879) [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:2779879) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2779879) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2779879) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2779879) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2779879) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2779879) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:89593) [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:89593) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:89593) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:89593) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:89593) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:89593) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:89593) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:154072) [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:154072) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:154072) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:154072) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:154072) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:154072) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:154072) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:164551) [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:164551) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:164551) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:164551) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:164551) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:164551) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:164551) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1327038) [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:1327038) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1327038) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1327038) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1327038) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1327038) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1327038) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:348868) [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:348868) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:348868) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:348868) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:348868) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:348868) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:348868) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2335729) [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:2335729) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2335729) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2335729) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2335729) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2335729) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2335729) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4025915) [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:4025915) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4025915) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4025915) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4025915) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4025915) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4025915) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.lk/app/controllers/payment.js:19:36
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
(node:4060194) [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:4060194) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4060194) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4060194) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4060194) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4060194) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4060194) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4187229) [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:4187229) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4187229) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4187229) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4187229) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4187229) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4187229) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:70193) [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:70193) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:70193) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:70193) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:70193) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:70193) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:70193) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:352632) [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:352632) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:352632) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:352632) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:352632) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:352632) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:352632) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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)
/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:1777001) [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:1777001) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1777001) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1777001) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1777001) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1777001) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1777001) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1777027) [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:1777027) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1777027) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1777027) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1777027) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1777027) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1777027) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2131173) [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:2131173) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2131173) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2131173) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2131173) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2131173) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2131173) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3669337) [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:3669337) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3669337) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3669337) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3669337) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3669337) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3669337) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1958435) [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:1958435) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1958435) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1958435) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1958435) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1958435) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1958435) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2089617) [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:2089617) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2089617) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2089617) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2089617) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2089617) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2089617) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:442867) [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:442867) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:442867) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:442867) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:442867) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:442867) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:442867) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2040424) [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:2040424) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2040424) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2040424) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2040424) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2040424) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2040424) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2123533) [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:2123533) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2123533) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2123533) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2123533) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2123533) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2123533) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3326548) [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:3326548) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3326548) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3326548) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3326548) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3326548) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3326548) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2110093) [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:2110093) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2110093) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2110093) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2110093) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2110093) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2110093) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3356491) [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:3356491) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3356491) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3356491) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3356491) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3356491) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3356491) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3497335) [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:3497335) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3497335) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3497335) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3497335) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3497335) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3497335) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3606916) [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:3606916) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3606916) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3606916) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3606916) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3606916) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3606916) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3666067) [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:3666067) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3666067) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3666067) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3666067) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3666067) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3666067) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3853466) [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:3853466) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3853466) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3853466) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3853466) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3853466) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3853466) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1312627) [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:1312627) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1312627) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1312627) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1312627) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1312627) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1312627) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2275414) [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:2275414) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2275414) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2275414) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2275414) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2275414) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2275414) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3751289) [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:3751289) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3751289) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3751289) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3751289) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3751289) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3751289) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1010580) [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:1010580) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1010580) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1010580) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1010580) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1010580) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1010580) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1651985) [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:1651985) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1651985) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1651985) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1651985) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1651985) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1651985) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2216373) [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:2216373) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2216373) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2216373) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2216373) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2216373) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2216373) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2275415) [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:2275415) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2275415) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2275415) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2275415) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2275415) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2275415) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3624204) [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:3624204) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3624204) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3624204) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3624204) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3624204) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3624204) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:702030) [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:702030) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:702030) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:702030) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:702030) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:702030) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:702030) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:891805) [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:891805) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:891805) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:891805) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:891805) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:891805) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:891805) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:921989) [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:921989) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:921989) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:921989) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:921989) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:921989) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:921989) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1110949) [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:1110949) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1110949) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1110949) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1110949) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1110949) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1110949) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2568978) [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:2568978) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2568978) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2568978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2568978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2568978) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2568978) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1893270) [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:1893270) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1893270) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1893270) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1893270) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1893270) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1893270) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:377332) [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:377332) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:377332) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:377332) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:377332) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:377332) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:377332) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:725155) [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:725155) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:725155) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:725155) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:725155) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:725155) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:725155) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3239213) [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:3239213) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3239213) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3239213) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3239213) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3239213) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3239213) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:441308) [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:441308) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:441308) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:441308) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:441308) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:441308) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:441308) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:596608) [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:596608) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:596608) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:596608) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:596608) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:596608) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:596608) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2650693) [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:2650693) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2650693) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2650693) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2650693) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2650693) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2650693) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2707431) [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:2707431) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2707431) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2707431) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2707431) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2707431) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2707431) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3126241) [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:3126241) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3126241) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3126241) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3126241) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3126241) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3126241) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:408588) [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:408588) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:408588) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:408588) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:408588) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:408588) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:408588) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3951428) [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:3951428) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3951428) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3951428) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3951428) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3951428) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3951428) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4002130) [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:4002130) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4002130) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4002130) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4002130) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4002130) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4002130) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4064013) [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:4064013) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4064013) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4064013) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4064013) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4064013) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4064013) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2211613) [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:2211613) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2211613) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2211613) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2211613) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2211613) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2211613) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2215297) [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:2215297) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2215297) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2215297) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2215297) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2215297) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2215297) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3452015) [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:3452015) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3452015) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3452015) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3452015) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3452015) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3452015) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3631645) [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:3631645) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3631645) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3631645) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3631645) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3631645) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3631645) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3638384) [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:3638384) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3638384) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3638384) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3638384) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3638384) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3638384) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2159799) [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:2159799) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2159799) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2159799) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2159799) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2159799) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2159799) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2328731) [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:2328731) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2328731) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2328731) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2328731) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2328731) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2328731) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:275673) [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:275673) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:275673) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:275673) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:275673) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:275673) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:275673) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:284227) [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:284227) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:284227) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:284227) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:284227) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:284227) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:284227) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:420466) [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:420466) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:420466) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:420466) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:420466) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:420466) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:420466) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:451284) [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:451284) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:451284) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:451284) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:451284) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:451284) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:451284) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:79864) [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:79864) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:79864) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:79864) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:79864) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:79864) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:79864) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:191598) [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:191598) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:191598) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:191598) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:191598) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:191598) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:191598) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:193273) [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:193273) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:193273) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:193273) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:193273) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:193273) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:193273) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2344263) [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:2344263) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2344263) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2344263) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2344263) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2344263) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2344263) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2543707) [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:2543707) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2543707) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2543707) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2543707) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2543707) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2543707) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2778416) [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:2778416) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2778416) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2778416) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2778416) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2778416) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2778416) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2984475) [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:2984475) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2984475) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2984475) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2984475) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2984475) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2984475) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3204325) [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:3204325) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3204325) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3204325) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3204325) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3204325) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3204325) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3944172) [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:3944172) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3944172) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3944172) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3944172) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3944172) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3944172) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:4189301) [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:4189301) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4189301) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4189301) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4189301) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4189301) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4189301) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3067855) [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:3067855) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3067855) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3067855) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3067855) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3067855) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3067855) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3196616) [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:3196616) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3196616) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3196616) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3196616) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3196616) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3196616) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:105869) [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:105869) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:105869) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:105869) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:105869) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:105869) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:105869) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1107288) [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:1107288) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1107288) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1107288) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1107288) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1107288) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1107288) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1365378) [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:1365378) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1365378) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1365378) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1365378) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1365378) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1365378) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3812505) [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:3812505) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3812505) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3812505) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3812505) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3812505) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3812505) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3833741) [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:3833741) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3833741) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3833741) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3833741) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3833741) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3833741) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1447669) [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:1447669) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1447669) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1447669) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1447669) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1447669) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1447669) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2597787) [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:2597787) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2597787) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2597787) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2597787) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2597787) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2597787) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2607120) [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:2607120) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2607120) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2607120) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2607120) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2607120) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2607120) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3666388) [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:3666388) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3666388) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3666388) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3666388) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3666388) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3666388) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:366378) [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:366378) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:366378) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:366378) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:366378) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:366378) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:366378) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:487809) [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:487809) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:487809) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:487809) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:487809) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:487809) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:487809) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1670484) [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:1670484) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1670484) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1670484) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1670484) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1670484) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1670484) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1680184) [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:1680184) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1680184) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1680184) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1680184) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1680184) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1680184) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3152755) [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:3152755) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3152755) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3152755) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3152755) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3152755) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3152755) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3207247) [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:3207247) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3207247) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3207247) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3207247) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3207247) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3207247) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3853114) [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:3853114) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3853114) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3853114) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3853114) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3853114) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3853114) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2223138) [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:2223138) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2223138) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2223138) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2223138) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2223138) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2223138) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3486910) [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:3486910) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3486910) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3486910) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3486910) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3486910) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3486910) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1757614) [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:1757614) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1757614) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1757614) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1757614) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1757614) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1757614) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1796453) [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:1796453) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1796453) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1796453) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1796453) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1796453) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1796453) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:949604) [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:949604) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:949604) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:949604) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:949604) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:949604) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:949604) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:334835) [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:334835) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:334835) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:334835) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:334835) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:334835) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:334835) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1348446) [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:1348446) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1348446) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1348446) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1348446) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1348446) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1348446) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1473826) [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:1473826) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1473826) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1473826) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1473826) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1473826) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1473826) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1558582) [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:1558582) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1558582) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1558582) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1558582) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1558582) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1558582) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2868292) [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:2868292) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2868292) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2868292) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2868292) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2868292) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2868292) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2893264) [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:2893264) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2893264) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2893264) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2893264) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2893264) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2893264) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2939829) [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:2939829) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2939829) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2939829) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2939829) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2939829) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2939829) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2079792) [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:2079792) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2079792) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2079792) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2079792) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2079792) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2079792) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3206329) [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:3206329) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3206329) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3206329) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3206329) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3206329) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3206329) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:1774732) [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:1774732) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1774732) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1774732) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1774732) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1774732) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1774732) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3403812) [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:3403812) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3403812) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3403812) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3403812) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3403812) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3403812) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3448674) [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:3448674) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3448674) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3448674) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3448674) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3448674) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3448674) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2887432) [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:2887432) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2887432) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2887432) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2887432) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2887432) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2887432) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:3028522) [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:3028522) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3028522) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3028522) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3028522) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3028522) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3028522) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2805778) [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:2805778) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2805778) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2805778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2805778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2805778) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2805778) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:2888389) [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:2888389) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2888389) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2888389) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2888389) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2888389) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2888389) 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/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/cjtradin/nodevenv/api.cjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/cjtradin/api.cjtradingcompany.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:217588) [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:217588) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:217588) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:217588) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:217588) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:217588) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:217588) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
