Update ShowPlanes.php
This commit is contained in:
@@ -239,7 +239,7 @@ class ShowPlanes extends Component
|
||||
public function saveRenovar()
|
||||
{
|
||||
$correo_existe = Cuentas::where('correo', $this->usuario_renovar)->exists();
|
||||
if (!$correo_existe) {
|
||||
if (!$correo_existe || $this->usuario_renovar_old == $this->usuario_renovar) {
|
||||
if ($this->fecha_inicial_renovar_old !== $this->fecha_inicial_renovar || $this->fecha_final_renovar_old !== $this->fecha_final_renovar) {
|
||||
$this->alert('warning', '¿Desea también desvincular todos los usuarios de esta cuenta? ', [
|
||||
'position' => 'center',
|
||||
|
||||
Reference in New Issue
Block a user