@extends('layouts.admin') @section('title', 'Delivery Challans') @section('page-title', 'Delivery Challans') @section('breadcrumbs') Delivery Challans @endsection @section('content')

Delivery Challans

add New Challan
@forelse($challans ?? [] as $challan) @empty @endforelse
# CHALLAN # INVOICE CUSTOMER DELIVERY DATE ITEMS STATUS ACTIONS
{{ $challans->firstItem() + $loop->index }} {{ $challan->challan_number }} {{ $challan->invoice->invoice_number ?? '-' }} {{ $challan->customer->name ?? 'N/A' }} {{ $challan->delivery_date->format('M d, Y') }} {{ $challan->items->count() }} items @php $status = $challan->status ?? 'pending'; $statusClasses = [ 'pending' => 'bg-yellow-100 text-yellow-800', 'shipped' => 'bg-blue-100 text-blue-800', 'delivered' => 'bg-green-100 text-green-800', 'cancelled' => 'bg-red-100 text-red-800', ]; @endphp {{ ucfirst($status) }}
visibility print
@csrf @method('DELETE')
local_shipping

No delivery challans found

@if(isset($challans) && method_exists($challans, 'hasPages') && $challans->hasPages())
{{ $challans->links() }}
@endif
@endsection