added email notifications on expense approved/rejected (whatsapp tmr)

This commit is contained in:
Jagad R R
2024-12-24 15:12:24 +07:00
parent 6dc23422ed
commit 0030c0f48e
21 changed files with 1627 additions and 13 deletions
+11
View File
@@ -11,9 +11,20 @@ class Cabang extends Model
protected $table = 'cabang';
protected $fillable = [
'head_id',
'region_id',
'cost_id',
'code',
'name',
];
public function head()
{
return $this->belongsTo(Admin::class, 'head_id');
}
public function region()
{
return $this->belongsTo(Region::class, 'region_id');
}
}