import React from "react"; import { View, ScrollView, Pressable } from "react-native"; import { useLocalSearchParams, router, Stack } from "expo-router"; import { Text } from "@/components/ui/text"; import { Button } from "@/components/ui/button"; import { Card } from "@/components/ui/card"; import { ArrowLeft, DraftingCompass, Clock, Tag, Send, ExternalLink, ChevronRight, CheckCircle2, } from "@/lib/icons"; import { ScreenWrapper } from "@/components/ScreenWrapper"; const MOCK_ITEMS = [ { description: "Marketing Landing Page Package", qty: 1, unitPrice: 1000, total: 1000, }, { description: "Instagram Post Initial Design", qty: 4, unitPrice: 100, total: 400, }, ]; const MOCK_SUBTOTAL = 1400; const MOCK_TAX = 140; const MOCK_TOTAL = 1540; export default function ProformaDetailScreen() { const { id } = useLocalSearchParams<{ id: string }>(); return ( router.back()} className="h-10 w-10 rounded-[10px] bg-card items-center justify-center border border-border" > Proforma Open Request Target Package Marketing Landing Page Expires in 5 days REQ-{id || "002"} Line Items {MOCK_ITEMS.map((item, i) => ( {item.description} {item.qty} × ${item.unitPrice.toLocaleString()} ${item.total.toLocaleString()} ))} Subtotal ${MOCK_SUBTOTAL.toLocaleString()} Tax (10%) ${MOCK_TAX.toLocaleString()} Estimated Total ${MOCK_TOTAL.toLocaleString()} Recent Submissions Vendor A — $1,450 Submitted 2 hours ago ); }