154 lines
5.2 KiB
HTML
154 lines
5.2 KiB
HTML
{include file=$header meta='<meta name="robots" content="noindex,nofollow">' title="Личный кабинет"}
|
||
|
||
<!--start breadcrumb-->
|
||
<section class="py-3 border-bottom border-top d-none d-md-flex bg-light">
|
||
<div class="container">
|
||
<div class="page-breadcrumb d-flex align-items-center">
|
||
<h3 class="breadcrumb-title pe-3">Личный кабинет</h3>
|
||
<div class="ms-auto">
|
||
<nav aria-label="breadcrumb">
|
||
<ol class="breadcrumb mb-0 p-0">
|
||
<li class="breadcrumb-item"><a href="javascript:;"><i class="bx bx-home-alt"></i> Старт</a>
|
||
</li>
|
||
|
||
<li class="breadcrumb-item active" aria-current="page">Мои организации</li>
|
||
</ol>
|
||
</nav>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<!--end breadcrumb-->
|
||
<!--start shop cart-->
|
||
<section class="py-4">
|
||
<div class="container">
|
||
<h3 class="d-none">Личный кабинет</h3>
|
||
<div class="card">
|
||
<div class="card-body">
|
||
<div class="row">
|
||
<div class="col-lg-4">
|
||
{include file=$mnulk}
|
||
</div>
|
||
<div class="col-lg-8">
|
||
<div class="card shadow-none mb-0">
|
||
<div class="card-body">
|
||
<h3>Добавьте организацию</h3>
|
||
<div class="row mb-3">
|
||
<div class="col-md-12">
|
||
<label class="form-label">ИНН</label>
|
||
<input class="form-control mt-2 mb-2" name="parent" placeholder="ИНН" id="input-inn" maxlength="12">
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="row mb-3">
|
||
<div class="col-md-12">
|
||
<div class="alert alert-success hidden" role="alert" id="divShortInfo">
|
||
<span id="orgName"></span>
|
||
<br><hr>
|
||
<button type="button" class="btn btn-secondary" data-link="/" id="btnShowOrg">
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-exclamation-diamond" viewBox="0 0 16 16">
|
||
<path d="M6.95.435c.58-.58 1.52-.58 2.1 0l6.515 6.516c.58.58.58 1.519 0 2.098L9.05 15.565c-.58.58-1.519.58-2.098 0L.435 9.05a1.482 1.482 0 0 1 0-2.098L6.95.435zm1.4.7a.495.495 0 0 0-.7 0L1.134 7.65a.495.495 0 0 0 0 .7l6.516 6.516a.495.495 0 0 0 .7 0l6.516-6.516a.495.495 0 0 0 0-.7L8.35 1.134z"/>
|
||
<path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/>
|
||
</svg>
|
||
<span>Показать информацию</span>
|
||
</button>
|
||
|
||
|
||
|
||
|
||
<button type="button" class="btn btn-secondary" id="btnAddOrg" data-id="">
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus-square" viewBox="0 0 16 16">
|
||
<path d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>
|
||
<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/>
|
||
</svg>
|
||
<span>Попытаться добавить к себе</span>
|
||
</button>
|
||
|
||
|
||
<button type="button" class="btn btn-secondary hidden" id="btnNewOrg">
|
||
Организация не найдена, вы можете создать ее
|
||
</button>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
<div class="row mb-3">
|
||
<div class="col-md-12">
|
||
<h3>Активные</h3>
|
||
<table class="table">
|
||
{section name=customer loop=$myOrgs} {if $myOrgs[customer].id}
|
||
<tr><td><a href="/lk_edit_org/{$myOrgs[customer].id}">{$myOrgs[customer].txt}</a></td><td>
|
||
|
||
</td></tr>
|
||
{/if} {/section}
|
||
</table>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row mb-3">
|
||
<div class="col-md-12">
|
||
<h3>На проверке</h3>
|
||
<table class="table">
|
||
{section name=customer loop=$myOrgsOnCheck} {if $myOrgsOnCheck[customer].id}
|
||
<tr><td style="width: 50%;">{$myOrgsOnCheck[customer].txt}</td><td>
|
||
{if $myOrgsOnCheck[customer].staus==0}
|
||
Организация добавлена, но не прошла проверку<br><a href="/lk_edit_org/{$myOrgsOnCheck[customer].id}">Отредактировать и отправить на модерацию</a>
|
||
{/if}
|
||
|
||
</td></tr>
|
||
{/if} {/section}
|
||
</table>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!--end row-->
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<!--end shop cart-->
|
||
{include file=$footer plugins="<script src='/api/jquery/plugins/jquery_chained/jquery.chained.min.js'></script>"} |