An open source, stand-alone, customisable public spending data web app.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

servicepaymentsdetail.haml 529 B

123456789101112131415161718192021222324
  1. %table
  2. %tr
  3. %th Date
  4. %th Ref.
  5. %th Supplier
  6. %th.right £
  7. - for payment in @payments
  8. %tr
  9. %td= payment.d.strftime("%d %b %Y")
  10. %td.right
  11. %a{ :href => "/payments/#{payment.id}" }
  12. = payment.id
  13. %td
  14. %a{ :href => '/suppliers/' + payment.supplier.slug }
  15. = payment.supplier.name
  16. %td.right= commify(sprintf("%0d", payment.amount))
  17. %tr
  18. %td
  19. %td
  20. %td
  21. %strong TOTAL
  22. %td.right= commify(sprintf("%0d", @total))