|
|
@@ -251,6 +251,16 @@ class DashboardService
|
|
|
'providersClose' => $providersClose,
|
|
|
'todaySchedules' => $todaySchedules,
|
|
|
'schedulesProposals' => $schedulesProposals,
|
|
|
+ 'notifications' => [
|
|
|
+ [
|
|
|
+ 'id' => 1,
|
|
|
+ 'title' => 'Serviço agendado!',
|
|
|
+ 'description' => 'Diária confirmada com Marina, 04/11 das 09h30 às 17h30 esse e o cliente',
|
|
|
+ 'time' => 'Há 2 minutos',
|
|
|
+ 'read' => false,
|
|
|
+ 'avatar' => '/icons/avatar.svg'
|
|
|
+ ]
|
|
|
+ ],
|
|
|
'has_payment_methods' => $hasPaymentMethods,
|
|
|
];
|
|
|
}
|
|
|
@@ -284,7 +294,7 @@ class DashboardService
|
|
|
->pluck('speciality_id')
|
|
|
->all();
|
|
|
|
|
|
- $specialities = $allSpecialities->map(fn ($sp) => [
|
|
|
+ $specialities = $allSpecialities->map(fn($sp) => [
|
|
|
'id' => $sp->id,
|
|
|
'description' => $sp->description,
|
|
|
'has_speciality' => in_array($sp->id, $providerSpecialityIds),
|
|
|
@@ -455,6 +465,16 @@ class DashboardService
|
|
|
'todayServices' => $todayServices,
|
|
|
'nextSchedules' => $nextSchedules,
|
|
|
'opportunities' => $opportunities,
|
|
|
+ 'notifications' => [
|
|
|
+ [
|
|
|
+ 'id' => 1,
|
|
|
+ 'title' => 'Serviço agendado!',
|
|
|
+ 'description' => 'Diária confirmada com Marina, 04/11 das 09h30 às 17h30, esse e o prestador',
|
|
|
+ 'time' => 'Há 2 minutos',
|
|
|
+ 'read' => false,
|
|
|
+ 'avatar' => '/icons/avatar.svg'
|
|
|
+ ]
|
|
|
+ ],
|
|
|
];
|
|
|
}
|
|
|
}
|