@if (json_decode(Auth::user()->permisos)->puede_ver_ajustes_inventario == 'on')
@if($ajustes->count() > 0)
@else
| ID | Usuario | Descripcion | Fecha del ajuste | Fecha de registro | Cantidad de productos | Accion |
|---|---|---|---|---|---|---|
| {{$ajuste->id}} |
{{$ajuste->user->name}} |
{{$ajuste->descripcion}} | {{\Carbon\Carbon::parse($ajuste->fecha_ajuste)->format('d/m/Y')}} | @if($ajuste->created_at == null) ... @else {{\Carbon\Carbon::parse($ajuste->created_at)->format('d/m/Y')}} @endif | {{ $ajuste->cantidad }} |
{{$ajustes->links()}}
No hay ajustes de inventario.
@endif
@else
No puedes ver esta información.
@endif