update addorder and show_account_info add shops

This commit is contained in:
Aung Myo
2017-11-22 16:49:34 +06:30
parent d3ceba0a7a
commit fafd6df5e1
5 changed files with 13 additions and 7 deletions

View File

@@ -15,12 +15,13 @@
<%= f.input :license_data %>
<%= f.input :base_currency %>
<%= f.input :cloud_token %>
<%= f.input :cloud_url %>
<%= f.input :cloud_url %>
<%= f.input :owner_token %>
<%= f.input :id_prefix %>
<%= f.input :is_rounding_adj %>
<%= f.input :quick_sale_summary %>
<%= f.input :calc_tax_order %>
<%= f.input :show_account_info %>
</div>

View File

@@ -23,6 +23,7 @@
<th>Rouding Adj</th>
<th>View Sale Summary</th>
<th>Calculate Tax</th>
<th>Show Account Info</th>
<th>Actions</th>
</tr>
</thead>
@@ -36,7 +37,7 @@
<td><%= shop.is_rounding_adj %></td>
<td><%= shop.quick_sale_summary %></td>
<td><%= shop.calc_tax_order %></td>
<td><%= shop.show_account_info %></td>
<td>
<%= link_to t("views.btn.show"), settings_shop_path(shop),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.edit"), edit_settings_shop_path(shop),:class => 'btn btn-primary btn-sm waves-effect' %>