verify planning_live_application
This commit is contained in:
parent
ee6a7681a2
commit
d1d02b7c73
@ -166,6 +166,10 @@ export const buildingAttributesConfig = valueType<DataFieldConfig>()({ /* eslint
|
|||||||
edit: true,
|
edit: true,
|
||||||
verify: true,
|
verify: true,
|
||||||
},
|
},
|
||||||
|
planning_live_application: {
|
||||||
|
edit: true,
|
||||||
|
verify: true,
|
||||||
|
},
|
||||||
planning_in_conservation_area: {
|
planning_in_conservation_area: {
|
||||||
edit: true,
|
edit: true,
|
||||||
verify: true,
|
verify: true,
|
||||||
|
@ -40,6 +40,14 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => (
|
|||||||
value={null}
|
value={null}
|
||||||
disabled={true}
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
|
<Verification
|
||||||
|
slug="planning_live_application"
|
||||||
|
allow_verify={props.user !== undefined && props.building.planning_live_application !== null && !props.edited}
|
||||||
|
onVerify={props.onVerify}
|
||||||
|
user_verified={props.user_verified.hasOwnProperty("planning_live_application")}
|
||||||
|
user_verified_as={props.user_verified.planning_live_application}
|
||||||
|
verified_count={props.building.verified.planning_live_application}
|
||||||
|
/>
|
||||||
<CheckboxDataEntry
|
<CheckboxDataEntry
|
||||||
title={dataFields.planning_demolition_proposed.title}
|
title={dataFields.planning_demolition_proposed.title}
|
||||||
slug="planning_demolition_proposed"
|
slug="planning_demolition_proposed"
|
||||||
|
Loading…
Reference in New Issue
Block a user