@extends('core::layouts.master') @section('title') {{trans_choice('accounting::general.trial_balance',1)}} @endsection @section('content')
{{trans_choice('accounting::general.trial_balance',1)}} @if(!empty($start_date)) for period: {{$start_date}} to {{$end_date}} @endif
{{trans_choice('general.reset',1)}}!
@if(!empty($start_date))
@foreach($data as $key) @endforeach
{{trans_choice('core::general.branch',1)}}: @if(!empty($data->first())) {{$data->first()->branch}} @endif {{trans_choice('core::general.start_date',1)}}: {{$start_date}} {{trans_choice('core::general.end_date',1)}}: {{$end_date}}
{{trans_choice('accounting::general.gl_code',1)}} {{trans_choice('core::general.account',1)}} {{trans_choice('accounting::general.debit',1)}} {{trans_choice('accounting::general.credit',1)}}
{{ $key->gl_code }} {{$key->name}} @if(!empty($dr)) {{ number_format($dr,2) }} @endif @if(!empty($cr)) {{ number_format($cr,2) }} @endif
{{trans_choice('core::general.total',1)}} {{number_format($debit_total,2)}} {{number_format($credit_total,2)}}
@endif @endsection @section('footer-scripts') @endsection