mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 18:35:24 +02:00
feat: add Pricing & Units tab for Level error monitoring
New tab shows all products with missing UVP/SRP pricing or invalid container units (40'HC/HQ = 0 or 1, missing Units/Outer). Price fields are inline-editable with Supabase sync. Columns are detected dynamically from Excel headers so future SRP countries (e.g. Poland) appear automatically. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
d48e2cb0ff
commit
38466b3876
@@ -1,10 +1,10 @@
|
||||
import React from 'react';
|
||||
import { FileSpreadsheet, FileText, CheckSquare, Table, Box } from 'lucide-react';
|
||||
import { FileText, Table, Box, DollarSign } from 'lucide-react';
|
||||
import { cn } from '../lib/utils';
|
||||
|
||||
interface SidebarProps {
|
||||
activeModule: string;
|
||||
setActiveModule: (m: 'descriptions' | 'completeness' | 'matrix' | 'dimensions') => void;
|
||||
setActiveModule: (m: 'descriptions' | 'completeness' | 'matrix' | 'dimensions' | 'pricing') => void;
|
||||
}
|
||||
|
||||
export function Sidebar({ activeModule, setActiveModule }: SidebarProps) {
|
||||
@@ -12,6 +12,7 @@ export function Sidebar({ activeModule, setActiveModule }: SidebarProps) {
|
||||
{ id: 'matrix', label: 'Matrix', icon: Table },
|
||||
{ id: 'descriptions', label: 'Product Descriptions', icon: FileText },
|
||||
{ id: 'dimensions', label: 'Dimensions', icon: Box },
|
||||
{ id: 'pricing', label: 'Pricing & Units', icon: DollarSign },
|
||||
] as const;
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user