added location field
This commit is contained in:
@ -150,11 +150,19 @@ export default function ScanPage() {
|
||||
<div style={{ display: "grid", gridTemplateColumns: "1fr 1fr", gap: "1rem", marginBottom: "2rem" }}>
|
||||
<div style={{ padding: "1rem", backgroundColor: "rgba(255,255,255,0.05)", borderRadius: "8px" }}>
|
||||
<div className="text-muted" style={{ fontSize: "0.85rem", textTransform: "uppercase" }}>Current Quant.</div>
|
||||
<div style={{ fontSize: "2rem", fontWeight: "bold" }}>{item.quantity}</div>
|
||||
<div style={{ fontSize: "2rem", fontWeight: "bold", color: "var(--text-main)" }}>{item.quantity}</div>
|
||||
</div>
|
||||
<div style={{ padding: "1rem", backgroundColor: "rgba(255,255,255,0.05)", borderRadius: "8px" }}>
|
||||
<div className="text-muted" style={{ fontSize: "0.85rem", textTransform: "uppercase" }}>Price</div>
|
||||
<div style={{ fontSize: "2rem", fontWeight: "bold" }}>${Number(item.price).toFixed(2)}</div>
|
||||
<div className="text-muted" style={{ fontSize: "0.85rem", textTransform: "uppercase" }}>Location</div>
|
||||
<div style={{ fontSize: "1.4rem", fontWeight: "600", color: "var(--text-main)", marginTop: "0.3rem" }}>
|
||||
{item.location || "-"}
|
||||
</div>
|
||||
</div>
|
||||
<div style={{ padding: "1rem", backgroundColor: "rgba(255,255,255,0.05)", borderRadius: "8px", gridColumn: "1 / -1" }}>
|
||||
<div className="text-muted" style={{ fontSize: "0.85rem", textTransform: "uppercase", marginBottom: "0.5rem" }}>Last Updated</div>
|
||||
<div style={{ fontSize: "1.1rem", color: "var(--text-main)" }}>
|
||||
{item.updatedAt ? new Date(item.updatedAt).toLocaleString() : "Never"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user