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

Suppliers

Manage your suppliers and price references

New Supplier
Clear
@forelse($suppliers as $supplier)

{{ $supplier->name }}

{{ $supplier->codename }}
{{ $supplier->priceRecords->count() }} price records
@if ($supplier->contact_person)

{{ $supplier->contact_person }}

@endif @if ($supplier->location)

{{ $supplier->location }}

@endif @if ($supplier->contact_number)

{{ $supplier->contact_number }}

@endif @if ($supplier->notes)

{{ Str::limit($supplier->notes, 80) }}

@endif
Last updated {{ $supplier->updated_at->diffForHumans() }}
@csrf @method('DELETE')
@empty

No suppliers found

@if(request()->has('search')) No suppliers match your search criteria. @else Get started by creating your first supplier. @endif

Create Supplier
@endforelse
@if ($suppliers->hasPages())
{{ $suppliers->links() }}
@endif
@endsection @push('styles') @endpush