Add seller deleted/unpublish flow and admin product management

This commit is contained in:
2026-05-09 07:56:51 +07:00
parent 37466d42e1
commit cb2a2a9678
13 changed files with 1369 additions and 86 deletions

View File

@ -359,6 +359,8 @@ export const id = {
empty: "Tidak ada produk ditemukan.",
edit: "Edit",
detail: "Detail",
restore: "Restore",
unpublish: "Unpublish",
table: {
product: "Produk",
price: "Harga",
@ -378,6 +380,16 @@ export const id = {
deleting: "Menghapus...",
errorGeneric: "Gagal menghapus produk",
},
unpublishDialog: {
title: "Unpublish Produk?",
message: "Produk akan dihapus dari katalog aktif dan bisa dipublish kembali nanti.",
productLabel: "Produk yang akan di-unpublish",
cancel: "Batal",
confirm: "Ya, Unpublish",
processing: "Memproses...",
errorGeneric: "Gagal unpublish produk",
},
restoreError: "Gagal restore produk",
tabs: {
allProduct: "Semua Produk",
draft: "Draft",
@ -386,6 +398,7 @@ export const id = {
localMarket: "Pasar Lokal",
outOfStock: "Habis Stok",
rejected: "Ditolak",
deleted: "Deleted",
},
},
productNew: {