\n
\n \n \n {sections.map((section, index) => {\n if (selected.length) {\n if (\n section.id === 4 &&\n !_.intersection(\n stepCancellationAdditionalExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 5 &&\n !_.intersection(\n stepPersonalItemsExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 6 &&\n !_.intersection(\n stepOverseasMedicalExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 7 &&\n !_.intersection(\n stepRentalVehicleExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 8 &&\n !_.intersection(\n stepSnowSportsExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 9 &&\n !_.intersection(\n stepOtherExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 18 &&\n !_.intersection(\n stepTripCancellationAndTripInterruptionExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 19 &&\n !_.intersection(\n stepBaggageAndPersonalItemsExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 20 &&\n !_.intersection(\n stepMedicalExpensesExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 16 &&\n !_.intersection(\n stepPetMedicalExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 17 &&\n !_.intersection(\n stepCollisionDamageExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 21 &&\n !_.intersection(\n stepPropertyDamageExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 22 &&\n !_.intersection(\n stepTripCancellationLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 23 &&\n !_.intersection(\n stepMedicalExpenseLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 24 &&\n !_.intersection(\n stepAccidentalDeathAndDismembermentLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 25 &&\n !_.intersection(\n stepTripDelayLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 26 &&\n !_.intersection(\n stepTripInterruptionLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 27 &&\n !_.intersection(\n stepMissedConnectionLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 28 &&\n !_.intersection(\n stepBaggageAndPersonalLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 29 &&\n !_.intersection(\n stepSportsEquipmentLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 32 &&\n !_.intersection(\n stepMedicalExpenseCFLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 33 &&\n !_.intersection(\n stepTripCancellationCFLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 34 &&\n !_.intersection(\n baggagePersonalEffectsLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 35 &&\n !_.intersection(\n itineraryChangeLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 33 &&\n !_.intersection(\n medicalHardshipLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 34 &&\n !_.intersection(\n jobLossHardshipLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 35 &&\n !_.intersection(\n disasterAssistanceHardshipLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n if (\n section.id === 36 &&\n !_.intersection(\n stepTravelDelayLookup.claimCodeList,\n _.map(selected, 'claimCode')\n ).length\n ) {\n return null;\n }\n }\n const Component = section.component;\n return (\n
\n {index === 0 && (\n
\n {claim.cellcaptive} Travel Claim Summary - \n {claimNo}\n
\n )}\n
\n \n {}}\n {...this.props}\n claimTypes={this.props.claimTypes}\n stepWhatHappenedData={this.props.form}\n stepOtherData={this.props.stepOtherData}\n stepTripCancellationAndTripInterruptionData={this.props.stepTripCancellationAndTripInterruptionData}\n showElectronicConsentDocument={showElectronicConsentDocument}\n electronicConsentDocument\n handleDownload={() => {}}\n emailAddress={emailAddress}\n errorEmails={errorEmails}\n jsonVersion={jsonVersion}\n claimTypesInit={this.props.claimTypesInit}\n showRequiredDocument={this.props.showRequiredDocument}\n />\n
\n \n
\n );\n })}\n
\n