-price_document = form.object.price_document
%tr.p_payment_document_form.field
  %td{:style => "width:30px;text-align:center;"}=ic :check if price_document.solded
  %td{:style => "width:100px"}=l price_document.date, :format => "%y/%m/%Y"
  
  %td
    =link_to price_document.d_number, admin_price_document_path(:id => price_document.id), :target => "_blank"
    = form.hidden_field :price_document_id
  %td.numeraire{:style => "width:120px"}=number_to_currency price_document.tot_amount_ttc
  
  %td.numeraire{:style => "width:120px"}
    =number_to_currency price_document.to_paid_ttc.to_f
  
  %td.numeraire{:style => "width:120px"}
    = form.input :amount, :label => false, :placeholder => "Montant"
  
  %td{:style => "width:30px;text-align:center;"}
    =link_to_remove_fields ic(:"trash-o"), form

