An open source, stand-alone, customisable public spending data web app.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

directorate.haml 711 B

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