Update ShowPromociones.php

This commit is contained in:
lizandrogd
2025-09-02 22:36:07 -05:00
parent 279f529d16
commit 674c03c982
+2 -1
View File
@@ -318,7 +318,8 @@ class ShowPromociones extends Component
if (!is_null($cuenta)) {
$perfil = $cuenta->historiales_count;
//$perfil = $cuenta->historiales_count;
$perfil = Historial_cuenta::where('cuenta_id', $cuenta->id)->max('perfil') ?? 0;
for ($y = 0; $y < (int) $pantallas_tarifa; $y++) {
$historial_cuenta = new Historial_cuenta();