botones de color
This commit is contained in:
@@ -129,7 +129,7 @@ class ShowPlanes extends Component
|
||||
|
||||
if (empty($this->fecha_inicial)) {
|
||||
$this->fecha_inicial = Carbon::now()->toDateTimeString();
|
||||
$this->fecha_final = Carbon::now()->addDay(30)->toDateTimeString();
|
||||
$this->fecha_final = Carbon::now()->addDay(30)->toDateTimeString();
|
||||
}
|
||||
if ($this->servicio_modTarifas) {
|
||||
$this->tarifas = Tarifas::with('rol')
|
||||
@@ -224,7 +224,7 @@ class ShowPlanes extends Component
|
||||
{
|
||||
$this->fecha_inicial_renovar = now()->format('Y-m-d H:i:s');
|
||||
$this->fecha_final_renovar = now()->addDays(30)->format('Y-m-d H:i:s');
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -251,6 +251,10 @@ class ShowPlanes extends Component
|
||||
'showConfirmButton' => true,
|
||||
'onConfirmed' => 'siRenovar',
|
||||
'confirmButtonText' => 'Si, liberar cuenta',
|
||||
'customClass' => [
|
||||
'confirmButton' => 'bg-green-500',
|
||||
'denyButton' => 'bg-red-500',
|
||||
]
|
||||
]);
|
||||
} else {
|
||||
$cuenta_renovar = Cuentas::find($this->id_cuentaVer);
|
||||
|
||||
Reference in New Issue
Block a user