@extends('layouts.app') @section('title') {{'Received Voucher Details'}} @endsection @section('content') @include('layouts.numbertowords')
Received Voucher Details Back

@if ($stock_out->status == 0 && Auth::user()->parent_id == "0") Confirm @endif @if ($stock_out->status == 1 && $stock_out->db_types == "Payment" && Auth::user()->parent_id == "0") Payment Voucher @endif @if ($stock_out->status == 1 && $stock_out->db_types == "Received" && Auth::user()->parent_id == "0") Money Receipt Received Voucher @endif

Voucher No. : {!! $stock_out->voucher_no !!}
Method Type : {!! $stock_out->db_types !!}
Posting Date : {!! date('d-m-Y', strtotime($stock_out->txn_date))!!}



@php $i=0; $total_amount = 0; @endphp @foreach ($day_book_list as $row) @php $i++; $total_amount += $row->amount; @endphp @if($row->cheque_date!='') @else @endif @endforeach
SL No. Date ID Party Name Description Type Amount Cash/Cheque PO/DD/TT/CQ No. Cheque date Remarks
{{$i}} {!! date('d-m-Y', strtotime($row->txn_date))!!} {!! $row->supplier_id !!} {!! $row->name !!} {!! $row->values !!} {!! number_format($row->amount,2) !!} {!! $row->cash_cheque !!} {!! $row->po_dd_tt_cq !!} {!! date('d-M-Y', strtotime($row->cheque_date)) !!} {!! $row->remarks !!}
Grand Total = {!! number_format($total_amount,2) !!}
@endsection