.widget header> h5 ' Lista de span.fw-semi-bold Demandas Programadas .widget-body - if @requisicao_de_material.itens_das_requisicoes_de_materiais.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover.table-bordered thead tr th Item tbody - itens_das_requisicoes_de_materiais.each do |item_da_requisicao_de_material| tr td .table-responsive table.table.table-hover.table-bordered thead tr td colspan="3" = item_da_requisicao_de_material.item.codigo_e_descricao tr th.text-center style="width: 10%" Data do Atendimento th.text-center style="width: 10%" Requisitada - if logado_na_gestao_de_estoque? && @requisicao_de_material.em_atendimento? th.text-center style="width: 10%" Atendida tbody - item_da_requisicao_de_material.demandas_programadas.each do |demanda_programada| tr td.text-center = demanda_programada.try(:data_do_atendimento) td.text-center = demanda_programada.quantidade_requisitada.to_f.valor_contabil(minimum_precision: 4) - if logado_na_gestao_de_estoque? && @requisicao_de_material.em_atendimento? td.text-center = demanda_programada.quantidade_atendida.to_f.valor_contabil(minimum_precision: 4)