Setup TripPlanner

Enter your Supabase credentials below to connect your app.

TripPlanner

Secure Partner Access

{{ authError }}

{{ currentView === 'dashboard' ? 'My Trips' : activeTrip?.name }}

Plan a New Trip

Upcoming Trips

{{ trip.name }}

{{ trip.start_date }} to {{ trip.end_date }} • {{ trip.fcy_code || 'JPY' }} / {{ trip.lcy_code || 'PHP' }}

Schedule

{{ formatDate(day.date) }}
☰ for mins → {{ formatAMPM(item.end_time) }}
📄 {{ file.name }}

Pre-Flight Checklist

☰ {{ getPreflightIcon(item.category) }}
📄 {{ file.name }}
Nica's Expense
₱{{ formatRound(totals.nicaTotalLCY) }}
Gab's Expense
₱{{ formatRound(totals.gabTotalLCY) }}
Outstanding Balance: {{ totals.settlementText }}
{{ cat }} ₱{{ formatNumber(amount) }}

Transactions ({{ sortedExpenses.length }})

No transactions logged yet. Click '+ Log Transaction' to start.
{{ exp.type.toUpperCase() }} {{ exp.type === 'settlement' ? 'Settlement Payment' : (exp.notes || exp.category) }}
{{ exp.currency_type === 'FCY' ? getSymbol(activeTrip?.fcy_code) : getSymbol(activeTrip?.lcy_code) }}{{ formatNumber(exp.currency_type === 'FCY' ? exp.fcy_amount : exp.lcy_amount) }}
{{ exp.currency_type === 'FCY' ? getSymbol(activeTrip?.lcy_code) + formatNumber(exp.lcy_amount) : getSymbol(activeTrip?.fcy_code) + formatNumber(exp.fcy_amount) }}
{{ exp.paid_by }} paid {{ exp.paid_to }} Paid by {{ exp.paid_by }} via {{ exp.paid_from }} {{ formatDate(exp.date) }}
{{ it.desc || 'Item' }} ({{ it.split }}) {{ exp.currency_type === 'FCY' ? getSymbol(activeTrip?.fcy_code) : getSymbol(activeTrip?.lcy_code) }}{{ formatNumber(it.amount) }}
🧾 {{ file.name }}
FX: {{ exp.fx_rate }} {{ activeTrip?.lcy_code }}/{{ activeTrip?.fcy_code }}

{{ editingExpenseId ? 'Edit Transaction' : 'Log New Transaction' }}

FX Mode:
1 {{ activeTrip?.fcy_code || 'FCY' }} = {{ formExpense.fx_rate }} {{ activeTrip?.lcy_code || 'PHP' }}
{{ file.name }}
{{ selectedAttachment.name }}