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
+16
View File
@@ -198,6 +198,14 @@ class ShowUsuarios extends Component
public function addSaldo()
{
if (!$this->valor_recargar) {
$this->alert('warning', '¡Coloque un valor!', [
'position' => 'top'
]);
return;
}
$recarga = new recarga;
$recarga->payment_method_id = 'manual';
$recarga->status = 'Aprovada';
@@ -222,6 +230,14 @@ class ShowUsuarios extends Component
public function descontar()
{
if (!$this->valor_recargar) {
$this->alert('warning', '¡Coloque un valor!', [
'position' => 'top'
]);
return;
}
$recarga = new recarga;
$recarga->payment_method_id = 'manual';
$recarga->status = 'Descuento';