@extends('admin.layout.master') @section('title', 'PURCHASE') @section('custom_style') @include('inventory.blade_styles.posting_blade_css') @endsection @section('content')

{{__('obs.purchase')}}

{{ @$invoice?$invoice->invoice_no:'' }}

@if (count($vat_tax)>0)
@endif
{{-- --}}
@csrf @if (@$invoice) @endif @if ($setting->dual_currency == 1) @include('inventory.global.dual_currency_dd') @endif
@if (warehouse_info()->cheque_maintain == 1) @else @endif
@include('inventory.global.invoice_group_dd', ['type'=> 1])
@include('inventory.global.driver_form')

@include('inventory.global.install_product_by_category')
{{-- end --}}
@if (warehouse_info()->change_store == 1)
@endif
@if (warehouse_info()->is_using_vat == 1 && warehouse_info()->vat_posting_type == 1)
{{-- VAT Info Columns --}}
@endif
@if (count($vat_tax) > 0) {{--
--}} {{--
--}} @endif
@php($span = 11)
{{-- --}} @if (warehouse_info()->use_expiry == 1) @php($span++) @endif {{-- --}} @if (count($vat_tax)>0) @php($span+=2) @endif @if (@$invoice) @forelse ($invoice->transaction as $item)
# {{__('obs.products')}} {{__('obs.unit')}}{{__('obs.desc')}}{{__('obs.desc')}} {{__('obs.img')}}{{__('obs.expiry')}} {{__('obs.date')}}{{__('obs.qty')}} {{__('obs.price')}} {{__('obs.disc')}}(%) {{__('obs.m.')}}{{__('obs.dc')}} {{__('obs.net')}} {{__('obs.price')}}{{__('obs.qty')}} {{__('obs.price')}} {{__('obs.disc')}}(%) {{__('obs.m.')}} {{__('obs.dc')}} {{__('obs.net')}} {{__('obs.price')}}{{__('obs.vat')}}
{{ implode(' - ', $vat_tax->pluck('name')->toArray()) }}
{{__('obs.total')}}{{__('obs.action')}}