Merged PR 2384: updated pdf to show correct lang prefs on appeal pdf
updated pdf to show correct lang prefs on appeal pdf Related work items: #23562
This commit is contained in:
@@ -440,7 +440,7 @@ export const planningappeals78_pdf = ({ docProps, pickListData }) => {
|
||||
<Text style={styles.questionText}>
|
||||
{getTrans(
|
||||
locale,
|
||||
"pdf-case-details-label-3"
|
||||
"pdf-case-details-label-6"
|
||||
)}
|
||||
</Text>
|
||||
<Text style={styles.questionAnswer}>
|
||||
@@ -451,6 +451,28 @@ export const planningappeals78_pdf = ({ docProps, pickListData }) => {
|
||||
}
|
||||
</Text>
|
||||
</View>
|
||||
<View
|
||||
wrap={false}
|
||||
style={{
|
||||
flexDirection: "row",
|
||||
marginBottom: 10
|
||||
}}
|
||||
>
|
||||
<Text style={styles.questionText}>
|
||||
{getTrans(
|
||||
locale,
|
||||
"pdf-case-details-label-8"
|
||||
)}
|
||||
</Text>
|
||||
<Text style={styles.questionAnswer}>
|
||||
{" "}
|
||||
{values.caseObj
|
||||
.pinswg_languagepreference ==
|
||||
"846040000"
|
||||
? "English"
|
||||
: "Welsh"}
|
||||
</Text>
|
||||
</View>
|
||||
{values.caseObj.pinswg_appellantagent !=
|
||||
"846040000" && (
|
||||
<>
|
||||
@@ -582,13 +604,39 @@ export const planningappeals78_pdf = ({ docProps, pickListData }) => {
|
||||
styles.questionAnswer
|
||||
}
|
||||
>
|
||||
{" "}
|
||||
{
|
||||
values.caseObj
|
||||
.pinswg_agentphonenumber
|
||||
}
|
||||
</Text>
|
||||
</View>
|
||||
<View
|
||||
wrap={false}
|
||||
style={{
|
||||
flexDirection: "row",
|
||||
marginBottom: 10
|
||||
}}
|
||||
>
|
||||
<Text
|
||||
style={styles.questionText}
|
||||
>
|
||||
{getTrans(
|
||||
locale,
|
||||
"pdf-case-details-agent-label-6"
|
||||
)}
|
||||
</Text>
|
||||
<Text
|
||||
style={
|
||||
styles.questionAnswer
|
||||
}
|
||||
>
|
||||
{values.caseObj
|
||||
.pinswg_agentlanguagepreference ==
|
||||
"846040000"
|
||||
? "English"
|
||||
: "Welsh"}
|
||||
</Text>
|
||||
</View>
|
||||
</>
|
||||
)}
|
||||
<View
|
||||
@@ -629,27 +677,6 @@ export const planningappeals78_pdf = ({ docProps, pickListData }) => {
|
||||
: "Post"}
|
||||
</Text>
|
||||
</View> */}
|
||||
<View
|
||||
wrap={false}
|
||||
style={{
|
||||
flexDirection: "row",
|
||||
marginBottom: 10
|
||||
}}
|
||||
>
|
||||
<Text style={styles.questionText}>
|
||||
{getTrans(
|
||||
locale,
|
||||
"pdf-case-details-label-8"
|
||||
)}
|
||||
</Text>
|
||||
<Text style={styles.questionAnswer}>
|
||||
{values.caseObj
|
||||
.pinswg_contactprefs ==
|
||||
"846040000"
|
||||
? "English"
|
||||
: "Welsh"}
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
@@ -140,10 +140,11 @@
|
||||
"pdf-case-details-label-5": "Cyfeiriad yr apelydd",
|
||||
"pdf-case-details-label-6": "Rhif ffôn yr apelydd",
|
||||
"pdf-case-details-label-7": "LPA",
|
||||
"pdf-case-details-label-8": "Dewis Iaith",
|
||||
"pdf-case-details-label-8": "Dewis Iaith yr Apelydd",
|
||||
"pdf-case-details-agent-label-1": "Enw'r cwmni",
|
||||
"pdf-case-details-agent-label-2": "Enw'r asiant",
|
||||
"pdf-case-details-agent-label-3": "Cyfeiriad e-bost yr asiant",
|
||||
"pdf-case-details-agent-label-4": "Cyfeiriad yr asiant",
|
||||
"pdf-case-details-agent-label-5": "Rhif ffôn yr asiant"
|
||||
"pdf-case-details-agent-label-5": "Rhif ffôn yr asiant",
|
||||
"pdf-case-details-agent-label-6": "Dewis iaith yr asiant"
|
||||
}
|
||||
@@ -140,10 +140,11 @@
|
||||
"pdf-case-details-label-5": "Appellant address",
|
||||
"pdf-case-details-label-6": "Appellant phone number",
|
||||
"pdf-case-details-label-7": "LPA",
|
||||
"pdf-case-details-label-8": "Language Preference",
|
||||
"pdf-case-details-label-8": "Appellant Language Preference",
|
||||
"pdf-case-details-agent-label-1": "Company name",
|
||||
"pdf-case-details-agent-label-2": "Agent name",
|
||||
"pdf-case-details-agent-label-3": "Agent email address",
|
||||
"pdf-case-details-agent-label-4": "Agent address",
|
||||
"pdf-case-details-agent-label-5": "Agent phone number"
|
||||
"pdf-case-details-agent-label-5": "Agent phone number",
|
||||
"pdf-case-details-agent-label-6": "Agent language preference"
|
||||
}
|
||||
Reference in New Issue
Block a user