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

This commit is contained in:
Dayoung 2025-07-17 16:08:20 +09:00
parent be5c07a777
commit 73dd800937

View File

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