bug fixes, daily reports, holidays

This commit is contained in:
Kwesi Banson Jnr
2026-09-08 08:01:08 +00:00
parent 26f23c825a
commit c96e49ccdf
23 changed files with 1148 additions and 160 deletions

View File

@@ -0,0 +1,17 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class DailyReport extends Model
{
protected $fillable = ['user_id', 'report_date', 'content'];
protected $casts = [
'report_date' => 'date',
];
public function user()
{
return $this->belongsTo(StaffMember::class);
}
}