@extends('admin.layout.master') @section('title', 'Manage ChequeBooks') @section('content')

Manage ChequeBooks

{{-- --}}
{{-- --}}
{{ Session::get('message') }}
@php $i = 1; $types=getChequeType(); @endphp @foreach ($allCheckBooks as $checkBook) @endforeach
# Name Bank Name Cheque Book No Check NO Status Action
{{ $i++ }} {{ $checkBook->bank?$checkBook->bank->name_eng:'' }} {{ $checkBook->bank?$checkBook->bank->bank_name:'' }} {{ $checkBook->check_book_no }} {{ $checkBook->check_number }} {{ strtoupper(str_replace('_',' ',$types[$checkBook->check_status]))}} {{-- @if(count($checkBook->initial_cheque_details)>0) {{ $types[$checkBook->initial_cheque_details()->latest()->first()->type]}} @
{{date('d-M-Y',strtotime($checkBook->initial_cheque_details()->latest()->first()->cheque_date)) }}
@else {{'Yet Not Used'}} @endif --}}
@if($checkBook->check_status<7) @endif
@include('accounts.modals.add_checkbook') @endsection; @section('script') @endsection