Update timeline.blade.php
This commit is contained in:
@@ -11,7 +11,7 @@ if ($op) {
|
||||
'id' => $c->id,
|
||||
'fecha' => $c->fecha_recepcion ?? $c->created_at,
|
||||
'detalle' => "Enviado: {$c->cantidad_enviada} - Recibido: {$c->cantidad_recibida} - Defectos: {$c->prendas_defectuosas}",
|
||||
'link' => route('filament.resources.confeccions.edit', ['record' => $c->id]),
|
||||
'link' => route('filament.admin.resources.confeccions.edit', ['record' => $c->id]),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ if ($op) {
|
||||
'id' => $t->id,
|
||||
'fecha' => $t->fecha_recepcion ?? $t->created_at,
|
||||
'detalle' => "Enviado: {$t->cantidad_enviada} - Recibido: {$t->cantidad_recibida} - Perdidas: {$t->perdidas}",
|
||||
'link' => route('filament.resources.tintorerias.edit', ['record' => $t->id]),
|
||||
'link' => route('filament.admin.resources.tintorerias.edit', ['record' => $t->id]),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ if ($op) {
|
||||
'id' => $p->id,
|
||||
'fecha' => $p->fecha_recepcion ?? $p->created_at,
|
||||
'detalle' => "Enviado: {$p->cantidad_enviada} - Recibido: {$p->cantidad_recibida}",
|
||||
'link' => route('filament.resources.proceso-acabados.edit', ['record' => $p->id]),
|
||||
'link' => route('filament.admin.resources.proceso-acabados.edit', ['record' => $p->id]),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ if ($op) {
|
||||
'id' => $tr->id,
|
||||
'fecha' => $tr->fecha_recepcion ?? $tr->created_at,
|
||||
'detalle' => "Origen: {$tr->origen} -> Destino: {$tr->destino} | Enviado: {$tr->cantidad_enviada} - Recibido: {$tr->cantidad_recibida} - Residual: {$tr->residual}",
|
||||
'link' => route('filament.resources.traslado-prendas.edit', ['record' => $tr->id]),
|
||||
'link' => route('filament.admin.resources.traslado-prendas.edit', ['record' => $tr->id]),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ if ($op) {
|
||||
'id' => $inv->id,
|
||||
'fecha' => $inv->fecha_ingreso ?? $inv->created_at,
|
||||
'detalle' => "Terminadas: {$inv->cantidad_terminada} - Disponibles: {$inv->cantidad_disponible}",
|
||||
'link' => route('filament.resources.inventario-prendas.edit', ['record' => $inv->id]),
|
||||
'link' => route('filament.admin.resources.inventario-prendas.edit', ['record' => $inv->id]),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user