An open source, stand-alone, customisable public spending data web app.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

payment.haml 1.3 KiB

il y a 14 ans
il y a 14 ans
12345678910111213141516171819202122232425262728293031323334353637383940
  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 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= commify(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>