@extends('layouts.master') @section('css') @include('admin.stock-items.create-modal-css') @include('admin.ledger.create-modal-css') @endsection @section('title') Purchase @endsection @section('content')
@method('put') @csrf
Edit Purchase
@if (str_contains($accountingVoucher->voucher_number, '-')) @php $explode = explode('-', $accountingVoucher->voucher_number); $voucherNumber = end($explode); $prefix = array_pop($explode); $prefix = implode('-', $explode); @endphp {{ $prefix }} @else @endif
@if ($companyProfile->show_cost_center == 1)
@endif
without_gst == 1 ? 'checked' : '' }} onchange="toggleGst()">
Report
Slab Unit Price (Inc Tax)
Item Landing Cost Landing Cost Incl Gst
Add Items
@if (count($accountingVoucherItems) > 0) @php $tabIndex = 0; @endphp @foreach ($accountingVoucherItems as $key => $accountingVoucherItem) @php $key = $key + 1; @endphp @php $tabIndex += 9; @endphp @endforeach @endif
SN    Item Stock MRP Qty Unit Price Price(Inc GST) Gross Value Disc% Discount
Amt
Taxable Value Tax Total
{{ $key }}
---
{{ $accountingVoucherItems->sum('gross_value') }} {{ $accountingVoucherItems->sum('taxable_value') }} {{ $accountingVoucherItems->sum('total') }}
TCS : tcs > 0.0 ? 'checked' : '' }} id="tcs">
{{ $accountingVoucher->tcs }}
Discount :
Freight/Etc :
@isset($accountingVoucher) @foreach ($accountingVoucher->accountingVoucherLedgers as $accountingVoucherLedger) @endforeach @endisset
amount }}>
Round Off :
{{ $accountingVoucher->round_off }}
Grand Total :
{{ $accountingVoucher->amount }}
@if (Auth::user()->company_profile->show_previous_price_history == 1)
Voucher Date Voucher no Qty Unit Price Price(Inc GST) Dis % Dis Amt Total
@endif
* Stock is based on the base unit of the item
{{-- Print Modal --}} @include('admin.stock-items.create-modal') @include('admin.ledger.create-modal') {{-- @include('admin.purchase.cost_allocation_modal') --}} @endsection @section('script') @include('admin.stock-items.create-modal-script') @include('admin.ledger.create-modal-script') {{-- @include('admin.purchase.cost_allocation_scripts') --}} @endsection