@extends('layouts.master') @section('css') @endsection @section('title') Purchase @endsection @section('content')

PURCHASE DETAILS

Cost Allocation Go Back
@if (Session::has('success')) @endif @if (Session::has('error')) @endif
VOUCHER TYPE

{{ $accountingVoucher->voucherType->name }}

VOUCHER NUMBER

{{ $accountingVoucher->voucher_number }}

VOUCHER DATE

{{ \Carbon\Carbon::parse($accountingVoucher->voucher_date)->format('d M Y') }}

PURCHASE LEDGER (Dr)

{{ $accountingVoucher->debitLedger->name ?? '---' }}

PARTY (Cr)

{{ $accountingVoucher->creditLedger->name ?? '---' }}

TAX TYPE
@if ($igst)

Interstate(IGST)

@else

Intrastate

@endif
STOCK LOCATION

{{ $accountingVoucher->stockLocation->name ?? '--' }}

Supplier Invoice No

{{ $accountingVoucher->supplier_invoice_no ?? '--' }}

Supplier Invoice Date

{{ $accountingVoucher->supplier_invoice_date ?? '--' }}

REMARKS

{{ $accountingVoucher->remarks ?? '--' }}

@if ($accountingVoucher->getFirstMediaUrl('image')) @endif


ITEMS

@if (Auth::user()->company_profile->landing_cost_purchase) @endif @foreach ($accountingVoucherItems as $item) @if (Auth::user()->company_profile->landing_cost_purchase) @endif @if(Auth::user()->company_profile->item_cost_allocation == 1) @endif @endforeach
# Item Internal
Barcode
MRP Qty Unit Price Gross Value Dis %Landing Cost Inc GstTaxable Value CGST SGST IGST CESS Total Missing Qty Cost Allocation
{{ $loop->iteration }} {{ $item->stockItem->name }}@if ($item->variant_id != null)
({{ $item->variant->name }}) @endif @if (Auth::user()->company_profile->use_serial == 1)
@endif
{{ $item->stockItem->internal_barcode ?? '--' }} {{ $item->stockItem->getMrp($accountingVoucher->voucher_date) }} {{ $item->quantity }} {{ $item->unit->symbol }} {{ $item->price }} {{ $item->gross_value }} {{ $item->disc_percentage }}{{ $item->landing_cost_inc_gst }}{{ $item->taxable_value }} {{ $item->cgst }} {{ $item->sgst }} {{ $item->igst }} {{ $item->cess }} {{ $item->total }} @if ($item->missing_qty > 0)
{{ $item->missing_qty }} @endif
Cost Allocation

Associated Ledger Accounts

@foreach ($accountingVoucher->accountingVoucherDetails as $accountingVoucherDetail) @endforeach
Account Name Amount
{{ $accountingVoucherDetail->ledger->name }} {{ $accountingVoucherDetail->amount }} {{ $accountingVoucherDetail->dr_or_cr }}
{{-- barcode Print Modal --}} {{-- serial List --}} {{-- missing qty --}} @endsection @section('script') @endsection