u
This commit is contained in:
@@ -605,7 +605,7 @@ class ShowUsuarios extends Component
|
||||
$tarifa->promocion_id = $this->servicio_modTarifas;
|
||||
$tarifa->rol_id = $this->roles_modTarifas;
|
||||
$tarifa->precio = $this->precio_modTarifas;
|
||||
$tarifa->visible = $this->estadoTarifa ? 'activo' : 'inactivo';
|
||||
$tarifa->visible = $this->estadoTarifa ? 'true' : 'false';
|
||||
$tarifa->save();
|
||||
|
||||
$this->alert('success', '¡Tarifas actualizadas correctamente!', [
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
@endphp
|
||||
@if ($tarifa['estado'] == 'activo')
|
||||
@if ($con = $tarifa['usuario_tarifas'])
|
||||
@if ($con[0]['visible'] == 'activo')
|
||||
@if ($con[0]['visible'] == 'true')
|
||||
<button wire:click="cargartarjetaPlan({{ $tarifa['id'] }})"
|
||||
class="shadow-lg text-white py-4 px-3 rounded-lg bg-gradient-to-br from-black
|
||||
(via-[{{ $servicio['color_fondo'] }}],90%) to-[{{ $servicio['color_fondo'] }}]">
|
||||
|
||||
Reference in New Issue
Block a user