Update ShowPromociones.php

This commit is contained in:
lizandrogd
2025-02-27 15:08:46 -05:00
parent b3f7ef3529
commit 0379968258
+1 -1
View File
@@ -414,7 +414,7 @@ class ShowPromociones extends Component
$logsGeneral = new Log_general();
$logsGeneral->user_id = Auth::user()->id;
$logsGeneral->detalle = 'El usuario ' . Auth::user()->name . ' - ' . Auth::user()->email . ' Tuvo error en el cobro, Comprando la promoción ' . $this->consulta->nombre . ' cantidad de ' . $this->historial->cantidad . ' por un valor de $' . $this->historial->valor .' No se desconto el saldo, ni se asignaron cuentas.';
$logsGeneral->estado = 'compra_error';
$logsGeneral->tipo = 'compra_error';
$logsGeneral->save();
$this->alert('warning', 'Error en el cobro, comuniquese con soporte!', [
'position' => 'top'