@extends('layouts.invoicepayheader') @section('page-title') {{ __('Purchase Detail') }} @endsection @push('css') @if (module_is_active('Signature')) @endif @endpush @php $company_settings = getCompanyAllSetting($purchase->created_by, $purchase->workspace); @endphp @section('action-btn')
{{ __('Purchase Date') }} :{{ company_date_formate($purchase->purchase_date, $purchase->created_by, $purchase->workspace) }}
@if (empty($purchase->vender_name)) {{ __('Name ') }} : {{ !empty($vendor->name) ? $vendor->name : '' }} @else {{ __('Vendor Name ') }} : {{ !empty($purchase->vender_name) ? $purchase->vender_name : '' }} @endif
{{ __('Billed To') }} : {{ !empty($vendor->billing_name) ? $vendor->billing_name : '' }} {{ !empty($vendor->billing_address) ? $vendor->billing_address : '' }} {{ !empty($vendor->billing_city) ? $vendor->billing_city . ' ,' : '' }} {{ !empty($vendor->billing_state) ? $vendor->billing_state . ' ,' : '' }} {{ !empty($vendor->billing_zip) ? $vendor->billing_zip : '' }} {{ !empty($vendor->billing_country) ? $vendor->billing_country : '' }}
{{ !empty($vendor->billing_phone) ? $vendor->billing_phone : '' }}
{{ __('Tax Number ') }} : {{ !empty($vendor->tax_number) ? $vendor->tax_number : '' }}
@endif@if ($purchase->company_signature)
{{ __('Email ') }} : {{ !empty($vendor->email) ? $vendor->email : '' }}
@endif{{ __('Shipped To') }} : {{ !empty($vendor->shipping_name) ? $vendor->shipping_name : '' }} {{ !empty($vendor->shipping_address) ? $vendor->shipping_address : '' }} {{ !empty($vendor->shipping_city) ? $vendor->shipping_city . ' ,' : '' }} {{ !empty($vendor->shipping_state) ? $vendor->shipping_state . ' ,' : '' }} {{ !empty($vendor->shipping_zip) ? $vendor->shipping_zip : '' }} {{ !empty($vendor->shipping_country) ? $vendor->shipping_country : '' }}
{{ !empty($vendor->shipping_phone) ? $vendor->shipping_phone : '' }}
{{ __('Tax Number ') }} : {{ !empty($vendor->tax_number) ? $vendor->tax_number : '' }}
@endif @endif@if ($purchase->vendor_signature != '')
{!! DNS2D::getBarcodeHTML( route('purchases.link.copy', \Illuminate\Support\Facades\Crypt::encrypt($purchase->id)), 'QRCODE', 2, 2, ) !!}
# | {{ __('Item Type') }} | {{ __('Item') }} | {{ __('Quantity') }} | {{ __('Rate') }} | {{ __('Tax') }} | {{ __('Discount') }} | {{ __('Description') }} |
{{ __('Price') }} {{ __('after discount & tax') }} |
||
---|---|---|---|---|---|---|---|---|---|---|
{{ $key + 1 }} | {{ !empty($iteam->product_type) ? Str::ucfirst($iteam->product_type) : '--' }} | {{ !empty($iteam->product) ? $iteam->product->name : '' }} | {{ $iteam->quantity }} | {{ currency_format_with_sym($iteam->price, $purchase->created_by, $purchase->workspace) }} |
@if (!empty($iteam->tax))
|
{{ currency_format_with_sym($iteam->discount, $purchase->created_by, $purchase->workspace) }} | {{ !empty($iteam->description) ? $iteam->description : '-' }} | @php $tr_tex = array_key_exists($key, $TaxPrice_array) == true ? $TaxPrice_array[$key] : 0; @endphp{{ currency_format_with_sym($iteam->price * $iteam->quantity - $iteam->discount + $tr_tex, $purchase->created_by, $purchase->workspace) }} | ||
{{ __('Total') }} | {{ $totalQuantity }} | {{ currency_format_with_sym($totalRate, $purchase->created_by, $purchase->workspace) }} | {{ currency_format_with_sym($totalTaxPrice, $purchase->created_by, $purchase->workspace) }} | {{ currency_format_with_sym($totalDiscount, $purchase->created_by, $purchase->workspace) }} | ||||||
{{ __('Sub Total') }} | {{ currency_format_with_sym($purchase->getSubTotal(), $purchase->created_by, $purchase->workspace) }} | |||||||||
{{ __('Discount') }} | {{ currency_format_with_sym($purchase->getTotalDiscount(), $purchase->created_by, $purchase->workspace) }} | |||||||||
{{ $taxName }} | {{ currency_format_with_sym($taxPrice, $purchase->created_by, $purchase->workspace) }} | |||||||||
{{ __('Total') }} | {{ currency_format_with_sym($purchase->getTotal(), $purchase->created_by, $purchase->workspace) }} | |||||||||
{{ __('Paid') }} | {{ currency_format_with_sym($purchase->getTotal() - $purchase->getDue(), $purchase->created_by, $purchase->workspace) }} | |||||||||
{{ __('Due') }} | {{ currency_format_with_sym($purchase->getDue(), $purchase->created_by, $purchase->workspace) }} |
{{ __('Payment Receipt') }} | {{ __('Date') }} | {{ __('Amount') }} | {{ __('Account') }} | {{ __('Reference') }} | {{ __('Description') }} |
---|---|---|---|---|---|
@if (!empty($payment->add_receipt)) @else - @endif | {{ company_date_formate($payment->date, $purchase->created_by, $purchase->workspace) }} | {{ currency_format_with_sym($payment->amount, $purchase->created_by, $purchase->workspace) }} | {{ !empty($payment->bankAccount) ? $payment->bankAccount->bank_name . ' ' . $payment->bankAccount->holder_name : '' }} | {{ $payment->reference }} | {{ isset($payment->description) ? $payment->description : '-' }} |