Update ShowServicios.php
This commit is contained in:
@@ -197,7 +197,7 @@ class ShowServicios extends Component
|
|||||||
//dd($servicio_tarifa->pantallas * $cuentas_pantallas->count());
|
//dd($servicio_tarifa->pantallas * $cuentas_pantallas->count());
|
||||||
//Cantidad de cuentas restantes * cantidad de pantallas del servicio / en las pantalla de la tarifa.
|
//Cantidad de cuentas restantes * cantidad de pantallas del servicio / en las pantalla de la tarifa.
|
||||||
$this->disponibles = (($cuentas_pantallas->count() * $servicio_tarifa->pantallas) - $cuentas_pantallas_tomadas) / $tarifa_seleccionada->pantallas;
|
$this->disponibles = (($cuentas_pantallas->count() * $servicio_tarifa->pantallas) - $cuentas_pantallas_tomadas) / $tarifa_seleccionada->pantallas;
|
||||||
dd($this->disponibles) ;
|
//dd($this->disponibles) ;
|
||||||
} else {
|
} else {
|
||||||
$this->disponibles = $cuentas_pantallas;
|
$this->disponibles = $cuentas_pantallas;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user