@extends('layouts.master') @section('css') @endsection @section('title') Purchase Return @endsection @section('content')
@isset($accountingVoucher)
@method('put') @else @endisset @csrf
@isset($accountingVoucher) Edit @else Add @endisset Purchase Return
@isset($accountingVoucher) @if (str_contains($accountingVoucher->voucher_number, '-')) @php $explode = explode('-', $accountingVoucher->voucher_number); $voucherNumber = end($explode); $prefix = array_pop($explode); $prefix = implode('-', $explode); @endphp {{ $prefix }} edit_voucher_number) @else readonly @endif> @else edit_voucher_number) @else readonly @endif> @endif @else @if ($voucherType->prefix != null) {{ $voucherType->prefix }} @else @endif @endisset
Report
Add Ledgers
@isset($accountingVoucher) @if (count($capitalGoods) > 0) @php $tabIndex = 0; @endphp @foreach ($capitalGoods as $key => $item) @php $key = $key + 1; @endphp @php $tabIndex += 5; @endphp @endforeach @endif @endisset
Ledger Qty Price Gross Value Disc% Taxable Value CGST SGST IGST CESS Total
@isset($capitalGoods) {{ $capitalGoods->sum('total') }} @endisset
TCS : tcs > 0.0 ? 'checked' : '' }} @endisset id="tcs">
@isset($accountingVoucher) {{ $accountingVoucher->tcs }} @endisset
Discount :
Round Off :
@isset($accountingVoucher) {{ $accountingVoucher->round_off }} @endisset
Grand Total :
@isset($accountingVoucher) {{ $accountingVoucher->amount }} @endisset
{{-- Print Modal --}} @endsection @section('script')