#{extends 'main.html' /} #{set title:'All Flights' /}
Id | Pilot | Origin | Destination | Price | Note | |||
---|---|---|---|---|---|---|---|---|
${flight.id} | ${flight.pilot} | ${flight.origin?.label} | ${flight.destination?.label} | ${flight.price?.format('###,###.00')} | #{if flight.note?.text}${flight.note?.internal ? 'Internal' : 'Public'}#{/if} | #{a @Passengers.index(flight.id)}Passengers#{/a} | Edit | #{delete @delete(flight.id), id:'delete_'+flight.id}Delete#{/delete} |