@extends('layouts.app') @section('title', 'Library Stocktake') @section('content')

Stocktake

Scan copy barcodes to reconcile physical stock against the catalogue.
@include('library._nav') @if($active)

{{ $active->name }}

Started {{ \Carbon\Carbon::parse($active->started_at)->format('d M Y H:i') }}
@csrf
{{ $scanned }}/{{ $totalCopies }}
@csrf
Recently scanned
@forelse($recent as $item)
{{ $item->barcode }} {{ $item->condition }}
@empty

No barcodes scanned yet.

@endforelse
@endif

Stocktake history

{{ $takes->count() }} sessions
@forelse($takes as $take) @empty @endforelse
NameStartedCompletedStatusNotes
{{ $take->name }} {{ $take->started_at ? \Carbon\Carbon::parse($take->started_at)->format('d M Y H:i') : '—' }} {{ $take->completed_at ? \Carbon\Carbon::parse($take->completed_at)->format('d M Y H:i') : '—' }} {{ Str::limit($take->notes ?? '', 70) }}
@csrf
@endsection