@extends('layouts.app') @section('title', __('accounting::lang.ledger')) @section('content') @include('accounting::layouts.nav')

@lang( 'accounting::lang.ledger' ) - {{$account->name}}

@lang( 'user.name' ): {{$account->name}} @if(!empty($account->gl_code)) ({{$account->gl_code}}) @endif
@lang( 'accounting::lang.account_type' ): @if(!empty($account->account_primary_type)) {{__('accounting::lang.' . $account->account_primary_type)}} @endif
@lang( 'accounting::lang.account_sub_type' ): @if(!empty($account->account_sub_type)) {{__('accounting::lang.' . $account->account_sub_type->name)}} @endif
@lang( 'accounting::lang.detail_type' ): @if(!empty($account->detail_type)) {{__('accounting::lang.' . $account->detail_type->name)}} @endif
@lang( 'lang_v1.balance' ): @format_currency($current_bal)

@lang('report.filters'):

{!! Form::label('transaction_date_range', __('report.date_range') . ':') !!}
{!! Form::text('transaction_date_range', null, ['class' => 'form-control', 'readonly', 'placeholder' => __('report.date_range')]) !!}
{!! Form::label('all_accounts', __( 'accounting::lang.account' ) . ':') !!} {!! Form::select('account_filter', [$account->id => $account->name], $account->id, ['class' => 'form-control accounts-dropdown', 'style' => 'width:100%', 'id' => 'account_filter', 'data-default' => $account->id]); !!}
@can('account.access')
@lang( 'messages.date' ) @lang( 'lang_v1.description' ) @lang( 'brand.note' ) @lang( 'lang_v1.added_by' ) @lang('account.debit') @lang('account.credit') @lang( 'messages.action' )
@endcan
@stop @section('javascript') @include('accounting::accounting.common_js') @stop