modales de pregunta fixeados

This commit is contained in:
Felipe
2024-03-02 09:18:00 -05:00
parent eb2e3ce76c
commit 3936e185e4
3 changed files with 31 additions and 13 deletions
+3 -2
View File
@@ -316,7 +316,7 @@ class ShowPromociones extends Component
$this->alert('warning', 'No hay disponibilidad de ' . $message . ' en este momento.', [
'position' => 'center',
'timer' => '30000',
'timer' => '60000',
'toast' => false,
'text' => '¿Te gustaría realizar la compra ahora y recibir tu pedido tan pronto como haya disponibilidad?.',
'showConfirmButton' => true,
@@ -324,7 +324,8 @@ class ShowPromociones extends Component
'showDenyButton' => false,
'onDenied' => 'denegarCompra',
'showCancelButton' => true,
'onDismissed' => 'denegarCompra',
'allowOutsideClick' => false,
'allowEscapeKey' => false,
'cancelButtonText' => 'No, abandonar.',
'confirmButtonText' => 'Sí, comprar.',
]);