Commit graph

  • ef735bd9d7 feat: query also search for passport number Methapon Metanipat 2024-09-05 10:34:07 +07:00
  • 8750c2cf98 refactor: drop supported presigned url return Methapon Metanipat 2024-09-05 09:55:45 +07:00
  • 2af4e750b0 refactor: organize file Methapon Metanipat 2024-09-05 09:21:39 +07:00
  • e141ea330a refactor: move file Methapon Metanipat 2024-09-05 09:19:48 +07:00
  • 864f6620a9 refactor: change file name Methapon Metanipat 2024-09-05 09:17:42 +07:00
  • b53dcb3a19 feat: permission control Methapon Metanipat 2024-09-05 09:01:34 +07:00
  • 42cce880cd refactor: separate function Methapon Metanipat 2024-09-05 09:01:28 +07:00
  • 05a959ee55 feat: user permission on delete Methapon Metanipat 2024-09-04 17:41:54 +07:00
  • 2cd92b2234 fix: stats not take scope into account Methapon Metanipat 2024-09-04 17:01:18 +07:00
  • 91d741f363 refactor: move file out Methapon Metanipat 2024-09-04 16:56:10 +07:00
  • 16777d0514 refactor: update role Methapon Metanipat 2024-09-04 16:51:42 +07:00
  • 49547c8373 refactor: scope view Methapon Metanipat 2024-09-04 16:47:31 +07:00
  • 94cb990b9c fix: permission failed Methapon Metanipat 2024-09-04 16:47:14 +07:00
  • 859b733245 fix: cannot set role as expected Methapon Metanipat 2024-09-04 16:19:07 +07:00
  • 4de3c2409f feat: filter view by role Methapon Metanipat 2024-09-04 15:51:01 +07:00
  • 36975fd8de feat: add permision check Methapon Metanipat 2024-09-04 15:21:11 +07:00
  • 597c107420 refactor: adjust function Methapon Metanipat 2024-09-04 15:19:15 +07:00
  • 6baf79d76d chore: format Methapon Metanipat 2024-09-04 15:19:02 +07:00
  • 10c73ae226 fix: error updatedAt Methapon Metanipat 2024-09-04 14:28:29 +07:00
  • 0c80d8fbdb refactor: remove unused role Methapon Metanipat 2024-09-04 14:12:57 +07:00
  • c5600add96 fix: change role name Methapon Metanipat 2024-09-04 14:01:59 +07:00
  • 856bdef0f6 refactor: small adjustment Methapon Metanipat 2024-09-04 13:50:00 +07:00
  • e61111cac7 refactor: view condition and permission Methapon Metanipat 2024-09-04 13:48:59 +07:00
  • 9f426d9b08 refactor: permission user Methapon Metanipat 2024-09-04 11:40:55 +07:00
  • 34668b3569 refactor!: remove unnecessary endpoint Methapon Metanipat 2024-09-04 11:40:40 +07:00
  • 3fb15f8344 fix: count by group Methapon Metanipat 2024-09-04 10:43:46 +07:00
  • 03707b7bd8 feat: add flag Methapon Metanipat 2024-09-03 16:54:52 +07:00
  • d970486348 fix: type Methapon Metanipat 2024-09-03 14:07:30 +07:00
  • 4b08d12845 refactor!: remove product type Methapon Metanipat 2024-09-03 14:06:02 +07:00
  • 4f84330cbc refactor: permission Methapon Metanipat 2024-09-03 09:47:58 +07:00
  • cae2ab7ba3 refactor: roles Methapon Metanipat 2024-09-03 09:24:27 +07:00
  • dfb2ab3928 refactor: use kysely query builder instead Methapon Metanipat 2024-09-03 09:24:10 +07:00
  • 7fa99fab8f feat: add headoffice as relation Methapon Metanipat 2024-08-30 11:33:08 +07:00
  • 1f47882e19 fix: wrong field extract Methapon Metanipat 2024-08-30 11:20:30 +07:00
  • bcfc04d6cf fix: wrong condition Methapon Metanipat 2024-08-30 10:30:33 +07:00
  • e911695f3a change: make user can view only user within branch Methapon Metanipat 2024-08-30 10:20:51 +07:00
  • cd153b062a fix: branch manager must not increase your own role Methapon Metanipat 2024-08-30 10:04:59 +07:00
  • 9d52eb99a5 fix: wrong permission check Methapon Metanipat 2024-08-30 09:57:22 +07:00
  • 78ce80b1a2 fix: branch manager cannot create user Methapon Metanipat 2024-08-30 09:51:01 +07:00
  • 04ef94fee1 fix: build error Methapon Metanipat 2024-08-30 09:48:21 +07:00
  • 7f4103c92c fix: wrong endpoint Methapon Metanipat 2024-08-30 09:46:38 +07:00
  • e367fca56e refactor: also return employee count of customer Methapon Metanipat 2024-08-30 09:43:34 +07:00
  • 23717bacaf feat: insert province district sub-district into db Methapon Metanipat 2024-08-29 17:10:44 +07:00
  • 09cb20c57d feat: check if user exist Methapon Metanipat 2024-08-29 13:18:25 +07:00
  • 8a2b122d7f fix: code case Methapon Metanipat 2024-08-29 13:09:44 +07:00
  • e7a70e8653 feat: add web url Methapon Metanipat 2024-08-29 11:53:00 +07:00
  • 35600b9d7e feat: map image Methapon Metanipat 2024-08-29 09:42:33 +07:00
  • d11fb007b3 feat: add set image endpoints for employee Methapon Metanipat 2024-08-28 11:41:39 +07:00
  • 75359a8d4e feat: add workflow for local lan deploy Methapon Metanipat 2024-08-28 11:13:35 +07:00
  • f4723e4335 feat: allow disable logger by .env Methapon Metanipat 2024-08-28 11:08:50 +07:00
  • 5749b85323 fix: wrong string conversion Methapon Metanipat 2024-08-28 09:28:35 +07:00
  • fec6812ff6 fix: add relation when get by id Methapon Metanipat 2024-08-27 18:14:50 +07:00
  • ba23ce870d chore: make nodemon watch .env file Methapon Metanipat 2024-08-27 16:56:20 +07:00
  • 4341e57bef feat: change uuid to cuid Methapon Metanipat 2024-08-27 14:28:14 +07:00
  • 3d3bc38106 feat: add employee field Methapon Metanipat 2024-08-27 14:27:39 +07:00
  • 5cadf48bc3 fix: update field can be optional Methapon Metanipat 2024-08-27 13:28:51 +07:00
  • 7e03c239d3 refactor: change to response url instead Methapon Metanipat 2024-08-27 11:56:58 +07:00
  • 95d657f7e2 fix: wrong length slice Methapon Metanipat 2024-08-27 09:56:33 +07:00
  • c2171c33ad feat: add upload file employee endpoint Methapon Metanipat 2024-08-27 09:26:36 +07:00
  • 91f7cf2a9b feat: add new endpoint for get or download file Methapon Metanipat 2024-08-27 09:07:14 +07:00
  • 9c8786bf62 refactor: update customer branch file upload endpoint Methapon Metanipat 2024-08-27 09:00:51 +07:00
  • 2d056d3b56 change: branch code now have 5 digit Methapon Metanipat 2024-08-26 13:15:23 +07:00
  • a312b797c7 fix: wrong behaviour Methapon Metanipat 2024-08-23 15:45:46 +07:00
  • 39df3f4cf2 fix: order Methapon Metanipat 2024-08-23 15:01:05 +07:00
  • fffd20ea0f feat: add code customer field Methapon Metanipat 2024-08-23 10:33:53 +07:00
  • 03d25219c1 feat: update status of headoffice so it cannot be delete Methapon Metanipat 2024-08-22 14:29:18 +07:00
  • 1d68cc2d61 fix: code not convert to uppercase can't create branch Methapon Metanipat 2024-08-22 14:18:15 +07:00
  • b0b54451a2 fix: error due top field dropped Methapon Metanipat 2024-08-22 11:44:44 +07:00
  • c548386b56 refactor: drop field Methapon Metanipat 2024-08-22 11:42:06 +07:00
  • 42a036c34f fix: missing zero fill Methapon Metanipat 2024-08-22 10:42:14 +07:00
  • 92aaee2584 fix: customer code come from wrong data Methapon Metanipat 2024-08-22 10:14:40 +07:00
  • 0c3084cdbf feat: add contact name field Methapon Metanipat 2024-08-21 16:52:59 +07:00
  • 6ad05b4292 refactor: change datetime field to date only Methapon Metanipat 2024-08-21 13:05:02 +07:00
  • 06ac50f2d0 fix: typo Methapon Metanipat 2024-08-21 12:56:39 +07:00
  • a1973cf66c refactor: dry Methapon Metanipat 2024-08-21 10:05:27 +07:00
  • 8892e237ec refactor: use nested relation instead Methapon Metanipat 2024-08-20 17:47:06 +07:00
  • c7f7713cbd feat: also consider code from head office Methapon Metanipat 2024-08-20 17:35:43 +07:00
  • 8d446113da feat: create / update customer branch Methapon Metanipat 2024-08-20 16:17:41 +07:00
  • c5317d60f1 fix: error due to structure changed Methapon Metanipat 2024-08-20 15:47:54 +07:00
  • 5bb8da818c refactor: customer create and update process Methapon Metanipat 2024-08-20 15:41:48 +07:00
  • b167a612b4 feat: add util function delete folder minio Methapon Metanipat 2024-08-20 15:20:14 +07:00
  • 8474a6c869 refactor: update code gen when change employee branch Methapon Metanipat 2024-08-20 12:49:45 +07:00
  • c0e44d3efc refactor: update new employee code gen in quotation endpoint Methapon Metanipat 2024-08-20 12:46:13 +07:00
  • 0894a64c9e feat: remove unused code generator Methapon Metanipat 2024-08-20 09:35:14 +07:00
  • 816bda07b8 Merge branch 'methapon' into dev Methapon Metanipat 2024-08-20 09:04:59 +07:00
  • be28445f46 fix: wrong field Methapon Metanipat 2024-08-19 13:47:03 +07:00
  • ba74eccec7 feat: filter by customerId Methapon Metanipat 2024-08-19 11:18:57 +07:00
  • ab484f4026 refactor: use prisma nested create instead Methapon Metanipat 2024-08-19 10:55:32 +07:00
  • 17e00ae60f feat: update code generator Methapon Metanipat 2024-08-19 10:55:07 +07:00
  • a028d8f9b3 fix: stat should not count user with system role Methapon Metanipat 2024-08-16 18:00:53 +07:00
  • bae9615bd8 feat: service code now accept any string Methapon Metanipat 2024-08-16 11:50:38 +07:00
  • a5653962fc Merge branch 'dev' Methapon Metanipat 2024-08-16 11:28:38 +07:00
  • 379b7e5286 feat: add status filter Methapon Metanipat 2024-08-16 10:48:56 +07:00
  • 9441c713a2 feat: add field middleName and name prefix (optional) Methapon2001 2024-08-15 09:26:21 +07:00
  • d15273de1b fix: wrong field used Methapon2001 2024-08-14 20:40:31 +07:00
  • cb0ac4f0be fix: wrong condition Methapon2001 2024-08-14 20:32:24 +07:00
  • 5b75fe46b0 fix: typo 9 (should be 0) Methapon2001 2024-08-14 20:16:40 +07:00
  • 3aa405db7b fix: update branch status when assign user to branch Methapon2001 2024-08-14 14:03:25 +07:00
  • ebba5cff03 refactor: only filter log api Methapon2001 2024-08-14 13:46:05 +07:00
  • b89b9dce34 feat: add endpoint for get branch admin Methapon2001 2024-08-14 13:45:41 +07:00