Files
finreport-analyzer/app/views/organisations/show.html.slim
T

32 lines
1.3 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}"
.information-table
table
thead
tr
- @current_doc_info[0].each do |value|
th
= value
tbody
- @current_doc_info[1..-1].each do |values|
tr
- values.each do |value|
td
= value