@include('includes.messages')
@foreach ($stack->mini_shed_stacks->whereNull('status') as $mini_shed_stack)
{{ strtoupper($mini_shed_stack->mini_name) }}
BAGS:
{{ $mini_shed_stack->stack_records->where('transaction_type', 'offloading')->sum('quantity_added') - $mini_shed_stack->stack_records->where('transaction_type', 'evacuation')->sum('quantity_evacuated') }}
CAT:
@foreach ($categories as $category)
@if (
$category->id ==
$mini_shed_stack->stack_records->where('transaction_type', 'offloading')->pluck('category_id')->last())
{{ strtoupper($category->name) }}
@endif
@endforeach
STACK HISTORY:
RECORDS
@endforeach
@endsection
@section('more-scripts')
@endsection