@extends('layouts.master') @section('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
Report
Purchase
Price(Excl Tax)
Purchase
Price(Incl Tax)
Gst (%) Cess (%)
Add Items
@if (Auth::user()->company_profile->show_item_code_in_sales) @endif @if (count($accountingVoucherItems) > 0) @php $tabIndex = 0; @endphp @foreach ($accountingVoucherItems as $key => $accountingVoucherItem) @php $key = $key + 1; @endphp @if (Auth::user()->company_profile->show_item_code_in_sales) @endif @php $tabIndex += 6; @endphp @endforeach @endif @if (Auth::user()->company_profile->show_item_code_in_sales) @endif
SNItem Code   Item Stock MRP Qty Unit Price Gross Value Disc% Disc Amt Total
{{ $key }}
---
{{ $accountingVoucherItems->sum('total') }}
TCS : tcs > 0.0 ? 'checked' : '' }} id="tcs">
{{ $accountingVoucher->tcs }}
Discount :
Additional Discount :
Freight/Etc :
Round Off :
{{ $accountingVoucher->round_off }}
Grand Total :
{{ $accountingVoucher->amount }}
* Stock is based on the base unit of the item
{{-- Modal --}} {{-- Print Modal --}}
@include('admin.stock-items.create-modal') @endsection @section('script') @include('admin.stock-items.create-modal-script') @endsection