2025-06-16 18:28:08 +05:00

114 lines
6.2 KiB
HTML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{include file=$header title="Добавить организацию" meta='
<meta name="robots" content="noindex,nofollow">'}
<section class="container-fluid">
<div class="row">
<div class="col-xs col-sm col-md col-lg col-xl col-xxl">
<div class="btn-group btn-group-sm" role="group" aria-label="Basic example">
<button type="button" class="btn btn-outline-dark" data-link="/ad__my_orgs/" title="Назад в список"><i class="fas fa-arrow-circle-left"></i></button>
<button type="button" class="btn btn-outline-dark" id="btn-save" title="Сохранить"><i class="fas fa-save"></i></button>
</div>
</div>
<div id="res" class="col-xs col-sm col-md col-lg col-xl col-xxl"></div>
</div>
</section>
<section class="container">
<form id="form">
{if $smarty.get.id}<input type="hidden" name="id" value="{$smarty.get.id}">
<input type="hidden" name="act" value="update_org"> {else}
<input type="hidden" name="act" value="add_org"> {/if}
<h1>Добавить организацию</h1>
<hr>
<div class="tabs container">
<ul>
<li>Основные реквизиты</li>
<li>Контактная информация</li>
<li>Банковские реквизиты</li>
<!-- li>Коды статистики</li -->
</ul>
<div>
<div class="p-5 pt-0">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Тип организации</label>
<p>
<input name="type_org" type="radio" value="ip" id="tip-org-ip" checked> ИП
<input name="type_org" type="radio" value="ooo" id="tip-org-ooo" style="margin-left: 20px;"> ООО
<input name="type_org" type="radio" value="fz" id="tip-org-fz" style="margin-left: 20px;"> ФЗ
</p>
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Краткое наименование</label>
<input type="text" name="short_name" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Полное наименование</label>
<input type="text" name="long_name" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">ИНН</label>
<input type="text" name="inn" class="form-control" maxlength="12" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
<div class="mb-3 hidden" id="div-kpp">
<label for="exampleInputEmail1" class="form-label">КПП</label>
<input type="text" name="kpp" class="form-control" maxlength="9" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
<div class="mb-3" id="div-ogrn">
<label for="exampleInputEmail1" class="form-label">ОГРН</label>
<input type="text" name="ogrn" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
</div>
<div class="p-5 pt-0">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Сайт</label>
<input type="text" name="site" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Электронная почта</label>
<input type="text" name="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Телефон</label>
<input type="text" name="tels" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Юридический адрес</label>
<input type="text" name="u_adres" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Фактический адрес</label>
<input type="text" name="f_adres" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
</div>
<div class="p-5 pt-0">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">БИК</label>
<input type="text" name="bic" value="" class="form-control" id="bic" maxlength="10" aria-describedby="emailHelp">
<div id="bank-info" class="form-text"></div>
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Расчетный счет</label>
<input type="text" name="rs" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
</div>
<!-- div>Коды статистики</div -->
</div>
</div>
</form>
</section>{include file=$footer js_mod="
<script src='/api/modules/ad__add_org/mod.js'></script>"}