@extends('laravel-crm::layouts.document') @section('content')
{{ strtoupper(__('laravel-crm::lang.order')) }}@if($order->order_id) {{ ucfirst(__('laravel-crm::lang.number')) }} {{ $order->order_id }}@endif @if($order->reference) {{ ucfirst(__('laravel-crm::lang.reference')) }} {{ $order->reference }} @endif |
@if($logo)
|
|
{{ ucfirst(__('laravel-crm::lang.to')) }} {{ $order->organization->name ?? $order->organization->person->name ?? null }} @isset($order->person) {{ $order->person->name }} @endisset @if(isset($organization_address)) @if($organization_address->line1) {{ $organization_address->line1 }} @endif @if($organization_address->line2) {{ $organization_address->line2 }} @endif @if($organization_address->line3) {{ $organization_address->line3 }} @endif @if($organization_address->city || $organization_address->state || $organization_address->postcode) {{ $organization_address->city }} {{ $organization_address->state }} {{ $organization_address->postcode }} @endif {{ $organization_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($order->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')) }} |
|---|---|---|---|---|
| {{ $orderProduct->product->name }} | {{ money($orderProduct->price ?? null, $orderProduct->currency) }} | {{ $orderProduct->quantity }} | {{ money($orderProduct->amount ?? null, $orderProduct->currency) }} | {{ $orderProduct->comments }} |
| {{ ucfirst(__('laravel-crm::lang.sub_total')) }} | {{ money($order->subtotal, $order->currency) }} | |||
| {{ ucfirst(__('laravel-crm::lang.discount')) }} | {{ money($order->discount, $order->currency) }} | |||
| {{ ucfirst(__('laravel-crm::lang.tax')) }} | {{ money($order->tax, $order->currency) }} | |||
| {{ ucfirst(__('laravel-crm::lang.adjustment')) }} | {{ money($order->adjustments, $order->currency) }} | |||
| {{ ucfirst(__('laravel-crm::lang.total')) }} | {{ money($order->total, $order->currency) }} |
{{ ucfirst(__('laravel-crm::lang.terms')) }}{!! nl2br($order->terms) !!} |