@extends('layouts.app') @section('title', 'Edit Supplier') @section('breadcrumb') @endsection @section('content')
@csrf @method('PUT')
{{-- Basic Information --}}
Supplier Information
@error('name')
{{ $message }}
@enderror
{{-- Address --}}
Address
{{-- Notes --}}
Notes
{{-- Sidebar --}}
{{-- Supplier Stats --}}
Supplier Info
Products: {{ $supplier->products()->count() }}
Purchase Orders: {{ $supplier->purchaseOrders()->count() }}
Added On: {{ $supplier->created_at->format('M d, Y') }}
{{-- Financial Info --}}
Financial
{{-- Status --}}
Status
is_active) ? 'checked' : '' }} id="statusSwitch">
{{-- Submit Button --}}
@push('styles') @endpush @endsection