Update ConfeccionResource.php
This commit is contained in:
@@ -134,15 +134,20 @@ class ConfeccionResource extends Resource
|
|||||||
$valorTotal = $cantidadBase * $valorPorPrenda;
|
$valorTotal = $cantidadBase * $valorPorPrenda;
|
||||||
$valorAPagar = max(0, $valorTotal - $cobrosValor);
|
$valorAPagar = max(0, $valorTotal - $cobrosValor);
|
||||||
|
|
||||||
return "📦 Enviadas: {$enviada}
|
return "━━━ PRENDAS ━━━
|
||||||
✅ Recepciones: {$recepciones}
|
📦 Enviadas: {$enviada}
|
||||||
🔧 Arreglos: {$arreglos} (permiten re-recepción)
|
|
||||||
💰 Cobros: {$cobros} prendas (valor: $" . number_format($cobrosValor, 2) . ")
|
|
||||||
📊 Recibido neto: {$recibidoNeto}
|
|
||||||
⚠️ Pendiente: {$faltantes}
|
|
||||||
|
|
||||||
|
✅ Recibidas: {$recepciones}
|
||||||
|
🔧 En arreglo: {$arreglos}
|
||||||
|
📊 Neto recibido: {$recibidoNeto}
|
||||||
|
|
||||||
|
💰 Cobradas: {$cobros} prendas
|
||||||
|
⚠️ Pendientes: {$faltantes}
|
||||||
|
|
||||||
|
━━━ PAGO ━━━
|
||||||
💵 Valor total: $" . number_format($valorTotal, 2) . "
|
💵 Valor total: $" . number_format($valorTotal, 2) . "
|
||||||
💵 Valor a pagar: $" . number_format($valorAPagar, 2);
|
💸 Descuento cobros: $" . number_format($cobrosValor, 2) . "
|
||||||
|
✅ A pagar: $" . number_format($valorAPagar, 2);
|
||||||
}),
|
}),
|
||||||
|
|
||||||
Forms\Components\Placeholder::make('instrucciones')
|
Forms\Components\Placeholder::make('instrucciones')
|
||||||
|
|||||||
Reference in New Issue
Block a user