From 77368d10c635ce291a193e613270f45276f51f2e Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 9 Jun 2010 01:09:38 +0100 Subject: [PATCH] Restored extended payment/directorate association --- views/payment.haml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/views/payment.haml b/views/payment.haml index 7de5b56..76edfe0 100644 --- a/views/payment.haml +++ b/views/payment.haml @@ -5,12 +5,11 @@ %tr %td Date %td= @payment.d.strftime("%d %b %Y") - -# - %tr - %td Directorate - %td - %a{ :href => "/directorates/#{@payment.directorate.slug}" } - = @payment.directorate.name + %tr + %td Directorate + %td + %a{ :href => "/directorates/#{@payment.service.directorate.slug}" } + = @payment.service.directorate.name %tr %td Service %td