File tree Expand file tree Collapse file tree 3 files changed +25
-23
lines changed Expand file tree Collapse file tree 3 files changed +25
-23
lines changed Original file line number Diff line number Diff line change 1
- # InvoicePrinter
1
+ <a href =" http://strzibny.github.io/invoice_printer/ " >
2
+ <img src =" ./docs/web/logo.png " width =" 300 " />
3
+ </a >
4
+
5
+   ;
2
6
3
7
Super simple PDF invoicing in pure Ruby (based on Prawn library).
4
8
5
9
InvoicePrinter does not impose any validations nor calculations on you. It is
6
10
designed only to provide an interface to build the PDF version of these documents.
7
11
8
- ** New: First release candidate for stable 1.0.0 is here!**
9
-
10
- <p align =" center " >
11
- <a href =" https://github.com/strzibny/invoice_printer/raw/master/examples/promo.pdf " >
12
- <img src="./examples/picture.jpg" width="580" />
13
- </a >
14
- </p >
15
-
16
- See more usecases in the ` examples/ ` directory.
17
-
18
12
## Features
19
13
20
14
- Invoice/document name and number
@@ -32,6 +26,14 @@ See more usecases in the `examples/` directory.
32
26
- Note
33
27
- Well tested
34
28
29
+ ## Example
30
+
31
+ | Simple invoice |
32
+ | -------------- |
33
+ | <a href =" https://github.com/strzibny/invoice_printer/raw/master/examples/promo.pdf " ><img src =" ./examples/picture.jpg " width =" 180 " /></a >|
34
+
35
+ See more usecases in the ` examples/ ` directory.
36
+
35
37
## Installation
36
38
37
39
Add this line to your application's Gemfile:
@@ -46,7 +48,7 @@ And then execute:
46
48
47
49
Or install it yourself as:
48
50
49
- $ gem install invoice_printer --pre
51
+ $ gem install invoice_printer
50
52
51
53
## Usage
52
54
Original file line number Diff line number Diff line change 35
35
height : 845px ;
36
36
}
37
37
# photo-wrapper , # code { margin : 0 calc ((100% - 650px ) / 2 ); width : 650px ; height : 845px ; }
38
-
38
+
39
39
# photo-wrapper img { height : auto; }
40
40
# content { text-align : center; margin : 0 ; padding : 0 }
41
41
# box { width : 400px ; margin : auto; }
42
-
42
+
43
43
div .github {
44
44
position : absolute; right : 10px ; top : 10px ;
45
45
}
63
63
border-radius-left : 5px ;
64
64
left : calc (50% - 381px );
65
65
top : 40px ;
66
- background : red;
66
+ background : red;
67
67
color : white;
68
68
text-decoration : none;
69
69
}
212
212
</ pre >
213
213
</ div >
214
214
215
-
215
+
216
216
</ div >
217
-
217
+
218
218
</ div >
219
219
< div id ="content ">
220
220
< div class ="promo ">
231
231
232
232
< h2 style =""> Download</ h2 >
233
233
234
- < a href ="https://rubygems.org/gems/invoice_printer " class ="download "> < span > 1.0.0.rc1 </ span > </ a >
234
+ < a href ="https://rubygems.org/gems/invoice_printer " class ="download "> < span > 1.0.0</ span > </ a >
235
235
236
236
< h2 style =""> Install</ h2 >
237
-
237
+
238
238
< div style ="display: block; margin: 20px; color: black; padding: 10px; width: 250px; border-radius: 4px; margin: auto; ">
239
- < code style ="font-size:75px; "> $ gem install invoice_printer --pre </ code >
239
+ < code style ="font-size:75px; "> $ gem install invoice_printer</ code >
240
240
</ div >
241
241
242
242
< h2 style =""> Features</ h2 >
@@ -265,9 +265,9 @@ <h2 style="">Contribute</h2>
265
265
< div >
266
266
Contributions welcome at < a href ="https://github.com/strzibny/invoice_printer "> strzibny/invoice_printer</ a > .
267
267
</ div >
268
-
268
+
269
269
< h2 style =""> Authors</ h2 >
270
-
270
+
271
271
< div >
272
272
© < a href ="http://strzibny.name/ "> Josef Strzibny</ a >
273
273
</ div >
Original file line number Diff line number Diff line change 1
1
module InvoicePrinter
2
- VERSION = '1.0.0.rc1 '
2
+ VERSION = '1.0.0'
3
3
end
You can’t perform that action at this time.
0 commit comments