WooCommerce PDF Invoices & Packing Slips - Version 1.5.5

Version Description

  • Fix: Check for incomplete line tax data (Subscriptions compatibility)
  • Fix: More precise template path instructions
  • Fix: duplicate stylesheet filter
  • Fix: Always prefer original order's billing address for refunds (WooCommerce EU VAT Number compatibility)
  • Translations: Updated German (MwSt. instead of formal Ust.)
  • Translations: Updated Dutch
Download this release

Release Info

Developer pomegranate
Plugin Icon 128x128 WooCommerce PDF Invoices & Packing Slips
Version 1.5.5
Comparing to
See all releases

Code changes from version 1.5.4 to 1.5.5

includes/class-wcpdf-export.php CHANGED
@@ -35,7 +35,8 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
35
  $this->template_path = isset( $this->template_settings['template_path'] )?$this->template_settings['template_path']:'';
36
 
37
  // backwards compatible template path (1.4.4+ uses relative paths instead of absolute)
38
- if (strpos($this->template_path, ABSPATH) === false) {
 
39
  // add site base path, double check it exists!
40
  if ( file_exists( ABSPATH . $this->template_path ) ) {
41
  $this->template_path = ABSPATH . $this->template_path;
@@ -339,7 +340,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
339
 
340
  // Check if all parameters are set
341
  if( empty( $_GET['template_type'] ) || empty( $_GET['order_ids'] ) ) {
342
- wp_die( __( 'You do not have sufficient permissions to access this page.', 'wpo_wcpdf' ) );
343
  }
344
 
345
  // Check the user privileges
@@ -674,11 +675,10 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
674
  $data['quantity'] = $item['qty'];
675
 
676
  // Set the line total (=after discount)
677
- $quantity_divider = ( $item['qty'] == 0 ) ? 1 : $item['qty']; // prevent division by zero
678
  $data['line_total'] = $this->wc_price( $item['line_total'] );
679
- $data['single_line_total'] = $this->wc_price( $item['line_total'] / $quantity_divider );
680
  $data['line_tax'] = $this->wc_price( $item['line_tax'] );
681
- $data['single_line_tax'] = $this->wc_price( $item['line_tax'] / $quantity_divider );
682
 
683
  $line_tax_data = maybe_unserialize( isset( $item['line_tax_data'] ) ? $item['line_tax_data'] : '' );
684
  $data['tax_rates'] = $this->get_tax_rate( $item['tax_class'], $item['line_total'], $item['line_tax'], $line_tax_data );
@@ -732,7 +732,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
732
 
733
  }
734
 
735
- $data_list[] = apply_filters( 'wpo_wcpdf_order_item_data', $data, $this->order );
736
  }
737
  }
738
 
@@ -788,7 +788,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
788
  }
789
 
790
  // first try the easy wc2.2 way, using line_tax_data
791
- if ( !empty( $line_tax_data ) ) {
792
  $tax_rates = array();
793
 
794
  $line_taxes = $line_tax_data['total'];
35
  $this->template_path = isset( $this->template_settings['template_path'] )?$this->template_settings['template_path']:'';
36
 
37
  // backwards compatible template path (1.4.4+ uses relative paths instead of absolute)
38
+ $backslash_abspath = str_replace('/', '\\', ABSPATH);
39
+ if (strpos($this->template_path, ABSPATH) === false && strpos($this->template_path, $backslash_abspath) === false) {
40
  // add site base path, double check it exists!
41
  if ( file_exists( ABSPATH . $this->template_path ) ) {
42
  $this->template_path = ABSPATH . $this->template_path;
340
 
341
  // Check if all parameters are set
342
  if( empty( $_GET['template_type'] ) || empty( $_GET['order_ids'] ) ) {
343
+ wp_die( __( 'Some of the export parameters are missing.', 'wpo_wcpdf' ) );
344
  }
345
 
346
  // Check the user privileges
675
  $data['quantity'] = $item['qty'];
676
 
677
  // Set the line total (=after discount)
 
678
  $data['line_total'] = $this->wc_price( $item['line_total'] );
679
+ $data['single_line_total'] = $this->wc_price( $item['line_total'] / max( 1, $item['qty'] ) );
680
  $data['line_tax'] = $this->wc_price( $item['line_tax'] );
681
+ $data['single_line_tax'] = $this->wc_price( $item['line_tax'] / max( 1, $item['qty'] ) );
682
 
683
  $line_tax_data = maybe_unserialize( isset( $item['line_tax_data'] ) ? $item['line_tax_data'] : '' );
684
  $data['tax_rates'] = $this->get_tax_rate( $item['tax_class'], $item['line_total'], $item['line_tax'], $line_tax_data );
732
 
733
  }
734
 
735
+ $data_list[$item_id] = apply_filters( 'wpo_wcpdf_order_item_data', $data, $this->order );
736
  }
737
  }
738
 
788
  }
789
 
790
  // first try the easy wc2.2 way, using line_tax_data
791
+ if ( !empty( $line_tax_data ) && isset($line_tax_data['total']) ) {
792
  $tax_rates = array();
793
 
794
  $line_taxes = $line_tax_data['total'];
includes/class-wcpdf-settings.php CHANGED
@@ -164,7 +164,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
164
  */
165
 
166
  public function init_settings() {
167
- global $woocommerce;
168
 
169
  /**************************************/
170
  /*********** GENERAL SETTINGS *********/
@@ -271,8 +271,8 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
271
  );
272
 
273
 
274
- $theme_path = get_stylesheet_directory();
275
- $theme_template_path = substr($theme_path, strpos($theme_path, 'wp-content')) . '/woocommerce/pdf/yourtemplate';
276
  $plugin_template_path = 'wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/pdf/Simple';
277
 
278
  add_settings_field(
164
  */
165
 
166
  public function init_settings() {
167
+ global $woocommerce, $wpo_wcpdf;
168
 
169
  /**************************************/
170
  /*********** GENERAL SETTINGS *********/
271
  );
272
 
273
 
274
+ $theme_path = get_stylesheet_directory() . '/' . $wpo_wcpdf->export->template_base_path;
275
+ $theme_template_path = substr($theme_path, strpos($theme_path, 'wp-content')) . 'yourtemplate';
276
  $plugin_template_path = 'wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/pdf/Simple';
277
 
278
  add_settings_field(
languages/wpo_wcpdf-de_DE.mo CHANGED
Binary file
languages/wpo_wcpdf-de_DE.po CHANGED
@@ -2,14 +2,14 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "POT-Creation-Date: 2014-11-19 12:22+0100\n"
5
- "PO-Revision-Date: 2014-12-02 15:02+0100\n"
6
- "Last-Translator: Dietmar Hohn <info@pronatur24.eu>\n"
7
  "Language-Team: PROnatur24 <info@pronatur24.eu>\n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.10\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
@@ -159,11 +159,11 @@ msgstr "Logo entfernen"
159
 
160
  #: includes/class-wcpdf-settings.php:312
161
  msgid "Shop Name"
162
- msgstr "Shop Name"
163
 
164
  #: includes/class-wcpdf-settings.php:325
165
  msgid "Shop Address"
166
- msgstr "Shop Adresse"
167
 
168
  #: includes/class-wcpdf-settings.php:357
169
  msgid "Footer: terms & conditions, policies, etc."
@@ -404,16 +404,20 @@ msgid ""
404
  "Automatically send new orders or packing slips to your printer, as soon as "
405
  "the customer orders!"
406
  msgstr ""
 
 
407
 
408
  #: includes/wcpdf-extensions.php:66
409
  msgid ""
410
  "Check out the WooCommerce Automatic Order Printing extension from our "
411
  "partners at Simba Hosting"
412
  msgstr ""
 
 
413
 
414
  #: includes/wcpdf-extensions.php:67
415
  msgid "WooCommerce Automatic Order Printing"
416
- msgstr ""
417
 
418
  #: includes/wcpdf-extensions.php:81
419
  msgid "More advanced templates"
@@ -465,7 +469,7 @@ msgstr "Bestelldatum:"
465
 
466
  #: templates/pdf/Simple/invoice.php:43
467
  msgid "Payment Method:"
468
- msgstr "Zahlungsmethode:"
469
 
470
  #: templates/pdf/Simple/invoice.php:58
471
  #: templates/pdf/Simple/packing-slip.php:48
@@ -540,12 +544,13 @@ msgstr "Rabatt"
540
 
541
  #: woocommerce-pdf-invoices-packingslips.php:579
542
  msgid "VAT"
543
- msgstr "USt."
544
 
545
  #: woocommerce-pdf-invoices-packingslips.php:616
546
  msgid "Total ex. VAT"
547
- msgstr "Summe ohne USt."
548
 
549
  #: woocommerce-pdf-invoices-packingslips.php:619
550
  msgid "Total"
551
  msgstr "Gesamtsumme"
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "POT-Creation-Date: 2014-11-19 12:22+0100\n"
5
+ "PO-Revision-Date: 2015-02-24 13:35+0100\n"
6
+ "Last-Translator: Jens Nachtigall <mail@nachtigall.io>\n"
7
  "Language-Team: PROnatur24 <info@pronatur24.eu>\n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.4\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
159
 
160
  #: includes/class-wcpdf-settings.php:312
161
  msgid "Shop Name"
162
+ msgstr "Name des Shops"
163
 
164
  #: includes/class-wcpdf-settings.php:325
165
  msgid "Shop Address"
166
+ msgstr "Adresse des Shops"
167
 
168
  #: includes/class-wcpdf-settings.php:357
169
  msgid "Footer: terms & conditions, policies, etc."
404
  "Automatically send new orders or packing slips to your printer, as soon as "
405
  "the customer orders!"
406
  msgstr ""
407
+ "Schicke neue Bestellungen oder Lieferscheine automatisch an deinen Drucker, "
408
+ "sobald ein Kunde bestellt."
409
 
410
  #: includes/wcpdf-extensions.php:66
411
  msgid ""
412
  "Check out the WooCommerce Automatic Order Printing extension from our "
413
  "partners at Simba Hosting"
414
  msgstr ""
415
+ "Probiere die Erweiterung „WooCommerce Automatic Order Printing“ unserem "
416
+ "Partner Simba Hosting "
417
 
418
  #: includes/wcpdf-extensions.php:67
419
  msgid "WooCommerce Automatic Order Printing"
420
+ msgstr "WooCommerce Automatic Order Printing"
421
 
422
  #: includes/wcpdf-extensions.php:81
423
  msgid "More advanced templates"
469
 
470
  #: templates/pdf/Simple/invoice.php:43
471
  msgid "Payment Method:"
472
+ msgstr "Zahlungsart:"
473
 
474
  #: templates/pdf/Simple/invoice.php:58
475
  #: templates/pdf/Simple/packing-slip.php:48
544
 
545
  #: woocommerce-pdf-invoices-packingslips.php:579
546
  msgid "VAT"
547
+ msgstr "MwSt."
548
 
549
  #: woocommerce-pdf-invoices-packingslips.php:616
550
  msgid "Total ex. VAT"
551
+ msgstr "Gesamtsumme ohne MwSt."
552
 
553
  #: woocommerce-pdf-invoices-packingslips.php:619
554
  msgid "Total"
555
  msgstr "Gesamtsumme"
556
+
languages/wpo_wcpdf-nl_NL.mo CHANGED
Binary file
languages/wpo_wcpdf-nl_NL.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-12-11 16:50+0100\n"
6
- "PO-Revision-Date: 2015-01-22 10:45+0100\n"
7
  "Last-Translator: Ewout Fernhout <chocolade@extrapuur.nl>\n"
8
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
9
  "Language: nl_NL\n"
@@ -16,22 +16,25 @@ msgstr ""
16
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
  "X-Poedit-Basepath: ../\n"
18
  "X-Textdomain-Support: yes\n"
19
- "X-Generator: Poedit 1.7.3\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
- #: includes/class-wcpdf-export.php:326 includes/class-wcpdf-export.php:331
23
- #: includes/class-wcpdf-export.php:336 includes/class-wcpdf-export.php:347
24
- #: includes/class-wcpdf-export.php:355
25
  msgid "You do not have sufficient permissions to access this page."
26
  msgstr "Je hebt onvoldoende rechten voor deze pagina."
27
 
28
- #: includes/class-wcpdf-export.php:410
 
 
 
 
29
  msgid "invoice"
30
  msgid_plural "invoices"
31
  msgstr[0] "factuur"
32
  msgstr[1] "facturen"
33
 
34
- #: includes/class-wcpdf-export.php:414
35
  msgid "packing-slip"
36
  msgid_plural "packing-slips"
37
  msgstr[0] "pakbon"
@@ -42,63 +45,63 @@ msgstr[1] "pakbonnen"
42
  msgid "PDF Invoices"
43
  msgstr "PDF facturen"
44
 
45
- #: includes/class-wcpdf-settings.php:69
46
  msgid "Settings"
47
  msgstr "Instellingen"
48
 
49
- #: includes/class-wcpdf-settings.php:91
50
  msgid "General"
51
  msgstr "Algemeen"
52
 
53
- #: includes/class-wcpdf-settings.php:92
54
  msgid "Template"
55
  msgstr "Template"
56
 
57
- #: includes/class-wcpdf-settings.php:97
58
  msgid "Status"
59
  msgstr "Status"
60
 
61
- #: includes/class-wcpdf-settings.php:105
62
  msgid "WooCommerce PDF Invoices"
63
  msgstr "WooCommerce PDF Facturen"
64
 
65
- #: includes/class-wcpdf-settings.php:172
66
  msgid "General settings"
67
  msgstr "Algemene instellingen"
68
 
69
- #: includes/class-wcpdf-settings.php:179
70
  msgid "How do you want to view the PDF?"
71
  msgstr "Hoe wil je de PDF bekijken?"
72
 
73
- #: includes/class-wcpdf-settings.php:187
74
  msgid "Download the PDF"
75
  msgstr "Download de PDF"
76
 
77
- #: includes/class-wcpdf-settings.php:188
78
  msgid "Open the PDF in a new browser tab/window"
79
  msgstr "Open de PDF in een nieuwe browser tab/venster"
80
 
81
- #: includes/class-wcpdf-settings.php:197
82
  msgid "Admin New Order email"
83
  msgstr "Nieuwe bestelling (admin email)"
84
 
85
- #: includes/class-wcpdf-settings.php:198
86
  msgid "Customer Processing Order email"
87
  msgstr "Bestelling in behandeling (klant email)"
88
 
89
- #: includes/class-wcpdf-settings.php:199
90
  msgid "Customer Completed Order email"
91
  msgstr "Bestelling afgerond (klant email)"
92
 
93
- #: includes/class-wcpdf-settings.php:200
94
  msgid "Customer Invoice email"
95
  msgstr "Factuur (klant email)"
96
 
97
- #: includes/class-wcpdf-settings.php:205
98
  msgid "Attach invoice to:"
99
  msgstr "Factuur als bijlage toevoegen aan:"
100
 
101
- #: includes/class-wcpdf-settings.php:213
102
  #, php-format
103
  msgid ""
104
  "It looks like the temp folder (<code>%s</code>) is not writable, check the "
@@ -109,19 +112,19 @@ msgstr ""
109
  "controleer de rechten op deze folder! Zonder schrijfrechten kan de plugin "
110
  "geen facturen emailen."
111
 
112
- #: includes/class-wcpdf-settings.php:219
113
  msgid "Enable invoice number column in the orders list"
114
  msgstr "Schakel factuurnummer kolom in het bestellingen overzicht in"
115
 
116
- #: includes/class-wcpdf-settings.php:257
117
  msgid "PDF Template settings"
118
  msgstr "PDF Template instellingen"
119
 
120
- #: includes/class-wcpdf-settings.php:269
121
  msgid "Choose a template"
122
  msgstr "Kies een template"
123
 
124
- #: includes/class-wcpdf-settings.php:277
125
  #, php-format
126
  msgid ""
127
  "Want to use your own template? Copy all the files from <code>%s</code> to "
@@ -130,59 +133,59 @@ msgstr ""
130
  "Wil je je eigen template gebruiken? Kopieer alle bestanden van <code>%s</"
131
  "code> naar je (child-) theme in <code>%s</code> en pas ze aan naar je wensen."
132
 
133
- #: includes/class-wcpdf-settings.php:283
134
  msgid "Paper size"
135
  msgstr "Papierformaat"
136
 
137
- #: includes/class-wcpdf-settings.php:291
138
  msgid "A4"
139
  msgstr "A4"
140
 
141
- #: includes/class-wcpdf-settings.php:292
142
  msgid "Letter"
143
  msgstr "Letter (US)"
144
 
145
- #: includes/class-wcpdf-settings.php:299
146
  msgid "Shop header/logo"
147
  msgstr "Shop header/logo"
148
 
149
- #: includes/class-wcpdf-settings.php:306
150
  msgid "Select or upload your invoice header/logo"
151
  msgstr "Selecteer of upload je factuur header/logo"
152
 
153
- #: includes/class-wcpdf-settings.php:307
154
  msgid "Set image"
155
  msgstr "Stel afbeelding in"
156
 
157
- #: includes/class-wcpdf-settings.php:308
158
  msgid "Remove image"
159
  msgstr "Verwijder afbeelding"
160
 
161
- #: includes/class-wcpdf-settings.php:315
162
  msgid "Shop Name"
163
  msgstr "Shop Naam"
164
 
165
- #: includes/class-wcpdf-settings.php:328
166
  msgid "Shop Address"
167
  msgstr "Shop Adres"
168
 
169
- #: includes/class-wcpdf-settings.php:360
170
  msgid "Footer: terms & conditions, policies, etc."
171
  msgstr "Voettekst: algemene voorwaarden, retourenbeleid, etc."
172
 
173
- #: includes/class-wcpdf-settings.php:375
174
  msgid "Display invoice date"
175
  msgstr "Geef factuurdatum weer"
176
 
177
- #: includes/class-wcpdf-settings.php:388
178
  msgid "Display built-in sequential invoice number"
179
  msgstr "Geef ingebouwde doorlopende factuurnummers weer"
180
 
181
- #: includes/class-wcpdf-settings.php:401
182
  msgid "Next invoice number (without prefix/suffix etc.)"
183
  msgstr "Volgend factuurnummer (zonder voor- of achtervoegsel etc.)"
184
 
185
- #: includes/class-wcpdf-settings.php:409
186
  msgid ""
187
  "This is the number that will be used on the next invoice that is created. By "
188
  "default, numbering starts from the WooCommerce Order Number of the first "
@@ -197,15 +200,15 @@ msgstr ""
197
  "hoogste huidige (PDF) factuurnummer zet, kan dit dubbele factuurnummers tot "
198
  "gevolg hebben!"
199
 
200
- #: includes/class-wcpdf-settings.php:415
201
  msgid "Invoice number format"
202
  msgstr "Factuurnummer format"
203
 
204
- #: includes/class-wcpdf-settings.php:424
205
  msgid "Prefix"
206
  msgstr "Voorvoegsel"
207
 
208
- #: includes/class-wcpdf-settings.php:426
209
  msgid ""
210
  "to use the order year and/or month, use [order_year] or [order_month] "
211
  "respectively"
@@ -213,21 +216,21 @@ msgstr ""
213
  "gebruik [order_year] of [order_month] om het order jaar en/of maand te weer "
214
  "te geven"
215
 
216
- #: includes/class-wcpdf-settings.php:429
217
  msgid "Suffix"
218
  msgstr "Achtervoegsel"
219
 
220
- #: includes/class-wcpdf-settings.php:434
221
  msgid "Padding"
222
  msgstr "Vulling"
223
 
224
- #: includes/class-wcpdf-settings.php:436
225
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
226
  msgstr ""
227
  "voer hier het aantal cijfers in - vul hier \"6\" in om 42 als 000042 weer te "
228
  "geven"
229
 
230
- #: includes/class-wcpdf-settings.php:439
231
  msgid ""
232
  "note: if you have already created a custom invoice number format with a "
233
  "filter, the above settings will be ignored"
@@ -235,43 +238,43 @@ msgstr ""
235
  "let op: als je al een format voor een factuurnummer hebt gemaakt met een "
236
  "filter, worden de bovenstaande instellingen genegeerd"
237
 
238
- #: includes/class-wcpdf-settings.php:446
239
  msgid "Extra template fields"
240
  msgstr "Extra templatevelden"
241
 
242
- #: includes/class-wcpdf-settings.php:453
243
  msgid "Extra field 1"
244
  msgstr "Extra veld 1"
245
 
246
- #: includes/class-wcpdf-settings.php:462
247
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
248
  msgstr "Dit is voettekst kolom 1 in het <i>Modern (Premium)</i> template"
249
 
250
- #: includes/class-wcpdf-settings.php:468
251
  msgid "Extra field 2"
252
  msgstr "Extra veld 2"
253
 
254
- #: includes/class-wcpdf-settings.php:477
255
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
256
  msgstr "Dit is voettekst kolom 2 in het <i>Modern (Premium)</i> template"
257
 
258
- #: includes/class-wcpdf-settings.php:483
259
  msgid "Extra field 3"
260
  msgstr "Extra veld 3"
261
 
262
- #: includes/class-wcpdf-settings.php:492
263
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
264
  msgstr "Dit is voettekst kolom 3 in het <i>Modern (Premium)</i> template"
265
 
266
- #: includes/class-wcpdf-settings.php:534
267
  msgid "Debug settings"
268
  msgstr "Debug instellingen"
269
 
270
- #: includes/class-wcpdf-settings.php:541
271
  msgid "Enable debug output"
272
  msgstr "Debug uitvoer inschakelen"
273
 
274
- #: includes/class-wcpdf-settings.php:548
275
  msgid ""
276
  "Enable this option to output plugin errors if you're getting a blank page or "
277
  "other PDF generation issues"
@@ -279,22 +282,22 @@ msgstr ""
279
  "Schakel deze optie in om pluginfouten weer te geven, wanneer je een lege "
280
  "pagina krijgt of andere problemen hebt met het genereren van PDF."
281
 
282
- #: includes/class-wcpdf-settings.php:554
283
  msgid "Output to HTML"
284
  msgstr "Uitvoer naar HTML"
285
 
286
- #: includes/class-wcpdf-settings.php:561
287
  msgid ""
288
  "Send the template output as HTML to the browser instead of creating a PDF."
289
  msgstr ""
290
  "Stuur de uitvoer van de template als HTML naar de browser in plaats van een "
291
  "PDF."
292
 
293
- #: includes/class-wcpdf-settings.php:567
294
  msgid "Use old tmp folder"
295
  msgstr "Gebruik de oude tmp folder"
296
 
297
- #: includes/class-wcpdf-settings.php:574
298
  msgid ""
299
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
300
  "plugin folder. This setting is only intended for backwards compatibility, "
@@ -304,11 +307,11 @@ msgstr ""
304
  "de plugin map. Deze instelling is enkel bedoelde voor backwards "
305
  "compatibiliteit, en niet aanbevolen op nieuwe installaties!"
306
 
307
- #: includes/class-wcpdf-settings.php:818
308
  msgid "Image resolution"
309
  msgstr "Afbeeldings resolutie"
310
 
311
- #: includes/class-wcpdf-settings.php:934
312
  msgid ""
313
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
314
  "Do not use them on a live website!"
@@ -316,7 +319,7 @@ msgstr ""
316
  "<b>Waarschuwing!</b> Onderstaande instellingen zijn enkel bedoeld om fouten "
317
  "op te sporen of om te testen. Gebruik ze niet op een live website!"
318
 
319
- #: includes/class-wcpdf-settings.php:943
320
  msgid ""
321
  "These are used for the (optional) footer columns in the <em>Modern "
322
  "(Premium)</em> template, but can also be used for other elements in your "
@@ -330,42 +333,42 @@ msgstr ""
330
  msgid "PDF Packing Slips"
331
  msgstr "PDF Pakbonnen"
332
 
333
- #: includes/class-wcpdf-writepanels.php:92
334
- #: includes/class-wcpdf-writepanels.php:185
335
  msgid "PDF Invoice"
336
  msgstr "PDF factuur"
337
 
338
- #: includes/class-wcpdf-writepanels.php:97
339
- #: includes/class-wcpdf-writepanels.php:190
340
  msgid "PDF Packing Slip"
341
  msgstr "PDF Pakbon"
342
 
343
- #: includes/class-wcpdf-writepanels.php:124
344
  msgid "Invoice Number"
345
  msgstr "Factuurnummer"
346
 
347
- #: includes/class-wcpdf-writepanels.php:161
348
  msgid "Download invoice (PDF)"
349
  msgstr "Download factuur (PDF)"
350
 
351
- #: includes/class-wcpdf-writepanels.php:172
352
  msgid "Create PDF"
353
  msgstr "Maak PDF"
354
 
355
- #: includes/class-wcpdf-writepanels.php:233
356
  msgid "PDF Invoice Number (unformatted!)"
357
  msgstr "PDF Factuurnummer (zonder formatting!)"
358
 
359
- #: includes/class-wcpdf-writepanels.php:236
360
  #: templates/pdf/Simple/invoice.php:36
361
  msgid "Invoice Date:"
362
  msgstr "Factuurdatum:"
363
 
364
- #: includes/class-wcpdf-writepanels.php:237
365
  msgid "h"
366
  msgstr "u"
367
 
368
- #: includes/class-wcpdf-writepanels.php:237
369
  msgid "m"
370
  msgstr "m"
371
 
@@ -395,21 +398,29 @@ msgstr "Email/print/download <b>PDF Credit Nota's & Pro-forma facturen</b>"
395
 
396
  #: includes/wcpdf-extensions.php:28
397
  msgid ""
398
- "Attach a <b>static file</b> (for example a terms & conditions document) to "
399
- "the WooCommerce emails of your choice."
400
  msgstr ""
401
- "Voeg een <b>statisch bestand</b> (bijvoorbeeld een document met algemene "
402
- "voorwaarden) toe aan WooCommerce emails naar keuze."
403
 
404
  #: includes/wcpdf-extensions.php:29
405
  msgid ""
 
 
 
 
 
 
 
 
406
  "Use <b>separate numbering systems</b> and/or format for proforma invoices "
407
  "and credit notes or utilize the main invoice numbering system"
408
  msgstr ""
409
  "Gebruik <b>losse nummersystemen</b> en/of formats voor pro-forma facturen en "
410
  "credit notes, of gebruik het hoofd factuurnummersysteem."
411
 
412
- #: includes/wcpdf-extensions.php:30
413
  msgid ""
414
  "<b>Customize</b> the <b>shipping & billing address</b> format to include "
415
  "additional custom fields, font sizes etc. without the need to create a "
@@ -418,19 +429,19 @@ msgstr ""
418
  "<b>Pas het verzend- en factuuradres aan</b> met custom velden, verschillende "
419
  "fontgroottes etc, zonder daarvoor een custom template aan te maken."
420
 
421
- #: includes/wcpdf-extensions.php:31
422
  msgid "Use the plugin in multilingual <b>WPML</b> setups"
423
  msgstr "Gebruik de plugin in meertalige <b>WPML</b> setups"
424
 
425
- #: includes/wcpdf-extensions.php:33
426
  msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
427
  msgstr "Neem WooCommerce PDF Invoices & Packing Slips Professional!"
428
 
429
- #: includes/wcpdf-extensions.php:41
430
  msgid "Upload all invoices automatically to your dropbox"
431
  msgstr "Upload alle facturen automatisch naar je Dropbox"
432
 
433
- #: includes/wcpdf-extensions.php:47
434
  msgid ""
435
  "This extension conveniently uploads all the invoices (and other pdf "
436
  "documents from the professional extension) that are emailed to your "
@@ -441,11 +452,11 @@ msgstr ""
441
  "professional extensie) die worden ge-emaild naar je klanten naar Dropbox. De "
442
  "beste manier om je factuur administratie up te date te houden!"
443
 
444
- #: includes/wcpdf-extensions.php:48
445
  msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
446
  msgstr "Neem WooCommerce PDF Invoices & Packing Slips to dropbox!"
447
 
448
- #: includes/wcpdf-extensions.php:60
449
  msgid ""
450
  "Automatically send new orders or packing slips to your printer, as soon as "
451
  "the customer orders!"
@@ -453,7 +464,7 @@ msgstr ""
453
  "Verstuur nieuwe orders of pakbonnen automatisch naar je printer, zodra een "
454
  "klant een bestelling plaatst."
455
 
456
- #: includes/wcpdf-extensions.php:66
457
  msgid ""
458
  "Check out the WooCommerce Automatic Order Printing extension from our "
459
  "partners at Simba Hosting"
@@ -461,28 +472,28 @@ msgstr ""
461
  "Bekijk de WooCommerce Automatic Order Printing extensie van onze parters van "
462
  "Simba Hosting"
463
 
464
- #: includes/wcpdf-extensions.php:67
465
  msgid "WooCommerce Automatic Order Printing"
466
  msgstr "WooCommerce Automatic Order Printing"
467
 
468
- #: includes/wcpdf-extensions.php:81
469
  msgid "More advanced templates"
470
  msgstr "Geavanceerde templates"
471
 
472
- #: includes/wcpdf-extensions.php:84
473
  msgid "Stylish modern invoices & packing slips with product thumbnails!"
474
  msgstr "Stijlvolle moderne facturen en pakbonnen met productafbeeldingen"
475
 
476
- #: includes/wcpdf-extensions.php:85
477
  msgid "More tax details on the invoices!"
478
  msgstr "Meer BTW details op de factuur!"
479
 
480
- #: includes/wcpdf-extensions.php:86
481
  #, php-format
482
  msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
483
  msgstr "Bekijk de Premium PDF Invoice & Packing Slips templates op %s."
484
 
485
- #: includes/wcpdf-extensions.php:87
486
  #, php-format
487
  msgid "For custom templates, contact us at %s."
488
  msgstr "Neem voor custom templates contact met ons op via %s"
@@ -530,26 +541,26 @@ msgstr "Hoeveelheid"
530
  msgid "Price"
531
  msgstr "Prijs"
532
 
533
- #: templates/pdf/Simple/invoice.php:66
534
  msgid "Description"
535
  msgstr "Omschrijving"
536
 
537
- #: templates/pdf/Simple/invoice.php:69
538
  msgid "SKU"
539
  msgstr "Artikelnummer"
540
 
541
- #: templates/pdf/Simple/invoice.php:70
542
- #: templates/pdf/Simple/packing-slip.php:57
543
  msgid "SKU:"
544
  msgstr "SKU:"
545
 
546
- #: templates/pdf/Simple/invoice.php:71
547
- #: templates/pdf/Simple/packing-slip.php:58
548
  msgid "Weight:"
549
  msgstr "Gewicht:"
550
 
551
- #: templates/pdf/Simple/invoice.php:105
552
- #: templates/pdf/Simple/packing-slip.php:73
553
  msgid "Customer Notes"
554
  msgstr "Opmerking klant:"
555
 
@@ -562,43 +573,50 @@ msgstr ""
562
  "WooCommerce PDF Invoices & Packing Slips vereist dat %sWooCommerce%s is "
563
  "geïnstalleerd & geactiveerd!"
564
 
565
- #: woocommerce-pdf-invoices-packingslips.php:296
566
- #: woocommerce-pdf-invoices-packingslips.php:359
567
  msgid "N/A"
568
  msgstr "N/A"
569
 
570
- #: woocommerce-pdf-invoices-packingslips.php:448
571
  msgid "Payment method"
572
  msgstr "Betaalmethode"
573
 
574
- #: woocommerce-pdf-invoices-packingslips.php:459
575
  msgid "Shipping method"
576
  msgstr "Verzendmethode"
577
 
578
- #: woocommerce-pdf-invoices-packingslips.php:574
579
  msgid "Subtotal"
580
  msgstr "Subtotaal"
581
 
582
- #: woocommerce-pdf-invoices-packingslips.php:596
583
  msgid "Shipping"
584
  msgstr "Verzendkosten"
585
 
586
- #: woocommerce-pdf-invoices-packingslips.php:641
587
  msgid "Discount"
588
  msgstr "Korting"
589
 
590
- #: woocommerce-pdf-invoices-packingslips.php:680
591
  msgid "VAT"
592
  msgstr "BTW"
593
 
594
- #: woocommerce-pdf-invoices-packingslips.php:717
595
  msgid "Total ex. VAT"
596
  msgstr "Totaal excl. BTW"
597
 
598
- #: woocommerce-pdf-invoices-packingslips.php:720
599
  msgid "Total"
600
  msgstr "Totaal"
601
 
 
 
 
 
 
 
 
602
  #~ msgid "Number to display on invoice"
603
  #~ msgstr "Nummer op de factuur"
604
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-03-13 14:38+0100\n"
6
+ "PO-Revision-Date: 2015-03-13 14:42+0100\n"
7
  "Last-Translator: Ewout Fernhout <chocolade@extrapuur.nl>\n"
8
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
9
  "Language: nl_NL\n"
16
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
  "X-Poedit-Basepath: ../\n"
18
  "X-Textdomain-Support: yes\n"
19
+ "X-Generator: Poedit 1.7.5\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
+ #: includes/class-wcpdf-export.php:338 includes/class-wcpdf-export.php:348
23
+ #: includes/class-wcpdf-export.php:359 includes/class-wcpdf-export.php:367
 
24
  msgid "You do not have sufficient permissions to access this page."
25
  msgstr "Je hebt onvoldoende rechten voor deze pagina."
26
 
27
+ #: includes/class-wcpdf-export.php:343
28
+ msgid "Some of the export parameters are missing."
29
+ msgstr "Er ontbreken export parameters"
30
+
31
+ #: includes/class-wcpdf-export.php:422
32
  msgid "invoice"
33
  msgid_plural "invoices"
34
  msgstr[0] "factuur"
35
  msgstr[1] "facturen"
36
 
37
+ #: includes/class-wcpdf-export.php:426
38
  msgid "packing-slip"
39
  msgid_plural "packing-slips"
40
  msgstr[0] "pakbon"
45
  msgid "PDF Invoices"
46
  msgstr "PDF facturen"
47
 
48
+ #: includes/class-wcpdf-settings.php:80
49
  msgid "Settings"
50
  msgstr "Instellingen"
51
 
52
+ #: includes/class-wcpdf-settings.php:102
53
  msgid "General"
54
  msgstr "Algemeen"
55
 
56
+ #: includes/class-wcpdf-settings.php:103
57
  msgid "Template"
58
  msgstr "Template"
59
 
60
+ #: includes/class-wcpdf-settings.php:108
61
  msgid "Status"
62
  msgstr "Status"
63
 
64
+ #: includes/class-wcpdf-settings.php:116
65
  msgid "WooCommerce PDF Invoices"
66
  msgstr "WooCommerce PDF Facturen"
67
 
68
+ #: includes/class-wcpdf-settings.php:183
69
  msgid "General settings"
70
  msgstr "Algemene instellingen"
71
 
72
+ #: includes/class-wcpdf-settings.php:190
73
  msgid "How do you want to view the PDF?"
74
  msgstr "Hoe wil je de PDF bekijken?"
75
 
76
+ #: includes/class-wcpdf-settings.php:198
77
  msgid "Download the PDF"
78
  msgstr "Download de PDF"
79
 
80
+ #: includes/class-wcpdf-settings.php:199
81
  msgid "Open the PDF in a new browser tab/window"
82
  msgstr "Open de PDF in een nieuwe browser tab/venster"
83
 
84
+ #: includes/class-wcpdf-settings.php:208
85
  msgid "Admin New Order email"
86
  msgstr "Nieuwe bestelling (admin email)"
87
 
88
+ #: includes/class-wcpdf-settings.php:209
89
  msgid "Customer Processing Order email"
90
  msgstr "Bestelling in behandeling (klant email)"
91
 
92
+ #: includes/class-wcpdf-settings.php:210
93
  msgid "Customer Completed Order email"
94
  msgstr "Bestelling afgerond (klant email)"
95
 
96
+ #: includes/class-wcpdf-settings.php:211
97
  msgid "Customer Invoice email"
98
  msgstr "Factuur (klant email)"
99
 
100
+ #: includes/class-wcpdf-settings.php:216
101
  msgid "Attach invoice to:"
102
  msgstr "Factuur als bijlage toevoegen aan:"
103
 
104
+ #: includes/class-wcpdf-settings.php:224
105
  #, php-format
106
  msgid ""
107
  "It looks like the temp folder (<code>%s</code>) is not writable, check the "
112
  "controleer de rechten op deze folder! Zonder schrijfrechten kan de plugin "
113
  "geen facturen emailen."
114
 
115
+ #: includes/class-wcpdf-settings.php:230
116
  msgid "Enable invoice number column in the orders list"
117
  msgstr "Schakel factuurnummer kolom in het bestellingen overzicht in"
118
 
119
+ #: includes/class-wcpdf-settings.php:268
120
  msgid "PDF Template settings"
121
  msgstr "PDF Template instellingen"
122
 
123
+ #: includes/class-wcpdf-settings.php:280
124
  msgid "Choose a template"
125
  msgstr "Kies een template"
126
 
127
+ #: includes/class-wcpdf-settings.php:288
128
  #, php-format
129
  msgid ""
130
  "Want to use your own template? Copy all the files from <code>%s</code> to "
133
  "Wil je je eigen template gebruiken? Kopieer alle bestanden van <code>%s</"
134
  "code> naar je (child-) theme in <code>%s</code> en pas ze aan naar je wensen."
135
 
136
+ #: includes/class-wcpdf-settings.php:294
137
  msgid "Paper size"
138
  msgstr "Papierformaat"
139
 
140
+ #: includes/class-wcpdf-settings.php:302
141
  msgid "A4"
142
  msgstr "A4"
143
 
144
+ #: includes/class-wcpdf-settings.php:303
145
  msgid "Letter"
146
  msgstr "Letter (US)"
147
 
148
+ #: includes/class-wcpdf-settings.php:310
149
  msgid "Shop header/logo"
150
  msgstr "Shop header/logo"
151
 
152
+ #: includes/class-wcpdf-settings.php:317
153
  msgid "Select or upload your invoice header/logo"
154
  msgstr "Selecteer of upload je factuur header/logo"
155
 
156
+ #: includes/class-wcpdf-settings.php:318
157
  msgid "Set image"
158
  msgstr "Stel afbeelding in"
159
 
160
+ #: includes/class-wcpdf-settings.php:319
161
  msgid "Remove image"
162
  msgstr "Verwijder afbeelding"
163
 
164
+ #: includes/class-wcpdf-settings.php:326
165
  msgid "Shop Name"
166
  msgstr "Shop Naam"
167
 
168
+ #: includes/class-wcpdf-settings.php:339
169
  msgid "Shop Address"
170
  msgstr "Shop Adres"
171
 
172
+ #: includes/class-wcpdf-settings.php:371
173
  msgid "Footer: terms & conditions, policies, etc."
174
  msgstr "Voettekst: algemene voorwaarden, retourenbeleid, etc."
175
 
176
+ #: includes/class-wcpdf-settings.php:386
177
  msgid "Display invoice date"
178
  msgstr "Geef factuurdatum weer"
179
 
180
+ #: includes/class-wcpdf-settings.php:399
181
  msgid "Display built-in sequential invoice number"
182
  msgstr "Geef ingebouwde doorlopende factuurnummers weer"
183
 
184
+ #: includes/class-wcpdf-settings.php:412
185
  msgid "Next invoice number (without prefix/suffix etc.)"
186
  msgstr "Volgend factuurnummer (zonder voor- of achtervoegsel etc.)"
187
 
188
+ #: includes/class-wcpdf-settings.php:420
189
  msgid ""
190
  "This is the number that will be used on the next invoice that is created. By "
191
  "default, numbering starts from the WooCommerce Order Number of the first "
200
  "hoogste huidige (PDF) factuurnummer zet, kan dit dubbele factuurnummers tot "
201
  "gevolg hebben!"
202
 
203
+ #: includes/class-wcpdf-settings.php:426
204
  msgid "Invoice number format"
205
  msgstr "Factuurnummer format"
206
 
207
+ #: includes/class-wcpdf-settings.php:435
208
  msgid "Prefix"
209
  msgstr "Voorvoegsel"
210
 
211
+ #: includes/class-wcpdf-settings.php:437
212
  msgid ""
213
  "to use the order year and/or month, use [order_year] or [order_month] "
214
  "respectively"
216
  "gebruik [order_year] of [order_month] om het order jaar en/of maand te weer "
217
  "te geven"
218
 
219
+ #: includes/class-wcpdf-settings.php:440
220
  msgid "Suffix"
221
  msgstr "Achtervoegsel"
222
 
223
+ #: includes/class-wcpdf-settings.php:445
224
  msgid "Padding"
225
  msgstr "Vulling"
226
 
227
+ #: includes/class-wcpdf-settings.php:447
228
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
229
  msgstr ""
230
  "voer hier het aantal cijfers in - vul hier \"6\" in om 42 als 000042 weer te "
231
  "geven"
232
 
233
+ #: includes/class-wcpdf-settings.php:450
234
  msgid ""
235
  "note: if you have already created a custom invoice number format with a "
236
  "filter, the above settings will be ignored"
238
  "let op: als je al een format voor een factuurnummer hebt gemaakt met een "
239
  "filter, worden de bovenstaande instellingen genegeerd"
240
 
241
+ #: includes/class-wcpdf-settings.php:457
242
  msgid "Extra template fields"
243
  msgstr "Extra templatevelden"
244
 
245
+ #: includes/class-wcpdf-settings.php:464
246
  msgid "Extra field 1"
247
  msgstr "Extra veld 1"
248
 
249
+ #: includes/class-wcpdf-settings.php:473
250
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
251
  msgstr "Dit is voettekst kolom 1 in het <i>Modern (Premium)</i> template"
252
 
253
+ #: includes/class-wcpdf-settings.php:479
254
  msgid "Extra field 2"
255
  msgstr "Extra veld 2"
256
 
257
+ #: includes/class-wcpdf-settings.php:488
258
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
259
  msgstr "Dit is voettekst kolom 2 in het <i>Modern (Premium)</i> template"
260
 
261
+ #: includes/class-wcpdf-settings.php:494
262
  msgid "Extra field 3"
263
  msgstr "Extra veld 3"
264
 
265
+ #: includes/class-wcpdf-settings.php:503
266
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
267
  msgstr "Dit is voettekst kolom 3 in het <i>Modern (Premium)</i> template"
268
 
269
+ #: includes/class-wcpdf-settings.php:545
270
  msgid "Debug settings"
271
  msgstr "Debug instellingen"
272
 
273
+ #: includes/class-wcpdf-settings.php:552
274
  msgid "Enable debug output"
275
  msgstr "Debug uitvoer inschakelen"
276
 
277
+ #: includes/class-wcpdf-settings.php:559
278
  msgid ""
279
  "Enable this option to output plugin errors if you're getting a blank page or "
280
  "other PDF generation issues"
282
  "Schakel deze optie in om pluginfouten weer te geven, wanneer je een lege "
283
  "pagina krijgt of andere problemen hebt met het genereren van PDF."
284
 
285
+ #: includes/class-wcpdf-settings.php:565
286
  msgid "Output to HTML"
287
  msgstr "Uitvoer naar HTML"
288
 
289
+ #: includes/class-wcpdf-settings.php:572
290
  msgid ""
291
  "Send the template output as HTML to the browser instead of creating a PDF."
292
  msgstr ""
293
  "Stuur de uitvoer van de template als HTML naar de browser in plaats van een "
294
  "PDF."
295
 
296
+ #: includes/class-wcpdf-settings.php:578
297
  msgid "Use old tmp folder"
298
  msgstr "Gebruik de oude tmp folder"
299
 
300
+ #: includes/class-wcpdf-settings.php:585
301
  msgid ""
302
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
303
  "plugin folder. This setting is only intended for backwards compatibility, "
307
  "de plugin map. Deze instelling is enkel bedoelde voor backwards "
308
  "compatibiliteit, en niet aanbevolen op nieuwe installaties!"
309
 
310
+ #: includes/class-wcpdf-settings.php:829
311
  msgid "Image resolution"
312
  msgstr "Afbeeldings resolutie"
313
 
314
+ #: includes/class-wcpdf-settings.php:945
315
  msgid ""
316
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
317
  "Do not use them on a live website!"
319
  "<b>Waarschuwing!</b> Onderstaande instellingen zijn enkel bedoeld om fouten "
320
  "op te sporen of om te testen. Gebruik ze niet op een live website!"
321
 
322
+ #: includes/class-wcpdf-settings.php:954
323
  msgid ""
324
  "These are used for the (optional) footer columns in the <em>Modern "
325
  "(Premium)</em> template, but can also be used for other elements in your "
333
  msgid "PDF Packing Slips"
334
  msgstr "PDF Pakbonnen"
335
 
336
+ #: includes/class-wcpdf-writepanels.php:107
337
+ #: includes/class-wcpdf-writepanels.php:200
338
  msgid "PDF Invoice"
339
  msgstr "PDF factuur"
340
 
341
+ #: includes/class-wcpdf-writepanels.php:112
342
+ #: includes/class-wcpdf-writepanels.php:205
343
  msgid "PDF Packing Slip"
344
  msgstr "PDF Pakbon"
345
 
346
+ #: includes/class-wcpdf-writepanels.php:139
347
  msgid "Invoice Number"
348
  msgstr "Factuurnummer"
349
 
350
+ #: includes/class-wcpdf-writepanels.php:176
351
  msgid "Download invoice (PDF)"
352
  msgstr "Download factuur (PDF)"
353
 
354
+ #: includes/class-wcpdf-writepanels.php:187
355
  msgid "Create PDF"
356
  msgstr "Maak PDF"
357
 
358
+ #: includes/class-wcpdf-writepanels.php:248
359
  msgid "PDF Invoice Number (unformatted!)"
360
  msgstr "PDF Factuurnummer (zonder formatting!)"
361
 
362
+ #: includes/class-wcpdf-writepanels.php:251
363
  #: templates/pdf/Simple/invoice.php:36
364
  msgid "Invoice Date:"
365
  msgstr "Factuurdatum:"
366
 
367
+ #: includes/class-wcpdf-writepanels.php:252
368
  msgid "h"
369
  msgstr "u"
370
 
371
+ #: includes/class-wcpdf-writepanels.php:252
372
  msgid "m"
373
  msgstr "m"
374
 
398
 
399
  #: includes/wcpdf-extensions.php:28
400
  msgid ""
401
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
402
+ "packing slips, for example to a drop-shipper or a supplier."
403
  msgstr ""
404
+ "Verstuur een aparte <b>notificatie email</b> met (of zonder) PDF facturen/"
405
+ "pakbonnen, bijvoorbeeld naar een drop-shipper of een leverancier."
406
 
407
  #: includes/wcpdf-extensions.php:29
408
  msgid ""
409
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
410
+ "document) to the WooCommerce emails of your choice."
411
+ msgstr ""
412
+ "Voeg tot <b>3 vaste bestandsbijlagen</b> (bijvoorbeeld algemene voorwaarden) "
413
+ "toe aan WooCommerce emails naar keuze."
414
+
415
+ #: includes/wcpdf-extensions.php:30
416
+ msgid ""
417
  "Use <b>separate numbering systems</b> and/or format for proforma invoices "
418
  "and credit notes or utilize the main invoice numbering system"
419
  msgstr ""
420
  "Gebruik <b>losse nummersystemen</b> en/of formats voor pro-forma facturen en "
421
  "credit notes, of gebruik het hoofd factuurnummersysteem."
422
 
423
+ #: includes/wcpdf-extensions.php:31
424
  msgid ""
425
  "<b>Customize</b> the <b>shipping & billing address</b> format to include "
426
  "additional custom fields, font sizes etc. without the need to create a "
429
  "<b>Pas het verzend- en factuuradres aan</b> met custom velden, verschillende "
430
  "fontgroottes etc, zonder daarvoor een custom template aan te maken."
431
 
432
+ #: includes/wcpdf-extensions.php:32
433
  msgid "Use the plugin in multilingual <b>WPML</b> setups"
434
  msgstr "Gebruik de plugin in meertalige <b>WPML</b> setups"
435
 
436
+ #: includes/wcpdf-extensions.php:34
437
  msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
438
  msgstr "Neem WooCommerce PDF Invoices & Packing Slips Professional!"
439
 
440
+ #: includes/wcpdf-extensions.php:42
441
  msgid "Upload all invoices automatically to your dropbox"
442
  msgstr "Upload alle facturen automatisch naar je Dropbox"
443
 
444
+ #: includes/wcpdf-extensions.php:48
445
  msgid ""
446
  "This extension conveniently uploads all the invoices (and other pdf "
447
  "documents from the professional extension) that are emailed to your "
452
  "professional extensie) die worden ge-emaild naar je klanten naar Dropbox. De "
453
  "beste manier om je factuur administratie up te date te houden!"
454
 
455
+ #: includes/wcpdf-extensions.php:49
456
  msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
457
  msgstr "Neem WooCommerce PDF Invoices & Packing Slips to dropbox!"
458
 
459
+ #: includes/wcpdf-extensions.php:61
460
  msgid ""
461
  "Automatically send new orders or packing slips to your printer, as soon as "
462
  "the customer orders!"
464
  "Verstuur nieuwe orders of pakbonnen automatisch naar je printer, zodra een "
465
  "klant een bestelling plaatst."
466
 
467
+ #: includes/wcpdf-extensions.php:67
468
  msgid ""
469
  "Check out the WooCommerce Automatic Order Printing extension from our "
470
  "partners at Simba Hosting"
472
  "Bekijk de WooCommerce Automatic Order Printing extensie van onze parters van "
473
  "Simba Hosting"
474
 
475
+ #: includes/wcpdf-extensions.php:68
476
  msgid "WooCommerce Automatic Order Printing"
477
  msgstr "WooCommerce Automatic Order Printing"
478
 
479
+ #: includes/wcpdf-extensions.php:82
480
  msgid "More advanced templates"
481
  msgstr "Geavanceerde templates"
482
 
483
+ #: includes/wcpdf-extensions.php:85
484
  msgid "Stylish modern invoices & packing slips with product thumbnails!"
485
  msgstr "Stijlvolle moderne facturen en pakbonnen met productafbeeldingen"
486
 
487
+ #: includes/wcpdf-extensions.php:86
488
  msgid "More tax details on the invoices!"
489
  msgstr "Meer BTW details op de factuur!"
490
 
491
+ #: includes/wcpdf-extensions.php:87
492
  #, php-format
493
  msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
494
  msgstr "Bekijk de Premium PDF Invoice & Packing Slips templates op %s."
495
 
496
+ #: includes/wcpdf-extensions.php:88
497
  #, php-format
498
  msgid "For custom templates, contact us at %s."
499
  msgstr "Neem voor custom templates contact met ons op via %s"
541
  msgid "Price"
542
  msgstr "Prijs"
543
 
544
+ #: templates/pdf/Simple/invoice.php:67
545
  msgid "Description"
546
  msgstr "Omschrijving"
547
 
548
+ #: templates/pdf/Simple/invoice.php:70
549
  msgid "SKU"
550
  msgstr "Artikelnummer"
551
 
552
+ #: templates/pdf/Simple/invoice.php:71
553
+ #: templates/pdf/Simple/packing-slip.php:58
554
  msgid "SKU:"
555
  msgstr "SKU:"
556
 
557
+ #: templates/pdf/Simple/invoice.php:72
558
+ #: templates/pdf/Simple/packing-slip.php:59
559
  msgid "Weight:"
560
  msgstr "Gewicht:"
561
 
562
+ #: templates/pdf/Simple/invoice.php:107
563
+ #: templates/pdf/Simple/packing-slip.php:75
564
  msgid "Customer Notes"
565
  msgstr "Opmerking klant:"
566
 
573
  "WooCommerce PDF Invoices & Packing Slips vereist dat %sWooCommerce%s is "
574
  "geïnstalleerd & geactiveerd!"
575
 
576
+ #: woocommerce-pdf-invoices-packingslips.php:308
577
+ #: woocommerce-pdf-invoices-packingslips.php:369
578
  msgid "N/A"
579
  msgstr "N/A"
580
 
581
+ #: woocommerce-pdf-invoices-packingslips.php:458
582
  msgid "Payment method"
583
  msgstr "Betaalmethode"
584
 
585
+ #: woocommerce-pdf-invoices-packingslips.php:469
586
  msgid "Shipping method"
587
  msgstr "Verzendmethode"
588
 
589
+ #: woocommerce-pdf-invoices-packingslips.php:590
590
  msgid "Subtotal"
591
  msgstr "Subtotaal"
592
 
593
+ #: woocommerce-pdf-invoices-packingslips.php:612
594
  msgid "Shipping"
595
  msgstr "Verzendkosten"
596
 
597
+ #: woocommerce-pdf-invoices-packingslips.php:658
598
  msgid "Discount"
599
  msgstr "Korting"
600
 
601
+ #: woocommerce-pdf-invoices-packingslips.php:698
602
  msgid "VAT"
603
  msgstr "BTW"
604
 
605
+ #: woocommerce-pdf-invoices-packingslips.php:735
606
  msgid "Total ex. VAT"
607
  msgstr "Totaal excl. BTW"
608
 
609
+ #: woocommerce-pdf-invoices-packingslips.php:738
610
  msgid "Total"
611
  msgstr "Totaal"
612
 
613
+ #~ msgid ""
614
+ #~ "Attach a <b>static file</b> (for example a terms & conditions document) "
615
+ #~ "to the WooCommerce emails of your choice."
616
+ #~ msgstr ""
617
+ #~ "Voeg een <b>statisch bestand</b> (bijvoorbeeld een document met algemene "
618
+ #~ "voorwaarden) toe aan WooCommerce emails naar keuze."
619
+
620
  #~ msgid "Number to display on invoice"
621
  #~ msgstr "Nummer op de factuur"
622
 
languages/wpo_wcpdf.pot CHANGED
@@ -1,36 +1,39 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
- "POT-Creation-Date: 2014-12-11 16:48+0100\n"
5
- "PO-Revision-Date: 2014-12-11 16:50+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
  "Language: en_US\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.1\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: includes/class-wcpdf-export.php:326 includes/class-wcpdf-export.php:331
20
- #: includes/class-wcpdf-export.php:336 includes/class-wcpdf-export.php:347
21
- #: includes/class-wcpdf-export.php:355
22
  msgid "You do not have sufficient permissions to access this page."
23
  msgstr ""
24
 
 
 
 
 
25
  # This is a filename (prefix). do not use spaces or special characters!
26
- #: includes/class-wcpdf-export.php:410
27
  msgid "invoice"
28
  msgid_plural "invoices"
29
  msgstr[0] ""
30
  msgstr[1] ""
31
 
32
  # This is a filename (prefix). do not use spaces or special characters!
33
- #: includes/class-wcpdf-export.php:414
34
  msgid "packing-slip"
35
  msgid_plural "packing-slips"
36
  msgstr[0] ""
@@ -41,63 +44,63 @@ msgstr[1] ""
41
  msgid "PDF Invoices"
42
  msgstr ""
43
 
44
- #: includes/class-wcpdf-settings.php:69
45
  msgid "Settings"
46
  msgstr ""
47
 
48
- #: includes/class-wcpdf-settings.php:91
49
  msgid "General"
50
  msgstr ""
51
 
52
- #: includes/class-wcpdf-settings.php:92
53
  msgid "Template"
54
  msgstr ""
55
 
56
- #: includes/class-wcpdf-settings.php:97
57
  msgid "Status"
58
  msgstr ""
59
 
60
- #: includes/class-wcpdf-settings.php:105
61
  msgid "WooCommerce PDF Invoices"
62
  msgstr ""
63
 
64
- #: includes/class-wcpdf-settings.php:172
65
  msgid "General settings"
66
  msgstr ""
67
 
68
- #: includes/class-wcpdf-settings.php:179
69
  msgid "How do you want to view the PDF?"
70
  msgstr ""
71
 
72
- #: includes/class-wcpdf-settings.php:187
73
  msgid "Download the PDF"
74
  msgstr ""
75
 
76
- #: includes/class-wcpdf-settings.php:188
77
  msgid "Open the PDF in a new browser tab/window"
78
  msgstr ""
79
 
80
- #: includes/class-wcpdf-settings.php:197
81
  msgid "Admin New Order email"
82
  msgstr ""
83
 
84
- #: includes/class-wcpdf-settings.php:198
85
  msgid "Customer Processing Order email"
86
  msgstr ""
87
 
88
- #: includes/class-wcpdf-settings.php:199
89
  msgid "Customer Completed Order email"
90
  msgstr ""
91
 
92
- #: includes/class-wcpdf-settings.php:200
93
  msgid "Customer Invoice email"
94
  msgstr ""
95
 
96
- #: includes/class-wcpdf-settings.php:205
97
  msgid "Attach invoice to:"
98
  msgstr ""
99
 
100
- #: includes/class-wcpdf-settings.php:213
101
  #, php-format
102
  msgid ""
103
  "It looks like the temp folder (<code>%s</code>) is not writable, check the "
@@ -105,78 +108,78 @@ msgid ""
105
  "plugin will not be able to email invoices."
106
  msgstr ""
107
 
108
- #: includes/class-wcpdf-settings.php:219
109
  msgid "Enable invoice number column in the orders list"
110
  msgstr ""
111
 
112
- #: includes/class-wcpdf-settings.php:257
113
  msgid "PDF Template settings"
114
  msgstr ""
115
 
116
- #: includes/class-wcpdf-settings.php:269
117
  msgid "Choose a template"
118
  msgstr ""
119
 
120
- #: includes/class-wcpdf-settings.php:277
121
  #, php-format
122
  msgid ""
123
  "Want to use your own template? Copy all the files from <code>%s</code> to "
124
  "your (child) theme in <code>%s</code> to customize them"
125
  msgstr ""
126
 
127
- #: includes/class-wcpdf-settings.php:283
128
  msgid "Paper size"
129
  msgstr ""
130
 
131
- #: includes/class-wcpdf-settings.php:291
132
  msgid "A4"
133
  msgstr ""
134
 
135
- #: includes/class-wcpdf-settings.php:292
136
  msgid "Letter"
137
  msgstr ""
138
 
139
- #: includes/class-wcpdf-settings.php:299
140
  msgid "Shop header/logo"
141
  msgstr ""
142
 
143
- #: includes/class-wcpdf-settings.php:306
144
  msgid "Select or upload your invoice header/logo"
145
  msgstr ""
146
 
147
- #: includes/class-wcpdf-settings.php:307
148
  msgid "Set image"
149
  msgstr ""
150
 
151
- #: includes/class-wcpdf-settings.php:308
152
  msgid "Remove image"
153
  msgstr ""
154
 
155
- #: includes/class-wcpdf-settings.php:315
156
  msgid "Shop Name"
157
  msgstr ""
158
 
159
- #: includes/class-wcpdf-settings.php:328
160
  msgid "Shop Address"
161
  msgstr ""
162
 
163
- #: includes/class-wcpdf-settings.php:360
164
  msgid "Footer: terms & conditions, policies, etc."
165
  msgstr ""
166
 
167
- #: includes/class-wcpdf-settings.php:375
168
  msgid "Display invoice date"
169
  msgstr ""
170
 
171
- #: includes/class-wcpdf-settings.php:388
172
  msgid "Display built-in sequential invoice number"
173
  msgstr ""
174
 
175
- #: includes/class-wcpdf-settings.php:401
176
  msgid "Next invoice number (without prefix/suffix etc.)"
177
  msgstr ""
178
 
179
- #: includes/class-wcpdf-settings.php:409
180
  msgid ""
181
  "This is the number that will be used on the next invoice that is created. By "
182
  "default, numbering starts from the WooCommerce Order Number of the first "
@@ -185,111 +188,111 @@ msgid ""
185
  "this could create double invoice numbers!"
186
  msgstr ""
187
 
188
- #: includes/class-wcpdf-settings.php:415
189
  msgid "Invoice number format"
190
  msgstr ""
191
 
192
- #: includes/class-wcpdf-settings.php:424
193
  msgid "Prefix"
194
  msgstr ""
195
 
196
- #: includes/class-wcpdf-settings.php:426
197
  msgid ""
198
  "to use the order year and/or month, use [order_year] or [order_month] "
199
  "respectively"
200
  msgstr ""
201
 
202
- #: includes/class-wcpdf-settings.php:429
203
  msgid "Suffix"
204
  msgstr ""
205
 
206
- #: includes/class-wcpdf-settings.php:434
207
  msgid "Padding"
208
  msgstr ""
209
 
210
- #: includes/class-wcpdf-settings.php:436
211
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
212
  msgstr ""
213
 
214
- #: includes/class-wcpdf-settings.php:439
215
  msgid ""
216
  "note: if you have already created a custom invoice number format with a "
217
  "filter, the above settings will be ignored"
218
  msgstr ""
219
 
220
- #: includes/class-wcpdf-settings.php:446
221
  msgid "Extra template fields"
222
  msgstr ""
223
 
224
- #: includes/class-wcpdf-settings.php:453
225
  msgid "Extra field 1"
226
  msgstr ""
227
 
228
- #: includes/class-wcpdf-settings.php:462
229
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
230
  msgstr ""
231
 
232
- #: includes/class-wcpdf-settings.php:468
233
  msgid "Extra field 2"
234
  msgstr ""
235
 
236
- #: includes/class-wcpdf-settings.php:477
237
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
238
  msgstr ""
239
 
240
- #: includes/class-wcpdf-settings.php:483
241
  msgid "Extra field 3"
242
  msgstr ""
243
 
244
- #: includes/class-wcpdf-settings.php:492
245
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
246
  msgstr ""
247
 
248
- #: includes/class-wcpdf-settings.php:534
249
  msgid "Debug settings"
250
  msgstr ""
251
 
252
- #: includes/class-wcpdf-settings.php:541
253
  msgid "Enable debug output"
254
  msgstr ""
255
 
256
- #: includes/class-wcpdf-settings.php:548
257
  msgid ""
258
  "Enable this option to output plugin errors if you're getting a blank page or "
259
  "other PDF generation issues"
260
  msgstr ""
261
 
262
- #: includes/class-wcpdf-settings.php:554
263
  msgid "Output to HTML"
264
  msgstr ""
265
 
266
- #: includes/class-wcpdf-settings.php:561
267
  msgid ""
268
  "Send the template output as HTML to the browser instead of creating a PDF."
269
  msgstr ""
270
 
271
- #: includes/class-wcpdf-settings.php:567
272
  msgid "Use old tmp folder"
273
  msgstr ""
274
 
275
- #: includes/class-wcpdf-settings.php:574
276
  msgid ""
277
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
278
  "plugin folder. This setting is only intended for backwards compatibility, "
279
  "not recommended on new installs!"
280
  msgstr ""
281
 
282
- #: includes/class-wcpdf-settings.php:818
283
  msgid "Image resolution"
284
  msgstr ""
285
 
286
- #: includes/class-wcpdf-settings.php:934
287
  msgid ""
288
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
289
  "Do not use them on a live website!"
290
  msgstr ""
291
 
292
- #: includes/class-wcpdf-settings.php:943
293
  msgid ""
294
  "These are used for the (optional) footer columns in the <em>Modern "
295
  "(Premium)</em> template, but can also be used for other elements in your "
@@ -300,42 +303,42 @@ msgstr ""
300
  msgid "PDF Packing Slips"
301
  msgstr ""
302
 
303
- #: includes/class-wcpdf-writepanels.php:92
304
- #: includes/class-wcpdf-writepanels.php:185
305
  msgid "PDF Invoice"
306
  msgstr ""
307
 
308
- #: includes/class-wcpdf-writepanels.php:97
309
- #: includes/class-wcpdf-writepanels.php:190
310
  msgid "PDF Packing Slip"
311
  msgstr ""
312
 
313
- #: includes/class-wcpdf-writepanels.php:124
314
  msgid "Invoice Number"
315
  msgstr ""
316
 
317
- #: includes/class-wcpdf-writepanels.php:161
318
  msgid "Download invoice (PDF)"
319
  msgstr ""
320
 
321
- #: includes/class-wcpdf-writepanels.php:172
322
  msgid "Create PDF"
323
  msgstr ""
324
 
325
- #: includes/class-wcpdf-writepanels.php:233
326
  msgid "PDF Invoice Number (unformatted!)"
327
  msgstr ""
328
 
329
- #: includes/class-wcpdf-writepanels.php:236
330
  #: templates/pdf/Simple/invoice.php:36
331
  msgid "Invoice Date:"
332
  msgstr ""
333
 
334
- #: includes/class-wcpdf-writepanels.php:237
335
  msgid "h"
336
  msgstr ""
337
 
338
- #: includes/class-wcpdf-writepanels.php:237
339
  msgid "m"
340
  msgstr ""
341
 
@@ -363,36 +366,42 @@ msgstr ""
363
 
364
  #: includes/wcpdf-extensions.php:28
365
  msgid ""
366
- "Attach a <b>static file</b> (for example a terms & conditions document) to "
367
- "the WooCommerce emails of your choice."
368
  msgstr ""
369
 
370
  #: includes/wcpdf-extensions.php:29
371
  msgid ""
 
 
 
 
 
 
372
  "Use <b>separate numbering systems</b> and/or format for proforma invoices "
373
  "and credit notes or utilize the main invoice numbering system"
374
  msgstr ""
375
 
376
- #: includes/wcpdf-extensions.php:30
377
  msgid ""
378
  "<b>Customize</b> the <b>shipping & billing address</b> format to include "
379
  "additional custom fields, font sizes etc. without the need to create a "
380
  "custom template."
381
  msgstr ""
382
 
383
- #: includes/wcpdf-extensions.php:31
384
  msgid "Use the plugin in multilingual <b>WPML</b> setups"
385
  msgstr ""
386
 
387
- #: includes/wcpdf-extensions.php:33
388
  msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
389
  msgstr ""
390
 
391
- #: includes/wcpdf-extensions.php:41
392
  msgid "Upload all invoices automatically to your dropbox"
393
  msgstr ""
394
 
395
- #: includes/wcpdf-extensions.php:47
396
  msgid ""
397
  "This extension conveniently uploads all the invoices (and other pdf "
398
  "documents from the professional extension) that are emailed to your "
@@ -400,44 +409,44 @@ msgid ""
400
  "date!"
401
  msgstr ""
402
 
403
- #: includes/wcpdf-extensions.php:48
404
  msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
405
  msgstr ""
406
 
407
- #: includes/wcpdf-extensions.php:60
408
  msgid ""
409
  "Automatically send new orders or packing slips to your printer, as soon as "
410
  "the customer orders!"
411
  msgstr ""
412
 
413
- #: includes/wcpdf-extensions.php:66
414
  msgid ""
415
  "Check out the WooCommerce Automatic Order Printing extension from our "
416
  "partners at Simba Hosting"
417
  msgstr ""
418
 
419
- #: includes/wcpdf-extensions.php:67
420
  msgid "WooCommerce Automatic Order Printing"
421
  msgstr ""
422
 
423
- #: includes/wcpdf-extensions.php:81
424
  msgid "More advanced templates"
425
  msgstr ""
426
 
427
- #: includes/wcpdf-extensions.php:84
428
  msgid "Stylish modern invoices & packing slips with product thumbnails!"
429
  msgstr ""
430
 
431
- #: includes/wcpdf-extensions.php:85
432
  msgid "More tax details on the invoices!"
433
  msgstr ""
434
 
435
- #: includes/wcpdf-extensions.php:86
436
  #, php-format
437
  msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
438
  msgstr ""
439
 
440
- #: includes/wcpdf-extensions.php:87
441
  #, php-format
442
  msgid "For custom templates, contact us at %s."
443
  msgstr ""
@@ -485,26 +494,26 @@ msgstr ""
485
  msgid "Price"
486
  msgstr ""
487
 
488
- #: templates/pdf/Simple/invoice.php:66
489
  msgid "Description"
490
  msgstr ""
491
 
492
- #: templates/pdf/Simple/invoice.php:69
493
  msgid "SKU"
494
  msgstr ""
495
 
496
- #: templates/pdf/Simple/invoice.php:70
497
- #: templates/pdf/Simple/packing-slip.php:57
498
  msgid "SKU:"
499
  msgstr ""
500
 
501
- #: templates/pdf/Simple/invoice.php:71
502
- #: templates/pdf/Simple/packing-slip.php:58
503
  msgid "Weight:"
504
  msgstr ""
505
 
506
- #: templates/pdf/Simple/invoice.php:105
507
- #: templates/pdf/Simple/packing-slip.php:73
508
  msgid "Customer Notes"
509
  msgstr ""
510
 
@@ -515,39 +524,39 @@ msgid ""
515
  "installed & activated!"
516
  msgstr ""
517
 
518
- #: woocommerce-pdf-invoices-packingslips.php:296
519
- #: woocommerce-pdf-invoices-packingslips.php:359
520
  msgid "N/A"
521
  msgstr ""
522
 
523
- #: woocommerce-pdf-invoices-packingslips.php:448
524
  msgid "Payment method"
525
  msgstr ""
526
 
527
- #: woocommerce-pdf-invoices-packingslips.php:459
528
  msgid "Shipping method"
529
  msgstr ""
530
 
531
- #: woocommerce-pdf-invoices-packingslips.php:574
532
  msgid "Subtotal"
533
  msgstr ""
534
 
535
- #: woocommerce-pdf-invoices-packingslips.php:596
536
  msgid "Shipping"
537
  msgstr ""
538
 
539
- #: woocommerce-pdf-invoices-packingslips.php:641
540
  msgid "Discount"
541
  msgstr ""
542
 
543
- #: woocommerce-pdf-invoices-packingslips.php:680
544
  msgid "VAT"
545
  msgstr ""
546
 
547
- #: woocommerce-pdf-invoices-packingslips.php:717
548
  msgid "Total ex. VAT"
549
  msgstr ""
550
 
551
- #: woocommerce-pdf-invoices-packingslips.php:720
552
  msgid "Total"
553
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2015-03-13 14:50+0100\n"
5
+ "PO-Revision-Date: 2015-03-13 14:50+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
  "Language: en_US\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7.5\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: includes/class-wcpdf-export.php:338 includes/class-wcpdf-export.php:348
20
+ #: includes/class-wcpdf-export.php:359 includes/class-wcpdf-export.php:367
 
21
  msgid "You do not have sufficient permissions to access this page."
22
  msgstr ""
23
 
24
+ #: includes/class-wcpdf-export.php:343
25
+ msgid "Some of the export parameters are missing."
26
+ msgstr ""
27
+
28
  # This is a filename (prefix). do not use spaces or special characters!
29
+ #: includes/class-wcpdf-export.php:422
30
  msgid "invoice"
31
  msgid_plural "invoices"
32
  msgstr[0] ""
33
  msgstr[1] ""
34
 
35
  # This is a filename (prefix). do not use spaces or special characters!
36
+ #: includes/class-wcpdf-export.php:426
37
  msgid "packing-slip"
38
  msgid_plural "packing-slips"
39
  msgstr[0] ""
44
  msgid "PDF Invoices"
45
  msgstr ""
46
 
47
+ #: includes/class-wcpdf-settings.php:80
48
  msgid "Settings"
49
  msgstr ""
50
 
51
+ #: includes/class-wcpdf-settings.php:102
52
  msgid "General"
53
  msgstr ""
54
 
55
+ #: includes/class-wcpdf-settings.php:103
56
  msgid "Template"
57
  msgstr ""
58
 
59
+ #: includes/class-wcpdf-settings.php:108
60
  msgid "Status"
61
  msgstr ""
62
 
63
+ #: includes/class-wcpdf-settings.php:116
64
  msgid "WooCommerce PDF Invoices"
65
  msgstr ""
66
 
67
+ #: includes/class-wcpdf-settings.php:183
68
  msgid "General settings"
69
  msgstr ""
70
 
71
+ #: includes/class-wcpdf-settings.php:190
72
  msgid "How do you want to view the PDF?"
73
  msgstr ""
74
 
75
+ #: includes/class-wcpdf-settings.php:198
76
  msgid "Download the PDF"
77
  msgstr ""
78
 
79
+ #: includes/class-wcpdf-settings.php:199
80
  msgid "Open the PDF in a new browser tab/window"
81
  msgstr ""
82
 
83
+ #: includes/class-wcpdf-settings.php:208
84
  msgid "Admin New Order email"
85
  msgstr ""
86
 
87
+ #: includes/class-wcpdf-settings.php:209
88
  msgid "Customer Processing Order email"
89
  msgstr ""
90
 
91
+ #: includes/class-wcpdf-settings.php:210
92
  msgid "Customer Completed Order email"
93
  msgstr ""
94
 
95
+ #: includes/class-wcpdf-settings.php:211
96
  msgid "Customer Invoice email"
97
  msgstr ""
98
 
99
+ #: includes/class-wcpdf-settings.php:216
100
  msgid "Attach invoice to:"
101
  msgstr ""
102
 
103
+ #: includes/class-wcpdf-settings.php:224
104
  #, php-format
105
  msgid ""
106
  "It looks like the temp folder (<code>%s</code>) is not writable, check the "
108
  "plugin will not be able to email invoices."
109
  msgstr ""
110
 
111
+ #: includes/class-wcpdf-settings.php:230
112
  msgid "Enable invoice number column in the orders list"
113
  msgstr ""
114
 
115
+ #: includes/class-wcpdf-settings.php:268
116
  msgid "PDF Template settings"
117
  msgstr ""
118
 
119
+ #: includes/class-wcpdf-settings.php:280
120
  msgid "Choose a template"
121
  msgstr ""
122
 
123
+ #: includes/class-wcpdf-settings.php:288
124
  #, php-format
125
  msgid ""
126
  "Want to use your own template? Copy all the files from <code>%s</code> to "
127
  "your (child) theme in <code>%s</code> to customize them"
128
  msgstr ""
129
 
130
+ #: includes/class-wcpdf-settings.php:294
131
  msgid "Paper size"
132
  msgstr ""
133
 
134
+ #: includes/class-wcpdf-settings.php:302
135
  msgid "A4"
136
  msgstr ""
137
 
138
+ #: includes/class-wcpdf-settings.php:303
139
  msgid "Letter"
140
  msgstr ""
141
 
142
+ #: includes/class-wcpdf-settings.php:310
143
  msgid "Shop header/logo"
144
  msgstr ""
145
 
146
+ #: includes/class-wcpdf-settings.php:317
147
  msgid "Select or upload your invoice header/logo"
148
  msgstr ""
149
 
150
+ #: includes/class-wcpdf-settings.php:318
151
  msgid "Set image"
152
  msgstr ""
153
 
154
+ #: includes/class-wcpdf-settings.php:319
155
  msgid "Remove image"
156
  msgstr ""
157
 
158
+ #: includes/class-wcpdf-settings.php:326
159
  msgid "Shop Name"
160
  msgstr ""
161
 
162
+ #: includes/class-wcpdf-settings.php:339
163
  msgid "Shop Address"
164
  msgstr ""
165
 
166
+ #: includes/class-wcpdf-settings.php:371
167
  msgid "Footer: terms & conditions, policies, etc."
168
  msgstr ""
169
 
170
+ #: includes/class-wcpdf-settings.php:386
171
  msgid "Display invoice date"
172
  msgstr ""
173
 
174
+ #: includes/class-wcpdf-settings.php:399
175
  msgid "Display built-in sequential invoice number"
176
  msgstr ""
177
 
178
+ #: includes/class-wcpdf-settings.php:412
179
  msgid "Next invoice number (without prefix/suffix etc.)"
180
  msgstr ""
181
 
182
+ #: includes/class-wcpdf-settings.php:420
183
  msgid ""
184
  "This is the number that will be used on the next invoice that is created. By "
185
  "default, numbering starts from the WooCommerce Order Number of the first "
188
  "this could create double invoice numbers!"
189
  msgstr ""
190
 
191
+ #: includes/class-wcpdf-settings.php:426
192
  msgid "Invoice number format"
193
  msgstr ""
194
 
195
+ #: includes/class-wcpdf-settings.php:435
196
  msgid "Prefix"
197
  msgstr ""
198
 
199
+ #: includes/class-wcpdf-settings.php:437
200
  msgid ""
201
  "to use the order year and/or month, use [order_year] or [order_month] "
202
  "respectively"
203
  msgstr ""
204
 
205
+ #: includes/class-wcpdf-settings.php:440
206
  msgid "Suffix"
207
  msgstr ""
208
 
209
+ #: includes/class-wcpdf-settings.php:445
210
  msgid "Padding"
211
  msgstr ""
212
 
213
+ #: includes/class-wcpdf-settings.php:447
214
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
215
  msgstr ""
216
 
217
+ #: includes/class-wcpdf-settings.php:450
218
  msgid ""
219
  "note: if you have already created a custom invoice number format with a "
220
  "filter, the above settings will be ignored"
221
  msgstr ""
222
 
223
+ #: includes/class-wcpdf-settings.php:457
224
  msgid "Extra template fields"
225
  msgstr ""
226
 
227
+ #: includes/class-wcpdf-settings.php:464
228
  msgid "Extra field 1"
229
  msgstr ""
230
 
231
+ #: includes/class-wcpdf-settings.php:473
232
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
233
  msgstr ""
234
 
235
+ #: includes/class-wcpdf-settings.php:479
236
  msgid "Extra field 2"
237
  msgstr ""
238
 
239
+ #: includes/class-wcpdf-settings.php:488
240
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
241
  msgstr ""
242
 
243
+ #: includes/class-wcpdf-settings.php:494
244
  msgid "Extra field 3"
245
  msgstr ""
246
 
247
+ #: includes/class-wcpdf-settings.php:503
248
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
249
  msgstr ""
250
 
251
+ #: includes/class-wcpdf-settings.php:545
252
  msgid "Debug settings"
253
  msgstr ""
254
 
255
+ #: includes/class-wcpdf-settings.php:552
256
  msgid "Enable debug output"
257
  msgstr ""
258
 
259
+ #: includes/class-wcpdf-settings.php:559
260
  msgid ""
261
  "Enable this option to output plugin errors if you're getting a blank page or "
262
  "other PDF generation issues"
263
  msgstr ""
264
 
265
+ #: includes/class-wcpdf-settings.php:565
266
  msgid "Output to HTML"
267
  msgstr ""
268
 
269
+ #: includes/class-wcpdf-settings.php:572
270
  msgid ""
271
  "Send the template output as HTML to the browser instead of creating a PDF."
272
  msgstr ""
273
 
274
+ #: includes/class-wcpdf-settings.php:578
275
  msgid "Use old tmp folder"
276
  msgstr ""
277
 
278
+ #: includes/class-wcpdf-settings.php:585
279
  msgid ""
280
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
281
  "plugin folder. This setting is only intended for backwards compatibility, "
282
  "not recommended on new installs!"
283
  msgstr ""
284
 
285
+ #: includes/class-wcpdf-settings.php:829
286
  msgid "Image resolution"
287
  msgstr ""
288
 
289
+ #: includes/class-wcpdf-settings.php:945
290
  msgid ""
291
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
292
  "Do not use them on a live website!"
293
  msgstr ""
294
 
295
+ #: includes/class-wcpdf-settings.php:954
296
  msgid ""
297
  "These are used for the (optional) footer columns in the <em>Modern "
298
  "(Premium)</em> template, but can also be used for other elements in your "
303
  msgid "PDF Packing Slips"
304
  msgstr ""
305
 
306
+ #: includes/class-wcpdf-writepanels.php:107
307
+ #: includes/class-wcpdf-writepanels.php:200
308
  msgid "PDF Invoice"
309
  msgstr ""
310
 
311
+ #: includes/class-wcpdf-writepanels.php:112
312
+ #: includes/class-wcpdf-writepanels.php:205
313
  msgid "PDF Packing Slip"
314
  msgstr ""
315
 
316
+ #: includes/class-wcpdf-writepanels.php:139
317
  msgid "Invoice Number"
318
  msgstr ""
319
 
320
+ #: includes/class-wcpdf-writepanels.php:176
321
  msgid "Download invoice (PDF)"
322
  msgstr ""
323
 
324
+ #: includes/class-wcpdf-writepanels.php:187
325
  msgid "Create PDF"
326
  msgstr ""
327
 
328
+ #: includes/class-wcpdf-writepanels.php:248
329
  msgid "PDF Invoice Number (unformatted!)"
330
  msgstr ""
331
 
332
+ #: includes/class-wcpdf-writepanels.php:251
333
  #: templates/pdf/Simple/invoice.php:36
334
  msgid "Invoice Date:"
335
  msgstr ""
336
 
337
+ #: includes/class-wcpdf-writepanels.php:252
338
  msgid "h"
339
  msgstr ""
340
 
341
+ #: includes/class-wcpdf-writepanels.php:252
342
  msgid "m"
343
  msgstr ""
344
 
366
 
367
  #: includes/wcpdf-extensions.php:28
368
  msgid ""
369
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
370
+ "packing slips, for example to a drop-shipper or a supplier."
371
  msgstr ""
372
 
373
  #: includes/wcpdf-extensions.php:29
374
  msgid ""
375
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
376
+ "document) to the WooCommerce emails of your choice."
377
+ msgstr ""
378
+
379
+ #: includes/wcpdf-extensions.php:30
380
+ msgid ""
381
  "Use <b>separate numbering systems</b> and/or format for proforma invoices "
382
  "and credit notes or utilize the main invoice numbering system"
383
  msgstr ""
384
 
385
+ #: includes/wcpdf-extensions.php:31
386
  msgid ""
387
  "<b>Customize</b> the <b>shipping & billing address</b> format to include "
388
  "additional custom fields, font sizes etc. without the need to create a "
389
  "custom template."
390
  msgstr ""
391
 
392
+ #: includes/wcpdf-extensions.php:32
393
  msgid "Use the plugin in multilingual <b>WPML</b> setups"
394
  msgstr ""
395
 
396
+ #: includes/wcpdf-extensions.php:34
397
  msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
398
  msgstr ""
399
 
400
+ #: includes/wcpdf-extensions.php:42
401
  msgid "Upload all invoices automatically to your dropbox"
402
  msgstr ""
403
 
404
+ #: includes/wcpdf-extensions.php:48
405
  msgid ""
406
  "This extension conveniently uploads all the invoices (and other pdf "
407
  "documents from the professional extension) that are emailed to your "
409
  "date!"
410
  msgstr ""
411
 
412
+ #: includes/wcpdf-extensions.php:49
413
  msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
414
  msgstr ""
415
 
416
+ #: includes/wcpdf-extensions.php:61
417
  msgid ""
418
  "Automatically send new orders or packing slips to your printer, as soon as "
419
  "the customer orders!"
420
  msgstr ""
421
 
422
+ #: includes/wcpdf-extensions.php:67
423
  msgid ""
424
  "Check out the WooCommerce Automatic Order Printing extension from our "
425
  "partners at Simba Hosting"
426
  msgstr ""
427
 
428
+ #: includes/wcpdf-extensions.php:68
429
  msgid "WooCommerce Automatic Order Printing"
430
  msgstr ""
431
 
432
+ #: includes/wcpdf-extensions.php:82
433
  msgid "More advanced templates"
434
  msgstr ""
435
 
436
+ #: includes/wcpdf-extensions.php:85
437
  msgid "Stylish modern invoices & packing slips with product thumbnails!"
438
  msgstr ""
439
 
440
+ #: includes/wcpdf-extensions.php:86
441
  msgid "More tax details on the invoices!"
442
  msgstr ""
443
 
444
+ #: includes/wcpdf-extensions.php:87
445
  #, php-format
446
  msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
447
  msgstr ""
448
 
449
+ #: includes/wcpdf-extensions.php:88
450
  #, php-format
451
  msgid "For custom templates, contact us at %s."
452
  msgstr ""
494
  msgid "Price"
495
  msgstr ""
496
 
497
+ #: templates/pdf/Simple/invoice.php:67
498
  msgid "Description"
499
  msgstr ""
500
 
501
+ #: templates/pdf/Simple/invoice.php:70
502
  msgid "SKU"
503
  msgstr ""
504
 
505
+ #: templates/pdf/Simple/invoice.php:71
506
+ #: templates/pdf/Simple/packing-slip.php:58
507
  msgid "SKU:"
508
  msgstr ""
509
 
510
+ #: templates/pdf/Simple/invoice.php:72
511
+ #: templates/pdf/Simple/packing-slip.php:59
512
  msgid "Weight:"
513
  msgstr ""
514
 
515
+ #: templates/pdf/Simple/invoice.php:107
516
+ #: templates/pdf/Simple/packing-slip.php:75
517
  msgid "Customer Notes"
518
  msgstr ""
519
 
524
  "installed & activated!"
525
  msgstr ""
526
 
527
+ #: woocommerce-pdf-invoices-packingslips.php:308
528
+ #: woocommerce-pdf-invoices-packingslips.php:369
529
  msgid "N/A"
530
  msgstr ""
531
 
532
+ #: woocommerce-pdf-invoices-packingslips.php:458
533
  msgid "Payment method"
534
  msgstr ""
535
 
536
+ #: woocommerce-pdf-invoices-packingslips.php:469
537
  msgid "Shipping method"
538
  msgstr ""
539
 
540
+ #: woocommerce-pdf-invoices-packingslips.php:590
541
  msgid "Subtotal"
542
  msgstr ""
543
 
544
+ #: woocommerce-pdf-invoices-packingslips.php:612
545
  msgid "Shipping"
546
  msgstr ""
547
 
548
+ #: woocommerce-pdf-invoices-packingslips.php:658
549
  msgid "Discount"
550
  msgstr ""
551
 
552
+ #: woocommerce-pdf-invoices-packingslips.php:698
553
  msgid "VAT"
554
  msgstr ""
555
 
556
+ #: woocommerce-pdf-invoices-packingslips.php:735
557
  msgid "Total ex. VAT"
558
  msgstr ""
559
 
560
+ #: woocommerce-pdf-invoices-packingslips.php:738
561
  msgid "Total"
562
  msgstr ""
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: pomegranate
3
  Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
4
  Requires at least: 3.5
5
  Tested up to: 4.1
6
- Stable tag: 1.5.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -248,6 +248,14 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
248
 
249
  == Changelog ==
250
 
 
 
 
 
 
 
 
 
251
  = 1.5.4 =
252
  * Tweak: include plugin version in style/script includes
253
  * Tweak: upload code cleanup
@@ -480,5 +488,5 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
480
 
481
  == Upgrade Notice ==
482
 
483
- = 1.5.4 =
484
  Version 1.5 changes where temporary files are stored - everything is now stored centrally in the WP uploads folder. For backwards compatibility, this feature is turned off by default, but we recommend to use the new folders. Check the plugin Status panel for more information!
3
  Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
4
  Requires at least: 3.5
5
  Tested up to: 4.1
6
+ Stable tag: 1.5.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
248
 
249
  == Changelog ==
250
 
251
+ = 1.5.5 =
252
+ * Fix: Check for incomplete line tax data (Subscriptions compatibility)
253
+ * Fix: More precise template path instructions
254
+ * Fix: duplicate stylesheet filter
255
+ * Fix: Always prefer original order's billing address for refunds (WooCommerce EU VAT Number compatibility)
256
+ * Translations: Updated German (MwSt. instead of formal Ust.)
257
+ * Translations: Updated Dutch
258
+
259
  = 1.5.4 =
260
  * Tweak: include plugin version in style/script includes
261
  * Tweak: upload code cleanup
488
 
489
  == Upgrade Notice ==
490
 
491
+ = 1.5.5 =
492
  Version 1.5 changes where temporary files are stored - everything is now stored centrally in the WP uploads folder. For backwards compatibility, this feature is turned off by default, but we recommend to use the new folders. Check the plugin Status panel for more information!
woocommerce-pdf-invoices-packingslips.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce PDF Invoices & Packing Slips
4
  * Plugin URI: http://www.wpovernight.com
5
  * Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
6
- * Version: 1.5.4
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later
@@ -33,7 +33,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
33
  self::$plugin_basename = plugin_basename(__FILE__);
34
  self::$plugin_url = plugin_dir_url(self::$plugin_basename);
35
  self::$plugin_path = trailingslashit(dirname(__FILE__));
36
- self::$version = '1.5.4';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
@@ -213,7 +213,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
213
  * Output template styles
214
  */
215
  public function template_styles() {
216
- $css = apply_filters( 'wpo_wcpdf_template_styles', $this->export->template_path. '/' .'style.css' );
217
 
218
  ob_start();
219
  if (file_exists($css)) {
@@ -291,13 +291,8 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
291
  * Return/Show billing address
292
  */
293
  public function get_billing_address() {
294
- if ( $address = $this->export->order->get_formatted_billing_address() ) {
295
- return apply_filters( 'wpo_wcpdf_billing_address', $address );
296
- }
297
-
298
- if ( !$address && $parent_order_id = wp_get_post_parent_id( $this->export->order->id ) ) {
299
- // try parent address
300
-
301
  // temporarily switch order to make all filters / order calls work correctly
302
  $current_order = $this->export->order;
303
  $this->export->order = new WC_Order( $parent_order_id );
@@ -305,7 +300,11 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
305
  // switch back & unset
306
  $this->export->order = $current_order;
307
  unset($current_order);
 
 
 
308
  } else {
 
309
  $address = __('N/A', 'wpo_wcpdf');
310
  }
311
 
@@ -321,7 +320,6 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
321
  public function get_billing_email() {
322
  $billing_email = $this->export->order->billing_email;
323
 
324
-
325
  if ( !$billing_email && $parent_order_id = wp_get_post_parent_id( $this->export->order->id ) ) {
326
  // try parent
327
  $billing_email = get_post_meta( $parent_order_id, '_billing_email', true );
@@ -354,13 +352,8 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
354
  * Return/Show shipping address
355
  */
356
  public function get_shipping_address() {
357
- if ( $address = $this->export->order->get_formatted_shipping_address() ) {
358
- return apply_filters( 'wpo_wcpdf_shipping_address', $address );
359
- }
360
-
361
- if ( !$address && $parent_order_id = wp_get_post_parent_id( $this->export->order->id ) ) {
362
- // try parent address
363
-
364
  // temporarily switch order to make all filters / order calls work correctly
365
  $current_order = $this->export->order;
366
  $this->export->order = new WC_Order( $parent_order_id );
@@ -368,7 +361,11 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
368
  // switch back & unset
369
  $this->export->order = $current_order;
370
  unset($current_order);
 
 
 
371
  } else {
 
372
  $address = __('N/A', 'wpo_wcpdf');
373
  }
374
 
3
  * Plugin Name: WooCommerce PDF Invoices & Packing Slips
4
  * Plugin URI: http://www.wpovernight.com
5
  * Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
6
+ * Version: 1.5.5
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later
33
  self::$plugin_basename = plugin_basename(__FILE__);
34
  self::$plugin_url = plugin_dir_url(self::$plugin_basename);
35
  self::$plugin_path = trailingslashit(dirname(__FILE__));
36
+ self::$version = '1.5.5';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
213
  * Output template styles
214
  */
215
  public function template_styles() {
216
+ $css = apply_filters( 'wpo_wcpdf_template_styles_file', $this->export->template_path. '/' .'style.css' );
217
 
218
  ob_start();
219
  if (file_exists($css)) {
291
  * Return/Show billing address
292
  */
293
  public function get_billing_address() {
294
+ // always prefer parent billing address for refunds
295
+ if ( get_post_type( $this->export->order->id ) == 'shop_order_refund' && $parent_order_id = wp_get_post_parent_id( $this->export->order->id ) ) {
 
 
 
 
 
296
  // temporarily switch order to make all filters / order calls work correctly
297
  $current_order = $this->export->order;
298
  $this->export->order = new WC_Order( $parent_order_id );
300
  // switch back & unset
301
  $this->export->order = $current_order;
302
  unset($current_order);
303
+ } elseif ( $address = $this->export->order->get_formatted_billing_address() ) {
304
+ // regular shop_order
305
+ $address = apply_filters( 'wpo_wcpdf_billing_address', $address );
306
  } else {
307
+ // no address
308
  $address = __('N/A', 'wpo_wcpdf');
309
  }
310
 
320
  public function get_billing_email() {
321
  $billing_email = $this->export->order->billing_email;
322
 
 
323
  if ( !$billing_email && $parent_order_id = wp_get_post_parent_id( $this->export->order->id ) ) {
324
  // try parent
325
  $billing_email = get_post_meta( $parent_order_id, '_billing_email', true );
352
  * Return/Show shipping address
353
  */
354
  public function get_shipping_address() {
355
+ // always prefer parent shipping address for refunds
356
+ if ( get_post_type( $this->export->order->id ) == 'shop_order_refund' && $parent_order_id = wp_get_post_parent_id( $this->export->order->id ) ) {
 
 
 
 
 
357
  // temporarily switch order to make all filters / order calls work correctly
358
  $current_order = $this->export->order;
359
  $this->export->order = new WC_Order( $parent_order_id );
361
  // switch back & unset
362
  $this->export->order = $current_order;
363
  unset($current_order);
364
+ } elseif ( $address = $this->export->order->get_formatted_shipping_address() ) {
365
+ // regular shop_order
366
+ $address = apply_filters( 'wpo_wcpdf_shipping_address', $address );
367
  } else {
368
+ // no address
369
  $address = __('N/A', 'wpo_wcpdf');
370
  }
371