style: 조사매물 pdf 시공점명 있을 시 표시되도록 수정 및 일본어 문구 수정 #109

Merged
seul merged 1 commits from style/survey-pdf into dev 2025-07-17 16:16:11 +09:00

View File

@ -137,9 +137,15 @@ 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 && (
<View style={styles.headerLeft}>
<Text style={styles.headerLabel}>調</Text>
<Text style={styles.headerValue}>{survey?.constructionPoint ?? '-'}</Text>
</View>
)}
<View>
<Text style={styles.headerLabel}></Text>
<Text style={styles.headerValue}>{survey?.investigationDate ?? '-'}</Text>
@ -275,7 +281,9 @@ export default function SurveySalePdf({ survey }: { survey: SurveyBasicInfo }) {
</View>
<View style={styles.tableRow}>
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginT]}></Text>
<Text style={[styles.tableCell, styles.tableCellFlex1, styles.marginL, styles.marginT]}>{survey?.detailInfo?.leakTrace ? 'あり' : 'なし'}</Text>
<Text style={[styles.tableCell, styles.tableCellFlex1, styles.marginL, styles.marginT]}>
{survey?.detailInfo?.leakTrace ? 'あり' : 'なし'}
</Text>
</View>
<View style={styles.tableRow}>
<Text style={[styles.tableHeader, styles.tableHeaderMedium, styles.marginT]}></Text>