refactor: fetch list employee add active only

This commit is contained in:
Thanaphon Frappet 2024-12-23 09:40:32 +07:00
parent dc5c111726
commit d55a2448b5

View file

@ -255,6 +255,7 @@ async function getWorkerFromCriteria(
page: 1,
passport: true,
customerBranchId: props.customerBranchId,
activeOnly: true,
});
if (!ret) return false; // error, do not close dialog