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.
|
- .grid_12
- %h2= @page_title = @supplier.name + " (Supplier)"
-
- %ul#breadcrumb
- %li.home
- %a{ :href => '/'} Home
- %li
- %a{ :href => '/suppliers' } Suppliers
- %li
- = @supplier.name
-
- %p.noprint
- %a{ :href => "/suppliers/#{@supplier.id}.csv" }
- Download data as CSV
-
- %table
- %tr
- %th Date
- %th Directorate
- %th Service
- %th £
-
- - for payment in @supplier.payments
- %tr
- %td= payment.d.strftime("%d %b %Y")
- %td
- %a{ :href => '/directorates/' + payment.directorate.id.to_s }
- = payment.directorate.name
- %td
- %a{ :href => '/services/' + payment.service.id.to_s }
- = payment.service.name
- %td.right= sprintf("%0d", payment.amount)
-
-
|