Vencimento *
<% if @pedido_parcela.vencimento.nil? %>
<% vencimento = '' %>
<% else %>
<% vencimento = @pedido_parcela.vencimento.strftime("%d/%m/%Y") %>
<% end %>
<%= text_field_with_js_mask :pedido_parcela, :vencimento, :value => vencimento, :size => 10, :maxlength => 10, :class => 'mask_date_br' %>
Data de Recebimento
<% if @pedido_parcela.recebimento.nil? %>
<% recebimento = '' %>
<% else %>
<% recebimento = @pedido_parcela.recebimento.strftime("%d/%m/%Y") %>
<% end %>
<%= text_field_with_js_mask :pedido_parcela, :recebimento, :size => 10, :maxlength => 10, :class => 'mask_date_br' %>
Juros
<%= f.text_field :juros, :size => 5, :maxlength => 5, :onKeyUp => "formataPercentual(this)" %> %
Valor PF
<%= f.text_field :valor_pf, :size => 14, :maxlength => 14, :onKeyUp => "formataValor(this)" %> reais
Valor NF
<%= f.text_field :valor_nf, :size => 14, :maxlength => 14, :onKeyUp => "formataValor(this)" %> reais
Tipo Pagto.
<%= f.collection_select :tipo_pagamento_id, TipoPagamento.find(:all, :order => "descricao"), :id, :descricao, :prompt => 'Selecione um Tipo de Pagto.' %>
Número
<%= f.text_field :numero_tipo_pagamento, :size => 12, :maxlength => 100 %>
<%= f.check_box :quitado %> Quitado?
Recebimento Parcial
<%= f.text_field :valor_recebimento_parcial, :size => 14, :maxlength => 14, :onKeyUp => "formataValor(this)" %> reais
Modo de Cobrança
<%= f.text_field :observacao, :size => 30, :maxlength => 50 %>
Observação Contas a Receber
<%= f.text_field :obs_contas_receber, :size => 30, :maxlength => 50 %>
<% if @pedido.tipo_pedido == 'E' %>
<%= f.check_box :comissao_pf %> Comissão PF?
<% end %>