35 lines
1.5 KiB
PHP
35 lines
1.5 KiB
PHP
<?php
|
|
use \A7kz\Platform\Modules\Platform\Acl\Facades\Acl;
|
|
?>
|
|
@if(Auth::check() && Acl::company_id())
|
|
<?php
|
|
$active = Acl::activeCompany();
|
|
?>
|
|
<div class="card mb-3 mb-xl-0">
|
|
<div class="card-body">
|
|
<div class="d-flex align-items-center justify-content-between mb-3">
|
|
<h5 class="m-0">{{$active->name}}</h5>
|
|
<a class="btn btn-light">@lang("Редактировать")</a>
|
|
</div>
|
|
<ul class="list-group">
|
|
<li class="list-group-item d-flex align-items-center justify-content-between"><b>@lang('БИН/ИИН')</b>
|
|
<span>{{$active->biniin}}</span></li>
|
|
<li class="list-group-item d-flex align-items-center justify-content-between">
|
|
<b>@lang('Сегмент данных')</b> <span>{{$active->segment}}</span></li>
|
|
@if(Acl::isHasRole("director"))
|
|
<li class="list-group-item d-flex align-items-center justify-content-between"><a
|
|
href="{{lurl("/app/company.requests")}}" class="btn btn-primary">Заявки на добавления</a>
|
|
</li>
|
|
@endif
|
|
</ul>
|
|
<div class="d-flex justify-content-end mt-3">
|
|
<button type="button" class="btn btn-outline-orange" onclick="$('#companyListDiv').show()">
|
|
@lang("Выбрать/Добавить другую организацию")
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
|