mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-09 08:14:59 +00:00
[address] allow to add custom data on addresses
This commit is contained in:
@@ -19,6 +19,9 @@ Chill\MainBundle\Entity\Address:
|
||||
isNoAddress:
|
||||
type: boolean
|
||||
default: false
|
||||
customs:
|
||||
type: json
|
||||
default: []
|
||||
manyToOne:
|
||||
postcode:
|
||||
targetEntity: Chill\MainBundle\Entity\PostalCode
|
||||
|
@@ -29,4 +29,10 @@ services:
|
||||
|
||||
Chill\MainBundle\Templating\Entity\ChillEntityRenderExtension:
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
- { name: twig.extension }
|
||||
|
||||
Chill\MainBundle\Templating\Entity\AddressRendering:
|
||||
arguments:
|
||||
$twig: '@templating.engine.twig'
|
||||
tags:
|
||||
- { name: 'chill.render_entity' }
|
Reference in New Issue
Block a user