From f055d1d571511ca016711e39d12a62f5f5a0ea59 Mon Sep 17 00:00:00 2001 From: "Ira W. Snyder" Date: Mon, 26 Nov 2007 14:23:51 -0800 Subject: [PATCH] Change 'Debt' to 'Balance' Signed-off-by: Ira W. Snyder --- app/views/customer/list.rhtml | 2 +- app/views/customer/show.rhtml | 10 +++++----- db/development.sqlite3 | Bin 30720 -> 30720 bytes 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/customer/list.rhtml b/app/views/customer/list.rhtml index 2f4bd9c..e58a35d 100644 --- a/app/views/customer/list.rhtml +++ b/app/views/customer/list.rhtml @@ -5,7 +5,7 @@ Customer ID Name Phone - Debt + Balance <% for customer in @customers %> diff --git a/app/views/customer/show.rhtml b/app/views/customer/show.rhtml index fe1aba6..f9b27a6 100644 --- a/app/views/customer/show.rhtml +++ b/app/views/customer/show.rhtml @@ -1,8 +1,8 @@ -<% for column in Customer.content_columns %> -

- <%= column.human_name %>: <%=h @customer.send(column.name) %> -

-<% end %> +

Name: <%=h @customer.name %>

+

Address: <%=h @customer.address %>

+

Email: <%=h @customer.email %>

+

Phone: <%=h @customer.phone %>

+

Balance: <%=h number_to_currency(@customer.debt) %>

<%= link_to 'Edit', :action => 'edit', :id => @customer %> | <%= link_to 'Back', :action => 'list' %> diff --git a/db/development.sqlite3 b/db/development.sqlite3 index 9fcfb9958539d71bb59fb722468e46b2a791ff1d..7f6ff454e8646b66b28565c6be54658a5331f39e 100644 GIT binary patch delta 237 zcmZqpz}WDCae_4C&5bgz*rg_NFr_mKF=sLzW|+vll1Y?t7h^J`B_kulk%^6k#)hoy z4C2b_s*J`aM#iSW1x1;8>1mm%IVow0*{Kd7LN7T#*U-pV7m7_7Hy`16$i&2ad-8H_ z6BY&r2Gz;;xmB43m=q?n^T;zXDQs-~!6+vq&c?vVsHn&yXk=huu4`zhYh(szS#GxD zJ0Qu}z4^a7tB42((+&pa8_XM+JD6jbO_+I@9x(0L*tmd+Nlk7tpS>hM3tXQWv!Isj TC<0RaHSk%6SM z#0cR60ssJ$rwcR$BLxQlliv#^0}lc|lLrhRv4I!@vpx>M83By5|0e|$5C#Jb00YF&A