22 Commits

Author SHA1 Message Date
Jean-Francois Monfort
f35cb679b7 Add CommentEmbeddable to Activity : remoke remark field (Ref #21) 2021-03-11 14:27:46 +01:00
Jean-Francois Monfort
c1c3839c62 Add CommentEmbeddable to Activity (Ref #21) 2021-03-11 12:30:11 +01:00
b2048c0f84 rename deprecated Symfony using 2020-09-06 21:15:32 +02:00
5f8037433d fix sf4 deprecated: remove choices_as_values form option 2020-07-22 17:05:24 +02:00
a9349becf7 replace dropdown for selecting reasons and use chillEntity for reason rendering 2020-04-21 14:41:40 +02:00
6e8f72f5cc fix error in user loading and validate scope/user consistency 2018-08-29 23:18:37 +02:00
nobohan
96e1b1db4d fix deprecations: getName -> getBlockPrefix in Forms 2018-04-09 10:06:34 +02:00
nobohan
478e1c505d fix deprecation: no more passing of type instances 2018-04-05 11:45:58 +02:00
nobohan
b6f9d1156e fix deprecations: use fqcn for textarea 2018-04-04 18:24:36 +02:00
nobohan
4143e773b6 fix deprecations: use choices_as_values=true and flip content of the choice options 2018-04-04 17:54:17 +02:00
5dda66342a add an "active" field on activity type 2016-11-14 23:00:13 +01:00
97df048dfb add a placeholder in form. Force to choose a type
fix #5
2016-03-09 15:17:54 +01:00
77b7333fea Allow encoding of an activity with configuration preset durations
fix #11

The activity form allow to receive pre-configured activity durations.

Those duration can be configured through the option
chill_activity.form.time_duration :

```yaml

chill_activity:
   form:
      time_duration:
         - { label: '12 minutes', seconds: 720 }
         # - ...

```

If a pre-existing activity receives a different time, the time is added
to the list of pre-configured duration time.
2016-03-09 14:31:42 +01:00
c60d6acf97 An activity may have multiple reasons
The relationship between Activity and Reasons is now many-to-many.

Some improvement in show activity layout.

refs #4 #7
2016-02-22 14:48:35 +01:00
943032a918 layout of time widget 2015-07-05 23:23:29 +02:00
Marc Ducobu
5af14b2307 time type for durationTime in form 2015-07-04 21:22:56 +02:00
Marc Ducobu
9c565063af Displaying ActivtyReason & ActivityType into activity creation form 2015-07-03 10:15:50 +02:00
Marc Ducobu
a0798c014e mergin conflict 2015-07-03 09:48:39 +02:00
Marc Ducobu
faffdee1ab Integration code generated 2015-07-03 09:40:30 +02:00
be78c25091 improve activity form
- create as a service with required depedencies (required for scope)
- add scope
- fix date show
- adapt controller accordingly
2015-07-02 23:36:43 +02:00
Marc Ducobu
86b24f58ac First step of integration code generated 2015-07-02 15:41:11 +02:00
Marc Ducobu
5738de5033 Adding generated files 2015-07-01 13:34:14 +02:00