Skip to content

Commit

Permalink
Merge pull request #394 from code4romania/393-cazuriplan-interventie-…
Browse files Browse the repository at this point in the history
…serviciu-adauga-interventie-modal-eliminate-data-incepere-field-from-the-adauga-interventie-modal-screen

Eliminate start date from beneficiary intervention
  • Loading branch information
gheorghelupu17 authored Dec 10, 2024
2 parents a1c3857 + 11031c9 commit fe50111
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ function (?BeneficiaryIntervention $record) use ($organizationServiceID) {

return $beneficiary->specialistsTeam->load(['user', 'role'])->pluck('name_role', 'id');
}),

DatePicker::make('start_date')
->label(__('intervention_plan.labels.start_date')),
]),
]),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ public function infolist(Infolist $infolist): Infolist
TextEntry::make('specialist.name_role')
->label(__('intervention_plan.labels.responsible_specialist')),

TextEntry::make('start_date')
->label(__('intervention_plan.labels.start_date')),

TextEntry::make('interval')
->label(__('intervention_plan.labels.start_date_interval')),
]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ public static function getServiceSchema(?InterventionPlan $interventionPlan = nu
])
->pluck('name', 'id');
}),

DatePicker::make('start_date')
->label(__('intervention_plan.labels.start_date'))
]),
]),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ protected function getInfolistSchema(): array
->schema([
TextEntry::make('institution')
->label(__('intervention_plan.labels.responsible_institution')),

TextEntry::make('specialist.name_role')
->label(__('intervention_plan.labels.responsible_specialist')),
TextEntry::make('start_date')
->label(__('intervention_plan.labels.start_date')),

TextEntry::make('interval')
->label(__('intervention_plan.labels.interval')),

TextEntry::make('objections')
->label(__('intervention_plan.labels.objections'))
->columnSpanFull()
Expand Down
1 change: 0 additions & 1 deletion app/Models/BeneficiaryIntervention.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class BeneficiaryIntervention extends Model
'organization_service_intervention_id',
'intervention_service_id',
'specialist_id',
'start_date',
'objections',
'expected_results',
'procedure',
Expand Down
1 change: 0 additions & 1 deletion app/Models/InterventionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class InterventionService extends Model
'organization_service_id',
'specialist_id',
'institution',
'start_date',
'objections',
];

Expand Down

0 comments on commit fe50111

Please sign in to comment.