Skip to content
Snippets Groups Projects
Commit 89b81e92 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

feat: add consents city

parent 7dab1b93
No related branches found
No related tags found
6 merge requests!96Deploy OpenShift v2,!95MEP fix liens undefined,!91MEP: removed Meilisearch,!79Fix: nginx unprivileged image,!77Back-office SGE before canary release,!70feat/us847 consents city
......@@ -92,6 +92,10 @@ const Consents: React.FC = () => {
initialWidth: 100,
filter: true,
},
{
field: 'city',
headerName: 'Ville',
},
{
field: 'startDate',
headerName: 'Début du consentement',
......
......@@ -14,6 +14,7 @@ export interface ConsentEntity {
address: string
postalCode: string
inseeCode: string
city: string
}
export interface IConsentPagination
......
......@@ -84,7 +84,7 @@ export class ConsentService {
.setLocale('fr-FR')
.toLocaleString()
const consent: IConsent = {
return {
ID: consentEntity.ID,
startDate: startDate,
endDate: endDate,
......@@ -93,8 +93,8 @@ export class ConsentService {
pointID: consentEntity.pointID,
address: consentEntity.address,
postalCode: consentEntity.postalCode,
city: consentEntity.city,
}
return consent
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment