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
+11 -1
View File
@@ -345,6 +345,11 @@ class ShowPromociones extends Component
// 'cancelButtonText' => 'No, abandonar.',
'denyButtonText' => 'No, abandonar.',
'confirmButtonText' => 'Sí, comprar.',
'customClass' => [
'confirmButton' => 'bg-green-500',
'denyButton' => 'bg-red-500',
'cancelButton' => 'bg-gray-500',
]
]);
}
} else {
@@ -371,7 +376,7 @@ class ShowPromociones extends Component
]);
}
}
}
}
public function confirmarCompra()
{
@@ -645,6 +650,11 @@ class ShowPromociones extends Component
'onDismissed' => '',
'cancelButtonText' => 'Salir',
'confirmButtonText' => 'Si',
'customClass' => [
'confirmButton' => 'bg-green-500',
'denyButton' => 'bg-red-500',
'cancelButton' => 'bg-gray-500',
]
]);
}