@extends('layouts.app') @section('content')

Allocation Details

View and manage allocation

Back

Lead Information

@if($allocation->lead)

Company Name

{{ $allocation->lead->company_name }}

Contact Person

{{ $allocation->lead->contact_person_name }}

Email

{{ $allocation->lead->email }}

Mobile

{{ $allocation->lead->mobile_number }}

@else

Lead information not available (deleted)

@endif

Item Information

@if($allocation->item)

Item Name

{{ $allocation->item->name }}

Category

{{ $allocation->item->category->name ?? 'Uncategorized' }}

Unit Cost

₹{{ number_format($allocation->item->unit_cost, 2) }}/{{ $allocation->item->unit }}

Available Quantity

{{ $allocation->item->quantity }} {{ $allocation->item->unit }}

@else

Item information not available (deleted)

@endif

Allocation Details

Allocated Quantity

{{ $allocation->quantity_allocated }}

Status

{{ ucfirst($allocation->status) }}

Allocated On

{{ $allocation->created_at->format('M d, Y') }}

@if($allocation->notes)

Notes

{{ $allocation->notes }}

@endif

Update Status

@csrf @method('PATCH')
@csrf @method('DELETE')
@endsection