Update ConfeccionResource.php

This commit is contained in:
Lizandro Guarnizo
2026-01-29 20:15:26 -05:00
parent e2d91a816a
commit 26e856e546
+14 -9
View File
@@ -134,15 +134,20 @@ class ConfeccionResource extends Resource
$valorTotal = $cantidadBase * $valorPorPrenda;
$valorAPagar = max(0, $valorTotal - $cobrosValor);
return "📦 Enviadas: {$enviada}
Recepciones: {$recepciones}
🔧 Arreglos: {$arreglos} (permiten re-recepción)
💰 Cobros: {$cobros} prendas (valor: $" . number_format($cobrosValor, 2) . ")
📊 Recibido neto: {$recibidoNeto}
⚠️ Pendiente: {$faltantes}
💵 Valor total: $" . number_format($valorTotal, 2) . "
💵 Valor a pagar: $" . number_format($valorAPagar, 2);
return "━━━ PRENDAS ━━━
📦 Enviadas: {$enviada}
Recibidas: {$recepciones}
🔧 En arreglo: {$arreglos}
📊 Neto recibido: {$recibidoNeto}
💰 Cobradas: {$cobros} prendas
⚠️ Pendientes: {$faltantes}
━━━ PAGO ━━━
💵 Valor total: $" . number_format($valorTotal, 2) . "
💸 Descuento cobros: $" . number_format($cobrosValor, 2) . "
A pagar: $" . number_format($valorAPagar, 2);
}),
Forms\Components\Placeholder::make('instrucciones')