@extends('layouts.dashboard')

@section('page_title')
View Ledger

@endsection

@section('page_header_title')
view Ledger
@endsection
@section('page_body')


{{ Breadcrumbs::render('userledger',Crypt::encrypt($curr_user->id)) }}

<div class="row row-cards row-deck" >
  <div class="col-12">
    <div class="card">
     <div class="card-header">
      


      <div class="col-md-3">
   
          <h3 style="float: left; margin-left: 4%;" class="card-title">View Ledger</h3>
      </div>

      <div class="col-md-5"></div>

    </div>

    <div class="card-status card-status-left bg-blue"></div>
    <div class="table-responsive" >
      <table class="table table-hover table-sm table-outline table-vcenter text-nowrap card-table cls_datatable">
        <thead>
          <tr>

            <th>#</th>
            <th>Date</th>
            <th>Voucher#</th>
            <th>Name</th>

            <th>Narration</th>
            <th>Mode</th>
            <th>Drawn</th>
            <th>Instrument / Cheque #</th>
            <th>Instrument Date</th>

            <th>Status</th>
            <th>Debit</th>
            <th>Credit</th>
            <th>Balance</th>
            <th>Action</th>
          </tr>
        </thead>
      
        <tbody id="show_ledgers">

        {!! $view_ledger !!}

        </tbody>

     </table>
   </div>
 </div>
</div>
</div>
@endsection

@section('page_modal')


@endsection

@section('page_script')

@include('scripts.voucher')

@include('scripts.account')

@endsection

