Simplify order statuses and manager actions

This commit is contained in:
Ruslan Bakiev
2026-04-04 14:01:46 +07:00
parent 2f828cd164
commit 9017555722
6 changed files with 216 additions and 142 deletions

View File

@@ -119,12 +119,12 @@ const statusTabs = computed<Array<{ id: StatusFilter; label: string; count: numb
},
{
id: 'NEW',
label: 'Новые',
label: 'Заявки',
count: searchedOrders.value.filter((order) => getOrderGroup(order) === 'NEW').length,
},
{
id: 'PRICED',
label: 'Оценены',
label: 'Предложения',
count: searchedOrders.value.filter((order) => getOrderGroup(order) === 'PRICED').length,
},
{
@@ -143,12 +143,12 @@ const kanbanColumns = computed(() => {
const columns = [
{
id: 'NEW' as const,
title: 'Новые',
title: 'Заявки',
tone: 'from-[#f5fff8] to-[#eefaf2]',
},
{
id: 'PRICED' as const,
title: 'Оценены',
title: 'Предложения',
tone: 'from-[#fff9ef] to-[#fff1d9]',
},
{