update
This commit is contained in:
@@ -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 = [];
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user