"use strict";(globalThis.webpackChunktripdocs=globalThis.webpackChunktripdocs||[]).push([[903],{4579:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>o,contentTitle:()=>a,default:()=>p,frontMatter:()=>l,metadata:()=>t,toc:()=>c});const t=JSON.parse('{"id":"trips-planner/trip-plan-creation","title":"Trip - Plan creation","description":"Create your first plan","source":"@site/docs/trips-planner/trip-plan-creation.md","sourceDirName":"trips-planner","slug":"/trips-planner/trip-plan-creation","permalink":"/trip/docs/trips-planner/trip-plan-creation","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":8,"frontMatter":{"sidebar_position":8,"description":"Create your first plan"},"sidebar":"docSidebar","previous":{"title":"Trip - Plans","permalink":"/trip/docs/trips-planner/trip-plans"},"next":{"title":"Trip - Attachments & lists","permalink":"/trip/docs/trips-planner/trip-attachments-lists"}}');var r=i(4848),s=i(8453);const l={sidebar_position:8,description:"Create your first plan"},a="Trip - Plan creation",o={},c=[];function d(e){const n={a:"a",admonition:"admonition",code:"code",em:"em",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"trip---plan-creation",children:"Trip - Plan creation"})}),"\n",(0,r.jsx)(n.p,{children:"Creating a plan is done through the plan creation modal."}),"\n",(0,r.jsx)("img",{src:"/trip/img/trip_plan_create.png",alt:""}),"\n",(0,r.jsx)("div",{style:{textAlign:"center"},children:(0,r.jsx)("sup",{children:"Plan creation modal"})}),"\n",(0,r.jsx)(n.p,{children:"A plan has the following fields:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"days"}),": day(s) for the plan"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"time"}),": ",(0,r.jsx)(n.code,{children:"HH:MM"}),"\xa0format time to sort plans within a day"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"text"}),": summary of the plan"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"place"}),": optional place (from referenced ones)"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"latitude"}),": latitude coordinates (support multiple formats, e.g., see ",(0,r.jsx)(n.a,{href:"../map-tracker/places-creation#latitude-longitude-parser",children:"Place - Creation"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"longitude"}),": longitude coordinates"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"price"}),": optional price"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"status"}),": optional label to tag the plan (",(0,r.jsx)(n.em,{children:"pending"}),", ",(0,r.jsx)(n.em,{children:"booked"}),", ",(0,r.jsx)(n.em,{children:"constraint"}),", ",(0,r.jsx)(n.em,{children:"optional"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"attachments"}),": optional files linked to the plan, based on the trip attachments"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"comment"}),": optional notes (links will be auto-clickable)"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"image"}),": optional image for this plan"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"gpx"}),": optional GPX file to display trace on the map"]}),"\n"]}),"\n",(0,r.jsx)(n.admonition,{type:"tip",children:(0,r.jsxs)(n.p,{children:["Use the ",(0,r.jsx)(n.code,{children:"status"})," field to mark ",(0,r.jsx)(n.em,{children:"pending"})," or ",(0,r.jsx)(n.em,{children:"constraint"})," or ",(0,r.jsx)(n.em,{children:"booked"})," plans to track your bookings and requirements. The ",(0,r.jsx)(n.a,{href:"trip-attachments-lists#checklist",children:"checklist"})," automatically references ",(0,r.jsx)(n.em,{children:"pending"})," and ",(0,r.jsx)(n.em,{children:"constraint"})," plans."]})})]})}function p(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>l,x:()=>a});var t=i(6540);const r={},s=t.createContext(r);function l(e){const n=t.useContext(s);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]);