@extends('laravel-crm::layouts.document') @section('content')
{{ strtoupper(__('laravel-crm::lang.quote')) }}@if($quote->reference || $quote->issue_at || $quote->expire_at || $quote->quote_id)
@endif
@if($quote->quote_id)
{{ ucfirst(__('laravel-crm::lang.number')) }} {{ $quote->quote_id }} |
@if($logo)
|
|
{{ ucfirst(__('laravel-crm::lang.issued_to')) }} {{ $quote->organisation->name ?? $quote->organisation->person->name ?? null }} @isset($quote->person) {{ $quote->person->name }} @endisset @if(isset($organisation_address)) @if($organisation_address->line1) {{ $organisation_address->line1 }} @endif @if($organisation_address->line2) {{ $organisation_address->line2 }} @endif @if($organisation_address->line3) {{ $organisation_address->line3 }} @endif @if($organisation_address->city || $organisation_address->state || $organisation_address->postcode) {{ $organisation_address->city }} {{ $organisation_address->state }} {{ $organisation_address->postcode }} @endif {{ $organisation_address->country }} @elseif($address) {{ $address->line1 }} @if($address->line2) {{ $address->line2 }} @endif @if($address->line3) {{ $address->line3 }} @endif {{ $address->city }} {{ $address->country }} @endif |
{{ ucfirst(__('laravel-crm::lang.from')) }} {{ $fromName }} {{-- 19-21 South Steyne MANLY NSW 2095 Australia--}} |
{{ ucfirst(__('laravel-crm::lang.description')) }}{!! nl2br($quote->description) !!} |
| {{ ucfirst(__('laravel-crm::lang.item')) }} | {{ ucfirst(__('laravel-crm::lang.price')) }} | {{ ucfirst(__('laravel-crm::lang.qty')) }} | {{ ucfirst(__('laravel-crm::lang.amount')) }} | {{ ucfirst(__('laravel-crm::lang.comments')) }} |
|---|---|---|---|---|
| {{ $quoteProduct->product->name }} | {{ money($quoteProduct->price ?? null, $quoteProduct->currency) }} | {{ $quoteProduct->quantity }} | {{ money($quoteProduct->amount ?? null, $quoteProduct->currency) }} | {{ $quoteProduct->comments }} |
| {{ ucfirst(__('laravel-crm::lang.sub_total')) }} | {{ money($quote->subtotal, $quote->currency) }} | |||
| {{ ucfirst(__('laravel-crm::lang.discount')) }} | {{ money($quote->discount, $quote->currency) }} | |||
| {{ ucfirst(__('laravel-crm::lang.tax')) }} | {{ money($quote->tax, $quote->currency) }} | |||
| {{ ucfirst(__('laravel-crm::lang.adjustment')) }} | {{ money($quote->adjustments, $quote->currency) }} | |||
| {{ ucfirst(__('laravel-crm::lang.total')) }} | {{ money($quote->total, $quote->currency) }} |
{{ ucfirst(__('laravel-crm::lang.terms')) }}{!! nl2br($quote->terms) !!} |