For those looking for an easy way to manage their travel information, this Notion template for airline tickets can provide a great solution. This template is designed to help users keep track of airline tickets and associated information. It includes sections for collecting and organizing information like flight number, departure and arrival times, airline, layovers, layover wait time, bag price, total cost, confirmation numbers, and more.
Formulas
if(not empty(prop("Return Flight")), prop("Price") + prop("Bag Price") + prop("Return Bag Price"), toNumber(""))
if(not empty(prop("Landing into (LO1)")) and not empty(prop("Departing from (LO1)")), format(dateBetween(prop("Departing from (LO1)"), prop("Landing into (LO1)"), "hours")) + " hrs " + format(dateBetween(prop("Departing from (LO1)"), prop("Landing into (LO1)"), "minutes") % 60) + " min", "")
if(not empty(prop("Landing into (LO2)")) and not empty(prop("Departing from (LO2)")), format(dateBetween(prop("Departing from (LO2)"), prop("Landing into (LO2)"), "hours")) + " hrs " + format(dateBetween(prop("Departing from (LO2)"), prop("Landing into (LO2)"), "minutes") % 60) + " min", "")
formatDate(prop("Take-off"), "LT")