up
This commit is contained in:
@@ -12,6 +12,12 @@ if ($op) {
|
||||
'id' => $c->id,
|
||||
'fecha' => $c->fecha_envio ?? $c->created_at,
|
||||
'detalle' => "Enviado: {$c->cantidad_enviada} - Recibido total: {$c->recibido_total} - Defectos: {$c->prendas_defectuosas}",
|
||||
'link' => route('filament.admin.resources.confeccions.edit', ['record' => $c->id]),
|
||||
];
|
||||
|
||||
// Eventos por cada recepción
|
||||
$recepciones = $c->recepciones()->orderBy('fecha_recepcion')->get();
|
||||
foreach ($recepciones as $r) {
|
||||
$events[] = [
|
||||
'tipo' => 'Recepción (Confección)',
|
||||
'id' => $r->id,
|
||||
|
||||
Reference in New Issue
Block a user