feat: list customer branch now fetch all in company

This commit is contained in:
Methapon Metanipat 2024-10-15 09:46:20 +07:00
parent 643df30d8b
commit da7a77b2c0

View file

@ -64,6 +64,7 @@ async function init(val: string, type: 'branch' | 'customer') {
: await customerStore.fetchListCustomerBranch({
query: val,
pageSize: 30,
company: true,
});
if (res) {
if (type === 'branch') {