caboose-cms 0.9.32 → 0.9.33

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: e7e918dcb7efd1eb157ba0b54dc180d342e962e8
4
- data.tar.gz: 2cda5ba3ae8b731a65f16a439c1093bd8c419c97
3
+ metadata.gz: 3fecd24dc788cf43a5134960c9bb8a3f35141626
4
+ data.tar.gz: c1565edd471b617bc2f3e7fee837af277498df99
5
5
  SHA512:
6
- metadata.gz: 5022f3cd6e8dad98eba1ea3a07732c13bde07f21fb0a055b2cdbee482451811dc596d5b672884a3dc61a91dd5ea03ae967d28bc0d6da8d0694ca0f30e048e326
7
- data.tar.gz: 1b62d17eee2a6bb6f3d5de84496c75afa657914ddd5ef1c66f2eded7aeb1e18ae0806c01e332869729dd237efb3159d05415cf0dbe2e43f2f5030aa628f51230
6
+ metadata.gz: c421c9b315a7ea0fdc6d2e8d0ae9fdd063d10c66cf01a25e72e9ff5830a68b6add1a5c146671611ae0ec85e7e1073d6fa53c933b4c33f7301db1944339037596
7
+ data.tar.gz: b4615b0f348ef74c331101f6e33fbd6ce43a73581c67d6ee36cbaba2c403bb7355e4ea816fc12268be8ea2c41dca7dc64bb7f69f259df775093847098986f04f
@@ -10,10 +10,15 @@ module Caboose
10
10
 
11
11
  @pager = Caboose::PageBarGenerator.new(params, {
12
12
  'customer_id' => logged_in_user.id,
13
- 'status' => ''
13
+ 'status' => [
14
+ Invoice::STATUS_PENDING ,
15
+ Invoice::STATUS_CANCELED ,
16
+ Invoice::STATUS_READY_TO_SHIP ,
17
+ Invoice::STATUS_PROCESSED
18
+ ]
14
19
  }, {
15
20
  'model' => 'Caboose::Invoice',
16
- 'sort' => 'invoice_number',
21
+ 'sort' => 'id',
17
22
  'desc' => 1,
18
23
  'base_url' => '/my-account/invoices',
19
24
  'use_url_params' => false
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.32'
2
+ VERSION = '0.9.33'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.32
4
+ version: 0.9.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-16 00:00:00.000000000 Z
11
+ date: 2016-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg