@extends('setting.nav') @section('title', $quotation->quotation_number) @section('styles') @endsection @section('content')
| # | Item | Qty | Unit price | Tax | Amount | |||
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
{{ $item->product_name }}
@if ($item->product_code)
{{ $item->product_code }}
@endif
@if ($item->description)
{{ \Illuminate\Support\Str::limit($item->description, 140) }}
@endif
{{-- Provenance, on screen only. The customer's copy shows
the product; the salesperson's copy also shows how the
AI got there and how sure it was. --}}
@if ($item->needs_review)
@endif
|
{{ $item->quantityLabel() }} | {{-- A line with no price must never print as ₹0.00. This page is saved as a PDF and sent to customers, and a zero in a price column reads as "free", not as "we could not price this". The three money cells say so in words instead. --}} @php $priced = $item->product_id && (float) $item->unit_price > 0; @endphp @if ($priced){{ $quotation->money($item->unit_price) }} |
{{ $quotation->money($item->tax_amount) }}
{{ rtrim(rtrim(number_format((float) $item->tax_percentage, 2), '0'), '.') }}%
|
{{ $quotation->money($item->line_total) }} | @elseTo be advised | @endif||
| This quotation has no lines. | ||||||||
| Subtotal | {{ $quotation->money($quotation->subtotal) }} |
| Discount | − {{ $quotation->money($quotation->discount_total) }} |
| Tax | {{ $quotation->money($quotation->tax_total) }} |
| Total | {{ $quotation->money($quotation->grand_total) }} |