@extends('layouts.admin-simple') @section('title', 'Suppliers') @section('breadcrumb') @endsection @section('page-title')

Suppliers

Manage supplier information and performance

@can('warehouse.suppliers.create')
@endcan
@endsection @section('content')
filter_list Filters
business Suppliers List ({{ $suppliers->total() }} total suppliers)
Loading...
Loading supplier data...
@forelse($suppliers as $supplier) @empty @endforelse
Supplier Contact Location Status Rating Payment Terms Created Actions
business
{{ $supplier->name }}
@if($supplier->supplier_code) Code: {{ $supplier->supplier_code }} @endif
@if($supplier->contact_person)
{{ $supplier->contact_person }}
@endif @if($supplier->email) {{ $supplier->email }}
@endif @if($supplier->phone) {{ $supplier->phone }} @endif
@if($supplier->city)
{{ $supplier->city }}
@endif @if($supplier->country) {{ $supplier->country }} @endif
@php $statusColors = [ 'active' => 'success', 'inactive' => 'secondary', 'suspended' => 'danger' ]; $statusColor = $statusColors[$supplier->status] ?? 'secondary'; @endphp {{ ucfirst($supplier->status) }} @if($supplier->rating)
{{ number_format($supplier->rating, 1) }} star
@else - @endif
{{ $supplier->payment_terms ?: 'Standard' }} {{ $supplier->created_at->format('d M Y') }}
visibility @can('warehouse.suppliers.edit') @endcan @can('warehouse.suppliers.delete') @endcan
business
No Suppliers Found

No suppliers match your current filters.

@if($suppliers->hasPages()) @endif
@endsection @section('modals') @endsection @push('styles') @endpush @push('scripts') @endpush