This commit is contained in:
merdan 2022-11-22 13:04:00 +05:00
parent d925f555fc
commit 03c7645961
1 changed files with 2 additions and 99 deletions

View File

@ -11,7 +11,7 @@
<nav aria-label="breadcrumb" class="d-none d-lg-block">
<ol class="breadcrumb m-0 mb-3">
<li class="breadcrumb-item"><a href="#">Admin</a></li>
<li class="breadcrumb-item"><a href="#">{{ trans('app.ticket.account') }}</a></li>
<li class="breadcrumb-item"><a href="{{backpack_url('account')}}">{{ trans('app.ticket.account') }}</a></li>
<li class="breadcrumb-item active" aria-current="page">{{ $account->id }}</li>
</ol>
</nav>
@ -20,104 +20,7 @@
<div class="col-lg-4">
<div class="card">
<div class="card-body">
@if ($account->type == 'business')
<div class="form-group">
<label for="company"><small>{{ trans('app.application.profile_type') }}</small></label>
<h6><strong>{{ trans('app.last_updates.enterpreneur') }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.account.country') }}</small></label>
<h6><strong>{{ $account->country->name ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.account.name') }}</small></label>
<h6><strong>{{ $account->profile->name ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.business.surname') }}</small></label>
<h6><strong>{{ $account->profile->surname ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.business.patronomic_name') }}</small></label>
<h6><strong>{{ $account->profile->patronomic_name ?? null }}</strong></h6>
</div>
@if (isset($account->profile->date_of_birth))
<div class="form-group">
<label for="company"><small>{{ trans('app.business.date_of_birth') }}</small></label>
<h6><strong>{{ Carbon\Carbon::parse($account->profile->date_of_birth)->format('d.m.Y') }}</strong></h6>
</div>
@endif
<div class="form-group">
<label for="company"><small>{{ trans('app.business.birth_place') }}</small></label>
<h6><strong>{{ $account->profile->birth_place ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.company.registration_address') }}</small></label>
<h6><strong>{{ $account->profile->registration_address ?? null }}</strong></h6>
</div>
@else
<div class="form-group">
<label for="company"><small>{{ trans('app.application.profile_type') }}</small></label>
<h6><strong>{{ trans('app.account.company') }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.account.name') }}</small></label>
<h6><strong>{{ $account->profile->name ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.company.short_name') }}</small></label>
<h6><strong>{{ $account->profile->short_name ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.company.registration_number') }}</small></label>
<h6><strong>{{ $account->profile->registration_number ?? null }}</strong></h6>
</div>
@if (isset($account->profile->registration_date))
<div class="form-group">
<label for="company"><small>{{ trans('app.company.registration_date') }}</small></label>
<h6><strong>{{ Carbon\Carbon::parse($account->profile->registration_date)->format('d.m.Y') }}</strong></h6>
</div>
@endif
<div class="form-group">
<label for="company"><small>{{ trans('app.company.state_registration_agency') }}</small></label>
<h6><strong>{{ $account->profile->state_registration_agency ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.company.registration_place') }}</small></label>
<h6><strong>{{ $account->profile->registration_place ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.company.registration_address') }}</small></label>
<h6><strong>{{ $account->profile->registration_address ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.last_updates.fond_capital') }}</small></label>
<h6><strong>{{ $account->profile->fond_capital ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.last_updates.management_types') }}</small></label>
<h6><strong>{{ $account->profile->management_types ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.last_updates.signers') }}</small></label>
<h6><strong>{{ $account->profile->signers ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.last_updates.share_holders') }}</small></label>
<h6><strong>{{ $account->profile->share_holders ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.last_updates.organization_form') }}</small></label>
<h6><strong>{{ $account->profile->organizational_form ?? null }}</strong></h6>
</div>
<div class="form-group">
<label for="company"><small>{{ trans('app.last_updates.is_agent') }}</small></label>
<h6><strong>{{ $account->profile->is_agent ?? false }}</strong></h6>
</div>
@endif
@include('admin.application.'.$account->type)
</div>
</div>