feat: doc template (#10)

* feat: doc-template

* fix: empty not converted to dash

* feat: also return province, district and sub district

* refactor: move some relation to outer

* feat: add more function

* chore: deps

* feat: add more relation

* feat: count employee by gender

* feat: count all employee

* feat: add more function

* feat: get employment office

* fix: error

---------

Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
This commit is contained in:
Methapon Metanipat 2025-01-22 11:27:47 +07:00 committed by GitHub
parent 67651eb213
commit 4e3c51d84b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 456 additions and 13 deletions

View file

@ -38,6 +38,7 @@
"@types/morgan": "^1.9.9",
"cors": "^2.8.5",
"cron": "^3.3.1",
"docx-templates": "^4.13.0",
"dotenv": "^16.4.7",
"express": "^4.21.2",
"fast-jwt": "^4.0.6",
@ -46,6 +47,8 @@
"morgan": "^1.10.0",
"prisma-extension-kysely": "^3.0.0",
"promise.any": "^2.0.6",
"thai-baht-text": "^2.0.5",
"to-words": "^4.2.0",
"tsoa": "^6.6.0",
"winston": "^3.17.0",
"winston-elasticsearch": "^0.19.0"