@extends('accounting::settings.layout') @section('tab-title') {{ trans_choice('account.account', 1) }} {{ trans_choice('accounting::general.detail_type', 2) }} @endsection @section('tab-content')
@component('accounting::components.box') @slot('title') {{ trans_choice('account.account', 1) }} {{ trans_choice('accounting::general.detail_type', 2) }} @endslot @slot('header') @endslot @slot('body')
@if (!empty($account_detail_types)) @foreach ($account_detail_types as $key) @endforeach @endif
{{ trans_choice('accounting::general.account_subtype', 1) }} {{ trans_choice('accounting::lang.name', 1) }} {{ trans_choice('accounting::lang.active', 1) }} {{ trans_choice('accounting::lang.action', 1) }}
{{ $key->account_subtype->name }} {{ $key->name }} @if ($key->active) {{ trans('accounting::lang.yes') }} @else {{ trans('accounting::lang.no') }} @endif @if (!$key->is_default_type)
@endif
@endslot @endcomponent
@endsection @section('tab-modal-content') @include('accounting::settings.detail_types.create') @endsection @section('tab-javascript') @endsection