fix: order bulk-delete had zero confirmation

Bulk-delete button called facade.applyBulkDelete() with no gate.
Added app-confirm-dialog, same pattern as products/categories.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sdarbinyan
2026-08-13 08:25:09 +04:00
parent 49aab63124
commit 908f10e022
6 changed files with 28 additions and 2 deletions

View File

@@ -1360,6 +1360,8 @@ export const en: Translations = {
},
},
adminOrders: {
bulkDeleteTitle: 'Delete orders',
confirmBulkDelete: 'Delete the selected orders? This cannot be undone.',
back: 'Back to orders',
search: 'Search by order number, name, email, or phone…',
export: 'Export',

View File

@@ -1355,6 +1355,8 @@ export const hy: Translations = {
},
},
adminOrders: {
bulkDeleteTitle: 'Ջնջել պատվերները',
confirmBulkDelete: 'Ջնջե՞լ ընտրված պատվերները։ Հնարավոր չէ հետարկել։',
back: 'Վերադառնալ պատվերներին',
search: 'Փնտրել ըստ պատվերի համարի, անվան, էլ. փոստի կամ հեռախոսի…',
export: 'Արտահանել',

View File

@@ -1355,6 +1355,8 @@ export const ru: Translations = {
},
},
adminOrders: {
bulkDeleteTitle: 'Удалить заказы',
confirmBulkDelete: 'Удалить выбранные заказы? Это действие нельзя отменить.',
back: 'Назад к заказам',
search: 'Поиск по номеру заказа, имени, email или телефону…',
export: 'Экспорт',

View File

@@ -1359,6 +1359,8 @@ export interface Translations {
};
};
adminOrders: {
bulkDeleteTitle: string;
confirmBulkDelete: string;
back: string;
search: string;
export: string;