diff --git a/app/views/gift_cards/_form.html.erb b/app/views/gift_cards/_form.html.erb index 4bf528783..3d5b755f4 100644 --- a/app/views/gift_cards/_form.html.erb +++ b/app/views/gift_cards/_form.html.erb @@ -15,10 +15,12 @@ <%= f.label :batch_id %>
<%= f.text_field :batch_id, class: 'input-mini', placeholder: '4321' %> + <% if ENV['BLUE_RIDGE'].present? %>
<%= f.label :proxy_id %>
<%= f.text_field :proxy_id, class: 'input-mini' %>
+ <% end %>
<%= f.label :gift_card_number %>
****-****-*** diff --git a/app/views/gift_cards/_gift_card.html.erb b/app/views/gift_cards/_gift_card.html.erb index 185770b3e..b2497787e 100644 --- a/app/views/gift_cards/_gift_card.html.erb +++ b/app/views/gift_cards/_gift_card.html.erb @@ -5,7 +5,9 @@ <%= gift_card.reason.titleize %> <%= gift_card.giftable_id %> <%= gift_card.batch_id %> + <% if ENV['BLUE_RIDGE'].present? %> <%= gift_card.proxy_id %> + <% end %> <%= gift_card.gift_card_number %> <%= gift_card.expiration_date %> <%= humanized_money_with_symbol gift_card.amount %> diff --git a/app/views/gift_cards/index.html.erb b/app/views/gift_cards/index.html.erb index 4d07eb1b2..8c973aa7c 100644 --- a/app/views/gift_cards/index.html.erb +++ b/app/views/gift_cards/index.html.erb @@ -15,7 +15,9 @@ Name Address Batch + <% if ENV['BLUE_RIDGE'].present? %> ProxyID + <% end %> Card Number Expiration Date Amount @@ -52,9 +54,11 @@ <%= form.text_field :batch_id, class: 'input-small', :placeholder => "Batch ID" %> + <% if ENV['BLUE_RIDGE'].present? %> <%= form.text_field :proxy_id,class: 'input-mini', :placeholder => "Proxy ID" %> + <% end %> ****-****-*** <%= form.text_field :gift_card_number,class: 'input-small', :placeholder => "#####" %> @@ -107,7 +111,9 @@ Reason Giftable ID Batch + <% if ENV['BLUE_RIDGE'].present? %> Proxy ID + <% end %> Card Number Expiration Date Amount @@ -126,7 +132,9 @@ <%= gift_card.reason.titleize %> <%= gift_card.giftable_id %> <%= gift_card.batch_id %> + <% if ENV['BLUE_RIDGE'].present? %> <%= gift_card.proxy_id %> + <% end %> <%= gift_card.gift_card_number %> <%= gift_card.expiration_date %> <%= humanized_money_with_symbol gift_card.amount %> diff --git a/app/views/people/show.html.erb b/app/views/people/show.html.erb index 3a37c5eda..769eb58ba 100644 --- a/app/views/people/show.html.erb +++ b/app/views/people/show.html.erb @@ -174,7 +174,9 @@ <%= form.hidden_field :person_id, :value => @person.id %> <%= form.select :reason, [['Signup', 'signup'], ['Test', 'test'], ['Referral', 'referral'], ['Other', 'other']], { :prompt => "Reason" }, class: 'input-small', id: "new-reason" %> <%= form.text_field :notes, placeholder: 'Notes', class: 'input-medium', id: 'new-notes' %> + <% if ENV['BLUE_RIDGE'].present? %> <%= form.text_field :proxy_id, placeholder: "ProxyID",class: 'input-mini', id: "new-proxyid" %> + <% end %> <%= form.text_field :batch_id, placeholder: "BatchID",class: 'input-mini', id: "new-batchid" %>
****-****-***