瀏覽代碼

Added totals to summary tables in service and supplier views

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

+ 2
- 0
views/service.haml 查看文件

@@ -25,12 +25,14 @@
%table
%tr
%th.right Payments
%th.right Total £
%th.right Max £
%th.right Min £
%th.right Average £

%tr
%td.right= @count
%td.right= sprintf("%0d", @total)
%td.right= sprintf("%0d", @max)
%td.right= sprintf("%0d", @min)
%td.right= sprintf("%0d", @avg)


+ 2
- 0
views/supplier.haml 查看文件

@@ -23,12 +23,14 @@
%table
%tr
%th.right Payments
%th.right Total £
%th.right Max £
%th.right Min £
%th.right Average £

%tr
%td.right= @count
%td.right= sprintf("%0d", @total)
%td.right= sprintf("%0d", @max)
%td.right= sprintf("%0d", @min)
%td.right= sprintf("%0d", @avg)


Loading…
取消
儲存