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


Loading…
Cancel
Save