浏览代码

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


正在加载...
取消
保存