@component('pdf.components.style') @endcomponent
@component('pdf.components.header', [ 'company_logo' => $company_logo, 'sales_person' => [ 'name' => $quote->another_user->fullname, 'email' => $quote->another_user->email, 'phone_number' => $quote->another_user->show_phone_invoice == 1 ? $quote->another_user->phone_number : null, 'extension_number' => $quote->another_user->extension_number ], 'store' => [ 'name' => $quote->store->store_name, 'format_store_name' => $quote->store->format_store_name, 'address' => $quote->store->store_address, 'phone_number' => $quote->store->store_phone_number, ], 'order_no' => $quote->quote_no, 'order_date' => $quote->quote_date . ' ' . $quote->quote_time, 'show_expiration_date' => $quote->show_expiration_date, 'expirate_date' => $quote->valid_quote_date, 'total' => $quote->total, 'is_quote' => true, 'payment' => $payment ]) @endcomponent @if (!$itemize) @component('pdf.components.information_section', [ // 'sales_person' => ['name' => $quote->user->fullname, 'email' => $quote->user->email], 'billing' => [ 'company_name' => $quote->company_name, 'builders_code' => $quote->builders_code, 'name' => $quote->bill_name, 'email' => $quote->bill_email, 'address' => $quote->formatted_billing_address ? $quote->formatted_billing_address['formatted']:$quote->bill_address, 'phone_number' => $quote->bill_phone_number, 'home_number' => $quote->bill_home_number, 'alternative_number' => $quote->bill_alternative_number == null?"":$quote->bill_alternative_number ], 'shipping' => [ 'company_name' => $quote->ship_company_name, 'builders_code' => $quote->ship_builders_code, 'name' => $quote->ship_name, 'email' => $quote->ship_email, 'address' => $quote->formatted_shipping_address ? $quote->formatted_shipping_address['formatted']:$quote->ship_address, 'phone_number' => $quote->ship_phone_number, 'home_number' => $quote->ship_home_number, 'alternative_number' => $quote->ship_alternative_number == null?"":$quote->ship_alternative_number ] ]) @endcomponent @endif @if ($itemize) @component('pdf.components.product_itemize', [ 'order_detail' => $quote->detail, 'order' => $quote, 'name' => $name, 'type' => 'quote', 'without_model_number' => false, 'company' => $company, "name" => $name ]) @endcomponent @else @component('pdf.components.product', [ 'order_detail' => $quote->detail, 'order' => $quote, 'name' => $name, 'type' => 'quote', 'without_model_number' => false, 'company' => $company, "name" => $name ]) @endcomponent @endif@if (!$itemize) @component('pdf.components.notes', ['notes' => $quote->notes, 'delivery_notes' => $quote->delivery_notes, 'line_item_notes' => $quote->line_item_notes]) @endcomponent @endif | @if($name !== "quote-without-price-")@if ($itemize) @component('pdf.components.footer_itemize', [ 'order' => $quote, 'order_detail' => $quote->detail, 'type' => 'quote', 'change_due' => $change_due, 'type' => 'quote', 'return_payment' => [], 'is_credit_line' => false, 'credit_line_balance_due' => 0, ]) @endcomponent @else @component('pdf.components.footer', [ 'order' => $quote, 'order_detail' => $quote->detail, 'type' => 'quote', 'change_due' => $change_due, 'type' => 'quote', 'return_payment' => [], 'is_credit_line' => false, 'credit_line_balance_due' => 0, ]) @endcomponent @endif | @endif
---|