Форматирование

This commit is contained in:
brusnitsyn
2026-04-24 16:46:10 +09:00
parent fd0e6ee817
commit 63daa62888
87 changed files with 1380 additions and 791 deletions

View File

@@ -14,6 +14,7 @@ class Report extends Model
const METRIC_BED_DAYS_ID = 18;
protected $primaryKey = 'report_id';
public $timestamps = false;
protected $fillable = [
@@ -137,9 +138,9 @@ class Report extends Model
// Сохраняем результат как метрику
MetrikaResult::updateOrCreate([
'rf_report_id' => $this->report_id,
'rf_metrika_item_id' => self::METRIC_BED_DAYS_ID,
],
'rf_report_id' => $this->report_id,
'rf_metrika_item_id' => self::METRIC_BED_DAYS_ID,
],
[
'value' => $avgBedDays,
]);