feat: add customer export by status
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
puriphatt 2025-09-17 14:41:41 +07:00
parent 166211ac25
commit ff0f0bdde6

View file

@ -203,6 +203,7 @@ async function triggerExport() {
case 'employer':
customerStore.customerExport({
pageSize: 10000,
status: currentStatus.value === 'All' ? undefined : currentStatus.value,
startDate: searchDate.value[0],
endDate: searchDate.value[1],
businessType: filterBusinessType.value,
@ -222,6 +223,7 @@ async function triggerExport() {
case 'employee':
employeeStore.employeeExport({
pageSize: 10000,
status: currentStatus.value === 'All' ? undefined : currentStatus.value,
startDate: searchDate.value[0],
endDate: searchDate.value[1],
});