This commit is contained in:
Felipe
2024-10-10 15:38:15 -05:00
parent 54a674f49d
commit 2515815e57
+4 -4
View File
@@ -224,8 +224,6 @@ class ShowPlanes extends Component
{
$this->fecha_inicial_renovar = Carbon::now()->format('Y-m-d');
$this->fecha_final_renovar = Carbon::now()->addDays(30)->format('Y-m-d');
}
@@ -333,7 +331,9 @@ class ShowPlanes extends Component
$historial_cuenta->save();
$cuentaPendiente->update(['estado' => 'cerrado']);
if ($cuentaPendiente->historial->vendedor !== null) {
$cuentaPendiente->historial->vendedor->notify(new NotificacionPendiente($servicioName));
}
$consulta = new Notificacion();
$consulta->remitente_id = Auth::user()->id;
@@ -476,7 +476,9 @@ class ShowPlanes extends Component
$historial_cuenta->save();
$cuentaPendiente->update(['estado' => 'cerrado']);
if ($cuentaPendiente->historial->vendedor !== null) {
$cuentaPendiente->historial->vendedor->notify(new NotificacionPendiente($servicioName));
}
$consulta = new Notificacion();
$consulta->remitente_id = Auth::user()->id;
@@ -871,7 +873,5 @@ class ShowPlanes extends Component
} else {
$this->delete_1 = [];
}
}
}