%tr
  %td=product_order_payment.token
  %td=l product_order_payment.paid_at if product_order_payment.paid_at?
  %td
    -if product_order_payment.product_order_payment_type_id == 3
      CB
    -elsif product_order_payment.product_order_payment_type_id == 1
      Chèque
  
  %td=product_order_payment.ogone_payid
  %td=product_order_payment.ogone_status
  %td=product_order_payment.ogone_ncerror

  %td
    =product_order_payment.ogone_cardno
  %td= number_to_currency product_order_payment.amount if product_order_payment.amount
  
  %td.actions
    -if product_order_payment.product_order_payment_type_id == 1
      =link_to i(:pencil), edit_admin_product_order_payment_path(product_order_payment), :remote => true