@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
Add Ledgers
@if (count($capitalGoods) > 0) @php $tabIndex = 0; @endphp @foreach ($capitalGoods as $key => $item) @php $key = $key + 1; @endphp @php $tabIndex += 5; @endphp @endforeach @endif
Ledger Qty Price Gross Value Disc% Taxable Value CGST SGST IGST CESS Total
{{ $capitalGoods->sum('total') }}
TCS : tcs > 0.0 ? 'checked' : '' }} id="tcs">
{{ $accountingVoucher->tcs }}
Discount :
Round Off :
{{ $accountingVoucher->round_off }}
Grand Total :
{{ $accountingVoucher->amount }}
{{-- Print Modal --}} @endsection @section('script')