132 lines
4.7 KiB
HTML
132 lines
4.7 KiB
HTML
{include file=$header_admin meta='<meta name="robots" content="noindex,nofollow">' title="Личный кабинет" h1='Мои организации'}
|
||
|
||
<h1>Реквизиты организации</h1>
|
||
<div class="row">
|
||
<div class="col-lg-12">
|
||
<div class="ibox">
|
||
<div class="ibox-head">
|
||
<div class="ibox-title">Данные организации</div>
|
||
<ul class="nav nav-tabs tabs-line pull-right">
|
||
<li class="nav-item">
|
||
<a class="nav-link active" href="#tab-8-1" data-toggle="tab"><i class="fa fa-taxi"></i> Основная информация</a>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="#tab-8-2" data-toggle="tab"><i class="fa fa-bus"></i> Банковские реквизиты</a>
|
||
</li>
|
||
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="#tab-8-4" data-toggle="tab"><i class="fa fa-bus"></i> Ответственные лица</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="ibox-body">
|
||
<div class="tab-content">
|
||
<div class="tab-pane fade show active" id="tab-8-1">
|
||
{include file=$inc_org_edit}
|
||
|
||
</div>
|
||
<div class="tab-pane" id="tab-8-2">
|
||
|
||
<table class="table" id="listSchet">
|
||
<tr><td style="width: 20%;">Банк</td><td style="width: 20%;">БИК</td><td style="width: 20%;">Р/С</td><td style="width: 20%;">К/С</td><td style="width: 20%;"></td></tr>
|
||
|
||
{section name=customer loop=$scheta}{if $scheta[customer].id}
|
||
|
||
<tr id="schet-{$scheta[customer].id}"><td>{$scheta[customer].txt}</td><td>{$scheta[customer].bic}</td><td>{$scheta[customer].rs}</td><td>{$scheta[customer].ks}</td><td>
|
||
<img src="/skin/tk-ligat.ru/img/del.gif" style="cursor: pointer;" class="delSchet" data-id="{$scheta[customer].id}">
|
||
</td></tr>
|
||
|
||
|
||
{/if}{/section}
|
||
</table>
|
||
<table class="table">
|
||
|
||
<tr><td style="width: 20%;"><input type="text" class="form-control" disabled id="bank-txt"></td>
|
||
<td style="width: 20%;"><input type="text" class="form-control" id="bic" placeholder="БИК"></td>
|
||
<td style="width: 20%;"><input type="text" class="form-control" id="rs" placeholder="Расчетный счет"></td>
|
||
<td style="width: 20%;"><input type="text" class="form-control" id="ks" placeholder="Корр. счет"></td>
|
||
<td style="width: 20%;">
|
||
<a href="#" class="btn btn-dark" id="addSchet">Добавить</a>
|
||
</td></tr>
|
||
|
||
|
||
</table>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
<div class="tab-pane" id="tab-8-4">
|
||
|
||
<b>Ответственные лица</b>
|
||
<input class="form-control mb-2" id="dir" name="dir" placeholder="Директор" value="{$myOrg[0].dir}">
|
||
<input class="form-control mb-2" id="buh" name="buh" placeholder="Бухгалтер" value="{$myOrg[0].buh}">
|
||
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
{*
|
||
Модальное окно с формой создания организации
|
||
*}
|
||
|
||
<div class="modal fade" id="modalNewOrg" tabindex="-1" role="dialog" aria-hidden="true">
|
||
<div class="modal-dialog modal-dialog-centered modal-xl" role="document">
|
||
<div class="modal-content">
|
||
<div class="modal-body">
|
||
<!-- -->
|
||
<div class="container-fluid">
|
||
<div class="row">
|
||
<div class="col text-right">
|
||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||
<span aria-hidden="true"> <i class="fa fa-times"></i></span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- -->
|
||
<!-- -->
|
||
<div class="row">
|
||
<div class="col-md-12">
|
||
<div class="row">
|
||
<div class="col-md-12">
|
||
|
||
<form id="formNewOrg" action="/act/lk-my-orgs">
|
||
<input class="hidden" name="act" value="neworg">
|
||
<input class="form-control mb-2" placeholder="ИНН" maxlength="12" name="inn">
|
||
<input class="form-control mb-2" placeholder="КПП" maxlength="9" name="kpp">
|
||
<input class="form-control mb-2" placeholder="Наименование" name="txt">
|
||
<input type="submit" class="btn btn-dark mb-2" id="btnAddOrg" data-id="" name="createOrg" value="Создать">
|
||
<div class="alert alert-light hidden" role="alert" id="resultAddOrg">
|
||
<p>Готово! Обновите страницу =)</p>
|
||
</div>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- -->
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
{include file=$modal_new_sklad}
|
||
|
||
{include file=$footer_admin plugins="<script src='/api/jquery/plugins/jquery_chained/jquery.chained.min.js'></script>"} |