|
|
|
@ -16,6 +16,8 @@ class Form::Lettings::Questions::ManagingOrganisation < ::Form::Question
|
|
|
|
|
return opts unless current_user |
|
|
|
|
return opts unless log |
|
|
|
|
|
|
|
|
|
opts = opts.merge({ log.managing_organisation.id => log.managing_organisation.name} ) |
|
|
|
|
|
|
|
|
|
if current_user.support? |
|
|
|
|
if log.owning_organisation.holds_own_stock? |
|
|
|
|
opts[log.owning_organisation.id] = "#{log.owning_organisation.name} (Owning organisation)" |
|
|
|
|