@extends('admin.layouts.app') @section('title', 'Quotations') @section('content')

All Quotations

Create Quotation
@if(request()->hasAny(['search', 'status'])) Clear @endif
@forelse($quotations as $quotation) @empty @endforelse
Quotation # Customer Total Discount Status Valid Until Actions
{{ $quotation->quotation_number }} @if($quotation->is_shop_customer)
Shop Customer
@endif
{{ $quotation->customer_name }}
{{ $quotation->customer_email }}
KSh {{ number_format($quotation->total, 2) }} @if($quotation->installation_discount > 0) - KSh {{ number_format($quotation->installation_discount, 2) }}
{{ $quotation->discount_percentage }}%
@else - @endif
{{ $quotation->status_badge['label'] }} @if($quotation->valid_until) {{ $quotation->valid_until->format('M d, Y') }} @else - @endif
@csrf @method('DELETE')
No quotations yet. Create your first quotation
{{ $quotations->links() }}
@endsection