av6-core 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2486,7 +2486,7 @@ var approvalRepository = (deps) => {
2486
2486
  ( cam.staff_id = ${staffId} or scc.staff_id = ${staffId} )
2487
2487
  and cai.status in (${import_client.Prisma.join(status)})
2488
2488
  and LOWER(cai.service) like LOWER(${serviceLike})
2489
- and LOWER(cai.ref_no) like LOWER(${pattern})
2489
+ and (LOWER(cai.ref_no) like LOWER(${pattern}) or LOWER(cai.extra) like LOWER(${pattern}) )
2490
2490
  and cam.cc_id = ${ccId}
2491
2491
  and cai.is_active = 1
2492
2492
  and cas.is_active = 1
package/dist/index.mjs CHANGED
@@ -2423,7 +2423,7 @@ var approvalRepository = (deps) => {
2423
2423
  ( cam.staff_id = ${staffId} or scc.staff_id = ${staffId} )
2424
2424
  and cai.status in (${Prisma.join(status)})
2425
2425
  and LOWER(cai.service) like LOWER(${serviceLike})
2426
- and LOWER(cai.ref_no) like LOWER(${pattern})
2426
+ and (LOWER(cai.ref_no) like LOWER(${pattern}) or LOWER(cai.extra) like LOWER(${pattern}) )
2427
2427
  and cam.cc_id = ${ccId}
2428
2428
  and cai.is_active = 1
2429
2429
  and cas.is_active = 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "av6-core",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",