Yaltopia-Tickets-App/lib/mock-data.ts
“kirukib” 4efcacaeba feat: add suggested screens with orange/black theme and mock data
- Add Expo Router with bottom tabs (Home, Scan, Proforma, Payments, Profile)
- Home: earnings summary, quick actions, invoice list with Waiting/Paid filters
- Scan: placeholder for camera flow, recent scans list
- Proforma: list of proforma requests with send-to-contacts CTA
- Payments: pending match and reconciled list
- Profile: account info, about, logout
- Apply Yaltopia theme: primary orange (#ea580c), dark navbar/tabs (#2d2d2d)
- Add mock data (invoices, proforma, payments, user) in lib/mock-data.ts
- Root layout: GestureHandler, SafeArea, PortalHost; tab bar dark with orange active

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-22 22:43:30 +03:00

95 lines
1.8 KiB
TypeScript

export const MOCK_USER = {
name: 'Octavia',
email: 'octavia@yaltopia.com',
};
export const MOCK_INVOICES = [
{
id: '1',
recipient: 'Robin Murray',
recipientEmail: 'robinmurray@email.com',
invoiceNumber: '2',
dueDate: 'Sep 11, 2022',
amount: 1540,
status: 'Waiting',
createdAt: 'Sep 8, 2022',
},
{
id: '2',
recipient: 'Sophie Shonia',
recipientEmail: 'sophie@email.com',
invoiceNumber: '4',
dueDate: 'Sep 9, 2022',
amount: 500,
status: 'Paid',
createdAt: 'Sep 9, 2022',
},
{
id: '3',
recipient: 'Atlantis Limited',
recipientEmail: 'contact@atlantis.com',
invoiceNumber: '3',
dueDate: 'Sep 9, 2022',
amount: 2000,
status: 'Paid',
createdAt: 'Sep 9, 2022',
},
];
export const MOCK_PROFORMA = [
{
id: 'pf1',
title: 'Marketing Landing Page Package',
description: 'Landing page design and development',
deadline: 'Sep 20, 2022',
itemCount: 2,
sentCount: 3,
},
{
id: 'pf2',
title: 'Q4 Brand Assets',
description: 'Logo variants and social templates',
deadline: 'Sep 25, 2022',
itemCount: 5,
sentCount: 0,
},
];
export const MOCK_PAYMENTS = [
{
id: 'pay1',
date: 'Sep 12, 2022',
amount: 1540,
reference: 'INV-002',
source: 'Telebirr',
matched: true,
invoiceId: '1',
},
{
id: 'pay2',
date: 'Sep 10, 2022',
amount: 500,
reference: 'INV-004',
source: 'Bank Transfer',
matched: true,
invoiceId: '2',
},
{
id: 'pay3',
date: 'Sep 11, 2022',
amount: 2000,
reference: null,
source: 'Telebirr',
matched: false,
invoiceId: null,
},
];
export const EARNINGS_SUMMARY = {
balance: 6432,
waitingAmount: 1540,
waitingCount: 1,
paidThisMonth: 4120,
paidCount: 4,
};