Notifications fixes (#804)

* Emails not sending #795 #722

* Fix for news items not being sent; refactor some events; check for opt-in #722

* Formatting

* Remove extra parameter
This commit is contained in:
Nabeel S
2020-09-03 12:50:42 -04:00
committed by GitHub
parent 55fa01478d
commit e99c22b007
34 changed files with 179 additions and 54 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
/**
@@ -25,7 +26,7 @@ use App\Models\Pirep;
*
* The event will have a copy of the PIREP model, if it's applicable
*/
class Expenses extends BaseEvent
class Expenses extends Event
{
public $pirep;