forked from nathalie/pedi2
cambio validacion de devoluciones
This commit is contained in:
parent
5921767654
commit
05d13008fb
1 changed files with 3 additions and 3 deletions
|
@ -103,7 +103,7 @@ class SubpedidoController extends Controller
|
|||
|
||||
$valid = request()->validate([
|
||||
'total' => 'required|min:0',
|
||||
'notas' => 'required',
|
||||
'notas' => 'min:1',
|
||||
]);
|
||||
$subpedido->syncDevoluciones($valid['total'], $valid['notas']);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue