spree_delivery_options 2.2.1 → 2.2.2

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
  SHA1:
3
- metadata.gz: 871fae6de43052706a38f68451b18932e6b387d9
4
- data.tar.gz: 6e000b0a681393c7a9c724518f99a6bd12fe8ae6
3
+ metadata.gz: 7197ed6715f25f01dc179ffe8f18e8821752ab8c
4
+ data.tar.gz: 719ea6457afe6019b8c2fa812ed9f03375d2de8a
5
5
  SHA512:
6
- metadata.gz: e0914c7916ae6e827a7754e345aeee590786aab72efa103812fc339e586167057f567b6c3c14e32c338a14b1b443998112fb78375b0f72b26550385a01cf7b12
7
- data.tar.gz: 22339ae439aa6d1085c748798b40671203ba2b51d150c53e7a63b24ad2622ee3dcd9eff2ad9fffd562617cd34f1106128a949f519b54e8be32e53e8a8c3968ab
6
+ metadata.gz: 9956697e69ff2ec222d1cbdf8a7e044acce5bec06791f5abee21b5c72f56bd298cbedfd0e003bffda023660e23f05a1aeb801328539528b0b4197860aac26965
7
+ data.tar.gz: 4518f7274d4cdde0b14cfbb575a710596600c48885b5f1d6952887f1a0121265315c1cc492a13a62c762e7514dbd28ad2962b0c9ca50202f9dc3dbc00c8c61ff
@@ -19,7 +19,7 @@
19
19
  = hidden_field_tag 'order_token', order.token
20
20
  .field
21
21
  = form.label :delivery_date, "Delivery Date"
22
- = form.text_field :delivery_date, value: (l(order.delivery_date) rescue l(Date.current))
22
+ = form.text_field :delivery_date, value: (l(order.delivery_date) rescue l(Date.current + 1))
23
23
  .field
24
24
  = form.label :delivery_time, "Delivery Time"
25
25
  = form.select :delivery_time, JSON.parse(SpreeDeliveryOptions::Config.delivery_time_options)["monday"]
@@ -27,4 +27,7 @@
27
27
  = form.submit "Set Delivery Time"
28
28
  .delivery-time-options{data: SpreeDeliveryOptions::Config.delivery_time_options}
29
29
  .columns.four.omega
30
+ %h5
31
+ The next available delivery slot is
32
+ = next_delivery_slot
30
33
  .error.hide
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_delivery_options'
5
- s.version = '2.2.1'
5
+ s.version = '2.2.2'
6
6
  s.summary = 'Adds delivery date and time during checkout'
7
7
  s.description = ''
8
8
  s.required_ruby_version = '>= 2.0.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_delivery_options
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francisco Trindade