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