Booking and pricing related updates

This commit is contained in:
Stephanos A
2026-06-18 14:02:11 +03:00
parent aefee5027a
commit b491f39d42
10 changed files with 410 additions and 626 deletions

View File

@@ -731,14 +731,19 @@ export default function PricingPage() {
<div>
<label className="label">Route Code (Optional)</label>
<input
type="text"
<select
value={fareForm.route}
onChange={(e) => setFareForm({ ...fareForm, route: e.target.value })}
className="input w-full"
placeholder="e.g., ADD-DJI"
/>
<p className="text-xs text-muted-foreground mt-1">e.g., ADD-DJI for full route</p>
>
<option value="">All routes</option>
{routesArray.map((route: Route) => (
<option key={route.id} value={route.code}>
{route.code} {route.name}
</option>
))}
</select>
<p className="text-xs text-muted-foreground mt-1">Scope this fare to a specific route</p>
</div>
</div>