node:internal/modules/cjs/loader:1031
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- /home/hjtradin/erpapi.hjtradingcompany.lk/index.js
- /usr/local/lsws/fcgi-bin/lsnode.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
    at Function.Module._load (node:internal/modules/cjs/loader:873:27)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/home/hjtradin/erpapi.hjtradingcompany.lk/index.js:1:17)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/hjtradin/erpapi.hjtradingcompany.lk/index.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}
node:internal/modules/cjs/loader:1031
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- /home/hjtradin/erpapi.hjtradingcompany.lk/index.js
- /usr/local/lsws/fcgi-bin/lsnode.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
    at Function.Module._load (node:internal/modules/cjs/loader:873:27)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/home/hjtradin/erpapi.hjtradingcompany.lk/index.js:1:17)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/hjtradin/erpapi.hjtradingcompany.lk/index.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}
(node:2319) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2319) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2319) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2319) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3300) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3300) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3300) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3300) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3300) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3300) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3300) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3671) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3671) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3671) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3671) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3671) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3671) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3671) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:6571) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:6571) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:6571) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:6571) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:6571) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:6571) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:6571) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:16832) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:16832) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:16832) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:16832) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:16832) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:16832) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:16832) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:27205) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:27205) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:27205) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:27205) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:27205) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:27205) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:27205) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:16827) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:16827) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:16827) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:16827) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:16827) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:16827) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:16827) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:18621) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:18621) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:18621) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:18621) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:18621) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:18621) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:18621) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:14101) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:14101) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:14101) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:14101) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:14101) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:14101) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:14101) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:29371) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:29371) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:29371) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:29371) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:29371) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:29371) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:29371) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:29803) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:29803) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:29803) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:29803) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:29803) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:29803) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:29803) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:18712) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:18712) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:18712) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:18712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:18712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:18712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:18712) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:25895) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:25895) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:25895) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:25895) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:25895) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:25895) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:25895) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:26318) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:26318) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:26318) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:26318) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:26318) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:26318) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:26318) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:8044) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:8044) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:8044) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:8044) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8044) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8044) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8044) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:26731) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:26731) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:26731) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:26731) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:26731) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:26731) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:26731) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:24602) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:24602) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:24602) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:24602) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:24602) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:24602) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:24602) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:25268) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:25268) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:25268) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:25268) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:25268) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:25268) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:25268) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:22041) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:22041) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:22041) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:22041) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:22041) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:22041) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:22041) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:13200) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:13200) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:13200) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:13200) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:13200) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:13200) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:13200) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:27402) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:27402) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:27402) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:27402) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:27402) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:27402) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:27402) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:31914) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:31914) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:31914) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:31914) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:31914) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:31914) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:31914) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

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

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

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

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:30909) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:30909) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:30909) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:30909) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:30909) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:30909) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:30909) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:8378) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:8378) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:8378) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:8378) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8378) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8378) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8378) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:23483) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:23483) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:23483) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:23483) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:23483) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:23483) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:23483) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:4259) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4259) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4259) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4259) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4259) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4259) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4259) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

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

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:26589) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:26589) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:26589) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:26589) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:26589) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:26589) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:26589) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:13931) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:13931) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:13931) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:13931) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:13931) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:13931) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:13931) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:16794) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:16794) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:16794) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:16794) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:16794) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:16794) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:16794) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:28345) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:28345) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:28345) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:28345) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:28345) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:28345) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:28345) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

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

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

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:7758) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:7758) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:7758) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:7758) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7758) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7758) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7758) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:21814) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:21814) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:21814) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:21814) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:21814) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:21814) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:21814) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:3250) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3250) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3250) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3250) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3250) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3250) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3250) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:8964) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:8964) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:8964) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:8964) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8964) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8964) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:8964) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:7147) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:7147) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:7147) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:7147) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7147) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7147) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7147) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:11280) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:11280) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:11280) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:11280) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:11280) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:11280) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:11280) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1278) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1278) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1278) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1278) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1278) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1278) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1278) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:15121) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:15121) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:15121) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:15121) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:15121) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:15121) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:15121) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

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

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

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

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

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

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:29254) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:29254) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:29254) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:29254) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:29254) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:29254) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:29254) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

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

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

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

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:10436) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:10436) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:10436) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:10436) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10436) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10436) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10436) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

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

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:1172) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1172) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1172) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1172) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1172) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1172) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1172) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1712) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1712) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1712) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1712) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1712) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:10857) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:10857) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:10857) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:10857) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10857) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10857) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:10857) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3182356) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3182356) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3182356) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3182356) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3182356) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3182356) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3182356) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:871126) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:871126) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:871126) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:871126) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:871126) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:871126) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:871126) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:1477694) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1477694) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1477694) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1477694) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1477694) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1477694) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1477694) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:2341319) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2341319) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2341319) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2341319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2341319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2341319) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2341319) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:4150619) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4150619) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4150619) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4150619) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4150619) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4150619) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4150619) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3747482) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3747482) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3747482) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3747482) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3747482) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3747482) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3747482) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:121725) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:121725) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:121725) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:121725) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:121725) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:121725) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:121725) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2245561) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2245561) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2245561) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2245561) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2245561) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2245561) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2245561) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:1296879) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1296879) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1296879) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1296879) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1296879) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1296879) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1296879) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:2781722) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2781722) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2781722) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2781722) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2781722) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2781722) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2781722) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:582062) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:582062) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:582062) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:582062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:582062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:582062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:582062) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:799445) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:799445) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:799445) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:799445) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:799445) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:799445) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:799445) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:4046777) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4046777) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4046777) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4046777) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4046777) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4046777) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4046777) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3902170) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3902170) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3902170) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3902170) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3902170) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3902170) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3902170) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1707240) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1707240) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1707240) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1707240) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1707240) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1707240) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1707240) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:855624) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:855624) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:855624) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:855624) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:855624) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:855624) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:855624) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:3225656) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3225656) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3225656) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3225656) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3225656) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3225656) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3225656) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:2439593) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2439593) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2439593) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2439593) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2439593) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2439593) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2439593) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:2321574) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2321574) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2321574) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2321574) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2321574) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2321574) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2321574) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1521993) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1521993) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1521993) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1521993) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1521993) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1521993) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1521993) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3677917) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3677917) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3677917) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3677917) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3677917) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3677917) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3677917) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3879458) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3879458) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3879458) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3879458) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3879458) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3879458) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3879458) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2672669) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2672669) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2672669) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2672669) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2672669) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2672669) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2672669) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:267090) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:267090) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:267090) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:267090) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:267090) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:267090) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:267090) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3366380) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3366380) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3366380) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3366380) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3366380) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3366380) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3366380) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3930147) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3930147) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3930147) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3930147) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3930147) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3930147) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3930147) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3720471) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3720471) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3720471) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3720471) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3720471) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3720471) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3720471) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:1735253) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1735253) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1735253) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1735253) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1735253) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1735253) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1735253) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1321058) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1321058) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1321058) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1321058) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1321058) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1321058) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1321058) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:7366) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:7366) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:7366) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:7366) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7366) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7366) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:7366) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3924524) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3924524) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3924524) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3924524) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3924524) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3924524) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3924524) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:3004131) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3004131) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3004131) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3004131) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3004131) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3004131) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3004131) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2205294) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2205294) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2205294) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2205294) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2205294) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2205294) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2205294) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:278976) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:278976) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:278976) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:278976) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:278976) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:278976) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:278976) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:3800302) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3800302) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3800302) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3800302) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3800302) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3800302) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3800302) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:899117) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:899117) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:899117) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:899117) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:899117) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:899117) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:899117) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:60123) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:60123) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:60123) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:60123) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:60123) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:60123) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:60123) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:538317) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:538317) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:538317) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:538317) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:538317) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:538317) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:538317) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1441203) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1441203) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1441203) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1441203) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1441203) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1441203) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1441203) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:12372) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:12372) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:12372) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:12372) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:12372) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:12372) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:12372) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:190221) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:190221) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:190221) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:190221) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:190221) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:190221) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:190221) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:645719) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:645719) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:645719) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:645719) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:645719) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:645719) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:645719) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:772383) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:772383) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:772383) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:772383) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:772383) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:772383) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:772383) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:2862471) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2862471) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2862471) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2862471) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2862471) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2862471) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2862471) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:1615740) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1615740) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1615740) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1615740) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1615740) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1615740) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1615740) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:3365083) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3365083) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3365083) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3365083) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3365083) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3365083) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3365083) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:5790) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:5790) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:5790) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:5790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:5790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:5790) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:5790) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:3828463) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3828463) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3828463) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3828463) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3828463) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3828463) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3828463) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:307744) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:307744) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:307744) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:307744) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:307744) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:307744) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:307744) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2483667) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2483667) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2483667) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2483667) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2483667) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2483667) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2483667) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:3167901) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3167901) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3167901) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3167901) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3167901) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3167901) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3167901) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:2152739) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2152739) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2152739) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2152739) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2152739) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2152739) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2152739) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:3796507) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3796507) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3796507) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3796507) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3796507) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3796507) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3796507) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:801101) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:801101) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:801101) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:801101) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:801101) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:801101) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:801101) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:950212) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:950212) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:950212) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:950212) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:950212) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:950212) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:950212) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:240952) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:240952) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:240952) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:240952) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:240952) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:240952) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:240952) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2346798) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2346798) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2346798) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2346798) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2346798) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2346798) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2346798) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:6414) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:6414) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:6414) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:6414) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:6414) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:6414) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:6414) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3667230) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3667230) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3667230) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3667230) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3667230) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3667230) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3667230) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:1771979) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1771979) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1771979) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1771979) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1771979) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1771979) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1771979) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:4044655) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4044655) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:4044655) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:4044655) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4044655) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4044655) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:4044655) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1975976) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1975976) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1975976) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1975976) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1975976) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1975976) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1975976) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:2933247) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2933247) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2933247) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2933247) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2933247) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2933247) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2933247) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

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

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:2544743) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2544743) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2544743) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2544743) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2544743) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2544743) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2544743) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

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

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

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:1249215) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1249215) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1249215) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1249215) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1249215) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1249215) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1249215) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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)
(node:3211062) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3211062) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3211062) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3211062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3211062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3211062) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3211062) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3211132) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3211132) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3211132) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3211132) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3211132) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3211132) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3211132) 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/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:795:10)
    at ServerResponse.send (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:175:12)
    at ServerResponse.json (/home/hjtradin/nodevenv/erpapi.hjtradingcompany.lk/16/lib/node_modules/express/lib/response.js:279:15)
    at /home/hjtradin/erpapi.hjtradingcompany.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:3215584) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3215584) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3215584) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3215584) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3215584) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3215584) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3215584) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:747919) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:747919) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:747919) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:747919) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:747919) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:747919) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:747919) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2049935) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2049935) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2049935) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2049935) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2049935) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2049935) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2049935) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:822120) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:822120) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:822120) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:822120) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:822120) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:822120) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:822120) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:1615939) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:1615939) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:1615939) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:1615939) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1615939) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1615939) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:1615939) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2304815) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2304815) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2304815) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2304815) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2304815) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2304815) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2304815) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3106083) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3106083) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3106083) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3106083) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3106083) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3106083) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3106083) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:73717) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:73717) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:73717) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:73717) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:73717) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:73717) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:73717) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2592551) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2592551) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2592551) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2592551) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2592551) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2592551) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2592551) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2986144) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2986144) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2986144) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2986144) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2986144) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2986144) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2986144) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3514422) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3514422) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3514422) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3514422) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3514422) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3514422) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3514422) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2306298) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2306298) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2306298) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2306298) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2306298) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2306298) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2306298) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:2474430) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:2474430) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:2474430) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:2474430) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2474430) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2474430) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:2474430) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3478696) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3478696) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3478696) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3478696) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3478696) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3478696) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3478696) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:3949686) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3949686) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:3949686) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:3949686) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3949686) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3949686) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:3949686) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
(node:945464) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:945464) Warning: Accessing non-existent property 'RouteCardHasEmployees' of module exports inside circular dependency
(node:945464) Warning: Accessing non-existent property 'CustomerCreditPayment' of module exports inside circular dependency
(node:945464) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:945464) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:945464) Warning: Accessing non-existent property 'Invoice' of module exports inside circular dependency
(node:945464) Warning: Accessing non-existent property 'Payment' of module exports inside circular dependency
