.widget - if !@obra.esta_concluida? && logado_na_obra? div style="margin-bottom: 30px;" = link_to edit_obra_servico_da_obra_path(@obra), class: "btn btn-default btn-sm" do i.icone-cadastrar ' Adicionar Cronograma .widget-body h5 ' Lista de span.fw-semi-bold Serviços do Cronograma da Obra - if @obra.servicos_da_obra.empty? h6 Nenhum registro encontrado. - else - @obra.servicos_da_obra.each do |servico_da_obra| header .pull-right h5 ' Valor Total: span.fw-semi-bold = servico_da_obra.valor_total_dos_itens_do_servico_da_obra.real_contabil .widget-body table.table.table-bordered thead tr th.align-center colspan="3" b = servico_da_obra.descricao th.align-center colspan="3" b Contratado th.align-center colspan="2" b Físico th.align-center colspan="2" b Financeiro tr th.align-center width="50" Cód. th.align-center width="30%" Serviço th.align-center width="50" UND. Med. th.align-center width="50" Qtd. th.align-center width="100" Vlr. Unit. th.align-center width="100" Vlr. Total th.align-center width="60" Qtd. Med. th.align-center width="60" Qtd. Acum. th.align-center width="100" Vlr. Tot. Med. th.align-center width="100" Saldo a Med. tbody - servico_da_obra.itens_do_servico_da_obra.order_ids.each do |item_do_servico_da_obra| tr td.align-center = item_do_servico_da_obra.codigo td.align-center = item_do_servico_da_obra.descricao td.align-center = item_do_servico_da_obra.unidade_de_medida td.align-center = item_do_servico_da_obra.quantidade.try(:valor) td.align-center = item_do_servico_da_obra.preco_unitario.try(:real_contabil) td.align-center = item_do_servico_da_obra.valor_total.try(:real_contabil) td.align-center = item_do_servico_da_obra.quantidade_medida_acumulada.try(:valor) td.align-center = "#{item_do_servico_da_obra.porcentagem_quantidade_medida_acumulada.try(:valor)}%" td.align-center = item_do_servico_da_obra.preco_total_medido.try(:real_contabil) td.align-center = item_do_servico_da_obra.saldo_preco_total_a_medir.try(:real_contabil)