up
This commit is contained in:
@@ -763,7 +763,9 @@ class ShowPlanes extends Component
|
|||||||
$historial->save();
|
$historial->save();
|
||||||
|
|
||||||
|
|
||||||
$consultaHC = Historial_cuenta::where('cuenta_id', $this->consulta_verUsuarios->id)->orderBy('created_at', 'desc')->first()->perfil ?? 0;
|
// $consultaHC = Historial_cuenta::where('cuenta_id', $this->consulta_verUsuarios->id)->orderBy('created_at', 'desc')->first()->perfil ?? 0;
|
||||||
|
|
||||||
|
$consultaHC = Historial_cuenta::where('cuenta_id', $this->consulta_verUsuarios->id)->max('perfil') ?? 0;
|
||||||
|
|
||||||
if ($this->consulta_verUsuarios->estado == 'pendiente') { // completa
|
if ($this->consulta_verUsuarios->estado == 'pendiente') { // completa
|
||||||
$perfiles = $this->consulta_verUsuarios->servicio->completa;
|
$perfiles = $this->consulta_verUsuarios->servicio->completa;
|
||||||
|
|||||||
@@ -394,7 +394,8 @@ class ShowServicios extends Component
|
|||||||
$esta_error = false;
|
$esta_error = false;
|
||||||
$cuentasMostar = '';
|
$cuentasMostar = '';
|
||||||
|
|
||||||
$perfil = $cuenta[$h]->historiales_count;
|
//$perfil = $cuenta[$h]->historiales_count;
|
||||||
|
$perfil = Historial_cuenta::where('cuenta_id', $cuenta[$h]->id)->max('perfil') ?? 0;
|
||||||
|
|
||||||
for ($y = 0; $y < (int) $pantallas; $y++) {
|
for ($y = 0; $y < (int) $pantallas; $y++) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user