Fix broken opt-in notifications
This commit is contained in:
0
app/Services/AccountSuspensionService.php
Normal file → Executable file
0
app/Services/AccountSuspensionService.php
Normal file → Executable file
0
app/Services/ApplicationService.php
Normal file → Executable file
0
app/Services/ApplicationService.php
Normal file → Executable file
3
app/Services/AppointmentService.php
Normal file → Executable file
3
app/Services/AppointmentService.php
Normal file → Executable file
@@ -9,6 +9,7 @@ use App\Appointment;
|
||||
use App\Exceptions\InvalidAppointmentStatusException;
|
||||
use App\Notifications\ApplicationMoved;
|
||||
use App\Notifications\AppointmentCancelled;
|
||||
use App\Notifications\AppointmentFinished;
|
||||
use App\Notifications\AppointmentScheduled;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
@@ -104,7 +105,7 @@ class AppointmentService
|
||||
if ($updateApplication)
|
||||
{
|
||||
$application->setStatus('STAGE_PEERAPPROVAL');
|
||||
$application->user->notify(new ApplicationMoved());
|
||||
$application->user->notify(new AppointmentFinished($application->appointment));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
0
app/Services/CommentService.php
Normal file → Executable file
0
app/Services/CommentService.php
Normal file → Executable file
0
app/Services/ConfigurationService.php
Normal file → Executable file
0
app/Services/ConfigurationService.php
Normal file → Executable file
0
app/Services/ContactService.php
Normal file → Executable file
0
app/Services/ContactService.php
Normal file → Executable file
0
app/Services/DemoService.php
Normal file → Executable file
0
app/Services/DemoService.php
Normal file → Executable file
0
app/Services/FormManagementService.php
Normal file → Executable file
0
app/Services/FormManagementService.php
Normal file → Executable file
0
app/Services/MeetingNoteService.php
Normal file → Executable file
0
app/Services/MeetingNoteService.php
Normal file → Executable file
0
app/Services/ProfileService.php
Normal file → Executable file
0
app/Services/ProfileService.php
Normal file → Executable file
0
app/Services/SecuritySettingsService.php
Normal file → Executable file
0
app/Services/SecuritySettingsService.php
Normal file → Executable file
0
app/Services/TeamFileService.php
Normal file → Executable file
0
app/Services/TeamFileService.php
Normal file → Executable file
0
app/Services/TeamService.php
Normal file → Executable file
0
app/Services/TeamService.php
Normal file → Executable file
Reference in New Issue
Block a user