36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
.header
|
|
.header-title
|
|
= "Организация"
|
|
.main-container
|
|
- unless @info_about_organisation.any?
|
|
= 'У данной организации пока не загружена отчетность'
|
|
- else
|
|
.informations-data
|
|
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}"
|
|
- if @current_doc_info.present?
|
|
.information-table
|
|
table
|
|
thead
|
|
tr
|
|
- @current_doc_info.each do |header|
|
|
th = header
|
|
tbody
|
|
- @current_doc_info1.keys.each do |key|
|
|
tr
|
|
td = key[0]
|
|
td = key[1]
|
|
- @current_doc_info1[key].each do |value|
|
|
td = value
|
|
|
|
- else
|
|
h3
|
|
= "Нет данных"
|
|
|