Browse Source

lk | change references from agency#phone_number to agency#phone

master
Louis Knapp 8 years ago
parent
commit
ba036cd808
  1. 2
      app/views/clients/_receipt.html.haml
  2. 2
      app/views/freecyclery/receipt.html.haml
  3. 2
      lib/tasks/dummydata.rake
  4. 1
      notes.md

2
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

2
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

2
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

1
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

Loading…
Cancel
Save