feat: 가맹몰 관리 표와 엑셀에서 브랜드명 열을 뺀다
백엔드에 없는 항목이라 늘 '-'였다(사용자 요청). Co-Authored-By: Claude Fable 5.1
@309192f97bc10b9c15ff18db7db1aba993ef1035
--- app/(protected)/(basic)/system/merchants/_components/merchant-list.tsx
+++ app/(protected)/(basic)/system/merchants/_components/merchant-list.tsx
... | ... | @@ -68,12 +68,6 @@ |
| 68 | 68 |
render: (_row, index) => (currentPage - 1) * query.pageSize + index + 1, |
| 69 | 69 |
}, |
| 70 | 70 |
{ key: 'code', header: '가맹점코드', width: 140 },
|
| 71 |
- {
|
|
| 72 |
- key: 'brandName', |
|
| 73 |
- header: '브랜드명', |
|
| 74 |
- width: 120, |
|
| 75 |
- render: (row) => formatOptionalValue(row.brandName), |
|
| 76 |
- }, |
|
| 77 | 71 |
{ key: 'name', header: '가맹점명', width: 240, emphasis: true },
|
| 78 | 72 |
{
|
| 79 | 73 |
key: 'categoryCode', |
--- app/(protected)/(basic)/system/merchants/excel/route.ts
+++ app/(protected)/(basic)/system/merchants/excel/route.ts
... | ... | @@ -14,7 +14,6 @@ |
| 14 | 14 |
const HEADERS = [ |
| 15 | 15 |
'번호', |
| 16 | 16 |
'가맹점코드', |
| 17 |
- '브랜드명', |
|
| 18 | 17 |
'가맹점명', |
| 19 | 18 |
'업종', |
| 20 | 19 |
'사업자등록번호', |
... | ... | @@ -47,7 +46,6 @@ |
| 47 | 46 |
[ |
| 48 | 47 |
String(index + 1), |
| 49 | 48 |
merchant.code, |
| 50 |
- merchant.brandName, |
|
| 51 | 49 |
merchant.name, |
| 52 | 50 |
formatCategoryLabel(businessCodes, merchant.categoryCode), |
| 53 | 51 |
merchant.businessNumber, |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?