trado_pdf_invoice_module 0.1.0 → 0.1.1

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: 3ccf5edfef70da7a8fd9b932023b582b023e0aef
4
- data.tar.gz: 36780279255d9362596ab1ca84ab9b05ab06f95e
3
+ metadata.gz: 81455f53eacbfb6fcd84711370b6240eced711b3
4
+ data.tar.gz: 65bcb98cf69c4f6dd80d852fcc3be90948aa782f
5
5
  SHA512:
6
- metadata.gz: 05dac15c257e21852f9e2e424cc76d374803f701c1c7f7ebbb4df85bf3234a220524020d00a27fd53d1ee312f0c5a0b45eff411aa48af4634565ec0144dc4624
7
- data.tar.gz: 9acdf4a8c4d1c57a83e15a1c4570b6f8cd545c566a98c338f27d02833646d1406f71a786e94be4a47571d01e3813ec782879eeed1b760e04c780c32ada154a57
6
+ metadata.gz: 88fb99b213a3d9134a84104bca2e620a51fca449ff0aa9e433f3ea39e48009b1033652a94aab7cfa8eae822fe6ef04decac62c00b332368f4cba0aa9511074ae
7
+ data.tar.gz: 5a4d82678113b686ba3edb3b78121f9cb0b2ceafff95c8596251fc6b27c9962747cbc963c5f4a2d2b8b036422754d03dfa559c4d2422fbc1380aae8e0e3e1a31
data/README.md CHANGED
@@ -33,7 +33,7 @@ foreman start -f Procfile.dev
33
33
 
34
34
  ## Versioning
35
35
 
36
- Trado PayPal module follows Semantic Versioning 2.0 as defined at
36
+ Trado Pdf Invoice module follows Semantic Versioning 2.0 as defined at
37
37
  <http://semver.org>.
38
38
 
39
39
  ## How to contribute
@@ -45,5 +45,5 @@ Trado PayPal module follows Semantic Versioning 2.0 as defined at
45
45
  * Send a pull request against the *development* branch
46
46
 
47
47
  ## Copyright
48
- Copyright (c) 2016 [Tom Dallimore](http://www.tomdallimore.com/?utm_source=trado-pdf-invoice-module-github&utm_medium=website&utm_campaign=tomdallimore) ([@tom_dallimore](http://twitter.com/tom_dallimore))
48
+ Copyright (c) 2017 [Tom Dallimore](http://www.tomdallimore.com/?utm_source=trado-pdf-invoice-module-github&utm_medium=website&utm_campaign=tomdallimore) ([@tom_dallimore](http://twitter.com/tom_dallimore))
49
49
  Licenced under the MIT licence.
@@ -10,7 +10,7 @@ class TradoPdfInvoiceModule::Admin::OrdersController < ApplicationController
10
10
  private
11
11
 
12
12
  def set_order
13
- @order ||= Order.active.find(params[:id])
13
+ @order ||= Order.active.complete.find(params[:id])
14
14
  end
15
15
 
16
16
  def create_pdf
@@ -1,4 +1,6 @@
1
1
  WickedPdf.config = {
2
2
  exe_path: '/usr/local/bin/wkhtmltopdf',
3
- orientation: 'Portrait'
3
+ orientation: 'Portrait',
4
+ page_size: 'A4',
5
+ dpi: 300
4
6
  }
@@ -1,3 +1,3 @@
1
1
  module TradoPdfInvoiceModule
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trado_pdf_invoice_module
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Dallimore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-11 00:00:00.000000000 Z
11
+ date: 2017-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails