import { makeAutoObservable , runInAction } from "mobx" ;
import * as req from '@/utils/request' ;
import { prepareUrl } from '@/utils/commons' ;
class Reservation {
constructor ( root ) {
makeAutoObservable ( this , { rootStore : false } ) ;
this . root = root ;
}
fetchRecent ( ) {
runInAction ( ( ) => {
this . reservationList = [
{
key : '1' ,
id : '1' ,
referenceNumber : '111029-N111025076' ,
arrivalDate : '2023-04-08' ,
pax : '5AD 1CH' ,
status : 'Confirm' ,
reservationDate : '2023-04-08 19:31' ,
guide : 'Bill' ,
} ,
{
key : '2' ,
id : '3' ,
referenceNumber : '111029-N111025076' ,
arrivalDate : '2023-04-08' ,
pax : '5AD 1CH' ,
status : 'Confirm' ,
reservationDate : '2023-04-08 19:31' ,
guide : 'Jim' ,
} ,
{
key : '3' ,
id : '3' ,
referenceNumber : '111029-N111025076' ,
arrivalDate : '2023-05-08' ,
pax : '3AD' ,
status : 'Confirm' ,
reservationDate : '2023-01-08 19:31' ,
guide : 'Giffigan' ,
} ,
{
key : '3' ,
id : '3' ,
referenceNumber : '111029-N111025076' ,
arrivalDate : '2023-05-08' ,
pax : '3AD' ,
status : 'Confirm' ,
reservationDate : '2023-01-08 19:31' ,
guide : 'Laurie Notaro' ,
} ,
] ;
} ) ;
}
reservationList = [ ] ;
customerList = [
{
title : 'Crane / Gemma Chelse' ,
description : 'Gender: Male Nationality: United States Passport: 655844449 Expiration Date: 2030-09-07 Birth Date: 1979-12-23' ,
} ,
{
title : 'McCracken / Ryan Lee' ,
description : 'Gender: Female Nationality: United States Passport: 655844450 Expiration Date: 2030-09-07 Birth Date: 1983-05-17' ,
} ,
{
title : 'Ramlakhan / Darryl' ,
description : 'Gender: Female Nationality: United States Passport: 661810034 Expiration Date: 2026-03-16 Birth Date: 2006-07-12' ,
} ,
{
title : 'Ramlakhan / Reanne' ,
description : 'Gender: Male Nationality: United States Passport: 593422145 Expiration Date: 2023-04-25 Birth Date: 2012-03-26' ,
} ,
{
title : 'Alexander Daich' ,
description : 'Gender: Male Nationality: United States Passport: 593422145 Expiration Date: 2023-04-25 Birth Date: 2012-03-26s' ,
} ,
] ;
itineraryList = [
{
key : '1' ,
day : 'Tue 05-Jul-2022' ,
placeTransport : 'Bangkok to Chiang Mai, PG217 Dep 12:15 - Arr 13:35 (Economy class)' ,
todayActivities : 'Hotel to airport Transfer (Bangkok), Airport to Hotel Transfer (Chiang Mai), Street Food Tour in Chiang Mai (Morning or Afternoon)' ,
accommodation : 'The Rim Resort **** (Dahla Junior Suite)' ,
meals : 'B,D'
} ,
{
key : '2' ,
day : 'Wed 06-Jul-2022' ,
placeTransport : 'Chiang Mai' ,
todayActivities : 'Elephant Jungle Sanctuary Half Day Tour (Private transfer and Join in activity), Chiang Mai City Lifestyle Experiece and Mountain Doi Suthep Half Day Tour with a rickshaw ride' ,
accommodation : 'The Rim Resort **** (Dahla Junior Suite)' ,
meals : 'B'
} ,
{
key : '3' ,
day : 'Thu 07-Jul-2022' ,
placeTransport : 'Chiang Mai to Phuket , VZ414 Dep 10:40 - Arr 12:50 (Economy class)' ,
todayActivities : 'Hotel to airport Transfer (Chiang Mai), Airport to Hotel Transfer (Phuket )' ,
accommodation : 'Pamookkoo Resort **** (Family room)' ,
meals : 'B'
} ,
] ;
}
export default Reservation ;