Загрузка данных
<!DOCTYPE html>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page session="true" language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<html lang="ru">
<jsp:include page="head.jsp"/>
<jsp:useBean id="currentDate" class="java.util.Date"/>
<body>
<script type="text/javascript" src="<c:url value='/js/${version}/queryAction.js'/>"></script>
<script type="text/javascript" src="<c:url value='/js/${version}/queryTable.js'/>"></script>
<script type="text/javascript" src="<c:url value='/js/${version}/uploadFile.js'/>"></script>
<style>
#incomingOrderInline .form-group {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 8px;
}
#incomingOrderInline .control-label {
min-width: 180px;
text-align: right;
font-weight: 600;
}
#incomingOrderInline .form-control {
max-width: 300px;
display: inline-block;
}
#incomingOrderInlineForm {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 10px 24px;
}
#incomingOrderInlineForm .form-group {
display: flex;
flex: 0 0 25%;
box-sizing: border-box;
justify-content: flex-end;
}
#incomingOrderInlineForm .control-label {
min-width: 120px;
margin-right: 8px;
white-space: nowrap;
text-align: right;
font-weight: 600;
}
#incomingOrderInlineForm .form-control {
max-width: 240px;
width: 100%;
}
</style>
<script type="text/javascript">
$(function () {
var uploadFile = new UploadFile("snv_card");
function getQueryParam(key, value) {
var url = new URL(window.location.href)
return url.searchParams.get(key)
}
//var sharerIdParam = "13741906";
let currentAppId = null;
let currentIndividualId = null;
var journal = new QueryTable("Xtw3Nr6D", {
initComplete: function (queryAction) {
// journal.addActionButton("AddButtonMain", "Создать", addingMainTable, "btn-success", false);
},
onRowSelect: function (data, index) {
$('#incomingOrderInline').stop(true,true).slideDown(150);
fillIncomingOrderInline(data);
var sharerIdParam = (data.sh_id).toString();
$('#snv_reference').dataTable().api().ajax.reload();
getContractNumber();
currentAppId = data.id;
currentIndividualId = data.individual_id;
},
onRowDeselect: function (data, index) {
$('#incomingOrderInline').stop(true,true).slideUp(150);
//clearBlockPayment();
},
drawCallback: function (settings) {
}
}, function () {
var data = {};
let app_id = getQueryParam('app_id');
let individual_id = getQueryParam('individual_id');
data.app_id = app_id;
data.individual_id = individual_id;
// id
if ($("#filter\\.id").val()) {
data.id = $("#filter\\.id").val();
}
// номер заявления
if ($("#filter\\.app_number").val()) {
data.app_number = $("#filter\\.app_number").val();
}
if ($("#filter\\.insurance_number").val()) {
data.insurance_number = $("#filter\\.insurance_number").val();
}
if ($("#filter\\.contract_number").val()) {
data.contract_number = $("#filter\\.contract_number").val();
}
return data;
});
function addingMainTable() {
// Открываем модальное окно
$('#createModal').modal('show');
// Очистка формы при открытии
$('#createForm')[0].reset();
}
$('#saveRecordBtn').on('click', function () {
if (!$('#certificate_date').val() ||
!$('#document_number').val() ||
!$('#client_full_name').val()) {
alert("Заполни обязательные поля!");
return;
}
QueryAction.action("WlvY1Re9", {
initComplete: function (queryAction) {
TaxCertSaveAction.enable();
},
actionComplete: function (data) {
$("#createModal").modal('hide');
journal.reload();
}
}, function () {
// вернуть параметры формы
return {
date: $('#certificate_date').val(),
document_number: $('#document_number').val(),
client_full_name: $('#client_full_name').val(),
contract_activity_type: $('#contract_activity_type').val(),
contract_number: $('#contract_number').val(),
account_number: $('#account_number').val(),
receive_method: $('#receive_method').val(),
comment_text: $('#comment_text').val(),
application_id: $('#iof-application_id').val() || null,
fns_request_id: $('#fns_request_id').val() || null
};
});
});
function fillIncomingOrderInline(d) {
if (!d) return;
console.log("Данные клиента:", d);
var $contractLink = $('#iof-incomingOrderContract_number_link');
var contractId = d.contractId || d.contract_id;
if (contractId && d.contract_number) {
var url = 'view?viewCode=7HPZX8vF&id=' + contractId;
$contractLink.attr('href', url).text(d.contract_number).show();
$('#iof-incomingOrderContractId').val(contractId);
} else {
$contractLink.attr('href', '#').text('Не указан');
$('#iof-incomingOrderContractId').val('');
}
var $clientLink = $('#iof-incomingOrderClient_full_name_link');
var clientId = d.individual_id; // Берем строго individual_id из консоли
var clientName = d.full_name_c;
if (clientId && clientName) {
var clientUrl = 'view?viewCode=Client_list&id=' + clientId;
$clientLink.attr('href', clientUrl).text(clientName).show();
$('#iof-incomingOrderIndividualId').val(clientId);
} else if (clientName) {
$clientLink.attr('href', '#').text(clientName);
} else {
$clientLink.attr('href', '#').text('Не указан');
$('#iof-incomingOrderIndividualId').val('');
}
$('#iof-incomingOrderDocument_number').val(d.document_number);
//$('#iof-contract_numberFormatted').val(d.contract_number);
$('#iof-incomingOrderCreated_at').val(d.created_at);
$('#iof-incomingOrderDateOfReceipt').val(d.date);
//$('#iof-incomingOrderClient_full_name').val(d.full_name_c);
$('#iof-incomingOrderContract_activity_type').val(d.contract_activity_type);
$('#iof-incomingOrderAccount_number').val(d.account_number);
$('#iof-incomingOrderReceive_method').val(d.receive_method);
$('#iof-incomingOrderCreated_by_username').val(d.created_by_username);
$('#iof-incomingOrderCertificate_date').val(d.contract_date);
$('#iof-incomingOrderContract_activity_type').val(d.service_type);
$('#iof-application_id').val(d.id);
$('#iof-sharer_id').val(d.sh_id);
var $accountLink = $('#iof-incomingOrderAccount_number_link');
var $accountLink = $('#iof-incomingOrderAccount_number_link');
var sharerId = d.sh_id || d.shId;
var accountNumber = d.sh_number || d.account_number;
if (sharerId && accountNumber) {
var accountUrl = 'view?viewCode=Pzbmp8Pg&id=' + sharerId;
$accountLink.attr('href', accountUrl).text(accountNumber).show();
$('#iof-incomingOrderAccount_number_hidden').val(accountNumber);
$('#iof-sharer_id').val(sharerId);
} else if (accountNumber) {
$accountLink.attr('href', '#').text(accountNumber).show();
$('#iof-incomingOrderAccount_number_hidden').val(accountNumber);
} else {
$accountLink.attr('href', '#').text('Не указан');
$('#iof-incomingOrderAccount_number_hidden').val('');
}
//$('#iof-incomingOrderAccount_number').val(d.sh_number);
$('#iof-incomingOrderReceive_method').val(d.info_name);
$('#iof-incomingOrderCreated_at').val(d.current_date);
$('#iof-incomingOrderCreated_by_username').val(d.user_name);
}
$('#createBtn').on('click', function () {
QueryAction.action("WlvY1Re9", {
initComplete: function (queryAction) {
TaxCertSaveAction.enable();
},
actionComplete: function (data) {
$("#createModal").modal('hide');
}
}, function () {
// вернуть параметры формы
return {
date: $('#iof-incomingOrderCertificate_date').val(),
document_number: $('#contract_number').val(),
client_full_name: $('#iof-incomingOrderClient_full_name').val(),
contract_activity_type: $('#contract_activity_type').val(),
contract_number: $('#iof-contract_numberFormatted').val(),
account_number: $('#account_number').val(),
receive_method: $('#receive_method').val(),
comment_text: $('#comment_text').val(),
application_id: $('#iof-application_id').val() || null,
fns_request_id: $('#fns_request_id').val() || null
};
});
});
function application() {
return {
id: $('#filter\\.id').val(),
app_number: $('#filter\\.app_number').val()
};
}
// Кнопка "Найти"
$('#filter\\.search').click(function () {
journal.reload();
});
// Кнопка "Сбросить"
$('#filter\\.cleanFilter').click(function () {
$('#searchOrdersFilter')[0].reset();
journal.reload();
});
console.log('Блок "Справки о налоговом вычете"');
console.log(${param.app_id});
console.log(${param.sharer_id});
//console.log('${sharer_id}');
if($('#snv_${param.preffix}_sharer_id_${param.blockId}').val(${param.sharer_id})) {
//заполняем поле "Договор"
}
function getContractNumber() {
let dataJournal = journal.data();
if(dataJournal?.sh_id) {
$.ajax("queryModel?queryModelCode=Viyr6ZhY", {
dataType: "json",
data:
{
sharer_id : dataJournal?.sh_id
}
}).done(function (data) {
$('#snv_contract').val(data.list[0].number).trigger('change')
}) }
}
$('#snv_reference').dataTable( {
deferRender: true,
paginate: false,
searching: false,
info: false,
ordering: false,
ajax: {
url: 'queryModel?queryModelCode=vDTIanXD',
dataType: 'json',
data: function(d) {
let dataJournal = journal.data();
return{
sharer_id : dataJournal?.sh_id,
// app_id : dataJournal?.id || ''
}
}
},
columns: [
{ title: 'Год',
name: 'year',
data: 'year'
},
{ title: 'Наличие справки',
name: 'type',
data: 'type',
render: function (data, type) {
return '<select class="form-control" name="type">' +
'<option value="NONE" ' + ((data == 'NONE') ? 'selected="selected"' : "") + '>Нет справки</option>' +
'<option value="NOT_RECEIVED" ' + ((data == 'NOT_RECEIVED') ? 'selected="selected"' : "") + '>Вычет не получен</option>' +
'<option value="RECEIVED" ' + ((data == 'RECEIVED') ? 'selected="selected"' : "") + '>Вычет получен</option>' +
'</select>'
}
},
{ title: 'Сумма взносов',
name: 'sum_income',
data: 'sum_income'
},
{ title: 'Сумма вычета по справке',
name: 'sum_tax_deduction',
data: 'sum_tax_deduction',
render: function (data, type) {
return '<input type="number" class="form-control" name="sum_tax_deduction" value="' + data + '" >'
}
/*defaultContent: '<input type="text" class="form-control" name="sum_tax_deduction">'*/
},
{ title: 'Дата фактического предоставления справки в фонд',
name: 'date',
data: 'date',
render: function (data, type) {
return '<input type="date" class="form-control datePicker col-sm-3" name="date" value="' + data + '" >'
}
},
{ title: 'Максимальный размер вычета',
name: 'max_tax_deduction',
data: 'max_tax_deduction'
}
],
//order: [[0, 'asc']],
body: function ( data, row, column, node ) {
return $(data).is("input") ?
$(data).val():
data;
},
initComplete:function (settings, json) {
$(".datePicker").mask('00.00.0000').datetimepicker({
format: 'DD.MM.YYYY',
useCurrent: true,
showClear: true,
//maxDate: moment(),
widgetPositioning: {
vertical: 'bottom'
},
})
$.ajax("queryModel?queryModelCode=g4bz4WbR", {
dataType: "json"
,success: function (data) {
if(data.is_role_create && data.is_role_create == 'false' ){
$(document).ready(function() {
$('#div_snv_${param.blockId} :input').each( function() {
$(this).prop('disabled',true);
});
})
}
}
});
}
});
$('#createRecordBtn').click(function(){
/*
var batchId = null;
$.ajax({
type: "GET",
url: "queryModel?queryModelCode=J6QkwOUd",
async: false,
dataType: "json",
success: function(data) {
batchId = data.id;
}
});
if (!batchId) {
alert("Не удалось получить batch_id");
return;
}
let mainData = []
$('#div_snv_${param.blockId}').find('form').each(function(i, form){
$('#snv_reference').dataTable().api().rows(function(idx, data, node){
let temp = {}
temp.date = data.date
temp.max_tax_deduction = data.max_tax_deduction
temp.sum_income = data.sum_income
temp.year = data.year
temp.sum_tax_deduction = data.sum_tax_deduction
$(node).find('input, select').serializeArray().map(function(x) {
temp[x.name] = x.value;
})
mainData.push(temp)
})
})
mainData.forEach(function(row) {
QueryAction.action(
'qu84AJSQB',
{},
function() {
return {
p_date: row.date,
p_max_tax_deduction: Number(row.max_tax_deduction),
p_sum_income: row.sum_income,
p_sum_tax_deduction: row.sum_tax_deduction,
p_type: row.type,
p_year: row.year,
p_application_termination_contract_id: currentAppId,
p_individual_id: currentIndividualId,
p_batch_id: batchId
}
}
);
}); */
$createRecordBtn.prop('disabled', true);
showSuccessMessage('Справки созданы');
});
//завершение $(function ()
$("#snv_${param.preffix}_sharer_id_${param.blockId}").change(function () {
$(document).ready(function() {
$('#snv_${param.preffix}_reference_${param.blockId}').dataTable().api().ajax.reload();
} );
// очистка блока с формой
/* function clearBlockPayment() {
$("#block_pay").empty().hide();
}
*/
});
});
</script>
<jsp:include page="header.jsp"/>
<jsp:include page="navbar.jsp"/>
<div class="container" id="mainContainer">
<div class="page-header">
<h1>Справки о налоговом вычете</h1>
</div>
<div class="container-fluid">
<div class="row row-main">
<jsp:include page="sidebar.jsp"/>
<div class="col-sm-10">
<tags:breadcrumbs path='https://portal.futurenpf.ru/knowledgebase/category/30274/'/>
<div class="panel-group" id="accordion" role="tablist">
<div class="row">
<h3 class="col-sm-12">Формирование справки о налоговом вычете</h3>
<form id="searchOrdersFilter" class="form-horizontal col-sm-12">
<div class="form-group">
<div class="col-sm-3">
<!-- <label for="filter.id">ИД</label>
<input type="text" id="filter.id" name="filter.id" class="form-control" placeholder="Введите ID">
</div>
<div class="col-sm-3">
<label for="filter.app_number">Номер заявления</label>
<input type="text" id="filter.app_number" name="filter.app_number" class="form-control" placeholder="Введите номер заявления">
</div>
<div class="col-sm-3">
<label for="filter.insurance_number">СНИЛС</label>
<input type="text" id="filter.insurance_number" name="filter.insurance_number" class="form-control" placeholder="Введите СНИЛС">
</div>
<div class="col-sm-3">
<label for="filter.contract_number">Номер договора</label>
<input type="text" id="filter.contract_number" name="filter.contract_number" class="form-control" placeholder="Номер договора">
</div>
<div class="col-sm-3 btn-group" style="margin-top: 25px;">
<button id="filter.search" name="filter.search" type="button" class="btn btn-success">
<span class="glyphicon glyphicon-search" aria-hidden="true"></span> Найти
</button>
<button id="filter.cleanFilter" name="filter.cleanFilter" type="button" class="btn btn-warning">
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span> Сбросить
</button> -->
</div>
</div>
</form>
<div class="col-sm-12">
<jsp:include page="queryTable.jsp">
<jsp:param name="queryTableCode" value="Xtw3Nr6D"/>
</jsp:include>
</div>
</div>
<div id="incomingOrderInline" class="panel panel-info" style=" margin-top:15px; display : none;">
<div class="panel-heading">Карточка справки о налоговом вычете</div>
<div class="panel-body">
<form id="incomingOrderInlineForm" class="form-horizontal" role="form">
<input type="hidden" name="id" id="iof-incomingOrderId">
<input type="hidden" name="individualId" id="iof-incomingOrderIndividualId">
<input type="hidden" name="contractId" id="iof-incomingOrderContractId">
<input type="hidden" name="entityId" id="iof-incomingOrderEntityId">
<input type="hidden" name="jointIncomingOrderTypeId" id="iof-jointIncomingOrderTypeId">
<input type="hidden" name="payerEntityId" id="iof-incomingOrderPayerEntityId">
<div class="form-group">
<label class="control-label" for="iof-incomingOrderContract_number_link">Договор</label>
<!-- Ссылка оформлена как инпут через класс form-control -->
<a id="iof-incomingOrderContract_number_link"
class="form-control"
href="#"
target="_blank"
style="cursor:pointer; background-color: #f0f4fe; border-color: #dbe2f4; color: #333; text-decoration:underline; display: block;">
</a>
<input type="hidden" id="iof-incomingOrderContract_number" name="contract_number">
</div>
<div class="form-group">
<label class="control-label" for="incomingOrderCertificate_date">Дата договора</label>
<input type="text" class="form-control date-picker-on" maxlength="10" id="iof-incomingOrderCertificate_date" name="certificate_date"
placeholder="Дата договора">
</div>
<!--
<div class="form-group">
<label class="control-label" for="incomingOrderDocument_number">Номер документа</label>
<input type="text" class="form-control" id="iof-incomingOrderDocument_number" name="document_number"
placeholder="Номер документа">
</div>
-->
<!--
<div class="form-group">
<label class="control-label" for="incomingOrderDateOfReceipt">Дата получения справки</label>
<input type="text" class="form-control date-picker-on" maxlength="10" id="iof-incomingOrderDateOfReceipt" name="dateOfReceipt"
placeholder="Дата получения справки">
</div>
-->
<div class="form-group">
<label class="control-label" for="iof-incomingOrderClient_full_name_link">ФИО клиента</label>
<!-- Ссылка-инпут для ФИО -->
<a id="iof-incomingOrderClient_full_name_link"
class="form-control"
href="#"
target="_blank"
style="cursor:pointer; background-color: #f0f4fe; border-color: #dbe2f4; color: #333; text-decoration:underline; display: block;">
</a>
<!-- Скрытое поле для ID клиента (используем individualId из вашей формы) -->
<input type="hidden" id="iof-incomingOrderIndividualId" name="individualId">
</div>
<div class="form-group">
<label class="control-label" for="incomingOrderReason">Основание</label>
<input type="text" class="form-control" id="iof-incomingOrderReason" name="incomingOrderReason"
placeholder="Основание">
<input type="hidden" id="iof-incomingOrderReason" name="incomingOrderReason">
</div>
<div class="form-group">
<label class="control-label" for="iof-incomingOrderAccount_number_link">Номер счёта</label>
<!-- Ссылка-инпут для Номера счета -->
<a id="iof-incomingOrderAccount_number_link"
class="form-control"
href="#"
target="_blank"
style="cursor:pointer; background-color: #f0f4fe; border-color: #dbe2f4; color: #333; text-decoration:underline; display: block;">
</a>
<!-- Скрытое поле сохраняем, исправив опечатку в id (было Account_numbert) -->
<input type="hidden" id="iof-incomingOrderAccount_number_hidden" name="account_numberFormatted">
</div>
<div class="form-group">
<label class="control-label" for="incomingOrderContract_activity_type">Вид деятельности</label>
<input type="text" class="form-control" id="iof-incomingOrderContract_activity_type" name="contract_activity_typeFormatted"
placeholder="Вид деятельности" >
<input type="hidden" id="iof-incomingOrderContract_activity_type" name="contract_activity_type">
</div>
<div class="form-group">
<label class="control-label" for="incomingOrderReceive_method">Способ получения</label>
<input type="text" class="form-control" id="iof-incomingOrderReceive_method" name="receive_methodFormatted"
placeholder="Способ получения">
<input type="hidden" id="iof-incomingOrderReceive_method" name="receive_method">
</div>
<div class="form-group">
<label class="control-label" for="incomingOrderCreated_at">Справка создана</label>
<input type="text" class="form-control date-picker-on" maxlength="10" id="iof-incomingOrderCreated_at" name="created_at"
placeholder="Дата создания">
</div>
<div class="form-group">
<label class="control-label" for="incomingOrderCreated_by_username">Ответственный</label>
<input type="text" class="form-control" id="iof-incomingOrderCreated_by_username" name="created_by_usernameFormatted"
placeholder="Ответственный">
<input type="hidden" id="iof-incomingOrderCreated_by_username" name="created_by_username">
</div>
<!--
<div class="form-group">
<label class="control-label" for="incomingOrderLinkToTessa">Ссылка на СЭД</label>
<input type="text" class="form-control" id="iof-incomingOrderlinkToTessa" name="linkToTessaFormatted"
placeholder="Ссылка на СЭД">
<input type="hidden" id="iof-incomingOrderLinkToTessa" name="linkToTessa">
</div>
-->
<div class="form-group" style="display: none;">
<label class="control-label" for="incomingOrderApplication_id">Ссылка на заявление</label>
<input type="text" class="form-control date-picker-on" maxlength="10" id="iof-application_id" name="incomingApplication_id"
placeholder="Ссылка на заявление">
</div>
<div class="form-group" style="display: none;">
<label class="control-label" for="incomingOrderSharer_id">Ссылка на участника</label>
<input type="text" class="form-control date-picker-on" maxlength="10" id="iof-sharer_id" name="incomingSharer_id"
placeholder="Ссылка на участника">
</div>
<!--button type="button" id="createBtn" class="btn btn-success">Создать</button-->
</form>
</div>
</div>
</div>
<!--div id="test">
<div ****>
</div-->
<div class="row" id="block_pay">
</div>
<!-- Блок «Справки о налоговом вычете» -->
<div class="row" >
<div class="col-sm-12" id = "div_snv_${param.blockId}" name="div_snv">
<div class="panel-group" id="snv_rd" role="tablist">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="snv_rd_heading_${param.blockId}">
<h4 class="panel-title">
<a data-toggle="collapse" href="#snv_rd_section_${param.blockId}" aria-expanded="false" aria-controls="snv_rd_section_${param.blockId}">
Справки о налоговом вычете
</a>
</h4>
</div>
<div id="snv_rd_section_${param.blockId}" class="panel-collapse collapse " role="tabpanel"
aria-labelledby="snv_rd_heading_${param.blockId}" style="height: auto;">
<div class="panel-body">
<form name="${param.blockId}">
<!--input type="text" id="snv_${param.preffix}_sharer_id_${param.blockId}" class="form-control " name="sharer_id" style="display: none" -->
<div class="row">
<div class="col-sm-12 form-group">
<div class="col-sm-3 text-right">
<label for="snv_contract" class="control-label">Договор</label>
</div>
<div class="col-sm-3">
<input type="text" id="snv_contract" class="form-control" readonly required >
</div>
</div>
</div>
<table id="snv_reference" class='table'>
</table>
</form>
<div class="row">
<div class="col-sm-8">
<jsp:include page="uploadFile.jsp">
<jsp:param name="uploadFileCode" value="snv_card"/>
<jsp:param name="uploadFileName" value="Полученные документы"/>
</jsp:include>
</div>
</div>
<button type="button" class="btn btn-success" id="createRecordBtn">Создать</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!--/div-->
</div>
</div>
</div>
<!-- Модальное окно -->
<div class="modal fade" id="createModal" tabindex="-1" role="dialog" aria-labelledby="createModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="createModalLabel">Создание новой записи</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Закрыть">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form id="createForm">
<div class="form-group">
<label for="inputName">Номер документа</label>
<input type="text" class="form-control" id="document_number" placeholder="Введите Номер документа">
</div>
<div class="form-group">
<label for="inputName">ФИО клиента</label>
<input type="text" class="form-control" id="client_full_name" placeholder="Введите ФИО клиента">
</div>
<div class="form-group">
<label for="inputName">Вид деятельности</label>
<input type="text" class="form-control" id="contract_activity_type" placeholder="Введите Вид деятельности">
</div>
<div class="form-group">
<label for="inputName">Номер договора</label>
<input type="text" class="form-control" id="contract_number" placeholder="Введите Номер договора">
</div>
<div class="form-group">
<label for="inputName">Номер счёта</label>
<input type="text" class="form-control" id="account_number" placeholder="Введите Номер счёта">
</div>
<div class="form-group">
<label for="inputName">Способ получения</label>
<input type="text" class="form-control" id="receive_method" placeholder="Введите Способ получения">
</div>
<div class="form-group">
<label for="inputName">Комментарий</label>
<input type="text" class="form-control" id="comment_text" placeholder="Введите Комментарий">
</div>
<div class="form-group">
<label for="inputName">Ссылка на заявление</label>
<input type="text" class="form-control" id="application_id" placeholder="Введите Ссылку на заявление">
</div>
<div class="form-group">
<label for="inputName">Запрос ФНС</label>
<input type="text" class="form-control" id="fns_request_id" placeholder="Введите Запрос ФНС">
</div>
<div class="form-group">
<label for="inputDate">Дата получения справки</label>
<input type="date" class="form-control" id="certificate_date">
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Отмена</button>
<button type="button" class="btn btn-primary" id="saveRecordBtn">Сохранить</button>
</div>
</div>
</div>
</div>
<!--Блок «Справки о налоговом вычете»-->
<jsp:include page="footer.jsp"/>
</body>
</html>