Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
backoffice_client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
LLLE_Project
backoffice_client
Commits
89b81e92
Commit
89b81e92
authored
Oct 5, 2022
by
Bastien DUMONT
Browse files
Options
Downloads
Patches
Plain Diff
feat: add consents city
parent
7dab1b93
No related branches found
No related tags found
6 merge requests
!96
Deploy OpenShift v2
,
!95
MEP fix liens undefined
,
!91
MEP: removed Meilisearch
,
!79
Fix: nginx unprivileged image
,
!77
Back-office SGE before canary release
,
!70
feat/us847 consents city
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/components/Consents/Consents.tsx
+4
-0
4 additions, 0 deletions
src/components/Consents/Consents.tsx
src/models/consent.model.ts
+1
-0
1 addition, 0 deletions
src/models/consent.model.ts
src/services/consent.service.ts
+2
-2
2 additions, 2 deletions
src/services/consent.service.ts
with
7 additions
and
2 deletions
src/components/Consents/Consents.tsx
+
4
−
0
View file @
89b81e92
...
@@ -92,6 +92,10 @@ const Consents: React.FC = () => {
...
@@ -92,6 +92,10 @@ const Consents: React.FC = () => {
initialWidth
:
100
,
initialWidth
:
100
,
filter
:
true
,
filter
:
true
,
},
},
{
field
:
'
city
'
,
headerName
:
'
Ville
'
,
},
{
{
field
:
'
startDate
'
,
field
:
'
startDate
'
,
headerName
:
'
Début du consentement
'
,
headerName
:
'
Début du consentement
'
,
...
...
This diff is collapsed.
Click to expand it.
src/models/consent.model.ts
+
1
−
0
View file @
89b81e92
...
@@ -14,6 +14,7 @@ export interface ConsentEntity {
...
@@ -14,6 +14,7 @@ export interface ConsentEntity {
address
:
string
address
:
string
postalCode
:
string
postalCode
:
string
inseeCode
:
string
inseeCode
:
string
city
:
string
}
}
export
interface
IConsentPagination
export
interface
IConsentPagination
...
...
This diff is collapsed.
Click to expand it.
src/services/consent.service.ts
+
2
−
2
View file @
89b81e92
...
@@ -84,7 +84,7 @@ export class ConsentService {
...
@@ -84,7 +84,7 @@ export class ConsentService {
.
setLocale
(
'
fr-FR
'
)
.
setLocale
(
'
fr-FR
'
)
.
toLocaleString
()
.
toLocaleString
()
const
consent
:
IConsent
=
{
return
{
ID
:
consentEntity
.
ID
,
ID
:
consentEntity
.
ID
,
startDate
:
startDate
,
startDate
:
startDate
,
endDate
:
endDate
,
endDate
:
endDate
,
...
@@ -93,8 +93,8 @@ export class ConsentService {
...
@@ -93,8 +93,8 @@ export class ConsentService {
pointID
:
consentEntity
.
pointID
,
pointID
:
consentEntity
.
pointID
,
address
:
consentEntity
.
address
,
address
:
consentEntity
.
address
,
postalCode
:
consentEntity
.
postalCode
,
postalCode
:
consentEntity
.
postalCode
,
city
:
consentEntity
.
city
,
}
}
return
consent
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment