fix: add Notifiable trait to Supplier and Customer, add null guards to notification messages
This commit is contained in:
1 parent
2d54c670de
commit
add011790c
6 files changed
+8
-6
No files matched your search
@@ -4,10 +4,11 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
|
||||
class Supplier extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
use HasFactory, Notifiable;
|
||||
|
||||
protected $fillable = [
|
||||
'supplier_code', 'name', 'category',
|
||||
|
||||
Reference in new issue
Block a user