{{$count++}} |
@if($leafAccount[$a->id])
@if($a->sub_account_id)
{{$a->number}} |
{{$a->name}} |
@else
{{$a->number}} |
{{$a->name}} |
@endif
@else
@if($a->sub_account_id)
{{$a->number}} |
{{$a->name}} |
@else
{{$a->number}} |
{{$a->name}} |
@endif
@endif
{{$a->type? $a->type->name: ''}} |
@if($leafAccount[$a->id])
{{\App\GeneralJournalEntry::getAccountBalance($a->id) }}
@endif
|
@permission('view-chart-of-account')
@if($leafAccount[$a->id])
@endif
@endpermission
@permission('edit-chart-of-account')
@endpermission
@permission('delete-chart-of-account')
@endpermission
|
@endif
@endforeach