Добавлены 4 кнопки для каждой формы
This commit is contained in:
@@ -6,25 +6,25 @@
|
||||
= 'У данной организации пока не загружена отчетность'
|
||||
- else
|
||||
.informations-data
|
||||
- @info_about_organisation.each do |organisation_name, params|
|
||||
h2
|
||||
= "#{organisation_name}"
|
||||
- if organisation_name == "Сведения об организации"
|
||||
.information-data
|
||||
- params.keys.each do |key|
|
||||
.information-elem
|
||||
= "#{key}: #{params[key]}"
|
||||
- else
|
||||
.information-table
|
||||
h2
|
||||
= "Сведения об организации"
|
||||
.information-data
|
||||
- @info_about_organisation["Сведения об организации"].each do |key, value|
|
||||
.information-elem
|
||||
= "#{key}: #{value}"
|
||||
= render 'organisations/templates/type_doc', target: "type_doc_#{@type_doc}", org_id: "#{@org_id}"
|
||||
h2
|
||||
= "#{@doc_name}"
|
||||
.information-table
|
||||
table
|
||||
thead
|
||||
tr
|
||||
- params[0].each do |value|
|
||||
- @current_doc_info[0].each do |value|
|
||||
th
|
||||
= value
|
||||
|
||||
tbody
|
||||
- params[1..-1].each do |values|
|
||||
- @current_doc_info[1..-1].each do |values|
|
||||
tr
|
||||
- values.each do |value|
|
||||
td
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
.main__container
|
||||
.type_doc_header#tabs
|
||||
.type__doc__list__type__container
|
||||
a.link[href="/organisations/#{org_id}?type_doc=0"]
|
||||
.switch__button.text-large#type_doc_0 data-value=target
|
||||
= 'Бухгалтерский баланс'
|
||||
a.link[href="/organisations/#{org_id}?type_doc=1"]
|
||||
.switch__button.text-large#type_doc_1 data-value=target
|
||||
= 'Отчёт о финансовых результатах'
|
||||
/ - if not_simplified
|
||||
a.link[href="/organisations/#{org_id}?type_doc=2"]
|
||||
.switch__button.text-large#type_doc_2 data-value=target
|
||||
= 'Отчёт об изменении капитала'
|
||||
a.link[href="/organisations/#{org_id}?type_doc=3"]
|
||||
.switch__button.text-large#type_doc_3 data-value=target
|
||||
= 'Отчёт о движении денежных средств'
|
||||
Reference in New Issue
Block a user