Designs @can('design:create') @endcan
@if(!$hideFilters)
@error('search') {{ $message }} @enderror
@endif
@if (Session::get('message')) @endif @if($errors->all()) @endif
@foreach ($columns as $c=>$column) @if ($column) @endif @endforeach @foreach($this->designs as $design) @if($columns['ID']) @endif @if($columns['Description']) @endif @if($columns['Customer']) @endif @if($columns['Factory']) @endif @if($columns['Gauge']) @endif @if($columns['Yarn']) @endif @if($columns['Date of Issue']) @endif @endforeach
{{ $c }}
{{ $design->id }} {{ Str::title($design->description) }} {{ $design->customers->name }} {{ $design->factories->name }} {{ $design->gauges->gauge }} {{ $design->yarn }} {{ $design->issued?->format('d-M-Y') }}
@can('design:update') @endcan @can('design:delete') @endcan
{{ $this->designs->links() }}