style: 조사매물 PDF 파일 번역 수정
This commit is contained in:
parent
4286e20807
commit
c769d9b533
@ -137,7 +137,7 @@ export default function SurveySalePdf({ survey }: { survey: SurveyBasicInfo }) {
|
||||
<Text style={styles.title}>HWJ 現地調査シート</Text>
|
||||
<View style={styles.headerRight}>
|
||||
<View style={styles.headerLeft}>
|
||||
<Text style={styles.headerLabel}>現地調査販賣店名</Text>
|
||||
<Text style={styles.headerLabel}>現地調査会社名</Text>
|
||||
<Text style={styles.headerValue}>{survey?.store ?? '-'}</Text>
|
||||
</View>
|
||||
{survey?.constructionPoint && (
|
||||
@ -147,7 +147,7 @@ export default function SurveySalePdf({ survey }: { survey: SurveyBasicInfo }) {
|
||||
</View>
|
||||
)}
|
||||
<View>
|
||||
<Text style={styles.headerLabel}>現地阴買日</Text>
|
||||
<Text style={styles.headerLabel}>現地調査日</Text>
|
||||
<Text style={styles.headerValue}>{survey?.investigationDate ?? '-'}</Text>
|
||||
</View>
|
||||
</View>
|
||||
@ -171,16 +171,16 @@ export default function SurveySalePdf({ survey }: { survey: SurveyBasicInfo }) {
|
||||
|
||||
{/* Electric Info */}
|
||||
<View style={styles.section}>
|
||||
<Text style={styles.sectionTitle}>も気開係</Text>
|
||||
<Text style={styles.sectionTitle}>電気関係</Text>
|
||||
<View style={styles.table}>
|
||||
<View style={styles.tableRow}>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium]}>雨気契约容国</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium]}>電気契約容量</Text>
|
||||
<Text style={[styles.tableCell, styles.tableCellFlex1, styles.marginL]}>{survey?.detailInfo?.contractCapacity ?? '-'}</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginL]}>電気契約会社</Text>
|
||||
<Text style={[styles.tableCell, styles.tableCellFlex1, styles.marginL]}>{survey?.detailInfo?.retailCompany ?? '-'}</Text>
|
||||
</View>
|
||||
<View style={styles.tableRow}>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginT]}>電気付带設備</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginT]}>電気付帯設備</Text>
|
||||
<Text style={[styles.tableCell, styles.tableCellFlex1, styles.marginL, styles.marginT]}>
|
||||
{survey?.detailInfo?.supplementaryFacilities
|
||||
? supplementaryFacilities
|
||||
@ -207,7 +207,7 @@ export default function SurveySalePdf({ survey }: { survey: SurveyBasicInfo }) {
|
||||
|
||||
{/* Roof Info */}
|
||||
<View style={styles.section}>
|
||||
<Text style={styles.sectionTitle}>屋根眀係</Text>
|
||||
<Text style={styles.sectionTitle}>屋根関連</Text>
|
||||
<View style={styles.table}>
|
||||
<View style={styles.tableRow}>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium]}>築年数</Text>
|
||||
@ -218,7 +218,7 @@ export default function SurveySalePdf({ survey }: { survey: SurveyBasicInfo }) {
|
||||
? `既築 (${survey?.detailInfo?.constructionYear}年)`
|
||||
: '-'}
|
||||
</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginL]}>至根材</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginL]}>屋根材</Text>
|
||||
<Text style={[styles.tableCell, styles.tableCellFlex07, styles.marginL, styles.marginL]}>
|
||||
{survey?.detailInfo?.roofMaterial === null && survey?.detailInfo?.roofMaterialEtc === null
|
||||
? '-'
|
||||
@ -228,25 +228,25 @@ export default function SurveySalePdf({ survey }: { survey: SurveyBasicInfo }) {
|
||||
.join(', ')}
|
||||
{survey?.detailInfo?.roofMaterialEtc ? `, ${survey?.detailInfo?.roofMaterialEtc}` : ''}
|
||||
</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginL]}>座根形状</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginL]}>屋根形状</Text>
|
||||
<Text style={[styles.tableCell, styles.tableCellFlex07, styles.marginL]}>
|
||||
{selectBoxOptions.roofShape.find((shape) => shape.id.toString() === survey?.detailInfo?.roofShape)?.name ??
|
||||
(survey?.detailInfo?.roofShapeEtc ? ` ${survey?.detailInfo?.roofShapeEtc}` : '-')}
|
||||
</Text>
|
||||
</View>
|
||||
<View style={styles.tableRow}>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginT]}>座根勾配</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginT]}>屋根勾配</Text>
|
||||
<Text style={[styles.tableCell, styles.tableCellFlex1, styles.marginL, styles.marginT, styles.marginL]}>
|
||||
{survey?.detailInfo?.roofSlope ? `${survey?.detailInfo?.roofSlope} 寸` : '-'}
|
||||
</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginL, styles.marginT]}>住宅樠造</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginL, styles.marginT]}>住宅構造</Text>
|
||||
<Text style={[styles.tableCell, styles.tableCellFlex2, styles.marginL, styles.marginL, styles.marginT]}>
|
||||
{radioEtcData.houseStructure.find((structure) => structure.id.toString() === survey?.detailInfo?.houseStructure)?.label ??
|
||||
(survey?.detailInfo?.houseStructureEtc ? ` ${survey?.detailInfo?.houseStructureEtc}` : '-')}
|
||||
</Text>
|
||||
</View>
|
||||
<View style={styles.tableRow}>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginT]}>並木材質</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginT]}>垂木材質</Text>
|
||||
<Text style={[styles.tableCell, styles.tableCellFlex1, styles.marginL, styles.marginT]}>
|
||||
{radioEtcData.rafterMaterial.find((material) => material.id.toString() === survey?.detailInfo?.rafterMaterial)?.label ??
|
||||
(survey?.detailInfo?.rafterMaterialEtc ? ` ${survey?.detailInfo?.rafterMaterialEtc}` : '-')}
|
||||
@ -280,7 +280,7 @@ export default function SurveySalePdf({ survey }: { survey: SurveyBasicInfo }) {
|
||||
</Text>
|
||||
</View>
|
||||
<View style={styles.tableRow}>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginT]}>兩漏の形跡</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginT]}>雨漏りの形跡</Text>
|
||||
<Text style={[styles.tableCell, styles.tableCellFlex1, styles.marginL, styles.marginT]}>
|
||||
{survey?.detailInfo?.leakTrace ? 'あり' : 'なし'}
|
||||
</Text>
|
||||
@ -313,7 +313,7 @@ export default function SurveySalePdf({ survey }: { survey: SurveyBasicInfo }) {
|
||||
<View style={styles.sectionNoPadding}>
|
||||
<View style={styles.table}>
|
||||
<View style={styles.tableRow}>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderLarge]}>区根製品名設置可否確認</Text>
|
||||
<Text style={[styles.tableHeader, styles.tableHeaderLarge]}>屋根製品名設置可否</Text>
|
||||
<Text style={[styles.tableCell, styles.tableCellFlex1, styles.marginL]}>
|
||||
{survey?.detailInfo?.installationAvailability === null && survey.detailInfo?.installationAvailabilityEtc === null
|
||||
? '-'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user