Browse Source

Restored extended payment/directorate association in supplier view

pull/3/head
Adrian Short 14 years ago
parent
commit
c234d56252
1 changed files with 5 additions and 8 deletions
  1. +5
    -8
      views/supplier.haml

+ 5
- 8
views/supplier.haml View File

@@ -39,8 +39,7 @@
%tr %tr
%th Date %th Date
%th Ref. %th Ref.
-#
%th Directorate
%th Directorate
%th Service %th Service
%th.right £ %th.right £
@@ -50,18 +49,16 @@
%td %td
%a{ :href => "/payments/#{payment.id}" } %a{ :href => "/payments/#{payment.id}" }
= payment.id = payment.id
-#
%td
%a{ :href => '/directorates/' + payment.directorate.slug }
= payment.directorate.name
%td
%a{ :href => '/directorates/' + payment.service.directorate.slug }
= payment.service.directorate.name
%td %td
%a{ :href => '/services/' + payment.service.slug } %a{ :href => '/services/' + payment.service.slug }
= payment.service.name = payment.service.name
%td.right= sprintf("%0d", payment.amount) %td.right= sprintf("%0d", payment.amount)
%tr %tr
-#
%td
%td
%td %td
%td %td
%td %td


Loading…
Cancel
Save