import { View, ScrollView } from 'react-native'; import { useLocalSearchParams, router } from 'expo-router'; import { Text } from '@/components/ui/text'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@/components/ui/card'; 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 ( Proforma Request #{id ?? '—'} Marketing Landing Page Package Deadline: Sep 20, 2022 · OPEN {MOCK_ITEMS.map((item, i) => ( {item.description} × {item.qty} ${item.total.toLocaleString()} ))} Subtotal ${MOCK_SUBTOTAL.toLocaleString()} Tax (10%) ${MOCK_TAX.toLocaleString()} Total ${MOCK_TOTAL.toLocaleString()} Submissions (mock) Vendor A — $1,450 Submitted Sep 15, 2022 ); }