From c234d56252180579300ce053f77f02ddb17e44a6 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 9 Jun 2010 01:11:08 +0100 Subject: [PATCH] Restored extended payment/directorate association in supplier view --- views/supplier.haml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/views/supplier.haml b/views/supplier.haml index d1c5364..1c6836b 100644 --- a/views/supplier.haml +++ b/views/supplier.haml @@ -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