April 2026 waren Wirtschaft Feedback

This commit is contained in:
Kevin Adametz 2026-04-10 17:14:38 +02:00
parent 02f2a4c23e
commit 9ce711d6b2
167 changed files with 25278 additions and 8518 deletions

View file

@ -0,0 +1,21 @@
<?php
namespace App\Repositories;
use App\Models\Production;
use Illuminate\Database\Eloquent\Collection;
class ProductionRepository
{
/**
* @return Collection<int, Production>
*/
public function listForIndex(): Collection
{
return Production::query()
->with(['product', 'location', 'producedByUser'])
->orderByDesc('produced_at')
->orderByDesc('id')
->get();
}
}