CSR-1146 | add in provisionalBooking info to time-slot requests
This commit is contained in:
parent
278eec4291
commit
f811e76a10
2 changed files with 9 additions and 11 deletions
|
|
@ -108,7 +108,7 @@ export default {
|
||||||
additionalButtonData() {
|
additionalButtonData() {
|
||||||
const startDate = new Date();
|
const startDate = new Date();
|
||||||
const endDate = new Date();
|
const endDate = new Date();
|
||||||
endDate.setDate(startDate.getDate() + 7);
|
endDate.setDate(startDate.getDate() + 6);
|
||||||
|
|
||||||
const formattedStartDate = startDate.toISOString().split("T")[0];
|
const formattedStartDate = startDate.toISOString().split("T")[0];
|
||||||
const formattedEndDate = endDate.toISOString().split("T")[0];
|
const formattedEndDate = endDate.toISOString().split("T")[0];
|
||||||
|
|
|
||||||
|
|
@ -1255,11 +1255,10 @@ export const actions = {
|
||||||
additionalAuthFlag: "",
|
additionalAuthFlag: "",
|
||||||
},
|
},
|
||||||
partSelection: {
|
partSelection: {
|
||||||
// TODO: Provisional booking will utilize these fields
|
hasAnsweredPartQuestions: !!order.damage.partQuestionAnswers,
|
||||||
hasAnsweredPartQuestions: false,
|
hasAnsweredMoldingQuestions: !!order.damage.moldingQuestionAnswers,
|
||||||
hasAnsweredMoldingQuestions: false,
|
hasAnsweredCapabilityQuestions: !!order.damage.capabilityQuestionAnswers,
|
||||||
hasAnsweredCapabilityQuestions: false,
|
hasManuallySelectedParts: !!context.state.applicationUser.pageData["vehicle-parts"],
|
||||||
hasManuallySelectedParts: false,
|
|
||||||
},
|
},
|
||||||
vehicle: {
|
vehicle: {
|
||||||
year: vehicle.year,
|
year: vehicle.year,
|
||||||
|
|
@ -1308,11 +1307,10 @@ export const actions = {
|
||||||
additionalAuthFlag: "",
|
additionalAuthFlag: "",
|
||||||
},
|
},
|
||||||
partSelection: {
|
partSelection: {
|
||||||
// TODO: Provisional booking will utilize these fields
|
hasAnsweredPartQuestions: !!order.damage.partQuestionAnswers,
|
||||||
hasAnsweredPartQuestions: false,
|
hasAnsweredMoldingQuestions: !!order.damage.moldingQuestionAnswers,
|
||||||
hasAnsweredMoldingQuestions: false,
|
hasAnsweredCapabilityQuestions: !!order.damage.capabilityQuestionAnswers,
|
||||||
hasAnsweredCapabilityQuestions: false,
|
hasManuallySelectedParts: !!context.state.applicationUser.pageData["vehicle-parts"],
|
||||||
hasManuallySelectedParts: false,
|
|
||||||
},
|
},
|
||||||
vehicle: {
|
vehicle: {
|
||||||
year: vehicle.year,
|
year: vehicle.year,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue