An open source, stand-alone, customisable public spending data web app.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

34 行
794 B

  1. .grid_12
  2. %h2= @page_title = @supplier.name + " (Supplier)"
  3. %ul#breadcrumb
  4. %li.home
  5. %a{ :href => '/'} Home
  6. %li
  7. %a{ :href => '/suppliers' } Suppliers
  8. %li
  9. = @supplier.name
  10. %p.noprint
  11. %a{ :href => "/suppliers/#{@supplier.id}.csv" }
  12. Download data as CSV
  13. %table
  14. %tr
  15. %th Date
  16. %th Directorate
  17. %th Service
  18. %th £
  19. - for payment in @supplier.payments
  20. %tr
  21. %td= payment.d.strftime("%d %b %Y")
  22. %td
  23. %a{ :href => '/directorates/' + payment.directorate.id.to_s }
  24. = payment.directorate.name
  25. %td
  26. %a{ :href => '/services/' + payment.service.id.to_s }
  27. = payment.service.name
  28. %td.right= sprintf("%0d", payment.amount)