@extends('admin.layout.master') @section('title','CHEQUE MANAGEMENT') @section('custom_style') @endsection @section ('content')
@include('admin.layout.title_header', ['title'=>'VOUCHER LIST']) {{--

VOUCHER LIST

--}}
@php $filter_date_type=['check_date'=>'check_date','preparation_date'=>'preparation_date']; $types=[0=>'ALL',1=>'Registered',2=>'Approved',3=>'Passed',4=>'Bounced',5=>'Cancel']; @endphp
{{--
preparation_date) checked @endif>
--}}

{{--
--}}
@forelse ($vouchers as $key=>$voucher) {{-- @forelse ($vouchers->groupBy('voucher_ids') as $key=>$voucher) --}} {{-- --}} @empty @endforelse
Voucher No Date Prearation Date Type Party Amount Action
check_status>1) disabled @endif type="checkbox" value="{{$voucher->id}}" id="voucher_id_{{$voucher->id}}">
{{ $voucher->voucher_no }} {{ date('Y-M-d', strtotime($voucher->check_date))}}{{ $voucher->check_number }}{{ date('Y-M-d', strtotime($voucher->preparation_date))}} {{ strtoupper(str_replace('_',' ',$types[$voucher->check_status]))}} {{ $voucher->ledger?$voucher->ledger->name:''}} {{ $voucher->amount}} {{-- --}} @if($voucher->check_status==1) {{-- --}} @endif
{{-- --}}
{{-- @include('admin.modals.cheque_detail_modal') --}} @endsection @section('script') @stop