Fix Pint formatting

This commit is contained in:
root
2026-06-09 01:25:14 -04:00
parent 6be4875c5e
commit 20a0b6c4e5
1485 changed files with 11318 additions and 10273 deletions
@@ -7,12 +7,19 @@ use App\Models\ClassSection;
class ClassPreparationService
{
private ClassPreparationContextService $context;
private ClassPreparationRosterService $roster;
private ClassPreparationInventoryService $inventory;
private ClassPreparationCalculatorService $calculator;
private ClassPreparationAdjustmentService $adjustments;
private ClassPreparationLogService $logs;
private ClassPreparationAdjustmentWriterService $adjustmentWriter;
private ClassPreparationPrintService $printService;
public function __construct(
@@ -66,14 +73,14 @@ class ClassPreparationService
$hasChanged = $this->logs->hasPrepChanged($baseItems, $oldPrep);
$results[] = [
'class_section' => $className,
'class_section' => $className,
'class_section_id' => $classSectionId,
'student_count' => $studentCount,
'class_level' => $classLevel,
'prep_items' => $baseItems,
'needs_print' => $hasChanged,
'last_printed_at' => $oldSnap?->created_at,
'adjustments' => $adjMap,
'student_count' => $studentCount,
'class_level' => $classLevel,
'prep_items' => $baseItems,
'needs_print' => $hasChanged,
'last_printed_at' => $oldSnap?->created_at,
'adjustments' => $adjMap,
];
}
@@ -139,6 +146,7 @@ class ClassPreparationService
if (function_exists('utc_now')) {
return (string) utc_now();
}
return now('UTC')->toDateTimeString();
}
}