boton no renovar

This commit is contained in:
Felipe
2024-03-20 10:02:12 -05:00
parent eeafcd8a94
commit dc129dac8a
2 changed files with 15 additions and 12 deletions
+8 -6
View File
@@ -227,13 +227,15 @@ class ShowPlanes extends Component
'timer' => '60000', 'timer' => '60000',
'toast' => false, 'toast' => false,
'text' => 'Esta seguro', 'text' => 'Esta seguro',
'showConfirmButton' => true,
'onConfirmed' => 'siRenovar',
'showDenyButton' => false,
'onDenied' => 'noRenovar',
'showCancelButton' => true,
'allowOutsideClick' => false, 'allowOutsideClick' => false,
'allowEscapeKey' => false, 'allowEscapeKey' => false,
'timerProgressBar' => true,
'showConfirmButton' => true,
'showDenyButton' => false,
'showCancelButton' => true,
'onConfirmed' => 'siRenovar',
'onDenied' => '',
'onDismissed' => 'noRenovar',
'cancelButtonText' => 'No, solo renovar', 'cancelButtonText' => 'No, solo renovar',
'confirmButtonText' => 'Si, liberar cuenta', 'confirmButtonText' => 'Si, liberar cuenta',
]); ]);
@@ -723,7 +725,7 @@ class ShowPlanes extends Component
} else { } else {
$this->delete_1 = []; $this->delete_1 = [];
} }
//dd($this->delete_1); //dd($this->delete_1);
} }
+7 -6
View File
@@ -319,14 +319,15 @@ class ShowPromociones extends Component
'timer' => '60000', 'timer' => '60000',
'toast' => false, 'toast' => false,
'text' => '¿Te gustaría realizar la compra ahora y recibir tu pedido tan pronto como haya disponibilidad?.', 'text' => '¿Te gustaría realizar la compra ahora y recibir tu pedido tan pronto como haya disponibilidad?.',
'showConfirmButton' => true,
'onConfirmed' => 'confirmarCompra',
'showDenyButton' => false,
'onDenied' => 'denegarCompra',
'showCancelButton' => true,
'allowOutsideClick' => false, 'allowOutsideClick' => false,
'allowEscapeKey' => false, 'allowEscapeKey' => false,
'cancelButtonText' => 'No, abandonar.', 'showConfirmButton' => true,
'showCancelButton' => false,
'showDenyButton' => true,
'onConfirmed' => 'confirmarCompra',
'onDenied' => 'denegarCompra',
// 'cancelButtonText' => 'No, abandonar.',
'denyButtonText' => 'No, abandonar.',
'confirmButtonText' => 'Sí, comprar.', 'confirmButtonText' => 'Sí, comprar.',
]); ]);
} }