mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
Raw integration of accompanying person (with respect of 'cahier de cahrge)
This commit is contained in:
@@ -7,13 +7,13 @@ Chill\PersonBundle\Entity\AccompanyingPeriod:
|
||||
id: true
|
||||
generator: { strategy: AUTO }
|
||||
fields:
|
||||
date_opening:
|
||||
openingDate:
|
||||
type: date
|
||||
date_closing:
|
||||
closingDate:
|
||||
type: date
|
||||
default: null
|
||||
nullable: true
|
||||
memo:
|
||||
remark:
|
||||
type: text
|
||||
manyToOne:
|
||||
person:
|
||||
|
@@ -48,11 +48,11 @@ chill_person_search:
|
||||
chill_person_accompanying_period_list:
|
||||
path: /{_locale}/person/{person_id}/accompanying-period
|
||||
defaults: { _controller: ChillPersonBundle:AccompanyingPeriod:list }
|
||||
# options:
|
||||
# menus:
|
||||
# person:
|
||||
# order: 100
|
||||
# label: menu.person.history
|
||||
options:
|
||||
menus:
|
||||
person:
|
||||
order: 100
|
||||
label: Accompanying period list
|
||||
|
||||
chill_person_accompanying_period_create:
|
||||
path: /{_locale}/person/{person_id}/accompanying-period/create
|
||||
|
@@ -35,12 +35,12 @@ Chill\PersonBundle\Entity\Person:
|
||||
|
||||
Chill\PersonBundle\Entity\AccompanyingPeriod:
|
||||
properties:
|
||||
date_opening:
|
||||
openingDate:
|
||||
- Date:
|
||||
message: 'Opening date is not valid'
|
||||
- NotNull:
|
||||
message: 'Opening date can not be null'
|
||||
date_closing:
|
||||
closingDate:
|
||||
- Date:
|
||||
message: 'Closing date is not valid'
|
||||
- NotNull:
|
||||
|
Reference in New Issue
Block a user