smerp-quotation-engine 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8fa2350126d124dac1b1064cb594942c30dd0961dcc31dc1a71d80c5f4c52c9
4
- data.tar.gz: 256d95f8da605f9578e310a6b6684be01cdaf8d498bd4700ebd163e1e07bcaca
3
+ metadata.gz: 9e61a0dda0cb4774c99cafc4a276be0eba4d1e854a5c6096eafe77c839643823
4
+ data.tar.gz: 598500f078db3e24a9140c4381c12da5ed6e20e653d3e6257fddeb654ca64d71
5
5
  SHA512:
6
- metadata.gz: 43b307465fef8eb48cf3478b75ac9060108cc18dc1196f455d693f981a18ed60590a7024c882fe783cb4c58746346a6b8e76fa89adeb9248836cc90182634e2b
7
- data.tar.gz: 3c3e8412f6d18608bc97476143cbb61e1a15ff960f6581e00bea29efe617434c33fba9255cf521363e0d39ecdd6520ef89173bf629d3642cbd718362f4c1fce3
6
+ metadata.gz: 7ae8b2cfb3cc8e9d04a5d642e939fb7f3378c924c71300bf8ca270cce35330dfef2b8caeb8424d96cbaac5350abb96b67d7ba9c5f8a4502902506d4abc66d18b
7
+ data.tar.gz: 5b2f2e6940e8dec5d3b9ec2a0fa0582c520a48fa48bad0467f5af7d5fced93b2c8418c40add6d40645d8b1c8df3653dab37ef7d80103850d8a4273edeed2a0b6
@@ -1,6 +1,7 @@
1
1
  <div id="<%= dom_id quotation_product %>">
2
2
 
3
3
  <tr>
4
+ <td><%= cnt %>.</td>
4
5
  <td><%= link_to quotation_product.name, quotation_product %></td>
5
6
  <td><%= quotation_product.quotation_product_category.name %></td>
6
7
  <td><%= quotation_product.state.titleize %></td>
@@ -5,13 +5,16 @@
5
5
  <div id="quotation_products">
6
6
  <table class="table">
7
7
  <tr>
8
+ <th width="18px"></th>
8
9
  <th>Name</th>
9
10
  <th>Category</th>
10
11
  <th>Status</th>
11
12
  </tr>
12
-
13
+
14
+ <% cnt = 1 %>
13
15
  <% @quotation_products.each do |quotation_product| %>
14
- <%= render quotation_product %>
16
+ <%= render quotation_product, cnt: cnt %>
17
+ <% cnt += 1 %>
15
18
  <% end %>
16
19
  </table>
17
20
  </div>
@@ -1,7 +1,7 @@
1
1
  module Smerp
2
2
  module Quotation
3
3
  module Engine
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smerp-quotation-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian