adjsuted appeal type specific fields
This commit is contained in:
@@ -188,6 +188,26 @@ const Pinswg_commonlandid = (props) => {
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
<div className="govuk-summary-list__row">
|
||||
<dt className="govuk-summary-list__key">
|
||||
{t(
|
||||
"case:summary-case-relevant-authoritylabel"
|
||||
)}
|
||||
</dt>
|
||||
<dd className="govuk-summary-list__value">
|
||||
{router.locale == "cy"
|
||||
? jsonpath.query(
|
||||
transLookup,
|
||||
'$..[?(@.value=="' +
|
||||
detailsObj.pinswg_relevantauthorityname +
|
||||
'")].value_cy'
|
||||
)
|
||||
: detailsObj.pinswg_relevantauthorityname ||
|
||||
t(
|
||||
"case:summary-no-date-entered-label"
|
||||
)}
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -170,6 +170,26 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
<div className="govuk-summary-list__row">
|
||||
<dt className="govuk-summary-list__key">
|
||||
{t(
|
||||
"case:summary-case-relevant-authoritylabel"
|
||||
)}
|
||||
</dt>
|
||||
<dd className="govuk-summary-list__value">
|
||||
{router.locale == "cy"
|
||||
? jsonpath.query(
|
||||
transLookup,
|
||||
'$..[?(@.value=="' +
|
||||
detailsObj.pinswg_relevantauthorityname +
|
||||
'")].value_cy'
|
||||
)
|
||||
: detailsObj.pinswg_relevantauthorityname ||
|
||||
t(
|
||||
"case:summary-no-date-entered-label"
|
||||
)}
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -188,6 +188,26 @@ const Pinswg_environmentalpermittingid = (props) => {
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
<div className="govuk-summary-list__row">
|
||||
<dt className="govuk-summary-list__key">
|
||||
{t(
|
||||
"case:summary-case-relevant-authoritylabel"
|
||||
)}
|
||||
</dt>
|
||||
<dd className="govuk-summary-list__value">
|
||||
{router.locale == "cy"
|
||||
? jsonpath.query(
|
||||
transLookup,
|
||||
'$..[?(@.value=="' +
|
||||
detailsObj.pinswg_relevantauthorityname +
|
||||
'")].value_cy'
|
||||
)
|
||||
: detailsObj.pinswg_relevantauthorityname ||
|
||||
t(
|
||||
"case:summary-no-date-entered-label"
|
||||
)}
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -188,6 +188,26 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
<div className="govuk-summary-list__row">
|
||||
<dt className="govuk-summary-list__key">
|
||||
{t(
|
||||
"case:summary-case-relevant-authoritylabel"
|
||||
)}
|
||||
</dt>
|
||||
<dd className="govuk-summary-list__value">
|
||||
{router.locale == "cy"
|
||||
? jsonpath.query(
|
||||
transLookup,
|
||||
'$..[?(@.value=="' +
|
||||
detailsObj.pinswg_relevantauthorityname +
|
||||
'")].value_cy'
|
||||
)
|
||||
: detailsObj.pinswg_relevantauthorityname ||
|
||||
t(
|
||||
"case:summary-no-date-entered-label"
|
||||
)}
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -188,6 +188,26 @@ const Pinswg_miscellaneouscasewordid = (props) => {
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
<div className="govuk-summary-list__row">
|
||||
<dt className="govuk-summary-list__key">
|
||||
{t(
|
||||
"case:summary-case-relevant-authoritylabel"
|
||||
)}
|
||||
</dt>
|
||||
<dd className="govuk-summary-list__value">
|
||||
{router.locale == "cy"
|
||||
? jsonpath.query(
|
||||
transLookup,
|
||||
'$..[?(@.value=="' +
|
||||
detailsObj.pinswg_relevantauthorityname +
|
||||
'")].value_cy'
|
||||
)
|
||||
: detailsObj.pinswg_relevantauthorityname ||
|
||||
t(
|
||||
"case:summary-no-date-entered-label"
|
||||
)}
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -188,6 +188,26 @@ const Pinswg_rowid = (props) => {
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
<div className="govuk-summary-list__row">
|
||||
<dt className="govuk-summary-list__key">
|
||||
{t(
|
||||
"case:summary-case-relevant-authoritylabel"
|
||||
)}
|
||||
</dt>
|
||||
<dd className="govuk-summary-list__value">
|
||||
{router.locale == "cy"
|
||||
? jsonpath.query(
|
||||
transLookup,
|
||||
'$..[?(@.value=="' +
|
||||
detailsObj.pinswg_relevantauthorityname +
|
||||
'")].value_cy'
|
||||
)
|
||||
: detailsObj.pinswg_relevantauthorityname ||
|
||||
t(
|
||||
"case:summary-no-date-entered-label"
|
||||
)}
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -188,6 +188,26 @@ const Pinswg_wayleaveid = (props) => {
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
<div className="govuk-summary-list__row">
|
||||
<dt className="govuk-summary-list__key">
|
||||
{t(
|
||||
"case:summary-case-relevant-authoritylabel"
|
||||
)}
|
||||
</dt>
|
||||
<dd className="govuk-summary-list__value">
|
||||
{router.locale == "cy"
|
||||
? jsonpath.query(
|
||||
transLookup,
|
||||
'$..[?(@.value=="' +
|
||||
detailsObj.pinswg_relevantauthorityname +
|
||||
'")].value_cy'
|
||||
)
|
||||
: detailsObj.pinswg_relevantauthorityname ||
|
||||
t(
|
||||
"case:summary-no-date-entered-label"
|
||||
)}
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -99,6 +99,10 @@ const DNSSearchResults = (props) => {
|
||||
item.title,
|
||||
"currentType":
|
||||
"searchResultsObj",
|
||||
"incidentid":
|
||||
item.incidentid,
|
||||
"appealType":
|
||||
item.pinswg_appealcasetype,
|
||||
});
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -15,7 +15,7 @@ const PaginationControl = (props) => {
|
||||
const router = useRouter();
|
||||
const { locale } = router;
|
||||
|
||||
const pagesCount = Math.ceil(searchResultsObj["@odata.count"] / 5);
|
||||
const pagesCount = Math.ceil(searchResultsObj["@odata.count"] / 10);
|
||||
|
||||
const getRange = (start, end) => {
|
||||
//console.log(start, end);
|
||||
|
||||
+23
-1
@@ -8,6 +8,7 @@
|
||||
"summary-make-representation-label": "Cyflwyno cynrychiolaeth",
|
||||
"summary-back-button-label": "Ewch yn ôl",
|
||||
"summary-case-details-label": "Manylion yr Achos",
|
||||
"summary-project-details-label": "Manylion y Prosiect",
|
||||
"summary-case-type-label": "Math o Achos",
|
||||
"summary-lpa-label": "Awdurdod Cynllunio Lleol",
|
||||
"summary-case-summary-label": "Crynodeb o'r Achos",
|
||||
@@ -39,5 +40,26 @@
|
||||
"documents-heading-label": "Dogfennau",
|
||||
"documents-checking-label": "Gwirio am ddogfennau",
|
||||
"documents-count-label-1": "Mae yna",
|
||||
"documents-count-label-2": "dogfennau"
|
||||
"documents-count-label-2": "dogfennau",
|
||||
"summary-application-accepted-as-valid": "Derbynnir cais fel un dilys",
|
||||
"summary-application-rejected-as-invalid": "Gwrthodwyd y cais fel Ymfudwr",
|
||||
"summary-confirm-request-to-vary-application": "Cadarnhewch y cais i amrywio cais",
|
||||
"summary-date-of-decisions": "Dyddiad penderfyniadau",
|
||||
"summary-date-of-request-to-vary": "Dyddiad y cais i amrywio",
|
||||
"summary-date-of-submission-of-application": "Dyddiad cyflwyno'r cais",
|
||||
"summary-date-project-published-to-website": "Dyddiad Cyhoeddi Prosiect i Wefan",
|
||||
"summary-deadline-for-submission-of-application": "Dyddiad cau ar gyfer cyflwyno'r cais",
|
||||
"summary-end-of-representation-period": "Diwedd y cyfnod cynrychiolaeth",
|
||||
"summary-inspector-report-submission-to-welsh-government": "Cyflwyniad Adroddiad yr Arolygydd i Lywodraeth Cymru",
|
||||
"summary-procedure-confirmed": "Cadarnhawyd y weithdrefn",
|
||||
"summary-reject-request-to-vary-application": "Gwrthod cais i amrywio cais",
|
||||
"summary-report-due-by": "Adroddiad yn ddyledus gan",
|
||||
"summary-suspension-dates": "Dyddiadau Atal",
|
||||
"summary-suspension-end-dates": "Dyddiadau Gorffen Atal dros dro",
|
||||
"summary-suspension-start-dates": "Dyddiadau cychwyn atal dros dro",
|
||||
"summary-valid-notice-of-intention-to-submit-an-application": "Hysbysiad dilys o fwriad i gyflwyno cais",
|
||||
"summary-withdrawn-date": "Dyddiad tynnu'n ôl",
|
||||
"summary-written-acceptance-of-notice": "Derbyniad ysgrifenedig o rybudd",
|
||||
"summary-case-website-label": "Gwefan",
|
||||
"summary-case-recommendation-label": "Argymhelliad"
|
||||
}
|
||||
+23
-1
@@ -8,6 +8,7 @@
|
||||
"summary-make-representation-label": "Make representation",
|
||||
"summary-back-button-label": "Go back",
|
||||
"summary-case-details-label": "Case Details",
|
||||
"summary-project-details-label": "Project Details",
|
||||
"summary-case-type-label": "Case Type",
|
||||
"summary-lpa-label": "Local Planning Authority",
|
||||
"summary-case-summary-label": "Case Summary",
|
||||
@@ -39,5 +40,26 @@
|
||||
"documents-heading-label": "Documents",
|
||||
"documents-checking-label": "Checking for documents",
|
||||
"documents-count-label-1": "There are",
|
||||
"documents-count-label-2": "documents"
|
||||
"documents-count-label-2": "documents",
|
||||
"summary-application-accepted-as-valid": "Application Accepted as Valid",
|
||||
"summary-application-rejected-as-invalid": "Application rejected as Invalid",
|
||||
"summary-confirm-request-to-vary-application": "Confirm Request to Vary Application",
|
||||
"summary-date-of-decisions": "Date of Decisions",
|
||||
"summary-date-of-request-to-vary": "Date of request to Vary",
|
||||
"summary-date-of-submission-of-application": "Date of submission of Application",
|
||||
"summary-date-project-published-to-website": "Date Project Published to Website",
|
||||
"summary-deadline-for-submission-of-application": "Deadline for submission of Application",
|
||||
"summary-end-of-representation-period": "End of representation Period",
|
||||
"summary-inspector-report-submission-to-welsh-government": "Inspector Report Submission to Welsh Government",
|
||||
"summary-procedure-confirmed": "Procedure Confirmed",
|
||||
"summary-reject-request-to-vary-application": "Reject Request to Vary Application",
|
||||
"summary-report-due-by": "Report Due By",
|
||||
"summary-suspension-dates": "Suspension Dates",
|
||||
"summary-suspension-end-dates": "Suspension End Dates",
|
||||
"summary-suspension-start-dates": "Suspension Start Dates",
|
||||
"summary-valid-notice-of-intention-to-submit-an-application": "Valid Notice of intention to submit an Application",
|
||||
"summary-withdrawn-date": "Withdrawn Date",
|
||||
"summary-written-acceptance-of-notice": "Written Acceptance of Notice",
|
||||
"summary-case-website-label": "Website",
|
||||
"summary-case-recommendation-label": "Recommendation"
|
||||
}
|
||||
@@ -67,6 +67,9 @@ const Home = (props) => {
|
||||
props.currentView.caseReference.currentType
|
||||
}
|
||||
incidentid={props.currentView.caseReference.incidentid}
|
||||
appealTypeID={
|
||||
props.currentView.caseReference.appealType
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
<Footer footerLinks={footerLinks} />
|
||||
|
||||
Reference in New Issue
Block a user