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