@extends('layouts.app') @push('style') @endpush @section('content')
@php $page_name = 'PF > Accounting Processiong > Account Opening'; @endphp @include('layouts.table_top')
@csrf
@foreach ($items as $key => $item) @endforeach
@lang('SL') @lang('Account Head') @lang('Account Type') @lang('Account Category') @lang('Account Name') @lang('Sub Account') @lang('Account Opening')
{{ $key + 1 }} {{ $item->account_head }}-{{ headCode($item->account_head) }} {{ $item->type_name }}-{{ $item->type_code }} {{ Str::ucfirst($item->account_category) }} {{ $item->name }}-{{ $item->account_code }} @if ($item->childs->count() > 0) @foreach ($item->childs as $key => $child) @endforeach
{{ roman($key + 1) }}.{{ $child->name }}
@endif
@if ($item->childs->count() == 0) @endif
@endsection