π Add compulsory country code when selecting the phone number and append that field to the phone field (only one field) when submitting it.
π add compulsory BIRTH DATE to payment step both status page and booking widget. Make sure it looks nice on Mobile.
π Add compulsory phone number (with the updated regex) to payment step in both booking widget and status page form.
π¨ all "inviable" bookings should get automatically cancelled as well.
π Add compulsory country code when selecting the phone number and append that field to the phone field (only one field) when submitting it.
π add compulsory BIRTH DATE to payment step both status page and booking widget. Make sure it looks nice on Mobile.
π Add compulsory phone number (with the updated regex) to payment step in both booking widget and status page form.
π [Find alternative trip feature] 1) Add an wp_id
field to the period schema (api/models/period.js).
π [Find alternative trip feature] 2) Sync Period process with WP (api/wp/periods.js) should set the _id field to the month index. Suggestion: use a static map from month name βNovemberβ, βJuneβ to month index 10, 5, for example. Proposal: Use a 0..11 scheme.
π [Find alternative trip feature] 3) Sync Period process (api/wp/periods.js) should set wp_id to the WP ID.
π [Find alternative trip feature] 4) Sync Trips process with WP (api/wp/trips.js) should fetch periods and set in the periods array the month indexes corresponding to the trips periods. The array used to have something like [560, 556, 554], which are WP ID and it will now have [4, 5, 6]. That point to the _id in the period now.
π [Find alternative trip feature] 5) Add the periods field to the trip response in the booking widget.
π [Find alternative trip feature] 6) Availability date picker in the booking widget.
π [Find alternative trip feature] 7) Add an API validation for the same thing in the backend. This is useful for creating bookings from scratch.
π [Find alternative trip feature] 8) Add an alert when creating bookings from scratch if the period for the trip is wrong.
π¨ Bookings that should expire are not expiring.
π When a guide sends alternative available dates, send the following email to clients.