botones de color

This commit is contained in:
Felipe
2024-07-12 10:53:59 -05:00
parent 020bf656c3
commit 55f95f2e17
7 changed files with 48 additions and 12 deletions
+6 -2
View File
@@ -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);