Merge branch 'main' of https://github.com/lizandrogd/sirpremiumv2
This commit is contained in:
@@ -287,6 +287,19 @@ class ShowClientes extends Component
|
||||
$nuevoHistorial->fecha_final = $newFechaFinal;
|
||||
$nuevoHistorial->save();
|
||||
|
||||
$pantallas = $cuenta->servicio->completa;
|
||||
//dd($pantallas);
|
||||
for ($i=1; $i <= $pantallas ; $i++) {
|
||||
$historial_cuenta = new Historial_cuenta;
|
||||
$historial_cuenta->historial_id = $nuevoHistorial->id;
|
||||
$historial_cuenta->cuenta_id = $cuenta->id;
|
||||
$historial_cuenta->perfil = $i;
|
||||
$historial_cuenta->save();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
$cuenta->vencimiento = $nuevaFechaVencimiento;
|
||||
$cuenta->save();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user