File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,12 @@ public function createForm(): ProjectCampaignForm
75
75
if ($ admin || $ project ->type != Conf::TYPE_PERMANENT ) {
76
76
$ builder
77
77
->add ('one_round ' , ChoiceType::class, [
78
- 'disabled ' => true , // $this->getReadonly(),
78
+ 'disabled ' => $ this ->getReadonly (),
79
79
'label ' => 'costs-field-select-rounds ' ,
80
80
'required ' => true ,
81
81
'expanded ' => true ,
82
82
'wrap_class ' => 'col-xs-6 ' ,
83
83
'choices ' => $ this ->getRoundsAsChoices (),
84
- 'data ' => 1 ,
85
84
'empty_data ' => 1 ,
86
85
'attr ' => [
87
86
'help ' => '<span> ' . Text::get ('tooltip-project-rounds-sunset ' ) . '</span> '
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ class Project extends Model {
179
179
$ watch = 0 ,
180
180
$ days_round1 = 40 ,
181
181
$ days_round2 = 40 ,
182
- $ one_round = 0 ,
182
+ $ one_round = 1 ,
183
183
$ help_cost = 0 ,
184
184
$ help_license = 0 ,
185
185
$ callInstance = null , // si está en una convocatoria
You can’t perform that action at this time.
0 commit comments