An open source, stand-alone, customisable public spending data web app.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

40 line
1.3 KiB

  1. .grid_9
  2. %h2= @page_title = "Payment " + @payment.id.to_s
  3. %table
  4. %tr
  5. %td Date
  6. %td= @payment.d.strftime("%d %b %Y")
  7. %tr
  8. %td Directorate
  9. %td
  10. %a{ :href => "/directorates/#{@payment.service.directorate.slug}" }
  11. = @payment.service.directorate.name
  12. %tr
  13. %td Service
  14. %td
  15. %a{ :href => "/services/#{@payment.service.slug}" }
  16. = @payment.service.name
  17. %tr
  18. %td Supplier
  19. %td
  20. %a{ :href => "/suppliers/#{@payment.supplier.slug}" }
  21. = @payment.supplier.name
  22. %tr
  23. %td Amount £
  24. %td= sprintf("%0.2f", @payment.amount)
  25. .clear
  26. <div class="grid_9 noprint">
  27. = haml_partial "comment_header"
  28. <div id="disqus_thread" class="noprint"></div>
  29. <script type="text/javascript">
  30. var disqus_developer = 1;
  31. (function() {
  32. var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
  33. dsq.src = 'http://armchairauditor.disqus.com/embed.js';
  34. (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  35. })();
  36. </script>
  37. <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript=armchairauditor">comments powered by Disqus.</a></noscript>
  38. <a href="http://disqus.com" class="dsq-brlink noprint">Comments powered by <span class="logo-disqus">Disqus</span></a>
  39. </div>