Start of echomail subscribing

This commit is contained in:
Deon George
2021-08-25 22:13:49 +10:00
parent 97384ce3a0
commit 8306f4c3a3
8 changed files with 403 additions and 186 deletions

View File

@@ -109,6 +109,12 @@ class Address extends Model
->with(['zone.domain']);
}
public function echoareas()
{
return $this->belongsToMany(Echoarea::class)
->withPivot(['subscribed']);
}
/**
* Who we send this systems mail to.
*