15 Commits

Author SHA1 Message Date
90540300c5 sf4, fix error with ORM\Table name of customfieldsgroup 2020-07-27 18:50:19 +02:00
208d4b789a fix sf4 minor corrections on Doctrine ORM mapping Entities 2020-07-27 16:16:17 +02:00
3a03d44e9a sf4 deprecated: migrate Doctrine ORM mapping to annotation 2020-07-24 17:45:32 +02:00
4f13ec6959 add a custom field long choice basic
The `custom field long choice` aim to provide a way to deal with choices
with a big possibilities.

The `custom field long choice` allow :
- to persist different options in the database ;
- each option has a key, a text (translatable string), and eventually a
  parent, and an internal_key
- every key can be activate or not. If the parent is inactivated, all
  childs are inactivated
- the internal key have two purposes :
    - link to an external csv file, with their own key ;
    - add a special class to results, to allow custom layout.

Currently, the field exists, but some elements are missing :

- a script for CSV import
- possibility to select multiple items
- edition of options
- handle of option without parents
- tests are missing
2015-12-11 11:43:39 +01:00
3230659a4b add a required field to custom fields type
ref Chill-project/Chill-CustomFields#17
2015-12-10 17:16:59 +01:00
Marc Ducobu
9f98c4e7e6 Adding method getActiveCustomFields 2015-09-30 13:31:09 +02:00
Marc Ducobu
5583fbcc6c Entity/CustomField : renaming getActive to isActive 2015-09-30 13:28:45 +02:00
0c2b5f3fb4 Add column option, definition in config & adapt form
Exemple for configuration :

```
chill_custom_fields:
    customizables_entities:
        -
            class: Chill\ReportBundle\Entity\Report
            name: ReportEntity
            options:
                summary_fields: {key: abc, form_type: text, form_options: { required: false }}
```
2015-02-24 21:15:02 +01:00
3707b08aee remove entities for testing purpose - clean code
fix #259
2015-01-22 09:50:53 +01:00
Marc Ducobu
f702d76e68 Adding CustomFieldsDefaultGroup Entity for specifying that a group is a default group ref #307 2014-11-17 17:59:06 +01:00
Marc Ducobu
ce0db40129 Adding AGPL license 2014-11-17 17:22:48 +01:00
8b370bf544 translate name to locale 2014-11-09 01:53:21 +01:00
7daa1a240e add testing for customfield, correcting request injection 2014-11-08 15:07:15 +01:00
99a88e8705 add customfield text + fix options in custom fields 2014-11-08 11:55:59 +01:00
8011746b26 move bundle to root dir for inclusion in packagist refs #259 2014-11-04 17:10:59 +01:00