mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
removes references to agency_name
This commit is contained in:
@@ -12,5 +12,4 @@
|
||||
border: 5px solid black;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -67,7 +67,6 @@ class ClientsController < ApplicationController
|
||||
:agency_id,
|
||||
:notes,
|
||||
:bike_fixed,
|
||||
:number_of_calls,
|
||||
:application_voided,
|
||||
:pickup_date,
|
||||
:volunteer_at_pickup)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
class Client < ActiveRecord::Base
|
||||
# TODO: figure out why application_date validation is fubar
|
||||
# validates :application_date, presence: true
|
||||
belongs_to :bike
|
||||
belongs_to :agency
|
||||
|
||||
|
||||
@@ -78,11 +78,6 @@
|
||||
.col-sm-10
|
||||
= f.check_box :bike_fixed, disabled: disabled
|
||||
|
||||
.form-group
|
||||
= f.label "Number of Calls Made:", class: "col-sm-2 control-label"
|
||||
.col-sm-10
|
||||
= f.text_field :number_of_calls, class: "form-control", disabled: disabled
|
||||
|
||||
.form-group
|
||||
= f.label "Application Voided:", class: "col-sm-2 control-label"
|
||||
.col-sm-10
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
.client-information
|
||||
= @client.name
|
||||
%br
|
||||
= @client.agency.agency_name if @client.agency
|
||||
= @client.agency.name if @client.agency
|
||||
.horizontal-line
|
||||
%br
|
||||
Includes:
|
||||
@@ -41,7 +41,7 @@
|
||||
.client-information
|
||||
= @client.name
|
||||
%br
|
||||
= @client.agency.agency_name if @client.agency
|
||||
= @client.agency.name if @client.agency
|
||||
.horizontal-line
|
||||
.row
|
||||
.col-xs-6
|
||||
|
||||
Reference in New Issue
Block a user