瀏覽代碼

Restored extended payment/directorate association in supplier view

pull/3/head
Adrian Short 14 年之前
父節點
當前提交
c234d56252
共有 1 個檔案被更改,包括 5 行新增8 行删除
  1. +5
    -8
      views/supplier.haml

+ 5
- 8
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


Loading…
取消
儲存