feat: add whatsapp_number field to suppliers, customers, users

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
ghassanandClaude Sonnet 4.6 committed 2026-05-19 13:02:06 +03:00
1 parent de3f4ceae6
commit 92a2eb120f
6 files changed
+93 -2

No files matched your search

+6
View File
@@ -22,6 +22,7 @@ class User extends Authenticatable
protected $fillable = [
'name',
'email',
'whatsapp_number',
'password',
];
@@ -40,6 +41,11 @@ class User extends Authenticatable
*
* @return array<string, string>
*/
public function routeNotificationFor(string $channel, mixed $notification = null): ?string
{
return $this->whatsapp_number;
}
protected function casts(): array
{
return [