aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorZog2018-04-06 06:59:57 +0200
committerZog2018-04-06 06:59:57 +0200
commitccd2581f1a4fb88d2324df190fa58a5c07e2afa0 (patch)
tree54a7ddd68e84ca27c443b06c3fa27c166a2510d9 /app/views
parent25473075be6b31632295c95696891368b5bc26f4 (diff)
downloadchouette-core-6311-fix-calendars-assignment.tar.bz2
Refs #6311; Fix Purchase Windows assignment6311-fix-calendars-assignment
Diffstat (limited to 'app/views')
-rw-r--r--app/views/autocomplete_purchase_windows/index.rabl13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/views/autocomplete_purchase_windows/index.rabl b/app/views/autocomplete_purchase_windows/index.rabl
index 1d0287602..bdc513c31 100644
--- a/app/views/autocomplete_purchase_windows/index.rabl
+++ b/app/views/autocomplete_purchase_windows/index.rabl
@@ -2,11 +2,12 @@ collection @purchase_windows, :object_root => false
node do |window|
{
- :id => window.id,
- :name => window.name,
- :objectid => window.objectid,
- :color => window.color,
- :short_id => window.get_objectid.short_id,
- :text => "<strong><span class='fa fa-circle' style='color:" + (window.color ? window.color : '#4b4b4b') + "'></span> " + window.name + " - " + window.get_objectid.short_id + "</strong>"
+ id: window.id,
+ name: window.name,
+ objectid: window.objectid,
+ color: window.color,
+ short_id: window.get_objectid.short_id,
+ bounding_dates: window.bounding_dates,
+ text: "<strong><span class='fa fa-circle' style='color:" + (window.color ? window.color : '#4b4b4b') + "'></span> " + window.name + " - " + window.get_objectid.short_id + "</strong>"
}
end