@extends('core::layouts.master') @section('title') {{ trans_choice('accounting::general.journal',1) }} {{ trans_choice('core::general.entry',2) }} @endsection @section('styles') @stop @section('content')

{{ trans_choice('accounting::general.journal',1) }} {{ trans_choice('core::general.entry',2) }}

{{number_format($data->total())}} {{ trans_choice('core::general.entry',2) }} {{ trans_choice('core::general.found',1) }}

@foreach($data as $key)
{{$key->date}}
{{$key->transaction_number}}
@if($key->account_type == 'asset') {{trans_choice('accounting::general.asset', 1)}} @endif @if($key->account_type == 'expense') {{trans_choice('accounting::general.expense', 1)}} @endif @if($key->account_type == 'equity') {{trans_choice('accounting::general.equity', 1)}} @endif @if($key->account_type == 'liability') {{trans_choice('accounting::general.liability', 1)}} @endif @if($key->account_type == 'income') {{trans_choice('accounting::general.income', 1)}} @endif
{{$key->account_name}}
{{number_format($key->debit)}}
{{number_format($key->credit)}}
@endforeach
{{$data->links()}}
{{ trans_choice('core::general.page',1) }} {{$data->currentPage()}} {{ trans_choice('core::general.of',1) }} {{$data->lastPage()}}
@endsection @section('scripts') @endsection