@extends('layouts.master') @section('css') @endsection @section('title') Trash Voucher @endsection @section('content')
{{ $voucher->voucherType->name }}
{{ $voucher->voucher_number }}
{{ \Carbon\Carbon::parse($voucher->voucher_date)->format('d M Y') }}
{{ $voucher->creditLedger?->name }}
{{ $voucher->debitLedger?->name }}
{{ $voucher->priceSlab->name ?? '--' }}
{{ $voucher->stockLocation->name ?? '--' }}
{{ $voucher->remarks ?? '--' }}
{{ $voucher->costCenter->name ?? '--' }}
{{ $voucher->user->name ?? '--' }}
{{ $voucher->deletedBy->name ?? '--' }}
{{ $voucher->customer->name ?? '--' }}
{{ $voucher->customer->mobile ?? '--' }}
| Item | MRP | Qty | Unit | Price | Price (Inc GST) | Gross Value | Dis % | Taxable Value | Gst % | CGST | SGST | IGST | CESS | Total |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->stockItem->name }} | {{ $item->stockItem->getMrp($voucher->voucher_date) }} | {{ $item->quantity }} | {{ $item->unit->symbol }} | {{ $item->price }} | {{ $item->price_inc_tax }} | {{ $item->gross_value }} | {{ $item->disc_percentage }} | {{ $item->taxable_value }} | {{ $item->gst_per }} | {{ $item->cgst }} | {{ $item->sgst }} | {{ $item->igst }} | {{ $item->cess }} | {{ $item->total }} |
| Total | {{ $voucherItems->sum('gross_value') }} | {{ $voucherItems->sum('taxable_value') }} | {{ $voucherItems->sum('cgst') }} | {{ $voucherItems->sum('sgst') }} | {{ $voucherItems->sum('total') }} | |||||||||
| Account Name | Amount |
|---|---|
| {{ $voucherDetail->ledger->name }} | {{ $voucherDetail->amount }} {{ $voucherDetail->dr_or_cr }} |