@extends('admin.master') @section('content') @include('admin.inventory._styles')
@if($errors->any())
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@csrf @if($editing) @method('PUT') @endif
← Back

{{ $editing ? 'Edit Supplier' : 'Add Supplier' }}

{{ $editing ? 'Update supplier information and status.' : 'Create a supplier for purchase and inventory records.' }}

▱ Supplier Details

@if($supplier->imageUrl()) {{ $supplier->name }} @else 🏢 @endif {{ $supplier->image ? basename($supplier->image) : 'No file uploaded' }}
@if($editing && $supplier->image) @endif
Active Status
Enable or disable this supplier
@endsection