cambio validacion de devoluciones

This commit is contained in:
Alejandro Tasistro 2024-07-17 16:26:16 -03:00
parent 5921767654
commit 05d13008fb
1 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ class SubpedidoController extends Controller
$valid = request()->validate([ $valid = request()->validate([
'total' => 'required|min:0', 'total' => 'required|min:0',
'notas' => 'required', 'notas' => 'min:1',
]); ]);
$subpedido->syncDevoluciones($valid['total'], $valid['notas']); $subpedido->syncDevoluciones($valid['total'], $valid['notas']);