@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') @csrf Add Purchase Accounts Only Voucher Number @if ($voucherType->prefix != null) {{ $voucherType->prefix }} @else @endif Voucher Type Select voucher type Voucher Date Purchase Ledger (Dr) Select ledger Party (Cr) Select ledger Tax Type IntraState InterState (IGST) Stock Location Choose stock location @if (isset($defaultStockLocation) && $defaultStockLocation != null) {{ $defaultStockLocation->name }} @endif Supplier Invoice No Supplier Invoice Date {{-- --}} @if ($companyProfile->show_cost_center == 1) Cost Center Select Cost Center @foreach ($costCenters as $costCenter) cost_center_id == $costCenter->id ? 'selected' : '') : '' }}> {{ $costCenter->name }} @endforeach @endif Remarks @if (Auth::user()->company_profile->use_bill_wise_receipt) Against Vouchers @isset($accountingVoucher) @php $bill_wise_receipts = \App\Models\BillWiseReceipt::where( 'accounting_voucher_id', $accountingVoucher->id, ) ->whereNotNull('against_voucher_id') ->get(); $opening_receipts = \App\Models\BillWiseReceipt::where( 'accounting_voucher_id', $accountingVoucher->id, ) ->where('Type', 'Opening Balance') ->get(); if ($opening_receipts->count() > 0) { foreach ($opening_receipts as $key => $opening_receipt) { echo 'Opening Balance - ' . $opening_receipt->amount . ''; } } foreach ($bill_wise_receipts as $bill_wise_receipt) { echo '' . $bill_wise_receipt->againstVoucher->VoucherType->name . ' - ' . $bill_wise_receipt->againstVoucher->voucher_number . ' - ' . $bill_wise_receipt->amount . ''; } @endphp @endisset @endif Without GST Report Go Back Slab Unit Price (Inc Tax) TCS : Discount : Freight/Etc : Add @isset($accountingVoucher) @foreach ($accountingVoucher->accountingVoucherLedgers as $accountingVoucherLedger) Select Ledger {{ $accountingVoucherLedger->ledger->name }} amount }}> dr_or_cr == 'Dr' ? 'selected' : '' }}> Dr dr_or_cr == 'Cr' ? 'selected' : '' }}> Cr @endforeach @endisset Round Off : 0.00 Grand Total : 0.00 Add Submit * Stock is based on the base unit of the item
You want to update product purchase rate with this Purchase rates?