@section("title", "BizMan | Quotations")

{{ __('Quotations Management') }}

{{ date('l, d M Y') }}

Quotations Management

Kelola quotation/penawaran harga

Add New Quotation
@if (request('search')) @endif
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@foreach ($quotations as $quotation)

{{ $quotation->quotation_number }}

Rp {{ number_format($quotation->total, 0, ',', '.') }} @if ($quotation->status == 'accepted') accepted @elseif($quotation->status == 'draft') draft @elseif($quotation->status == 'sent') sent @else rejected @endif

{{ $quotation->customer->name }}

{{ $quotation->customer->email }}

Tanggal

{{ \Carbon\Carbon::parse($quotation->quotation_date)->format('d/m/Y') }}

Valid Hingga

{{ \Carbon\Carbon::parse($quotation->valid_until)->format('d/m/Y') }}

Items

{{ $quotation->items->count() }}

Subtotal

Rp {{ number_format($quotation->subtotal, 0, ',', '.') }}

Preview @if ($quotation->status == 'accepted') @elseif($quotation->status == 'draft') @elseif($quotation->status == 'sent') @endif
@if ($quotation->status == 'draft' || $quotation->status == 'rejected')
@csrf @method('DELETE')
@endif
@endforeach
@push('scripts') @endpush