Update ConfeccionResource.php
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user