caboose-rets 0.0.32 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzkxMWRlMzdkMWNmZWE1NjE0MDY5NzMxMmUwYWFkOWZkMThmNGU5MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTk4YjllYzgwZDkwMmE2MjM4ZDBlNTU1YzJlYzgzZTdjMzc2ZTA1Mg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGJmOTY5YWJmODA1ZTU4NWI1NDM1YjczOGUwOTU4OThhZmU2MmUyOGZhYWE2
|
10
|
+
YjdmMDZlMGM5NzAwYTJhZjRkZjBkYjQxYThiYjc1MDY1OTI2NjA3MTBmOGQ0
|
11
|
+
OWQxZjgyZmM4MTk4YjM4ZGUwMzU0ZjZhYTk3MTdmMWFjMjg2Y2Q=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTk4NGE1NmJlNDVkYzY3Y2Q2OThkYzg4NDc1MWI2YjUzYjIxODJmMjE4MWUw
|
14
|
+
MjEzODUzYWYyMzg3M2Y4NzkxM2YyN2NiYmFiMjliNTFjMjZjMjAzYmU0Mzcy
|
15
|
+
OTRhNTlkM2E0OWZlZDViNGQ3MGE3OTg0MzY2M2M1MDE2YjZkN2I=
|
@@ -110,6 +110,8 @@ module CabooseRets
|
|
110
110
|
agent.contact_info = value
|
111
111
|
when 'bio'
|
112
112
|
agent.bio = value
|
113
|
+
when 'designation'
|
114
|
+
agent.designation = value
|
113
115
|
when 'assistant_to'
|
114
116
|
agent.assistant_to = value
|
115
117
|
if !value.nil? && value.length > 0 && Agent.exists?(:la_code => value)
|
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
<div id='agent_<%= @agent.id %>_hide' ></div>
|
5
5
|
<div id='agent_<%= @agent.id %>_assistant_to' ></div>
|
6
|
+
<div id='agent_<%= @agent.id %>_designation' ></div>
|
6
7
|
|
7
8
|
<p style='clear: both;'><input type='button' value='< Back' onclick="window.location='/admin/agents';" /></p>
|
8
9
|
|
@@ -17,7 +18,8 @@ $(document).ready(function() {
|
|
17
18
|
authenticity_token: '<%= form_authenticity_token %>',
|
18
19
|
attributes: [
|
19
20
|
{ name: 'hide' , nice_name: 'Hide from website' , type: 'checkbox' , value: <%= raw @agent.hide %>, width: 400 },
|
20
|
-
{ name: 'assistant_to' , nice_name: 'Assistant To' , type: 'select' , value: <%= raw Caboose.json(@agent.assistant_to) %>, width: 400, text: <%= raw Caboose.json(@boss ? "#{@boss.first_name} #{@boss.last_name}" : 'empty') %>, options_url: '/admin/agents/assistant-to-options', empty_text: 'Not an assistant' }
|
21
|
+
{ name: 'assistant_to' , nice_name: 'Assistant To' , type: 'select' , value: <%= raw Caboose.json(@agent.assistant_to) %>, width: 400, text: <%= raw Caboose.json(@boss ? "#{@boss.first_name} #{@boss.last_name}" : 'empty') %>, options_url: '/admin/agents/assistant-to-options', empty_text: 'Not an assistant' },
|
22
|
+
{ name: 'designation' , nice_name: 'Designation' , type: 'text' , value: <%= raw Caboose.json(@agent.designation) %>, width: 400 }
|
21
23
|
]
|
22
24
|
});
|
23
25
|
});
|
data/lib/caboose_rets/version.rb
CHANGED