@extends('layouts.master') @section('title') {{trans_choice('general.ledger',1)}} @endsection @section('content')
{{trans_choice('general.ledger',1)}} @if(!empty($start_date)) for period: {{$start_date}} to {{$end_date}} @endif

{{trans_choice('general.date',1)}} {{trans_choice('general.range',1)}}

{!! Form::open(array('url' => Request::url(), 'method' => 'post','class'=>'form-horizontal', 'name' => 'form')) !!}
{!! Form::text('start_date',$start_date, array('class' => 'form-control date-picker', 'placeholder'=>"From Date",'required'=>'required')) !!}
to
{!! Form::text('end_date',$end_date, array('class' => 'form-control date-picker', 'placeholder'=>"To Date",'required'=>'required')) !!}
{{trans_choice('general.reset',1)}}!
{!! Form::close() !!}
@if(!empty($start_date))
@foreach(\App\Models\ChartOfAccount::orderBy('gl_code','asc')->get() as $key)
{{trans_choice('general.gl_code',1)}} {{trans_choice('general.account',1)}} {{trans_choice('general.debit',1)}} {{trans_choice('general.credit',1)}} {{trans_choice('general.balance',1)}}