diff --git a/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMaintain_QryService.cs b/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMaintain_QryService.cs index ea62b5b..a92b5c5 100644 --- a/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMaintain_QryService.cs +++ b/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMaintain_QryService.cs @@ -819,11 +819,13 @@ namespace EasyBL.WEBAPP.SYS rsBooking.CancellationPolicy = Service.CancelPolicy; } - rsBooking.OnSiteService = rsService; + if (!string.IsNullOrEmpty(Booking.OrderQuestion)) + { + rsBooking.OtherDetail = JsonConvert.DeserializeObject>(Booking.OrderQuestion); + } rsBooking.NoticeDetail = Booking.Message; - rsBooking.OtherDetail = ""; rsBooking.InvoiceID = ""; // set Member diff --git a/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingService.cs b/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingService.cs index 4766d54..e4b558f 100644 --- a/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingService.cs +++ b/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingService.cs @@ -346,7 +346,7 @@ namespace EasyBL.WEBAPP.SYS rsBookingDTO.OnSiteService = rsOnSiteService; rsBookingDTO.NoticeDetail = entityBooking.NoticeDetail; - rsBookingDTO.OtherDetail = entityBooking.OtherDetail; + //rsBookingDTO.OtherDetail = entityBooking.OtherDetail; rsBookingDTO.InvoiceID = entityBooking.InvoiceID; MemberDTO rsMember = new MemberDTO(); diff --git a/EuroTran/Entity/ShowEasyDtos/BookingDTO.cs b/EuroTran/Entity/ShowEasyDtos/BookingDTO.cs index 1e9291f..218774d 100644 --- a/EuroTran/Entity/ShowEasyDtos/BookingDTO.cs +++ b/EuroTran/Entity/ShowEasyDtos/BookingDTO.cs @@ -17,7 +17,7 @@ namespace Entity.ShowEasyDtos public OnSiteServiceDTO OnSiteService = new OnSiteServiceDTO(); public string NoticeDetail { get; set; } - public string OtherDetail { get; set; } + public List OtherDetail = new List(); public string InvoiceID { get; set; } public string MemberID { get; set; } public string Account { get; set; }