@extends('layouts.master') @section('css') @endsection @section('title') Delivery Note @endsection @section('content')
@isset($accountingVoucher)
@method('put') @else @endisset @csrf
@isset($accountingVoucher) Edit Delivery Note @else Add Delivery Note @endisset
@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 }} @else @endif @else @if ($voucherType->prefix != null) {{ $voucherType->prefix }} @else @endif @endisset
@if ($companyProfile->show_date_of_supply)
@endif @if ($companyProfile->show_vehicle_number)
vehicle_no_mandatory) required @endif>
@endif
@if ($companyProfile->customer_source == 1) @endif
Report
Add Items
@isset($accountingVoucherItems) @php $tabIndex = 0; @endphp @if (count($accountingVoucherItems) > 0) @foreach ($accountingVoucherItems as $key => $accountingVoucherItem) @php $key = $key + 1; @endphp @php $tabIndex = $tabIndex + 7; @endphp @endforeach @endif @endisset
Item Stock MRP Qty Unit Price Price(Inc GST) Gross Value Disc% Taxable Value CGST SGST IGST CESS Total
---
{{ isset($accountingVoucherItems) ? $accountingVoucherItems->sum('total') : '0.00' }}
Discount :
Freight/Etc :
Round Off :
{{ isset($accountingVoucher) ? $accountingVoucher->round_off : '0.00' }}
Grand Total :
{{ isset($accountingVoucher) ? $accountingVoucher->amount : '0.00' }}
* Stock is based on the base unit of the item
{{-- Print Modal --}} @endsection @section('script') @endsection