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.
 
 
 
 

33 rader
819 B

  1. .grid_9
  2. %h2= @page_title = "Payment " + @payment.id.to_s
  3. %table
  4. %tr
  5. %td Date
  6. %td= nicedate(@payment.d)
  7. %tr
  8. %td Transaction
  9. %td= @payment.transaction_id
  10. - unless @payment.service.directorate.nil?
  11. %tr
  12. %td Directorate
  13. %td
  14. %a{ :href => "/directorates/#{@payment.service.directorate.slug}" }
  15. = @payment.service.directorate.name
  16. %tr
  17. %td Service
  18. %td
  19. %a{ :href => "/services/#{@payment.service.slug}" }
  20. = @payment.service.name
  21. %tr
  22. %td Supplier
  23. %td
  24. %a{ :href => "/suppliers/#{@payment.supplier.slug}" }
  25. = @payment.supplier.name
  26. %tr
  27. %td Amount £
  28. %td= commify(sprintf("%0.2f", @payment.amount))
  29. .clear
  30. .grid_9.noprint
  31. = haml_partial "disqus_comments"