กรอง isDeleted
All checks were successful
Build & Deploy on Dev / build (push) Successful in 50s

This commit is contained in:
harid 2026-02-04 16:32:25 +07:00
parent 22639e72c6
commit 55085ab8d8
10 changed files with 16 additions and 15 deletions

View file

@ -599,7 +599,7 @@ export class PosMasterActController extends Controller {
"lastUpdatedAt",
"dateEnd",
],
where: { profileId, status: true },
where: { profileId, status: true, isDeleted: false },
});
if (existingActivePositions.length > 0) {