@extends('core::layouts.master') @section('title') {{trans_choice('accounting::general.ledger',1)}} @endsection @section('content')
{{trans_choice('general.reset',1)}}!
@foreach($data as $key) @endforeach
{{trans_choice('core::general.branch',1)}}: @if(!empty($data->first())) {{$data->first()->branch}} @endif {{trans_choice('accounting::general.as_on',1)}}: {{$start_date}} to {{$end_date}}
{{trans_choice('accounting::general.gl_code',1)}} {{trans_choice('core::general.account',1)}} Dr {{trans_choice('accounting::general.balance',1)}} Cr {{trans_choice('accounting::general.balance',1)}}
{{ $key->gl_code }} {{$key->name}} {{ number_format(($key->debit ),2) }} {{ number_format(($key->credit ),2) }}

{{trans_choice('core::general.total',1)}}

{{ number_format($total_debit,2) }}

{{ number_format($total_credit,2) }}

@endsection @section('scripts') @endsection