Skip to content

Commit 37748f4

Browse files
committed
Admin form support to add reverse_charge_status
Updated the store form for reverese_charge_status user can select the charge status from the dropdown for the store
1 parent eaefccf commit 37748f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

backend/app/views/spree/admin/stores/_form.html.erb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@
3030
<%= f.text_area :meta_description, class: 'fullwidth' %>
3131
<%= f.error_message_on :meta_description %>
3232
<% end %>
33+
34+
<%= f.field_container :reverse_charge_status do %>
35+
<%= f.label :reverse_charge_status %>
36+
<%= f.select :reverse_charge_status,
37+
Spree::Store.reverse_charge_statuses.keys.map { |key| [key.humanize, key] },
38+
{ include_blank: true },
39+
{ class: 'custom-select fullwidth' } %>
40+
<%= f.error_message_on :reverse_charge_status %>
41+
<% end %>
3342
</div>
3443
<div class="col-12 col-md-6">
3544
<%= f.field_container :url do %>

0 commit comments

Comments
 (0)