mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 11:08:12 +00:00
Booking and pricing related updates
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user