Обновлен стартовый экран
Переписаны запросы для статистики, отчетов Добавлена интеграция отчета сестры
This commit is contained in:
19
app/Models/DutyUnwantedEvent.php
Normal file
19
app/Models/DutyUnwantedEvent.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class DutyUnwantedEvent extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'report_duty_id',
|
||||
'title',
|
||||
'comment',
|
||||
];
|
||||
|
||||
public function reportDuty()
|
||||
{
|
||||
return $this->belongsTo(ReportDuty::class, 'report_duty_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user