fix(phase2): remove uppercase text from ItemDetailModal labels (AI_RULES compliance)
This commit is contained in:
@@ -79,24 +79,24 @@ export default function ItemDetailModal({
|
||||
{/* Item Details */}
|
||||
<div className="grid grid-cols-2 gap-4">
|
||||
<div>
|
||||
<p className="text-xs text-muted uppercase tracking-wide mb-1">Category</p>
|
||||
<p className="text-xs text-muted mb-1">Category</p>
|
||||
<p className="text-sm text-white">{item.category}</p>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-xs text-muted uppercase tracking-wide mb-1">Type</p>
|
||||
<p className="text-xs text-muted mb-1">Type</p>
|
||||
<p className="text-sm text-white">{item.type || 'N/A'}</p>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-xs text-muted uppercase tracking-wide mb-1">Quantity</p>
|
||||
<p className="text-xs text-muted mb-1">Quantity</p>
|
||||
<p className="text-sm text-white">{item.quantity}</p>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-xs text-muted uppercase tracking-wide mb-1">Part Number</p>
|
||||
<p className="text-xs text-muted mb-1">Part Number</p>
|
||||
<p className="text-sm text-white">{item.part_number || 'N/A'}</p>
|
||||
</div>
|
||||
{item.barcode && (
|
||||
<div className="col-span-2">
|
||||
<p className="text-xs text-muted uppercase tracking-wide mb-1">Barcode</p>
|
||||
<p className="text-xs text-muted mb-1">Barcode</p>
|
||||
<p className="text-sm text-white font-mono">{item.barcode}</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user