From ba036cd808e899b98b01ba37fd29fa3ceed7c550 Mon Sep 17 00:00:00 2001 From: Louis Knapp Date: Tue, 26 Jul 2016 14:21:18 -0500 Subject: [PATCH] lk | change references from agency#phone_number to agency#phone --- app/views/clients/_receipt.html.haml | 2 +- app/views/freecyclery/receipt.html.haml | 2 +- lib/tasks/dummydata.rake | 2 +- notes.md | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/clients/_receipt.html.haml b/app/views/clients/_receipt.html.haml index d35cd46..7bca97c 100644 --- a/app/views/clients/_receipt.html.haml +++ b/app/views/clients/_receipt.html.haml @@ -67,7 +67,7 @@ .col-xs-6 .client-info-header CLIENT INFO .client-email= "Contact Email: " + client.agency.email - .client-phone= "Contact Phone #: " + client.agency.phone_number + .client-phone= "Contact Phone #: " + client.agency.phone .client-photo-consent [ ] I grant consent to the Recyclery to use and publish photographs of me. %br Recyclery Volunteer Initials diff --git a/app/views/freecyclery/receipt.html.haml b/app/views/freecyclery/receipt.html.haml index 086a690..6be1055 100644 --- a/app/views/freecyclery/receipt.html.haml +++ b/app/views/freecyclery/receipt.html.haml @@ -65,7 +65,7 @@ .col-xs-6 .client-info-header CLIENT INFO .client-email= "Agency Email: " + @client.agency.email - .client-phone= "Agency Phone #: " + @client.agency.phone_number + .client-phone= "Agency Phone #: " + @client.agency.phone .client-photo-consent [ ] I grant consent to the Recyclery to use and publish photographs of me. %br Recyclery Volunteer Initials diff --git a/lib/tasks/dummydata.rake b/lib/tasks/dummydata.rake index 7496f6f..5046278 100644 --- a/lib/tasks/dummydata.rake +++ b/lib/tasks/dummydata.rake @@ -19,7 +19,7 @@ namespace :db do city: Faker::Address.city, state: "IL", postal_code: Faker::Number.number(5), - phone_number: Faker::Number.number(7), + phone: Faker::Number.number(7), email: Faker::Internet.email } end diff --git a/notes.md b/notes.md index 3076abe..37e8def 100644 --- a/notes.md +++ b/notes.md @@ -9,6 +9,7 @@ # Tech - remove bike#entry_date column because it is now fixed_at +- add tests to ensure that pages render - use log number in bike url instead of id - paginate 'all clients' page - convert to bootstrap-less