An open source, stand-alone, customisable public spending data web app.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

41 wiersze
924 B

  1. .grid_12
  2. %ul#breadcrumb
  3. %li.home
  4. %a{ :href => '/'} Home
  5. %li
  6. %a{ :href => '/directorates' } Directorates
  7. %li
  8. = @directorate.name
  9. %h2= @page_title = @directorate.name + " Directorate"
  10. %table
  11. %tr
  12. %th Date
  13. %th Ref.
  14. %th Service
  15. %th Supplier
  16. %th.right £
  17. - for payment in @directorate.payments
  18. %tr
  19. %td= payment.d.strftime("%d %b %Y")
  20. %td
  21. %a{ :href => "/payments/#{payment.id}" }
  22. = payment.id
  23. %td
  24. %a{ :href => '/services/' + payment.service.slug }
  25. = payment.service.name
  26. %td
  27. %a{ :href => '/suppliers/' + payment.supplier.slug }
  28. = payment.supplier.name
  29. %td.right= sprintf("%0d", payment.amount)
  30. %tr
  31. %td
  32. %td
  33. %td
  34. %strong TOTAL
  35. %td.right= sprintf("%0d", @total)
  36. %td