fixed notification system and added a new tenant notifications receipt table to track read status and filter messages by scope.
This commit is contained in:
@@ -28,4 +28,9 @@ class TenantNotificationLog extends Model
|
||||
{
|
||||
return $this->belongsTo(Tenant::class);
|
||||
}
|
||||
|
||||
public function receipts()
|
||||
{
|
||||
return $this->hasMany(TenantNotificationReceipt::class, 'notification_log_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user