An open source, stand-alone, customisable public spending data web app.
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- .grid_12
- %h2= @page_title = @service.name + " (Service)"
-
- %ul#breadcrumb
- %li.home
- %a{ :href => '/'} Home
- %li
- %a{ :href => '/services' } Services
- %li
- = @service.name
- %p
- %a{ :href => "/services/#{@service.id}.csv" }
- Download data as CSV
-
- %table
- %tr
- %th Date
- %th Directorate
- %th Supplier
- %th £
-
- - for payment in @service.payments
- %tr
- %td= payment.d.strftime("%d %b %Y")
- %td
- %a{ :href => '/directorates/' + payment.directorate.id.to_s }
- = payment.directorate.name
- %td
- %a{ :href => '/suppliers/' + payment.supplier.id.to_s }
- = payment.supplier.name
- %td.right= sprintf("%0d", payment.amount)
-
-
|