SU2-2 | Скрипт интегрирован в sidekiq, создан простой интерфейс на взаимодействие с SK, тест на нескольких ИНН
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<!-- app/views/reports/index.html.erb -->
|
||||
<div style="max-width: 500px; margin: 50px auto; padding: 20px;">
|
||||
<h1>Загрузка отчётов по ИНН</h1>
|
||||
|
||||
<% if notice %>
|
||||
<p style="color: green;"><%= notice %></p>
|
||||
<% end %>
|
||||
|
||||
<%= form_with url: reports_path, method: :post, local: true do |f| %>
|
||||
<div style="margin-bottom: 15px;">
|
||||
<%= f.label :inn, "Введите ИНН:" %>
|
||||
<%= f.text_field :inn, placeholder: "1234567890", required: true, style: "width: 100%; padding: 8px;" %>
|
||||
</div>
|
||||
|
||||
<%= f.submit "Загрузить отчёт", style: "padding: 10px 20px; cursor: pointer;" %>
|
||||
<% end %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user