caboose-cms 0.9.40 → 0.9.43

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: 557a48644a25e482b5a82bf4706a380098a79894
4
- data.tar.gz: 12d204b0795d0c62da83aea8bb07c5b97a952f04
3
+ metadata.gz: 2e987b3a2da09d4d80f8eb058e079ac0b96f83e8
4
+ data.tar.gz: a0e2ebc665b8c901b6fae8ddf739d99a76806a66
5
5
  SHA512:
6
- metadata.gz: 744ddcc5e6559b8e3d7488711ef8f80b7fd50e2b97c3007db25a3cb56b354fd62ffc3813a92446db3119b8af983f768b14384d296b6390a4ce46aaae82a37dcb
7
- data.tar.gz: e981f6e660a0ef93683c7ce8f8542d8e85ae2de837349b6007dc4deba66f69b00c97d230c00532bf97fd2ce62362e29ae72864ecaab908124b48e615f3ab672f
6
+ metadata.gz: 3004576eb37249e30263ab74652a03fc97534a771098317cfe1977ef8e0bb36deb22be7dd2e27c9d6981957e75cdcf4eb329e1491c539426a33f2053fd597c6f
7
+ data.tar.gz: 48fa1bd9ec01814d31abfc55643b9359d784ea766046bd5398aee7ea6e8e98a2087090b6c51f502f0584a10f784e2895319571132f7217db3fa8f946229ee572
@@ -7,11 +7,12 @@
7
7
  <p>Order #<%= @invoice.invoice_number %></p>
8
8
 
9
9
  <% if @invoice.customer %>
10
+ <% c = @invoice.customer %>
10
11
  <h2>Customer</h2>
11
12
  <p>
12
- <%= @customer.first_name %> <%= @customer.last_name %><br />
13
- <a href='mailto:<%= @customer.email %>'><%= @customer.email %></a><br />
14
- <% if @customer.phone %><%= raw @customer.phone %><% end %>
13
+ <%= c.first_name %> <%= c.last_name %><br />
14
+ <a href='mailto:<%= c.email %>'><%= c.email %></a><br />
15
+ <% if c.phone %><%= raw c.phone %><% end %>
15
16
  </p>
16
17
  <% end %>
17
18
 
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.40'
2
+ VERSION = '0.9.43'
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.40
4
+ version: 0.9.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-17 00:00:00.000000000 Z
11
+ date: 2017-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg