@extends('layouts.admin') @section('title', 'Alterations') @section('page-title', 'Alterations') @section('content')

Manage alterations.

@can('create alterations') Record Alteration @endcan
@if($branches->isNotEmpty() && auth()->user()->canAccessAllBranches())
@endif
@forelse($alterations as $a) @empty @endforelse
Order Customer Requested on Status Actions
{{ $a->order->order_number }} {{ $a->order->customer->full_name ?? '-' }} {{ $a->requested_on ? $a->requested_on->format('d M Y') : '-' }} {{ $a->status }} View @can('edit alterations')Edit@endcan Order
@can('create alterations') Record Alteration @else @endcan
@if($alterations->hasPages())
{{ $alterations->links() }}
@endif
@endsection