@extends('procurement::layouts.master') @section('title','Stock Movements') @section('content')

Stock Movements

Log Build Consume Parts
Clear
@include('procurement::components.partials.sortable_th', ['label'=>'Date','field'=>'date']) @include('procurement::components.partials.sortable_th', ['label'=>'Component','field'=>'component']) @include('procurement::components.partials.sortable_th', ['label'=>'Type','field'=>'type']) @include('procurement::components.partials.sortable_th', ['label'=>'Qty','field'=>'qty','class'=>'text-right']) @include('procurement::components.partials.sortable_th', ['label'=>'Reference','field'=>'reference']) @include('procurement::components.partials.sortable_th', ['label'=>'By','field'=>'by']) @forelse($movements as $mv) @empty @endforelse
Notes
{{ $mv->movement_date->format('M j, Y') }} {{ $mv->component->part_number ?: $mv->component->ref_designator ?: '—' }} {{ Str::limit($mv->component->description,30) }} {{ ucfirst($mv->movement_type) }} {{ $mv->quantity > 0 ? '+' : '' }}{{ $mv->quantity }} {{ $mv->reference ?: '—' }} {{ $mv->performed_by ?: '—' }} {{ Str::limit($mv->notes,50) ?: '—' }}
No movements yet.
{{ $movements->withQueryString()->links() }} @endsection