WooCommerce PDF Invoices & Packing Slips - Version 1.5.8

Version Description

  • Feature: disable invoice for free orders
  • Feature: action to insert data before & after item meta
  • Tweak: Added classes to sku & weight
  • Tweak: Hide payment method from totals (already shown in template)
  • Translations: Updated POT & Dutch
Download this release

Release Info

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

Code changes from version 1.5.7 to 1.5.8

includes/class-wcpdf-export.php CHANGED
@@ -381,12 +381,14 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
381
  die($this->process_template( $template_type, $order_ids ));
382
  }
383
 
384
- if ( !($invoice = $this->get_pdf( $template_type, $order_ids )) ) {
385
  exit;
386
  }
387
 
388
  $filename = $this->build_filename( $template_type, $order_ids, 'download' );
389
 
 
 
390
  // Get output setting
391
  $output_mode = isset($this->general_settings['download_display'])?$this->general_settings['download_display']:'';
392
 
@@ -406,7 +408,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
406
  }
407
 
408
  // output PDF data
409
- echo($invoice);
410
 
411
  exit;
412
  }
@@ -474,6 +476,12 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
474
  return $attachments;
475
  }
476
 
 
 
 
 
 
 
477
  $this->order = $order;
478
 
479
  $tmp_path = $this->tmp_path('attachments');
@@ -951,6 +959,18 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
951
  error_reporting( E_ALL );
952
  ini_set( 'display_errors', 1 );
953
  }
 
 
 
 
 
 
 
 
 
 
 
 
954
  }
955
 
956
  }
381
  die($this->process_template( $template_type, $order_ids ));
382
  }
383
 
384
+ if ( !($pdf = $this->get_pdf( $template_type, $order_ids )) ) {
385
  exit;
386
  }
387
 
388
  $filename = $this->build_filename( $template_type, $order_ids, 'download' );
389
 
390
+ do_action( 'wpo_wcpdf_created_manually', $pdf, $filename );
391
+
392
  // Get output setting
393
  $output_mode = isset($this->general_settings['download_display'])?$this->general_settings['download_display']:'';
394
 
408
  }
409
 
410
  // output PDF data
411
+ echo($pdf);
412
 
413
  exit;
414
  }
476
  return $attachments;
477
  }
478
 
479
+ // Disable free setting check
480
+ $order_total = $order->get_total();
481
+ if ( $order_total == 0 && isset($this->general_settings['disable_free']) ) {
482
+ return $attachments;
483
+ }
484
+
485
  $this->order = $order;
486
 
487
  $tmp_path = $this->tmp_path('attachments');
959
  error_reporting( E_ALL );
960
  ini_set( 'display_errors', 1 );
961
  }
962
+
963
+ /**
964
+ * Log messages
965
+ */
966
+
967
+ public function log( $order_id, $message ) {
968
+ $current_date_time = date("Y-m-d H:i:s");
969
+ $message = $order_id . ' ' . $current_date_time .' ' .$message ."\n";
970
+ $file = $this->tmp_path() . 'log.txt';
971
+
972
+ file_put_contents($file, $message, FILE_APPEND);
973
+ }
974
  }
975
 
976
  }
includes/class-wcpdf-settings.php CHANGED
@@ -225,6 +225,19 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
225
  )
226
  );
227
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  // Section.
229
  add_settings_section(
230
  'interface',
225
  )
226
  );
227
 
228
+ add_settings_field(
229
+ 'disable_free',
230
+ __( 'Disable for free products', 'wpo_wcpdf' ),
231
+ array( &$this, 'checkbox_element_callback' ),
232
+ $option,
233
+ 'general_settings',
234
+ array(
235
+ 'menu' => $option,
236
+ 'id' => 'disable_free',
237
+ 'description' => __( "Disable automatic creation/attachment of invoices when only free products are ordered", 'wpo_wcpdf' ),
238
+ )
239
+ );
240
+
241
  // Section.
242
  add_settings_section(
243
  'interface',
languages/wpo_wcpdf-de_DE.mo CHANGED
Binary file
languages/wpo_wcpdf-de_DE.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
- "POT-Creation-Date: 2015-03-20 13:11+0100\n"
5
- "PO-Revision-Date: 2015-03-20 13:15+0100\n"
6
  "Last-Translator: Jens Nachtigall <mail@nachtigall.io>\n"
7
  "Language-Team: PROnatur24 <info@pronatur24.eu>\n"
8
  "Language: de_DE\n"
@@ -26,14 +26,14 @@ 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] "Rechnung"
33
  msgstr[1] "Rechnungen"
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] "Lieferschein"
@@ -111,39 +111,49 @@ msgstr ""
111
  "überprüfe die Berechtigungen dieses Verzeichnisses. Ohne Schreibrechte "
112
  "können keine E-Mail - Rechnungen verschickt werden."
113
 
114
- #: includes/class-wcpdf-settings.php:231
 
 
 
 
 
 
 
 
 
 
115
  msgid "Interface"
116
  msgstr ""
117
 
118
- #: includes/class-wcpdf-settings.php:279
119
  msgid "Allow My Account invoice download"
120
  msgstr ""
121
 
122
- #: includes/class-wcpdf-settings.php:287
123
  msgid "Only when an invoice is already created/emailed"
124
  msgstr ""
125
 
126
- #: includes/class-wcpdf-settings.php:288
127
  msgid "Only for specific order statuses (define below)"
128
  msgstr ""
129
 
130
- #: includes/class-wcpdf-settings.php:289
131
  msgid "Always"
132
  msgstr ""
133
 
134
- #: includes/class-wcpdf-settings.php:304
135
  msgid "Enable invoice number column in the orders list"
136
  msgstr "Aktivierung Spalte Rechnungsnummer in Bestellübersicht"
137
 
138
- #: includes/class-wcpdf-settings.php:342
139
  msgid "PDF Template settings"
140
  msgstr "PDF Vorlageneinstellungen"
141
 
142
- #: includes/class-wcpdf-settings.php:354
143
  msgid "Choose a template"
144
  msgstr "Wähle ein Template"
145
 
146
- #: includes/class-wcpdf-settings.php:362
147
  #, php-format
148
  msgid ""
149
  "Want to use your own template? Copy all the files from <code>%s</code> to "
@@ -152,76 +162,83 @@ msgstr ""
152
  "Wenn du eigene Vorlagen verwenden willst, dann kopiere alle Dateien von "
153
  "<code>%s</code> nach <code>%s</code> und passe sie dort an."
154
 
155
- #: includes/class-wcpdf-settings.php:368
156
  msgid "Paper size"
157
  msgstr "Papierformat"
158
 
159
- #: includes/class-wcpdf-settings.php:376
160
  msgid "A4"
161
  msgstr "A4"
162
 
163
- #: includes/class-wcpdf-settings.php:377
164
  msgid "Letter"
165
  msgstr "Letter"
166
 
167
- #: includes/class-wcpdf-settings.php:384
168
  msgid "Shop header/logo"
169
  msgstr "Briefkopf-Logo"
170
 
171
- #: includes/class-wcpdf-settings.php:391
172
  msgid "Select or upload your invoice header/logo"
173
  msgstr "Auswählen oder hochladen des Logos"
174
 
175
- #: includes/class-wcpdf-settings.php:392
176
  msgid "Set image"
177
  msgstr "Logo festlegen"
178
 
179
- #: includes/class-wcpdf-settings.php:393
180
  msgid "Remove image"
181
  msgstr "Logo entfernen"
182
 
183
- #: includes/class-wcpdf-settings.php:400
184
  msgid "Shop Name"
185
  msgstr "Name des Shops"
186
 
187
- #: includes/class-wcpdf-settings.php:413
188
  msgid "Shop Address"
189
  msgstr "Adresse des Shops"
190
 
191
- #: includes/class-wcpdf-settings.php:428
192
  msgid "Footer: terms & conditions, policies, etc."
193
  msgstr "Fußzeile: allgemeine Bestimmungen, etc."
194
 
195
- #: includes/class-wcpdf-settings.php:443
196
- msgid "Shipping address on invoice"
 
 
 
 
 
 
197
  msgstr ""
198
 
199
- #: includes/class-wcpdf-settings.php:450
200
- msgid "Display shipping address on invoice if different from billing address"
 
 
201
  msgstr ""
202
 
203
- #: includes/class-wcpdf-settings.php:457
204
- msgid "Billing address on packing slip"
205
  msgstr ""
206
 
207
- #: includes/class-wcpdf-settings.php:464
208
- msgid ""
209
- "Display billing address on packing slip if different from shipping address"
210
  msgstr ""
211
 
212
- #: includes/class-wcpdf-settings.php:470
213
  msgid "Display invoice date"
214
  msgstr "Rechnungsdatum anzeigen"
215
 
216
- #: includes/class-wcpdf-settings.php:483
217
  msgid "Display built-in sequential invoice number"
218
  msgstr "Anzeige integrierte fortlaufende Rechnungsnummer"
219
 
220
- #: includes/class-wcpdf-settings.php:496
221
  msgid "Next invoice number (without prefix/suffix etc.)"
222
  msgstr "Nächste Rechnungsnummer (ohne Präfix/Suffix usw.)"
223
 
224
- #: includes/class-wcpdf-settings.php:504
225
  msgid ""
226
  "This is the number that will be used on the next invoice that is created. By "
227
  "default, numbering starts from the WooCommerce Order Number of the first "
@@ -236,15 +253,15 @@ msgstr ""
236
  "Rechnungsnummer mit einer kleineren Nummer zu doppelten Rechnungsnummern "
237
  "führen kann."
238
 
239
- #: includes/class-wcpdf-settings.php:510
240
  msgid "Invoice number format"
241
  msgstr "Rechnungsnummer"
242
 
243
- #: includes/class-wcpdf-settings.php:519
244
  msgid "Prefix"
245
  msgstr "Präfix"
246
 
247
- #: includes/class-wcpdf-settings.php:521
248
  msgid ""
249
  "to use the order year and/or month, use [order_year] or [order_month] "
250
  "respectively"
@@ -252,21 +269,21 @@ msgstr ""
252
  "um das Bestelljahr und/oder -monat zu nutzen, verwende [order_year] oder "
253
  "[order_month]"
254
 
255
- #: includes/class-wcpdf-settings.php:524
256
  msgid "Suffix"
257
  msgstr "Suffix"
258
 
259
- #: includes/class-wcpdf-settings.php:529
260
  msgid "Padding"
261
  msgstr "Abstand"
262
 
263
- #: includes/class-wcpdf-settings.php:531
264
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
265
  msgstr ""
266
  "Anzahl der Zeichen hier eingeben - \"6\" eingeben um 42 als 000042 "
267
  "darzustellen"
268
 
269
- #: includes/class-wcpdf-settings.php:534
270
  msgid ""
271
  "note: if you have already created a custom invoice number format with a "
272
  "filter, the above settings will be ignored"
@@ -274,82 +291,99 @@ msgstr ""
274
  "beachte: solltest du schon mit einem Filter ein eigenes Format der "
275
  "Rechnungsnummer erstellt haben, werden obige Einstellungen ignoriert"
276
 
277
- #: includes/class-wcpdf-settings.php:541
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
278
  msgid "Extra template fields"
279
  msgstr "Zusätzliche Vorlagenfelder"
280
 
281
- #: includes/class-wcpdf-settings.php:548
282
  msgid "Extra field 1"
283
  msgstr "Zusatzfeld 1"
284
 
285
- #: includes/class-wcpdf-settings.php:557
286
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
287
  msgstr ""
288
  "Das ist die Spalte 1 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
289
 
290
- #: includes/class-wcpdf-settings.php:563
291
  msgid "Extra field 2"
292
  msgstr "Zusatzfeld 2"
293
 
294
- #: includes/class-wcpdf-settings.php:572
295
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
296
  msgstr ""
297
  "Das ist die Spalte 2 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
298
 
299
- #: includes/class-wcpdf-settings.php:578
300
  msgid "Extra field 3"
301
  msgstr "Zusatzfeld 3"
302
 
303
- #: includes/class-wcpdf-settings.php:587
304
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
305
  msgstr ""
306
  "Das ist die Spalte 3 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
307
 
308
- #: includes/class-wcpdf-settings.php:629
309
  msgid "Debug settings"
310
  msgstr ""
311
 
312
- #: includes/class-wcpdf-settings.php:636
313
  msgid "Enable debug output"
314
  msgstr ""
315
 
316
- #: includes/class-wcpdf-settings.php:643
317
  msgid ""
318
  "Enable this option to output plugin errors if you're getting a blank page or "
319
  "other PDF generation issues"
320
  msgstr ""
321
 
322
- #: includes/class-wcpdf-settings.php:649
323
  msgid "Output to HTML"
324
  msgstr ""
325
 
326
- #: includes/class-wcpdf-settings.php:656
327
  msgid ""
328
  "Send the template output as HTML to the browser instead of creating a PDF."
329
  msgstr ""
330
 
331
- #: includes/class-wcpdf-settings.php:662
332
  msgid "Use old tmp folder"
333
  msgstr ""
334
 
335
- #: includes/class-wcpdf-settings.php:669
336
  msgid ""
337
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
338
  "plugin folder. This setting is only intended for backwards compatibility, "
339
  "not recommended on new installs!"
340
  msgstr ""
341
 
342
- #: includes/class-wcpdf-settings.php:1009
343
  msgid "Image resolution"
344
  msgstr "Bildauflösung"
345
 
346
- #: includes/class-wcpdf-settings.php:1125
347
  msgid ""
348
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
349
  "Do not use them on a live website!"
350
  msgstr ""
351
 
352
- #: includes/class-wcpdf-settings.php:1134
353
  msgid ""
354
  "These are used for the (optional) footer columns in the <em>Modern "
355
  "(Premium)</em> template, but can also be used for other elements in your "
@@ -364,12 +398,12 @@ msgid "PDF Packing Slips"
364
  msgstr "PDF Lieferscheine"
365
 
366
  #: includes/class-wcpdf-writepanels.php:107
367
- #: includes/class-wcpdf-writepanels.php:222
368
  msgid "PDF Invoice"
369
  msgstr "PDF Rechnung"
370
 
371
  #: includes/class-wcpdf-writepanels.php:112
372
- #: includes/class-wcpdf-writepanels.php:227
373
  msgid "PDF Packing Slip"
374
  msgstr "PDF Lieferschein"
375
 
@@ -377,28 +411,28 @@ msgstr "PDF Lieferschein"
377
  msgid "Invoice Number"
378
  msgstr "Rechnungsnummer"
379
 
380
- #: includes/class-wcpdf-writepanels.php:198
381
  msgid "Download invoice (PDF)"
382
  msgstr "Rechnung runterladen (PDF)"
383
 
384
- #: includes/class-wcpdf-writepanels.php:209
385
  msgid "Create PDF"
386
  msgstr "PDF erstellen"
387
 
388
- #: includes/class-wcpdf-writepanels.php:270
389
  msgid "PDF Invoice Number (unformatted!)"
390
  msgstr "PDF Rechnungsnummer (unformatiert)"
391
 
392
- #: includes/class-wcpdf-writepanels.php:273
393
- #: templates/pdf/Simple/invoice.php:49
394
  msgid "Invoice Date:"
395
  msgstr "Rechnungsdatum:"
396
 
397
- #: includes/class-wcpdf-writepanels.php:274
398
  msgid "h"
399
  msgstr "Std"
400
 
401
- #: includes/class-wcpdf-writepanels.php:274
402
  msgid "m"
403
  msgstr "Min"
404
 
@@ -526,92 +560,81 @@ msgstr "Schau dir die Premium PDF Invoice & Packing Slips Vorlagen an auf %s."
526
  msgid "For custom templates, contact us at %s."
527
  msgstr "Für individuelle Vorlagen kontaktiert uns auf %s."
528
 
529
- #: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
530
- #: woocommerce-pdf-invoices-packingslips.php:218
531
- msgid "Invoice"
532
- msgstr "Rechnung"
533
-
534
  #: templates/pdf/Simple/invoice.php:29
535
- #: templates/pdf/Simple/packing-slip.php:34
536
  msgid "Billing Address:"
537
  msgstr "Rechnungsadresse:"
538
 
539
- #: templates/pdf/Simple/invoice.php:34
540
  msgid "Ship To:"
541
  msgstr "Versand nach:"
542
 
543
- #: templates/pdf/Simple/invoice.php:43
544
  msgid "Invoice Number:"
545
  msgstr "Rechnungsnummer:"
546
 
547
- #: templates/pdf/Simple/invoice.php:54
548
- #: templates/pdf/Simple/packing-slip.php:42
549
  msgid "Order Number:"
550
  msgstr "Bestellnummer:"
551
 
552
- #: templates/pdf/Simple/invoice.php:58
553
- #: templates/pdf/Simple/packing-slip.php:46
554
  msgid "Order Date:"
555
  msgstr "Bestelldatum:"
556
 
557
- #: templates/pdf/Simple/invoice.php:62
558
  msgid "Payment Method:"
559
  msgstr "Zahlungsart:"
560
 
561
- #: templates/pdf/Simple/invoice.php:76
562
- #: templates/pdf/Simple/packing-slip.php:64
563
  msgid "Product"
564
  msgstr "Produkt"
565
 
566
- #: templates/pdf/Simple/invoice.php:77
567
- #: templates/pdf/Simple/packing-slip.php:65
568
  msgid "Quantity"
569
  msgstr "Anzahl"
570
 
571
- #: templates/pdf/Simple/invoice.php:78
572
  msgid "Price"
573
  msgstr "Preis"
574
 
575
- #: templates/pdf/Simple/invoice.php:85
576
- #: templates/pdf/Simple/packing-slip.php:72
577
  msgid "Description"
578
  msgstr "Beschreibung"
579
 
580
- #: templates/pdf/Simple/invoice.php:89
581
- #: templates/pdf/Simple/packing-slip.php:76
582
  msgid "SKU"
583
  msgstr "Art.-Nr."
584
 
585
- #: templates/pdf/Simple/invoice.php:90
586
- #: templates/pdf/Simple/packing-slip.php:77
587
  msgid "SKU:"
588
  msgstr "Art.-Nr.:"
589
 
590
- #: templates/pdf/Simple/invoice.php:91
591
- #: templates/pdf/Simple/packing-slip.php:78
592
  msgid "Weight:"
593
  msgstr "Gewicht:"
594
 
595
- #: templates/pdf/Simple/invoice.php:104
596
- #: templates/pdf/Simple/packing-slip.php:91
597
  msgid "Customer Notes"
598
  msgstr "Anmerkungen"
599
 
600
- #: templates/pdf/Simple/packing-slip.php:9
601
- #: templates/pdf/Simple/packing-slip.php:21
602
- #: woocommerce-pdf-invoices-packingslips.php:221
603
- msgid "Packing Slip"
604
- msgstr "Lieferschein"
605
-
606
  #: templates/pdf/Simple/packing-slip.php:29
607
  msgid "Shipping Address:"
608
  msgstr "Lieferadresse:"
609
 
610
- #: templates/pdf/Simple/packing-slip.php:50
611
  msgid "Shipping Method:"
612
  msgstr "Versandart:"
613
 
614
- #: woocommerce-pdf-invoices-packingslips.php:121
615
  #, php-format
616
  msgid ""
617
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
@@ -620,40 +643,40 @@ msgstr ""
620
  "WooCommerce PDF Invoices & Packing Slips benötigt %sWooCommerce%s "
621
  "installiert und aktiviert!"
622
 
623
- #: woocommerce-pdf-invoices-packingslips.php:328
624
- #: woocommerce-pdf-invoices-packingslips.php:389
625
  msgid "N/A"
626
  msgstr "nicht verfügbar"
627
 
628
- #: woocommerce-pdf-invoices-packingslips.php:478
629
  msgid "Payment method"
630
  msgstr "Zahlungsart"
631
 
632
- #: woocommerce-pdf-invoices-packingslips.php:489
633
  msgid "Shipping method"
634
  msgstr "Versandart"
635
 
636
- #: woocommerce-pdf-invoices-packingslips.php:610
637
  msgid "Subtotal"
638
  msgstr "Zwischensumme"
639
 
640
- #: woocommerce-pdf-invoices-packingslips.php:632
641
  msgid "Shipping"
642
  msgstr "Versand"
643
 
644
- #: woocommerce-pdf-invoices-packingslips.php:685
645
  msgid "Discount"
646
  msgstr "Rabatt"
647
 
648
- #: woocommerce-pdf-invoices-packingslips.php:725
649
  msgid "VAT"
650
  msgstr "MwSt."
651
 
652
- #: woocommerce-pdf-invoices-packingslips.php:762
653
  msgid "Total ex. VAT"
654
  msgstr "Gesamtsumme ohne MwSt."
655
 
656
- #: woocommerce-pdf-invoices-packingslips.php:765
657
  msgid "Total"
658
  msgstr "Gesamtsumme"
659
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2015-03-30 12:42+0100\n"
5
+ "PO-Revision-Date: 2015-03-30 12:43+0100\n"
6
  "Last-Translator: Jens Nachtigall <mail@nachtigall.io>\n"
7
  "Language-Team: PROnatur24 <info@pronatur24.eu>\n"
8
  "Language: de_DE\n"
26
  msgstr ""
27
 
28
  # This is a filename (prefix). do not use spaces or special characters!
29
+ #: includes/class-wcpdf-export.php:424
30
  msgid "invoice"
31
  msgid_plural "invoices"
32
  msgstr[0] "Rechnung"
33
  msgstr[1] "Rechnungen"
34
 
35
  # This is a filename (prefix). do not use spaces or special characters!
36
+ #: includes/class-wcpdf-export.php:428
37
  msgid "packing-slip"
38
  msgid_plural "packing-slips"
39
  msgstr[0] "Lieferschein"
111
  "überprüfe die Berechtigungen dieses Verzeichnisses. Ohne Schreibrechte "
112
  "können keine E-Mail - Rechnungen verschickt werden."
113
 
114
+ #: includes/class-wcpdf-settings.php:230
115
+ msgid "Disable for free products"
116
+ msgstr ""
117
+
118
+ #: includes/class-wcpdf-settings.php:237
119
+ msgid ""
120
+ "Disable automatic creation/attachment of invoices when only free products "
121
+ "are ordered"
122
+ msgstr ""
123
+
124
+ #: includes/class-wcpdf-settings.php:244
125
  msgid "Interface"
126
  msgstr ""
127
 
128
+ #: includes/class-wcpdf-settings.php:292
129
  msgid "Allow My Account invoice download"
130
  msgstr ""
131
 
132
+ #: includes/class-wcpdf-settings.php:300
133
  msgid "Only when an invoice is already created/emailed"
134
  msgstr ""
135
 
136
+ #: includes/class-wcpdf-settings.php:301
137
  msgid "Only for specific order statuses (define below)"
138
  msgstr ""
139
 
140
+ #: includes/class-wcpdf-settings.php:302
141
  msgid "Always"
142
  msgstr ""
143
 
144
+ #: includes/class-wcpdf-settings.php:317
145
  msgid "Enable invoice number column in the orders list"
146
  msgstr "Aktivierung Spalte Rechnungsnummer in Bestellübersicht"
147
 
148
+ #: includes/class-wcpdf-settings.php:355
149
  msgid "PDF Template settings"
150
  msgstr "PDF Vorlageneinstellungen"
151
 
152
+ #: includes/class-wcpdf-settings.php:367
153
  msgid "Choose a template"
154
  msgstr "Wähle ein Template"
155
 
156
+ #: includes/class-wcpdf-settings.php:375
157
  #, php-format
158
  msgid ""
159
  "Want to use your own template? Copy all the files from <code>%s</code> to "
162
  "Wenn du eigene Vorlagen verwenden willst, dann kopiere alle Dateien von "
163
  "<code>%s</code> nach <code>%s</code> und passe sie dort an."
164
 
165
+ #: includes/class-wcpdf-settings.php:381
166
  msgid "Paper size"
167
  msgstr "Papierformat"
168
 
169
+ #: includes/class-wcpdf-settings.php:389
170
  msgid "A4"
171
  msgstr "A4"
172
 
173
+ #: includes/class-wcpdf-settings.php:390
174
  msgid "Letter"
175
  msgstr "Letter"
176
 
177
+ #: includes/class-wcpdf-settings.php:397
178
  msgid "Shop header/logo"
179
  msgstr "Briefkopf-Logo"
180
 
181
+ #: includes/class-wcpdf-settings.php:404
182
  msgid "Select or upload your invoice header/logo"
183
  msgstr "Auswählen oder hochladen des Logos"
184
 
185
+ #: includes/class-wcpdf-settings.php:405
186
  msgid "Set image"
187
  msgstr "Logo festlegen"
188
 
189
+ #: includes/class-wcpdf-settings.php:406
190
  msgid "Remove image"
191
  msgstr "Logo entfernen"
192
 
193
+ #: includes/class-wcpdf-settings.php:413
194
  msgid "Shop Name"
195
  msgstr "Name des Shops"
196
 
197
+ #: includes/class-wcpdf-settings.php:426
198
  msgid "Shop Address"
199
  msgstr "Adresse des Shops"
200
 
201
+ #: includes/class-wcpdf-settings.php:441
202
  msgid "Footer: terms & conditions, policies, etc."
203
  msgstr "Fußzeile: allgemeine Bestimmungen, etc."
204
 
205
+ #: includes/class-wcpdf-settings.php:457 templates/pdf/Simple/invoice.php:9
206
+ #: templates/pdf/Simple/invoice.php:21
207
+ #: woocommerce-pdf-invoices-packingslips.php:220
208
+ msgid "Invoice"
209
+ msgstr "Rechnung"
210
+
211
+ #: includes/class-wcpdf-settings.php:464
212
+ msgid "Display shipping address"
213
  msgstr ""
214
 
215
+ #: includes/class-wcpdf-settings.php:471
216
+ msgid ""
217
+ "Display shipping address on invoice (in addition to the default billing "
218
+ "address) if different from billing address"
219
  msgstr ""
220
 
221
+ #: includes/class-wcpdf-settings.php:477 includes/class-wcpdf-settings.php:592
222
+ msgid "Display email address"
223
  msgstr ""
224
 
225
+ #: includes/class-wcpdf-settings.php:489 includes/class-wcpdf-settings.php:604
226
+ msgid "Display phone number"
 
227
  msgstr ""
228
 
229
+ #: includes/class-wcpdf-settings.php:501
230
  msgid "Display invoice date"
231
  msgstr "Rechnungsdatum anzeigen"
232
 
233
+ #: includes/class-wcpdf-settings.php:514
234
  msgid "Display built-in sequential invoice number"
235
  msgstr "Anzeige integrierte fortlaufende Rechnungsnummer"
236
 
237
+ #: includes/class-wcpdf-settings.php:527
238
  msgid "Next invoice number (without prefix/suffix etc.)"
239
  msgstr "Nächste Rechnungsnummer (ohne Präfix/Suffix usw.)"
240
 
241
+ #: includes/class-wcpdf-settings.php:535
242
  msgid ""
243
  "This is the number that will be used on the next invoice that is created. By "
244
  "default, numbering starts from the WooCommerce Order Number of the first "
253
  "Rechnungsnummer mit einer kleineren Nummer zu doppelten Rechnungsnummern "
254
  "führen kann."
255
 
256
+ #: includes/class-wcpdf-settings.php:541
257
  msgid "Invoice number format"
258
  msgstr "Rechnungsnummer"
259
 
260
+ #: includes/class-wcpdf-settings.php:550
261
  msgid "Prefix"
262
  msgstr "Präfix"
263
 
264
+ #: includes/class-wcpdf-settings.php:552
265
  msgid ""
266
  "to use the order year and/or month, use [order_year] or [order_month] "
267
  "respectively"
269
  "um das Bestelljahr und/oder -monat zu nutzen, verwende [order_year] oder "
270
  "[order_month]"
271
 
272
+ #: includes/class-wcpdf-settings.php:555
273
  msgid "Suffix"
274
  msgstr "Suffix"
275
 
276
+ #: includes/class-wcpdf-settings.php:560
277
  msgid "Padding"
278
  msgstr "Abstand"
279
 
280
+ #: includes/class-wcpdf-settings.php:562
281
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
282
  msgstr ""
283
  "Anzahl der Zeichen hier eingeben - \"6\" eingeben um 42 als 000042 "
284
  "darzustellen"
285
 
286
+ #: includes/class-wcpdf-settings.php:565
287
  msgid ""
288
  "note: if you have already created a custom invoice number format with a "
289
  "filter, the above settings will be ignored"
291
  "beachte: solltest du schon mit einem Filter ein eigenes Format der "
292
  "Rechnungsnummer erstellt haben, werden obige Einstellungen ignoriert"
293
 
294
+ #: includes/class-wcpdf-settings.php:572
295
+ #: templates/pdf/Simple/packing-slip.php:9
296
+ #: templates/pdf/Simple/packing-slip.php:21
297
+ #: woocommerce-pdf-invoices-packingslips.php:223
298
+ msgid "Packing Slip"
299
+ msgstr "Lieferschein"
300
+
301
+ #: includes/class-wcpdf-settings.php:579
302
+ msgid "Display billing address"
303
+ msgstr ""
304
+
305
+ #: includes/class-wcpdf-settings.php:586
306
+ msgid ""
307
+ "Display billing address on packing slip (in addition to the default shipping "
308
+ "address) if different from shipping address"
309
+ msgstr ""
310
+
311
+ #: includes/class-wcpdf-settings.php:617
312
  msgid "Extra template fields"
313
  msgstr "Zusätzliche Vorlagenfelder"
314
 
315
+ #: includes/class-wcpdf-settings.php:624
316
  msgid "Extra field 1"
317
  msgstr "Zusatzfeld 1"
318
 
319
+ #: includes/class-wcpdf-settings.php:633
320
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
321
  msgstr ""
322
  "Das ist die Spalte 1 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
323
 
324
+ #: includes/class-wcpdf-settings.php:639
325
  msgid "Extra field 2"
326
  msgstr "Zusatzfeld 2"
327
 
328
+ #: includes/class-wcpdf-settings.php:648
329
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
330
  msgstr ""
331
  "Das ist die Spalte 2 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
332
 
333
+ #: includes/class-wcpdf-settings.php:654
334
  msgid "Extra field 3"
335
  msgstr "Zusatzfeld 3"
336
 
337
+ #: includes/class-wcpdf-settings.php:663
338
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
339
  msgstr ""
340
  "Das ist die Spalte 3 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
341
 
342
+ #: includes/class-wcpdf-settings.php:705
343
  msgid "Debug settings"
344
  msgstr ""
345
 
346
+ #: includes/class-wcpdf-settings.php:712
347
  msgid "Enable debug output"
348
  msgstr ""
349
 
350
+ #: includes/class-wcpdf-settings.php:719
351
  msgid ""
352
  "Enable this option to output plugin errors if you're getting a blank page or "
353
  "other PDF generation issues"
354
  msgstr ""
355
 
356
+ #: includes/class-wcpdf-settings.php:725
357
  msgid "Output to HTML"
358
  msgstr ""
359
 
360
+ #: includes/class-wcpdf-settings.php:732
361
  msgid ""
362
  "Send the template output as HTML to the browser instead of creating a PDF."
363
  msgstr ""
364
 
365
+ #: includes/class-wcpdf-settings.php:738
366
  msgid "Use old tmp folder"
367
  msgstr ""
368
 
369
+ #: includes/class-wcpdf-settings.php:745
370
  msgid ""
371
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
372
  "plugin folder. This setting is only intended for backwards compatibility, "
373
  "not recommended on new installs!"
374
  msgstr ""
375
 
376
+ #: includes/class-wcpdf-settings.php:1085
377
  msgid "Image resolution"
378
  msgstr "Bildauflösung"
379
 
380
+ #: includes/class-wcpdf-settings.php:1201
381
  msgid ""
382
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
383
  "Do not use them on a live website!"
384
  msgstr ""
385
 
386
+ #: includes/class-wcpdf-settings.php:1210
387
  msgid ""
388
  "These are used for the (optional) footer columns in the <em>Modern "
389
  "(Premium)</em> template, but can also be used for other elements in your "
398
  msgstr "PDF Lieferscheine"
399
 
400
  #: includes/class-wcpdf-writepanels.php:107
401
+ #: includes/class-wcpdf-writepanels.php:216
402
  msgid "PDF Invoice"
403
  msgstr "PDF Rechnung"
404
 
405
  #: includes/class-wcpdf-writepanels.php:112
406
+ #: includes/class-wcpdf-writepanels.php:221
407
  msgid "PDF Packing Slip"
408
  msgstr "PDF Lieferschein"
409
 
411
  msgid "Invoice Number"
412
  msgstr "Rechnungsnummer"
413
 
414
+ #: includes/class-wcpdf-writepanels.php:192
415
  msgid "Download invoice (PDF)"
416
  msgstr "Rechnung runterladen (PDF)"
417
 
418
+ #: includes/class-wcpdf-writepanels.php:203
419
  msgid "Create PDF"
420
  msgstr "PDF erstellen"
421
 
422
+ #: includes/class-wcpdf-writepanels.php:264
423
  msgid "PDF Invoice Number (unformatted!)"
424
  msgstr "PDF Rechnungsnummer (unformatiert)"
425
 
426
+ #: includes/class-wcpdf-writepanels.php:267
427
+ #: templates/pdf/Simple/invoice.php:55
428
  msgid "Invoice Date:"
429
  msgstr "Rechnungsdatum:"
430
 
431
+ #: includes/class-wcpdf-writepanels.php:268
432
  msgid "h"
433
  msgstr "Std"
434
 
435
+ #: includes/class-wcpdf-writepanels.php:268
436
  msgid "m"
437
  msgstr "Min"
438
 
560
  msgid "For custom templates, contact us at %s."
561
  msgstr "Für individuelle Vorlagen kontaktiert uns auf %s."
562
 
 
 
 
 
 
563
  #: templates/pdf/Simple/invoice.php:29
564
+ #: templates/pdf/Simple/packing-slip.php:40
565
  msgid "Billing Address:"
566
  msgstr "Rechnungsadresse:"
567
 
568
+ #: templates/pdf/Simple/invoice.php:40
569
  msgid "Ship To:"
570
  msgstr "Versand nach:"
571
 
572
+ #: templates/pdf/Simple/invoice.php:49
573
  msgid "Invoice Number:"
574
  msgstr "Rechnungsnummer:"
575
 
576
+ #: templates/pdf/Simple/invoice.php:60
577
+ #: templates/pdf/Simple/packing-slip.php:48
578
  msgid "Order Number:"
579
  msgstr "Bestellnummer:"
580
 
581
+ #: templates/pdf/Simple/invoice.php:64
582
+ #: templates/pdf/Simple/packing-slip.php:52
583
  msgid "Order Date:"
584
  msgstr "Bestelldatum:"
585
 
586
+ #: templates/pdf/Simple/invoice.php:68
587
  msgid "Payment Method:"
588
  msgstr "Zahlungsart:"
589
 
590
+ #: templates/pdf/Simple/invoice.php:82
591
+ #: templates/pdf/Simple/packing-slip.php:70
592
  msgid "Product"
593
  msgstr "Produkt"
594
 
595
+ #: templates/pdf/Simple/invoice.php:83
596
+ #: templates/pdf/Simple/packing-slip.php:71
597
  msgid "Quantity"
598
  msgstr "Anzahl"
599
 
600
+ #: templates/pdf/Simple/invoice.php:84
601
  msgid "Price"
602
  msgstr "Preis"
603
 
604
+ #: templates/pdf/Simple/invoice.php:91
605
+ #: templates/pdf/Simple/packing-slip.php:78
606
  msgid "Description"
607
  msgstr "Beschreibung"
608
 
609
+ #: templates/pdf/Simple/invoice.php:96
610
+ #: templates/pdf/Simple/packing-slip.php:83
611
  msgid "SKU"
612
  msgstr "Art.-Nr."
613
 
614
+ #: templates/pdf/Simple/invoice.php:97
615
+ #: templates/pdf/Simple/packing-slip.php:84
616
  msgid "SKU:"
617
  msgstr "Art.-Nr.:"
618
 
619
+ #: templates/pdf/Simple/invoice.php:98
620
+ #: templates/pdf/Simple/packing-slip.php:85
621
  msgid "Weight:"
622
  msgstr "Gewicht:"
623
 
624
+ #: templates/pdf/Simple/invoice.php:112
625
+ #: templates/pdf/Simple/packing-slip.php:99
626
  msgid "Customer Notes"
627
  msgstr "Anmerkungen"
628
 
 
 
 
 
 
 
629
  #: templates/pdf/Simple/packing-slip.php:29
630
  msgid "Shipping Address:"
631
  msgstr "Lieferadresse:"
632
 
633
+ #: templates/pdf/Simple/packing-slip.php:56
634
  msgid "Shipping Method:"
635
  msgstr "Versandart:"
636
 
637
+ #: woocommerce-pdf-invoices-packingslips.php:123
638
  #, php-format
639
  msgid ""
640
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
643
  "WooCommerce PDF Invoices & Packing Slips benötigt %sWooCommerce%s "
644
  "installiert und aktiviert!"
645
 
646
+ #: woocommerce-pdf-invoices-packingslips.php:330
647
+ #: woocommerce-pdf-invoices-packingslips.php:391
648
  msgid "N/A"
649
  msgstr "nicht verfügbar"
650
 
651
+ #: woocommerce-pdf-invoices-packingslips.php:480
652
  msgid "Payment method"
653
  msgstr "Zahlungsart"
654
 
655
+ #: woocommerce-pdf-invoices-packingslips.php:491
656
  msgid "Shipping method"
657
  msgstr "Versandart"
658
 
659
+ #: woocommerce-pdf-invoices-packingslips.php:612
660
  msgid "Subtotal"
661
  msgstr "Zwischensumme"
662
 
663
+ #: woocommerce-pdf-invoices-packingslips.php:634
664
  msgid "Shipping"
665
  msgstr "Versand"
666
 
667
+ #: woocommerce-pdf-invoices-packingslips.php:687
668
  msgid "Discount"
669
  msgstr "Rabatt"
670
 
671
+ #: woocommerce-pdf-invoices-packingslips.php:727
672
  msgid "VAT"
673
  msgstr "MwSt."
674
 
675
+ #: woocommerce-pdf-invoices-packingslips.php:764
676
  msgid "Total ex. VAT"
677
  msgstr "Gesamtsumme ohne MwSt."
678
 
679
+ #: woocommerce-pdf-invoices-packingslips.php:767
680
  msgid "Total"
681
  msgstr "Gesamtsumme"
682
 
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: 2015-03-23 12:44+0100\n"
6
- "PO-Revision-Date: 2015-03-23 12:46+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"
@@ -28,13 +28,13 @@ msgstr "Je hebt onvoldoende rechten voor deze pagina."
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"
@@ -112,39 +112,51 @@ msgstr ""
112
  "controleer de rechten op deze folder! Zonder schrijfrechten kan de plugin "
113
  "geen facturen emailen."
114
 
115
- #: includes/class-wcpdf-settings.php:231
 
 
 
 
 
 
 
 
 
 
 
 
116
  msgid "Interface"
117
  msgstr "Interface"
118
 
119
- #: includes/class-wcpdf-settings.php:279
120
  msgid "Allow My Account invoice download"
121
  msgstr "Sta downloaden factuur vanaf Mijn Account toe"
122
 
123
- #: includes/class-wcpdf-settings.php:287
124
  msgid "Only when an invoice is already created/emailed"
125
  msgstr "Alleen wanneer een factuur al is aangemaakt/gemaild"
126
 
127
- #: includes/class-wcpdf-settings.php:288
128
  msgid "Only for specific order statuses (define below)"
129
  msgstr "Alleen voor specifieke order statussen (hieronder gedefinieerd)"
130
 
131
- #: includes/class-wcpdf-settings.php:289
132
  msgid "Always"
133
  msgstr "Altijd"
134
 
135
- #: includes/class-wcpdf-settings.php:304
136
  msgid "Enable invoice number column in the orders list"
137
  msgstr "Schakel factuurnummer kolom in het bestellingen overzicht in"
138
 
139
- #: includes/class-wcpdf-settings.php:342
140
  msgid "PDF Template settings"
141
  msgstr "PDF Template instellingen"
142
 
143
- #: includes/class-wcpdf-settings.php:354
144
  msgid "Choose a template"
145
  msgstr "Kies een template"
146
 
147
- #: includes/class-wcpdf-settings.php:362
148
  #, php-format
149
  msgid ""
150
  "Want to use your own template? Copy all the files from <code>%s</code> to "
@@ -153,57 +165,57 @@ msgstr ""
153
  "Wil je je eigen template gebruiken? Kopieer alle bestanden van <code>%s</"
154
  "code> naar je (child-) theme in <code>%s</code> en pas ze aan naar je wensen."
155
 
156
- #: includes/class-wcpdf-settings.php:368
157
  msgid "Paper size"
158
  msgstr "Papierformaat"
159
 
160
- #: includes/class-wcpdf-settings.php:376
161
  msgid "A4"
162
  msgstr "A4"
163
 
164
- #: includes/class-wcpdf-settings.php:377
165
  msgid "Letter"
166
  msgstr "Letter (US)"
167
 
168
- #: includes/class-wcpdf-settings.php:384
169
  msgid "Shop header/logo"
170
  msgstr "Shop header/logo"
171
 
172
- #: includes/class-wcpdf-settings.php:391
173
  msgid "Select or upload your invoice header/logo"
174
  msgstr "Selecteer of upload je factuur header/logo"
175
 
176
- #: includes/class-wcpdf-settings.php:392
177
  msgid "Set image"
178
  msgstr "Stel afbeelding in"
179
 
180
- #: includes/class-wcpdf-settings.php:393
181
  msgid "Remove image"
182
  msgstr "Verwijder afbeelding"
183
 
184
- #: includes/class-wcpdf-settings.php:400
185
  msgid "Shop Name"
186
  msgstr "Shop Naam"
187
 
188
- #: includes/class-wcpdf-settings.php:413
189
  msgid "Shop Address"
190
  msgstr "Shop Adres"
191
 
192
- #: includes/class-wcpdf-settings.php:428
193
  msgid "Footer: terms & conditions, policies, etc."
194
  msgstr "Voettekst: algemene voorwaarden, retourenbeleid, etc."
195
 
196
- #: includes/class-wcpdf-settings.php:444 templates/pdf/Simple/invoice.php:9
197
  #: templates/pdf/Simple/invoice.php:21
198
  #: woocommerce-pdf-invoices-packingslips.php:220
199
  msgid "Invoice"
200
  msgstr "Factuur"
201
 
202
- #: includes/class-wcpdf-settings.php:451
203
  msgid "Display shipping address"
204
  msgstr "Geef verzendadres weer"
205
 
206
- #: includes/class-wcpdf-settings.php:458
207
  msgid ""
208
  "Display shipping address on invoice (in addition to the default billing "
209
  "address) if different from billing address"
@@ -211,27 +223,27 @@ msgstr ""
211
  "Geef verzendadres weer op de factuur (naast het standaard factuuradres) "
212
  "wanneer deze verschilt van het factuuradres"
213
 
214
- #: includes/class-wcpdf-settings.php:464 includes/class-wcpdf-settings.php:579
215
  msgid "Display email address"
216
  msgstr "Geef email adres weer"
217
 
218
- #: includes/class-wcpdf-settings.php:476 includes/class-wcpdf-settings.php:591
219
  msgid "Display phone number"
220
  msgstr "Geef telefoonnummer weer"
221
 
222
- #: includes/class-wcpdf-settings.php:488
223
  msgid "Display invoice date"
224
  msgstr "Geef factuurdatum weer"
225
 
226
- #: includes/class-wcpdf-settings.php:501
227
  msgid "Display built-in sequential invoice number"
228
  msgstr "Geef ingebouwde doorlopende factuurnummers weer"
229
 
230
- #: includes/class-wcpdf-settings.php:514
231
  msgid "Next invoice number (without prefix/suffix etc.)"
232
  msgstr "Volgend factuurnummer (zonder voor- of achtervoegsel etc.)"
233
 
234
- #: includes/class-wcpdf-settings.php:522
235
  msgid ""
236
  "This is the number that will be used on the next invoice that is created. By "
237
  "default, numbering starts from the WooCommerce Order Number of the first "
@@ -246,15 +258,15 @@ msgstr ""
246
  "hoogste huidige (PDF) factuurnummer zet, kan dit dubbele factuurnummers tot "
247
  "gevolg hebben!"
248
 
249
- #: includes/class-wcpdf-settings.php:528
250
  msgid "Invoice number format"
251
  msgstr "Factuurnummer format"
252
 
253
- #: includes/class-wcpdf-settings.php:537
254
  msgid "Prefix"
255
  msgstr "Voorvoegsel"
256
 
257
- #: includes/class-wcpdf-settings.php:539
258
  msgid ""
259
  "to use the order year and/or month, use [order_year] or [order_month] "
260
  "respectively"
@@ -262,21 +274,21 @@ msgstr ""
262
  "gebruik [order_year] of [order_month] om het order jaar en/of maand te weer "
263
  "te geven"
264
 
265
- #: includes/class-wcpdf-settings.php:542
266
  msgid "Suffix"
267
  msgstr "Achtervoegsel"
268
 
269
- #: includes/class-wcpdf-settings.php:547
270
  msgid "Padding"
271
  msgstr "Vulling"
272
 
273
- #: includes/class-wcpdf-settings.php:549
274
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
275
  msgstr ""
276
  "voer hier het aantal cijfers in - vul hier \"6\" in om 42 als 000042 weer te "
277
  "geven"
278
 
279
- #: includes/class-wcpdf-settings.php:552
280
  msgid ""
281
  "note: if you have already created a custom invoice number format with a "
282
  "filter, the above settings will be ignored"
@@ -284,18 +296,18 @@ msgstr ""
284
  "let op: als je al een format voor een factuurnummer hebt gemaakt met een "
285
  "filter, worden de bovenstaande instellingen genegeerd"
286
 
287
- #: includes/class-wcpdf-settings.php:559
288
  #: templates/pdf/Simple/packing-slip.php:9
289
  #: templates/pdf/Simple/packing-slip.php:21
290
  #: woocommerce-pdf-invoices-packingslips.php:223
291
  msgid "Packing Slip"
292
  msgstr "Pakbon"
293
 
294
- #: includes/class-wcpdf-settings.php:566
295
  msgid "Display billing address"
296
  msgstr "Geef factuuradres weer"
297
 
298
- #: includes/class-wcpdf-settings.php:573
299
  msgid ""
300
  "Display billing address on packing slip (in addition to the default shipping "
301
  "address) if different from shipping address"
@@ -303,43 +315,43 @@ msgstr ""
303
  "Geef factuuradres weer op de pakbon (naast het standaard verzendadres) "
304
  "wanneer deze verschilt van het verzendadres"
305
 
306
- #: includes/class-wcpdf-settings.php:604
307
  msgid "Extra template fields"
308
  msgstr "Extra templatevelden"
309
 
310
- #: includes/class-wcpdf-settings.php:611
311
  msgid "Extra field 1"
312
  msgstr "Extra veld 1"
313
 
314
- #: includes/class-wcpdf-settings.php:620
315
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
316
  msgstr "Dit is voettekst kolom 1 in het <i>Modern (Premium)</i> template"
317
 
318
- #: includes/class-wcpdf-settings.php:626
319
  msgid "Extra field 2"
320
  msgstr "Extra veld 2"
321
 
322
- #: includes/class-wcpdf-settings.php:635
323
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
324
  msgstr "Dit is voettekst kolom 2 in het <i>Modern (Premium)</i> template"
325
 
326
- #: includes/class-wcpdf-settings.php:641
327
  msgid "Extra field 3"
328
  msgstr "Extra veld 3"
329
 
330
- #: includes/class-wcpdf-settings.php:650
331
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
332
  msgstr "Dit is voettekst kolom 3 in het <i>Modern (Premium)</i> template"
333
 
334
- #: includes/class-wcpdf-settings.php:692
335
  msgid "Debug settings"
336
  msgstr "Debug instellingen"
337
 
338
- #: includes/class-wcpdf-settings.php:699
339
  msgid "Enable debug output"
340
  msgstr "Debug uitvoer inschakelen"
341
 
342
- #: includes/class-wcpdf-settings.php:706
343
  msgid ""
344
  "Enable this option to output plugin errors if you're getting a blank page or "
345
  "other PDF generation issues"
@@ -347,22 +359,22 @@ msgstr ""
347
  "Schakel deze optie in om pluginfouten weer te geven, wanneer je een lege "
348
  "pagina krijgt of andere problemen hebt met het genereren van PDF."
349
 
350
- #: includes/class-wcpdf-settings.php:712
351
  msgid "Output to HTML"
352
  msgstr "Uitvoer naar HTML"
353
 
354
- #: includes/class-wcpdf-settings.php:719
355
  msgid ""
356
  "Send the template output as HTML to the browser instead of creating a PDF."
357
  msgstr ""
358
  "Stuur de uitvoer van de template als HTML naar de browser in plaats van een "
359
  "PDF."
360
 
361
- #: includes/class-wcpdf-settings.php:725
362
  msgid "Use old tmp folder"
363
  msgstr "Gebruik de oude tmp folder"
364
 
365
- #: includes/class-wcpdf-settings.php:732
366
  msgid ""
367
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
368
  "plugin folder. This setting is only intended for backwards compatibility, "
@@ -372,11 +384,11 @@ msgstr ""
372
  "de plugin map. Deze instelling is enkel bedoelde voor backwards "
373
  "compatibiliteit, en niet aanbevolen op nieuwe installaties!"
374
 
375
- #: includes/class-wcpdf-settings.php:1072
376
  msgid "Image resolution"
377
  msgstr "Afbeeldings resolutie"
378
 
379
- #: includes/class-wcpdf-settings.php:1188
380
  msgid ""
381
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
382
  "Do not use them on a live website!"
@@ -384,7 +396,7 @@ msgstr ""
384
  "<b>Waarschuwing!</b> Onderstaande instellingen zijn enkel bedoeld om fouten "
385
  "op te sporen of om te testen. Gebruik ze niet op een live website!"
386
 
387
- #: includes/class-wcpdf-settings.php:1197
388
  msgid ""
389
  "These are used for the (optional) footer columns in the <em>Modern "
390
  "(Premium)</em> template, but can also be used for other elements in your "
@@ -609,23 +621,23 @@ msgstr "Prijs"
609
  msgid "Description"
610
  msgstr "Omschrijving"
611
 
612
- #: templates/pdf/Simple/invoice.php:95
613
- #: templates/pdf/Simple/packing-slip.php:82
614
  msgid "SKU"
615
  msgstr "Artikelnummer"
616
 
617
- #: templates/pdf/Simple/invoice.php:96
618
- #: templates/pdf/Simple/packing-slip.php:83
619
  msgid "SKU:"
620
  msgstr "SKU:"
621
 
622
- #: templates/pdf/Simple/invoice.php:97
623
- #: templates/pdf/Simple/packing-slip.php:84
624
  msgid "Weight:"
625
  msgstr "Gewicht:"
626
 
627
- #: templates/pdf/Simple/invoice.php:110
628
- #: templates/pdf/Simple/packing-slip.php:97
629
  msgid "Customer Notes"
630
  msgstr "Opmerking klant:"
631
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-03-30 12:43+0100\n"
6
+ "PO-Revision-Date: 2015-03-30 12:44+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"
28
  msgid "Some of the export parameters are missing."
29
  msgstr "Er ontbreken export parameters"
30
 
31
+ #: includes/class-wcpdf-export.php:424
32
  msgid "invoice"
33
  msgid_plural "invoices"
34
  msgstr[0] "factuur"
35
  msgstr[1] "facturen"
36
 
37
+ #: includes/class-wcpdf-export.php:428
38
  msgid "packing-slip"
39
  msgid_plural "packing-slips"
40
  msgstr[0] "pakbon"
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 "Disable for free products"
117
+ msgstr "Uitschakelen voor gratis producten"
118
+
119
+ #: includes/class-wcpdf-settings.php:237
120
+ msgid ""
121
+ "Disable automatic creation/attachment of invoices when only free products "
122
+ "are ordered"
123
+ msgstr ""
124
+ "Automatisch aanmaken/vesturen van facturen uitschakelen wanneer er alleen "
125
+ "gratis producten zijn besteld."
126
+
127
+ #: includes/class-wcpdf-settings.php:244
128
  msgid "Interface"
129
  msgstr "Interface"
130
 
131
+ #: includes/class-wcpdf-settings.php:292
132
  msgid "Allow My Account invoice download"
133
  msgstr "Sta downloaden factuur vanaf Mijn Account toe"
134
 
135
+ #: includes/class-wcpdf-settings.php:300
136
  msgid "Only when an invoice is already created/emailed"
137
  msgstr "Alleen wanneer een factuur al is aangemaakt/gemaild"
138
 
139
+ #: includes/class-wcpdf-settings.php:301
140
  msgid "Only for specific order statuses (define below)"
141
  msgstr "Alleen voor specifieke order statussen (hieronder gedefinieerd)"
142
 
143
+ #: includes/class-wcpdf-settings.php:302
144
  msgid "Always"
145
  msgstr "Altijd"
146
 
147
+ #: includes/class-wcpdf-settings.php:317
148
  msgid "Enable invoice number column in the orders list"
149
  msgstr "Schakel factuurnummer kolom in het bestellingen overzicht in"
150
 
151
+ #: includes/class-wcpdf-settings.php:355
152
  msgid "PDF Template settings"
153
  msgstr "PDF Template instellingen"
154
 
155
+ #: includes/class-wcpdf-settings.php:367
156
  msgid "Choose a template"
157
  msgstr "Kies een template"
158
 
159
+ #: includes/class-wcpdf-settings.php:375
160
  #, php-format
161
  msgid ""
162
  "Want to use your own template? Copy all the files from <code>%s</code> to "
165
  "Wil je je eigen template gebruiken? Kopieer alle bestanden van <code>%s</"
166
  "code> naar je (child-) theme in <code>%s</code> en pas ze aan naar je wensen."
167
 
168
+ #: includes/class-wcpdf-settings.php:381
169
  msgid "Paper size"
170
  msgstr "Papierformaat"
171
 
172
+ #: includes/class-wcpdf-settings.php:389
173
  msgid "A4"
174
  msgstr "A4"
175
 
176
+ #: includes/class-wcpdf-settings.php:390
177
  msgid "Letter"
178
  msgstr "Letter (US)"
179
 
180
+ #: includes/class-wcpdf-settings.php:397
181
  msgid "Shop header/logo"
182
  msgstr "Shop header/logo"
183
 
184
+ #: includes/class-wcpdf-settings.php:404
185
  msgid "Select or upload your invoice header/logo"
186
  msgstr "Selecteer of upload je factuur header/logo"
187
 
188
+ #: includes/class-wcpdf-settings.php:405
189
  msgid "Set image"
190
  msgstr "Stel afbeelding in"
191
 
192
+ #: includes/class-wcpdf-settings.php:406
193
  msgid "Remove image"
194
  msgstr "Verwijder afbeelding"
195
 
196
+ #: includes/class-wcpdf-settings.php:413
197
  msgid "Shop Name"
198
  msgstr "Shop Naam"
199
 
200
+ #: includes/class-wcpdf-settings.php:426
201
  msgid "Shop Address"
202
  msgstr "Shop Adres"
203
 
204
+ #: includes/class-wcpdf-settings.php:441
205
  msgid "Footer: terms & conditions, policies, etc."
206
  msgstr "Voettekst: algemene voorwaarden, retourenbeleid, etc."
207
 
208
+ #: includes/class-wcpdf-settings.php:457 templates/pdf/Simple/invoice.php:9
209
  #: templates/pdf/Simple/invoice.php:21
210
  #: woocommerce-pdf-invoices-packingslips.php:220
211
  msgid "Invoice"
212
  msgstr "Factuur"
213
 
214
+ #: includes/class-wcpdf-settings.php:464
215
  msgid "Display shipping address"
216
  msgstr "Geef verzendadres weer"
217
 
218
+ #: includes/class-wcpdf-settings.php:471
219
  msgid ""
220
  "Display shipping address on invoice (in addition to the default billing "
221
  "address) if different from billing address"
223
  "Geef verzendadres weer op de factuur (naast het standaard factuuradres) "
224
  "wanneer deze verschilt van het factuuradres"
225
 
226
+ #: includes/class-wcpdf-settings.php:477 includes/class-wcpdf-settings.php:592
227
  msgid "Display email address"
228
  msgstr "Geef email adres weer"
229
 
230
+ #: includes/class-wcpdf-settings.php:489 includes/class-wcpdf-settings.php:604
231
  msgid "Display phone number"
232
  msgstr "Geef telefoonnummer weer"
233
 
234
+ #: includes/class-wcpdf-settings.php:501
235
  msgid "Display invoice date"
236
  msgstr "Geef factuurdatum weer"
237
 
238
+ #: includes/class-wcpdf-settings.php:514
239
  msgid "Display built-in sequential invoice number"
240
  msgstr "Geef ingebouwde doorlopende factuurnummers weer"
241
 
242
+ #: includes/class-wcpdf-settings.php:527
243
  msgid "Next invoice number (without prefix/suffix etc.)"
244
  msgstr "Volgend factuurnummer (zonder voor- of achtervoegsel etc.)"
245
 
246
+ #: includes/class-wcpdf-settings.php:535
247
  msgid ""
248
  "This is the number that will be used on the next invoice that is created. By "
249
  "default, numbering starts from the WooCommerce Order Number of the first "
258
  "hoogste huidige (PDF) factuurnummer zet, kan dit dubbele factuurnummers tot "
259
  "gevolg hebben!"
260
 
261
+ #: includes/class-wcpdf-settings.php:541
262
  msgid "Invoice number format"
263
  msgstr "Factuurnummer format"
264
 
265
+ #: includes/class-wcpdf-settings.php:550
266
  msgid "Prefix"
267
  msgstr "Voorvoegsel"
268
 
269
+ #: includes/class-wcpdf-settings.php:552
270
  msgid ""
271
  "to use the order year and/or month, use [order_year] or [order_month] "
272
  "respectively"
274
  "gebruik [order_year] of [order_month] om het order jaar en/of maand te weer "
275
  "te geven"
276
 
277
+ #: includes/class-wcpdf-settings.php:555
278
  msgid "Suffix"
279
  msgstr "Achtervoegsel"
280
 
281
+ #: includes/class-wcpdf-settings.php:560
282
  msgid "Padding"
283
  msgstr "Vulling"
284
 
285
+ #: includes/class-wcpdf-settings.php:562
286
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
287
  msgstr ""
288
  "voer hier het aantal cijfers in - vul hier \"6\" in om 42 als 000042 weer te "
289
  "geven"
290
 
291
+ #: includes/class-wcpdf-settings.php:565
292
  msgid ""
293
  "note: if you have already created a custom invoice number format with a "
294
  "filter, the above settings will be ignored"
296
  "let op: als je al een format voor een factuurnummer hebt gemaakt met een "
297
  "filter, worden de bovenstaande instellingen genegeerd"
298
 
299
+ #: includes/class-wcpdf-settings.php:572
300
  #: templates/pdf/Simple/packing-slip.php:9
301
  #: templates/pdf/Simple/packing-slip.php:21
302
  #: woocommerce-pdf-invoices-packingslips.php:223
303
  msgid "Packing Slip"
304
  msgstr "Pakbon"
305
 
306
+ #: includes/class-wcpdf-settings.php:579
307
  msgid "Display billing address"
308
  msgstr "Geef factuuradres weer"
309
 
310
+ #: includes/class-wcpdf-settings.php:586
311
  msgid ""
312
  "Display billing address on packing slip (in addition to the default shipping "
313
  "address) if different from shipping address"
315
  "Geef factuuradres weer op de pakbon (naast het standaard verzendadres) "
316
  "wanneer deze verschilt van het verzendadres"
317
 
318
+ #: includes/class-wcpdf-settings.php:617
319
  msgid "Extra template fields"
320
  msgstr "Extra templatevelden"
321
 
322
+ #: includes/class-wcpdf-settings.php:624
323
  msgid "Extra field 1"
324
  msgstr "Extra veld 1"
325
 
326
+ #: includes/class-wcpdf-settings.php:633
327
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
328
  msgstr "Dit is voettekst kolom 1 in het <i>Modern (Premium)</i> template"
329
 
330
+ #: includes/class-wcpdf-settings.php:639
331
  msgid "Extra field 2"
332
  msgstr "Extra veld 2"
333
 
334
+ #: includes/class-wcpdf-settings.php:648
335
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
336
  msgstr "Dit is voettekst kolom 2 in het <i>Modern (Premium)</i> template"
337
 
338
+ #: includes/class-wcpdf-settings.php:654
339
  msgid "Extra field 3"
340
  msgstr "Extra veld 3"
341
 
342
+ #: includes/class-wcpdf-settings.php:663
343
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
344
  msgstr "Dit is voettekst kolom 3 in het <i>Modern (Premium)</i> template"
345
 
346
+ #: includes/class-wcpdf-settings.php:705
347
  msgid "Debug settings"
348
  msgstr "Debug instellingen"
349
 
350
+ #: includes/class-wcpdf-settings.php:712
351
  msgid "Enable debug output"
352
  msgstr "Debug uitvoer inschakelen"
353
 
354
+ #: includes/class-wcpdf-settings.php:719
355
  msgid ""
356
  "Enable this option to output plugin errors if you're getting a blank page or "
357
  "other PDF generation issues"
359
  "Schakel deze optie in om pluginfouten weer te geven, wanneer je een lege "
360
  "pagina krijgt of andere problemen hebt met het genereren van PDF."
361
 
362
+ #: includes/class-wcpdf-settings.php:725
363
  msgid "Output to HTML"
364
  msgstr "Uitvoer naar HTML"
365
 
366
+ #: includes/class-wcpdf-settings.php:732
367
  msgid ""
368
  "Send the template output as HTML to the browser instead of creating a PDF."
369
  msgstr ""
370
  "Stuur de uitvoer van de template als HTML naar de browser in plaats van een "
371
  "PDF."
372
 
373
+ #: includes/class-wcpdf-settings.php:738
374
  msgid "Use old tmp folder"
375
  msgstr "Gebruik de oude tmp folder"
376
 
377
+ #: includes/class-wcpdf-settings.php:745
378
  msgid ""
379
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
380
  "plugin folder. This setting is only intended for backwards compatibility, "
384
  "de plugin map. Deze instelling is enkel bedoelde voor backwards "
385
  "compatibiliteit, en niet aanbevolen op nieuwe installaties!"
386
 
387
+ #: includes/class-wcpdf-settings.php:1085
388
  msgid "Image resolution"
389
  msgstr "Afbeeldings resolutie"
390
 
391
+ #: includes/class-wcpdf-settings.php:1201
392
  msgid ""
393
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
394
  "Do not use them on a live website!"
396
  "<b>Waarschuwing!</b> Onderstaande instellingen zijn enkel bedoeld om fouten "
397
  "op te sporen of om te testen. Gebruik ze niet op een live website!"
398
 
399
+ #: includes/class-wcpdf-settings.php:1210
400
  msgid ""
401
  "These are used for the (optional) footer columns in the <em>Modern "
402
  "(Premium)</em> template, but can also be used for other elements in your "
621
  msgid "Description"
622
  msgstr "Omschrijving"
623
 
624
+ #: templates/pdf/Simple/invoice.php:96
625
+ #: templates/pdf/Simple/packing-slip.php:83
626
  msgid "SKU"
627
  msgstr "Artikelnummer"
628
 
629
+ #: templates/pdf/Simple/invoice.php:97
630
+ #: templates/pdf/Simple/packing-slip.php:84
631
  msgid "SKU:"
632
  msgstr "SKU:"
633
 
634
+ #: templates/pdf/Simple/invoice.php:98
635
+ #: templates/pdf/Simple/packing-slip.php:85
636
  msgid "Weight:"
637
  msgstr "Gewicht:"
638
 
639
+ #: templates/pdf/Simple/invoice.php:112
640
+ #: templates/pdf/Simple/packing-slip.php:99
641
  msgid "Customer Notes"
642
  msgstr "Opmerking klant:"
643
 
languages/wpo_wcpdf.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
- "POT-Creation-Date: 2015-03-23 12:44+0100\n"
5
- "PO-Revision-Date: 2015-03-23 12:44+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
  "Language: en_US\n"
@@ -26,14 +26,14 @@ 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] ""
@@ -108,122 +108,132 @@ msgid ""
108
  "plugin will not be able to email invoices."
109
  msgstr ""
110
 
111
- #: includes/class-wcpdf-settings.php:231
 
 
 
 
 
 
 
 
 
 
112
  msgid "Interface"
113
  msgstr ""
114
 
115
- #: includes/class-wcpdf-settings.php:279
116
  msgid "Allow My Account invoice download"
117
  msgstr ""
118
 
119
- #: includes/class-wcpdf-settings.php:287
120
  msgid "Only when an invoice is already created/emailed"
121
  msgstr ""
122
 
123
- #: includes/class-wcpdf-settings.php:288
124
  msgid "Only for specific order statuses (define below)"
125
  msgstr ""
126
 
127
- #: includes/class-wcpdf-settings.php:289
128
  msgid "Always"
129
  msgstr ""
130
 
131
- #: includes/class-wcpdf-settings.php:304
132
  msgid "Enable invoice number column in the orders list"
133
  msgstr ""
134
 
135
- #: includes/class-wcpdf-settings.php:342
136
  msgid "PDF Template settings"
137
  msgstr ""
138
 
139
- #: includes/class-wcpdf-settings.php:354
140
  msgid "Choose a template"
141
  msgstr ""
142
 
143
- #: includes/class-wcpdf-settings.php:362
144
  #, php-format
145
  msgid ""
146
  "Want to use your own template? Copy all the files from <code>%s</code> to "
147
  "your (child) theme in <code>%s</code> to customize them"
148
  msgstr ""
149
 
150
- #: includes/class-wcpdf-settings.php:368
151
  msgid "Paper size"
152
  msgstr ""
153
 
154
- #: includes/class-wcpdf-settings.php:376
155
  msgid "A4"
156
  msgstr ""
157
 
158
- #: includes/class-wcpdf-settings.php:377
159
  msgid "Letter"
160
  msgstr ""
161
 
162
- #: includes/class-wcpdf-settings.php:384
163
  msgid "Shop header/logo"
164
  msgstr ""
165
 
166
- #: includes/class-wcpdf-settings.php:391
167
  msgid "Select or upload your invoice header/logo"
168
  msgstr ""
169
 
170
- #: includes/class-wcpdf-settings.php:392
171
  msgid "Set image"
172
  msgstr ""
173
 
174
- #: includes/class-wcpdf-settings.php:393
175
  msgid "Remove image"
176
  msgstr ""
177
 
178
- #: includes/class-wcpdf-settings.php:400
179
  msgid "Shop Name"
180
  msgstr ""
181
 
182
- #: includes/class-wcpdf-settings.php:413
183
  msgid "Shop Address"
184
  msgstr ""
185
 
186
- #: includes/class-wcpdf-settings.php:428
187
  msgid "Footer: terms & conditions, policies, etc."
188
  msgstr ""
189
 
190
- #: includes/class-wcpdf-settings.php:444 templates/pdf/Simple/invoice.php:9
191
  #: templates/pdf/Simple/invoice.php:21
192
  #: woocommerce-pdf-invoices-packingslips.php:220
193
  msgid "Invoice"
194
  msgstr ""
195
 
196
- #: includes/class-wcpdf-settings.php:451
197
  msgid "Display shipping address"
198
  msgstr ""
199
 
200
- #: includes/class-wcpdf-settings.php:458
201
  msgid ""
202
  "Display shipping address on invoice (in addition to the default billing "
203
  "address) if different from billing address"
204
  msgstr ""
205
 
206
- #: includes/class-wcpdf-settings.php:464 includes/class-wcpdf-settings.php:579
207
  msgid "Display email address"
208
  msgstr ""
209
 
210
- #: includes/class-wcpdf-settings.php:476 includes/class-wcpdf-settings.php:591
211
  msgid "Display phone number"
212
  msgstr ""
213
 
214
- #: includes/class-wcpdf-settings.php:488
215
  msgid "Display invoice date"
216
  msgstr ""
217
 
218
- #: includes/class-wcpdf-settings.php:501
219
  msgid "Display built-in sequential invoice number"
220
  msgstr ""
221
 
222
- #: includes/class-wcpdf-settings.php:514
223
  msgid "Next invoice number (without prefix/suffix etc.)"
224
  msgstr ""
225
 
226
- #: includes/class-wcpdf-settings.php:522
227
  msgid ""
228
  "This is the number that will be used on the next invoice that is created. By "
229
  "default, numbering starts from the WooCommerce Order Number of the first "
@@ -232,128 +242,128 @@ msgid ""
232
  "this could create double invoice numbers!"
233
  msgstr ""
234
 
235
- #: includes/class-wcpdf-settings.php:528
236
  msgid "Invoice number format"
237
  msgstr ""
238
 
239
- #: includes/class-wcpdf-settings.php:537
240
  msgid "Prefix"
241
  msgstr ""
242
 
243
- #: includes/class-wcpdf-settings.php:539
244
  msgid ""
245
  "to use the order year and/or month, use [order_year] or [order_month] "
246
  "respectively"
247
  msgstr ""
248
 
249
- #: includes/class-wcpdf-settings.php:542
250
  msgid "Suffix"
251
  msgstr ""
252
 
253
- #: includes/class-wcpdf-settings.php:547
254
  msgid "Padding"
255
  msgstr ""
256
 
257
- #: includes/class-wcpdf-settings.php:549
258
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
259
  msgstr ""
260
 
261
- #: includes/class-wcpdf-settings.php:552
262
  msgid ""
263
  "note: if you have already created a custom invoice number format with a "
264
  "filter, the above settings will be ignored"
265
  msgstr ""
266
 
267
- #: includes/class-wcpdf-settings.php:559
268
  #: templates/pdf/Simple/packing-slip.php:9
269
  #: templates/pdf/Simple/packing-slip.php:21
270
  #: woocommerce-pdf-invoices-packingslips.php:223
271
  msgid "Packing Slip"
272
  msgstr ""
273
 
274
- #: includes/class-wcpdf-settings.php:566
275
  msgid "Display billing address"
276
  msgstr ""
277
 
278
- #: includes/class-wcpdf-settings.php:573
279
  msgid ""
280
  "Display billing address on packing slip (in addition to the default shipping "
281
  "address) if different from shipping address"
282
  msgstr ""
283
 
284
- #: includes/class-wcpdf-settings.php:604
285
  msgid "Extra template fields"
286
  msgstr ""
287
 
288
- #: includes/class-wcpdf-settings.php:611
289
  msgid "Extra field 1"
290
  msgstr ""
291
 
292
- #: includes/class-wcpdf-settings.php:620
293
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
294
  msgstr ""
295
 
296
- #: includes/class-wcpdf-settings.php:626
297
  msgid "Extra field 2"
298
  msgstr ""
299
 
300
- #: includes/class-wcpdf-settings.php:635
301
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
302
  msgstr ""
303
 
304
- #: includes/class-wcpdf-settings.php:641
305
  msgid "Extra field 3"
306
  msgstr ""
307
 
308
- #: includes/class-wcpdf-settings.php:650
309
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
310
  msgstr ""
311
 
312
- #: includes/class-wcpdf-settings.php:692
313
  msgid "Debug settings"
314
  msgstr ""
315
 
316
- #: includes/class-wcpdf-settings.php:699
317
  msgid "Enable debug output"
318
  msgstr ""
319
 
320
- #: includes/class-wcpdf-settings.php:706
321
  msgid ""
322
  "Enable this option to output plugin errors if you're getting a blank page or "
323
  "other PDF generation issues"
324
  msgstr ""
325
 
326
- #: includes/class-wcpdf-settings.php:712
327
  msgid "Output to HTML"
328
  msgstr ""
329
 
330
- #: includes/class-wcpdf-settings.php:719
331
  msgid ""
332
  "Send the template output as HTML to the browser instead of creating a PDF."
333
  msgstr ""
334
 
335
- #: includes/class-wcpdf-settings.php:725
336
  msgid "Use old tmp folder"
337
  msgstr ""
338
 
339
- #: includes/class-wcpdf-settings.php:732
340
  msgid ""
341
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
342
  "plugin folder. This setting is only intended for backwards compatibility, "
343
  "not recommended on new installs!"
344
  msgstr ""
345
 
346
- #: includes/class-wcpdf-settings.php:1072
347
  msgid "Image resolution"
348
  msgstr ""
349
 
350
- #: includes/class-wcpdf-settings.php:1188
351
  msgid ""
352
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
353
  "Do not use them on a live website!"
354
  msgstr ""
355
 
356
- #: includes/class-wcpdf-settings.php:1197
357
  msgid ""
358
  "These are used for the (optional) footer columns in the <em>Modern "
359
  "(Premium)</em> template, but can also be used for other elements in your "
@@ -558,23 +568,23 @@ msgstr ""
558
  msgid "Description"
559
  msgstr ""
560
 
561
- #: templates/pdf/Simple/invoice.php:95
562
- #: templates/pdf/Simple/packing-slip.php:82
563
- msgid "SKU"
564
- msgstr ""
565
-
566
  #: templates/pdf/Simple/invoice.php:96
567
  #: templates/pdf/Simple/packing-slip.php:83
568
- msgid "SKU:"
569
  msgstr ""
570
 
571
  #: templates/pdf/Simple/invoice.php:97
572
  #: templates/pdf/Simple/packing-slip.php:84
 
 
 
 
 
573
  msgid "Weight:"
574
  msgstr ""
575
 
576
- #: templates/pdf/Simple/invoice.php:110
577
- #: templates/pdf/Simple/packing-slip.php:97
578
  msgid "Customer Notes"
579
  msgstr ""
580
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "POT-Creation-Date: 2015-03-30 12:42+0100\n"
5
+ "PO-Revision-Date: 2015-03-30 12:42+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
  "Language: en_US\n"
26
  msgstr ""
27
 
28
  # This is a filename (prefix). do not use spaces or special characters!
29
+ #: includes/class-wcpdf-export.php:424
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:428
37
  msgid "packing-slip"
38
  msgid_plural "packing-slips"
39
  msgstr[0] ""
108
  "plugin will not be able to email invoices."
109
  msgstr ""
110
 
111
+ #: includes/class-wcpdf-settings.php:230
112
+ msgid "Disable for free products"
113
+ msgstr ""
114
+
115
+ #: includes/class-wcpdf-settings.php:237
116
+ msgid ""
117
+ "Disable automatic creation/attachment of invoices when only free products "
118
+ "are ordered"
119
+ msgstr ""
120
+
121
+ #: includes/class-wcpdf-settings.php:244
122
  msgid "Interface"
123
  msgstr ""
124
 
125
+ #: includes/class-wcpdf-settings.php:292
126
  msgid "Allow My Account invoice download"
127
  msgstr ""
128
 
129
+ #: includes/class-wcpdf-settings.php:300
130
  msgid "Only when an invoice is already created/emailed"
131
  msgstr ""
132
 
133
+ #: includes/class-wcpdf-settings.php:301
134
  msgid "Only for specific order statuses (define below)"
135
  msgstr ""
136
 
137
+ #: includes/class-wcpdf-settings.php:302
138
  msgid "Always"
139
  msgstr ""
140
 
141
+ #: includes/class-wcpdf-settings.php:317
142
  msgid "Enable invoice number column in the orders list"
143
  msgstr ""
144
 
145
+ #: includes/class-wcpdf-settings.php:355
146
  msgid "PDF Template settings"
147
  msgstr ""
148
 
149
+ #: includes/class-wcpdf-settings.php:367
150
  msgid "Choose a template"
151
  msgstr ""
152
 
153
+ #: includes/class-wcpdf-settings.php:375
154
  #, php-format
155
  msgid ""
156
  "Want to use your own template? Copy all the files from <code>%s</code> to "
157
  "your (child) theme in <code>%s</code> to customize them"
158
  msgstr ""
159
 
160
+ #: includes/class-wcpdf-settings.php:381
161
  msgid "Paper size"
162
  msgstr ""
163
 
164
+ #: includes/class-wcpdf-settings.php:389
165
  msgid "A4"
166
  msgstr ""
167
 
168
+ #: includes/class-wcpdf-settings.php:390
169
  msgid "Letter"
170
  msgstr ""
171
 
172
+ #: includes/class-wcpdf-settings.php:397
173
  msgid "Shop header/logo"
174
  msgstr ""
175
 
176
+ #: includes/class-wcpdf-settings.php:404
177
  msgid "Select or upload your invoice header/logo"
178
  msgstr ""
179
 
180
+ #: includes/class-wcpdf-settings.php:405
181
  msgid "Set image"
182
  msgstr ""
183
 
184
+ #: includes/class-wcpdf-settings.php:406
185
  msgid "Remove image"
186
  msgstr ""
187
 
188
+ #: includes/class-wcpdf-settings.php:413
189
  msgid "Shop Name"
190
  msgstr ""
191
 
192
+ #: includes/class-wcpdf-settings.php:426
193
  msgid "Shop Address"
194
  msgstr ""
195
 
196
+ #: includes/class-wcpdf-settings.php:441
197
  msgid "Footer: terms & conditions, policies, etc."
198
  msgstr ""
199
 
200
+ #: includes/class-wcpdf-settings.php:457 templates/pdf/Simple/invoice.php:9
201
  #: templates/pdf/Simple/invoice.php:21
202
  #: woocommerce-pdf-invoices-packingslips.php:220
203
  msgid "Invoice"
204
  msgstr ""
205
 
206
+ #: includes/class-wcpdf-settings.php:464
207
  msgid "Display shipping address"
208
  msgstr ""
209
 
210
+ #: includes/class-wcpdf-settings.php:471
211
  msgid ""
212
  "Display shipping address on invoice (in addition to the default billing "
213
  "address) if different from billing address"
214
  msgstr ""
215
 
216
+ #: includes/class-wcpdf-settings.php:477 includes/class-wcpdf-settings.php:592
217
  msgid "Display email address"
218
  msgstr ""
219
 
220
+ #: includes/class-wcpdf-settings.php:489 includes/class-wcpdf-settings.php:604
221
  msgid "Display phone number"
222
  msgstr ""
223
 
224
+ #: includes/class-wcpdf-settings.php:501
225
  msgid "Display invoice date"
226
  msgstr ""
227
 
228
+ #: includes/class-wcpdf-settings.php:514
229
  msgid "Display built-in sequential invoice number"
230
  msgstr ""
231
 
232
+ #: includes/class-wcpdf-settings.php:527
233
  msgid "Next invoice number (without prefix/suffix etc.)"
234
  msgstr ""
235
 
236
+ #: includes/class-wcpdf-settings.php:535
237
  msgid ""
238
  "This is the number that will be used on the next invoice that is created. By "
239
  "default, numbering starts from the WooCommerce Order Number of the first "
242
  "this could create double invoice numbers!"
243
  msgstr ""
244
 
245
+ #: includes/class-wcpdf-settings.php:541
246
  msgid "Invoice number format"
247
  msgstr ""
248
 
249
+ #: includes/class-wcpdf-settings.php:550
250
  msgid "Prefix"
251
  msgstr ""
252
 
253
+ #: includes/class-wcpdf-settings.php:552
254
  msgid ""
255
  "to use the order year and/or month, use [order_year] or [order_month] "
256
  "respectively"
257
  msgstr ""
258
 
259
+ #: includes/class-wcpdf-settings.php:555
260
  msgid "Suffix"
261
  msgstr ""
262
 
263
+ #: includes/class-wcpdf-settings.php:560
264
  msgid "Padding"
265
  msgstr ""
266
 
267
+ #: includes/class-wcpdf-settings.php:562
268
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
269
  msgstr ""
270
 
271
+ #: includes/class-wcpdf-settings.php:565
272
  msgid ""
273
  "note: if you have already created a custom invoice number format with a "
274
  "filter, the above settings will be ignored"
275
  msgstr ""
276
 
277
+ #: includes/class-wcpdf-settings.php:572
278
  #: templates/pdf/Simple/packing-slip.php:9
279
  #: templates/pdf/Simple/packing-slip.php:21
280
  #: woocommerce-pdf-invoices-packingslips.php:223
281
  msgid "Packing Slip"
282
  msgstr ""
283
 
284
+ #: includes/class-wcpdf-settings.php:579
285
  msgid "Display billing address"
286
  msgstr ""
287
 
288
+ #: includes/class-wcpdf-settings.php:586
289
  msgid ""
290
  "Display billing address on packing slip (in addition to the default shipping "
291
  "address) if different from shipping address"
292
  msgstr ""
293
 
294
+ #: includes/class-wcpdf-settings.php:617
295
  msgid "Extra template fields"
296
  msgstr ""
297
 
298
+ #: includes/class-wcpdf-settings.php:624
299
  msgid "Extra field 1"
300
  msgstr ""
301
 
302
+ #: includes/class-wcpdf-settings.php:633
303
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
304
  msgstr ""
305
 
306
+ #: includes/class-wcpdf-settings.php:639
307
  msgid "Extra field 2"
308
  msgstr ""
309
 
310
+ #: includes/class-wcpdf-settings.php:648
311
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
312
  msgstr ""
313
 
314
+ #: includes/class-wcpdf-settings.php:654
315
  msgid "Extra field 3"
316
  msgstr ""
317
 
318
+ #: includes/class-wcpdf-settings.php:663
319
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
320
  msgstr ""
321
 
322
+ #: includes/class-wcpdf-settings.php:705
323
  msgid "Debug settings"
324
  msgstr ""
325
 
326
+ #: includes/class-wcpdf-settings.php:712
327
  msgid "Enable debug output"
328
  msgstr ""
329
 
330
+ #: includes/class-wcpdf-settings.php:719
331
  msgid ""
332
  "Enable this option to output plugin errors if you're getting a blank page or "
333
  "other PDF generation issues"
334
  msgstr ""
335
 
336
+ #: includes/class-wcpdf-settings.php:725
337
  msgid "Output to HTML"
338
  msgstr ""
339
 
340
+ #: includes/class-wcpdf-settings.php:732
341
  msgid ""
342
  "Send the template output as HTML to the browser instead of creating a PDF."
343
  msgstr ""
344
 
345
+ #: includes/class-wcpdf-settings.php:738
346
  msgid "Use old tmp folder"
347
  msgstr ""
348
 
349
+ #: includes/class-wcpdf-settings.php:745
350
  msgid ""
351
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
352
  "plugin folder. This setting is only intended for backwards compatibility, "
353
  "not recommended on new installs!"
354
  msgstr ""
355
 
356
+ #: includes/class-wcpdf-settings.php:1085
357
  msgid "Image resolution"
358
  msgstr ""
359
 
360
+ #: includes/class-wcpdf-settings.php:1201
361
  msgid ""
362
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
363
  "Do not use them on a live website!"
364
  msgstr ""
365
 
366
+ #: includes/class-wcpdf-settings.php:1210
367
  msgid ""
368
  "These are used for the (optional) footer columns in the <em>Modern "
369
  "(Premium)</em> template, but can also be used for other elements in your "
568
  msgid "Description"
569
  msgstr ""
570
 
 
 
 
 
 
571
  #: templates/pdf/Simple/invoice.php:96
572
  #: templates/pdf/Simple/packing-slip.php:83
573
+ msgid "SKU"
574
  msgstr ""
575
 
576
  #: templates/pdf/Simple/invoice.php:97
577
  #: templates/pdf/Simple/packing-slip.php:84
578
+ msgid "SKU:"
579
+ msgstr ""
580
+
581
+ #: templates/pdf/Simple/invoice.php:98
582
+ #: templates/pdf/Simple/packing-slip.php:85
583
  msgid "Weight:"
584
  msgstr ""
585
 
586
+ #: templates/pdf/Simple/invoice.php:112
587
+ #: templates/pdf/Simple/packing-slip.php:99
588
  msgid "Customer Notes"
589
  msgstr ""
590
 
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.7
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -136,6 +136,7 @@ Some notes:
136
  * I have found that not all servers cope well with the font paths. If this is the case with your font, try to put the font in the root of your site and put that in the font url (i.e. `url(http://yoursite.com/fonts/myfont-italic.ttf)` )
137
 
138
  Some font links:
 
139
  * Japanese - http://ipafont.ipa.go.jp/index.html
140
  * Chinese - http://www.study-area.org/apt/firefly-font/
141
 
@@ -232,6 +233,13 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
232
 
233
  == Changelog ==
234
 
 
 
 
 
 
 
 
235
  = 1.5.7 =
236
  * Feature: Setting to show email address & phone number on invoice or packing slip (does not work on custom templates based on previous versions!)
237
 
@@ -488,5 +496,5 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
488
 
489
  == Upgrade Notice ==
490
 
491
- = 1.5.7 =
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!
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.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
136
  * I have found that not all servers cope well with the font paths. If this is the case with your font, try to put the font in the root of your site and put that in the font url (i.e. `url(http://yoursite.com/fonts/myfont-italic.ttf)` )
137
 
138
  Some font links:
139
+
140
  * Japanese - http://ipafont.ipa.go.jp/index.html
141
  * Chinese - http://www.study-area.org/apt/firefly-font/
142
 
233
 
234
  == Changelog ==
235
 
236
+ = 1.5.8 =
237
+ * Feature: disable invoice for free orders
238
+ * Feature: action to insert data before & after item meta
239
+ * Tweak: Added classes to sku & weight
240
+ * Tweak: Hide payment method from totals (already shown in template)
241
+ * Translations: Updated POT & Dutch
242
+
243
  = 1.5.7 =
244
  * Feature: Setting to show email address & phone number on invoice or packing slip (does not work on custom templates based on previous versions!)
245
 
496
 
497
  == Upgrade Notice ==
498
 
499
+ = 1.5.8 =
500
  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!
templates/pdf/Simple/invoice.php CHANGED
@@ -21,7 +21,7 @@
21
  <?php if( $wpo_wcpdf->get_header_logo_id() ) echo apply_filters( 'wpo_wcpdf_invoice_title', __( 'Invoice', 'wpo_wcpdf' ) ); ?>
22
  </h1>
23
 
24
- <?php do_action( 'wpo_wcpdf_after_document_label', 'invoice', $wpo_wcpdf->export->order ); ?>
25
 
26
  <table class="order-data-addresses">
27
  <tr>
@@ -43,7 +43,7 @@
43
  </td>
44
  <td class="order-data">
45
  <table>
46
- <?php do_action( 'wpo_wcpdf_before_order_data', 'invoice', $wpo_wcpdf->export->order ); ?>
47
  <?php if ( isset($wpo_wcpdf->settings->template_settings['display_number']) && $wpo_wcpdf->settings->template_settings['display_number'] == 'invoice_number') { ?>
48
  <tr class="invoice-number">
49
  <th><?php _e( 'Invoice Number:', 'wpo_wcpdf' ); ?></th>
@@ -68,13 +68,13 @@
68
  <th><?php _e( 'Payment Method:', 'wpo_wcpdf' ); ?></th>
69
  <td><?php $wpo_wcpdf->payment_method(); ?></td>
70
  </tr>
71
- <?php do_action( 'wpo_wcpdf_after_order_data', 'invoice', $wpo_wcpdf->export->order ); ?>
72
  </table>
73
  </td>
74
  </tr>
75
  </table>
76
 
77
- <?php do_action( 'wpo_wcpdf_before_order_details', 'invoice', $wpo_wcpdf->export->order ); ?>
78
 
79
  <table class="order-details">
80
  <thead>
@@ -85,17 +85,19 @@
85
  </tr>
86
  </thead>
87
  <tbody>
88
- <?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item ) : ?>
89
  <tr>
90
  <td class="product">
91
  <?php $description_label = __( 'Description', 'wpo_wcpdf' ); // registering alternate label translation ?>
92
  <span class="item-name"><?php echo $item['name']; ?></span>
 
93
  <span class="item-meta"><?php echo $item['meta']; ?></span>
94
  <dl class="meta">
95
  <?php $description_label = __( 'SKU', 'wpo_wcpdf' ); // registering alternate label translation ?>
96
- <?php if( !empty( $item['sku'] ) ) : ?><dt><?php _e( 'SKU:', 'wpo_wcpdf' ); ?></dt><dd><?php echo $item['sku']; ?></dd><?php endif; ?>
97
- <?php if( !empty( $item['weight'] ) ) : ?><dt><?php _e( 'Weight:', 'wpo_wcpdf' ); ?></dt><dd><?php echo $item['weight']; ?><?php echo get_option('woocommerce_weight_unit'); ?></dd><?php endif; ?>
98
  </dl>
 
99
  </td>
100
  <td class="quantity"><?php echo $item['quantity']; ?></td>
101
  <td class="price"><?php echo $item['order_price']; ?></td>
@@ -129,7 +131,7 @@
129
  </tfoot>
130
  </table>
131
 
132
- <?php do_action( 'wpo_wcpdf_after_order_details', 'invoice', $wpo_wcpdf->export->order ); ?>
133
 
134
  <?php if ( $wpo_wcpdf->get_footer() ): ?>
135
  <div id="footer">
21
  <?php if( $wpo_wcpdf->get_header_logo_id() ) echo apply_filters( 'wpo_wcpdf_invoice_title', __( 'Invoice', 'wpo_wcpdf' ) ); ?>
22
  </h1>
23
 
24
+ <?php do_action( 'wpo_wcpdf_after_document_label', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
25
 
26
  <table class="order-data-addresses">
27
  <tr>
43
  </td>
44
  <td class="order-data">
45
  <table>
46
+ <?php do_action( 'wpo_wcpdf_before_order_data', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
47
  <?php if ( isset($wpo_wcpdf->settings->template_settings['display_number']) && $wpo_wcpdf->settings->template_settings['display_number'] == 'invoice_number') { ?>
48
  <tr class="invoice-number">
49
  <th><?php _e( 'Invoice Number:', 'wpo_wcpdf' ); ?></th>
68
  <th><?php _e( 'Payment Method:', 'wpo_wcpdf' ); ?></th>
69
  <td><?php $wpo_wcpdf->payment_method(); ?></td>
70
  </tr>
71
+ <?php do_action( 'wpo_wcpdf_after_order_data', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
72
  </table>
73
  </td>
74
  </tr>
75
  </table>
76
 
77
+ <?php do_action( 'wpo_wcpdf_before_order_details', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
78
 
79
  <table class="order-details">
80
  <thead>
85
  </tr>
86
  </thead>
87
  <tbody>
88
+ <?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?>
89
  <tr>
90
  <td class="product">
91
  <?php $description_label = __( 'Description', 'wpo_wcpdf' ); // registering alternate label translation ?>
92
  <span class="item-name"><?php echo $item['name']; ?></span>
93
+ <?php do_action( 'wpo_wcpdf_before_item_meta', $wpo_wcpdf->export->template_type, $item, $wpo_wcpdf->export->order ); ?>
94
  <span class="item-meta"><?php echo $item['meta']; ?></span>
95
  <dl class="meta">
96
  <?php $description_label = __( 'SKU', 'wpo_wcpdf' ); // registering alternate label translation ?>
97
+ <?php if( !empty( $item['sku'] ) ) : ?><dt class="sku"><?php _e( 'SKU:', 'wpo_wcpdf' ); ?></dt><dd class="sku"><?php echo $item['sku']; ?></dd><?php endif; ?>
98
+ <?php if( !empty( $item['weight'] ) ) : ?><dt class="weight"><?php _e( 'Weight:', 'wpo_wcpdf' ); ?></dt><dd class="weight"><?php echo $item['weight']; ?><?php echo get_option('woocommerce_weight_unit'); ?></dd><?php endif; ?>
99
  </dl>
100
+ <?php do_action( 'wpo_wcpdf_after_item_meta', $wpo_wcpdf->export->template_type, $item, $wpo_wcpdf->export->order ); ?>
101
  </td>
102
  <td class="quantity"><?php echo $item['quantity']; ?></td>
103
  <td class="price"><?php echo $item['order_price']; ?></td>
131
  </tfoot>
132
  </table>
133
 
134
+ <?php do_action( 'wpo_wcpdf_after_order_details', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
135
 
136
  <?php if ( $wpo_wcpdf->get_footer() ): ?>
137
  <div id="footer">
templates/pdf/Simple/packing-slip.php CHANGED
@@ -21,7 +21,7 @@
21
  <?php if( $wpo_wcpdf->get_header_logo_id() ) echo apply_filters( 'wpo_wcpdf_packing_slip_title', __( 'Packing Slip', 'wpo_wcpdf' ) ); ?>
22
  </h1>
23
 
24
- <?php do_action( 'wpo_wcpdf_after_document_label', 'packing-slip', $wpo_wcpdf->export->order ); ?>
25
 
26
  <table class="order-data-addresses">
27
  <tr>
@@ -43,7 +43,7 @@
43
  </td>
44
  <td class="order-data">
45
  <table>
46
- <?php do_action( 'wpo_wcpdf_before_order_data', 'packing-slip', $wpo_wcpdf->export->order ); ?>
47
  <tr class="order-number">
48
  <th><?php _e( 'Order Number:', 'wpo_wcpdf' ); ?></th>
49
  <td><?php $wpo_wcpdf->order_number(); ?></td>
@@ -56,13 +56,13 @@
56
  <th><?php _e( 'Shipping Method:', 'wpo_wcpdf' ); ?></th>
57
  <td><?php $wpo_wcpdf->shipping_method(); ?></td>
58
  </tr>
59
- <?php do_action( 'wpo_wcpdf_after_order_data', 'packing-slip', $wpo_wcpdf->export->order ); ?>
60
  </table>
61
  </td>
62
  </tr>
63
  </table>
64
 
65
- <?php do_action( 'wpo_wcpdf_before_order_details', 'packing-slip', $wpo_wcpdf->export->order ); ?>
66
 
67
  <table class="order-details">
68
  <thead>
@@ -72,17 +72,19 @@
72
  </tr>
73
  </thead>
74
  <tbody>
75
- <?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item ) : ?>
76
  <tr>
77
  <td class="product">
78
  <?php $description_label = __( 'Description', 'wpo_wcpdf' ); // registering alternate label translation ?>
79
  <span class="item-name"><?php echo $item['name']; ?></span>
 
80
  <span class="item-meta"><?php echo $item['meta']; ?></span>
81
  <dl class="meta">
82
  <?php $description_label = __( 'SKU', 'wpo_wcpdf' ); // registering alternate label translation ?>
83
- <?php if( !empty( $item['sku'] ) ) : ?><dt><?php _e( 'SKU:', 'wpo_wcpdf' ); ?></dt><dd><?php echo $item['sku']; ?></dd><?php endif; ?>
84
- <?php if( !empty( $item['weight'] ) ) : ?><dt><?php _e( 'Weight:', 'wpo_wcpdf' ); ?></dt><dd><?php echo $item['weight']; ?><?php echo get_option('woocommerce_weight_unit'); ?></dd><?php endif; ?>
85
  </dl>
 
86
  </td>
87
  <td class="quantity"><?php echo $item['quantity']; ?></td>
88
  </tr>
@@ -90,7 +92,7 @@
90
  </tbody>
91
  </table>
92
 
93
- <?php do_action( 'wpo_wcpdf_after_order_details', 'packing-slip', $wpo_wcpdf->export->order ); ?>
94
 
95
  <div class="customer-notes">
96
  <?php if ( $wpo_wcpdf->get_shipping_notes() ) : ?>
21
  <?php if( $wpo_wcpdf->get_header_logo_id() ) echo apply_filters( 'wpo_wcpdf_packing_slip_title', __( 'Packing Slip', 'wpo_wcpdf' ) ); ?>
22
  </h1>
23
 
24
+ <?php do_action( 'wpo_wcpdf_after_document_label', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
25
 
26
  <table class="order-data-addresses">
27
  <tr>
43
  </td>
44
  <td class="order-data">
45
  <table>
46
+ <?php do_action( 'wpo_wcpdf_before_order_data', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
47
  <tr class="order-number">
48
  <th><?php _e( 'Order Number:', 'wpo_wcpdf' ); ?></th>
49
  <td><?php $wpo_wcpdf->order_number(); ?></td>
56
  <th><?php _e( 'Shipping Method:', 'wpo_wcpdf' ); ?></th>
57
  <td><?php $wpo_wcpdf->shipping_method(); ?></td>
58
  </tr>
59
+ <?php do_action( 'wpo_wcpdf_after_order_data', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
60
  </table>
61
  </td>
62
  </tr>
63
  </table>
64
 
65
+ <?php do_action( 'wpo_wcpdf_before_order_details', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
66
 
67
  <table class="order-details">
68
  <thead>
72
  </tr>
73
  </thead>
74
  <tbody>
75
+ <?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?>
76
  <tr>
77
  <td class="product">
78
  <?php $description_label = __( 'Description', 'wpo_wcpdf' ); // registering alternate label translation ?>
79
  <span class="item-name"><?php echo $item['name']; ?></span>
80
+ <?php do_action( 'wpo_wcpdf_before_item_meta', $wpo_wcpdf->export->template_type, $item, $wpo_wcpdf->export->order ); ?>
81
  <span class="item-meta"><?php echo $item['meta']; ?></span>
82
  <dl class="meta">
83
  <?php $description_label = __( 'SKU', 'wpo_wcpdf' ); // registering alternate label translation ?>
84
+ <?php if( !empty( $item['sku'] ) ) : ?><dt class="sku"><?php _e( 'SKU:', 'wpo_wcpdf' ); ?></dt><dd class="sku"><?php echo $item['sku']; ?></dd><?php endif; ?>
85
+ <?php if( !empty( $item['weight'] ) ) : ?><dt class="weight"><?php _e( 'Weight:', 'wpo_wcpdf' ); ?></dt><dd class="weight"><?php echo $item['weight']; ?><?php echo get_option('woocommerce_weight_unit'); ?></dd><?php endif; ?>
86
  </dl>
87
+ <?php do_action( 'wpo_wcpdf_after_item_meta', $wpo_wcpdf->export->template_type, $item, $wpo_wcpdf->export->order ); ?>
88
  </td>
89
  <td class="quantity"><?php echo $item['quantity']; ?></td>
90
  </tr>
92
  </tbody>
93
  </table>
94
 
95
+ <?php do_action( 'wpo_wcpdf_after_order_details', $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>
96
 
97
  <div class="customer-notes">
98
  <?php if ( $wpo_wcpdf->get_shipping_notes() ) : ?>
templates/pdf/Simple/style.css CHANGED
@@ -1,3 +1,4 @@
 
1
  /* Main Body */
2
  @font-face {
3
  font-family: 'Open Sans';
@@ -145,6 +146,14 @@ td.order-data {
145
  width: 40%;
146
  }
147
 
 
 
 
 
 
 
 
 
148
  td.order-data table th {
149
  font-weight: normal;
150
  padding-right: 2mm;
@@ -232,6 +241,10 @@ table.totals tr:last-child th {
232
  font-weight: bold;
233
  }
234
 
 
 
 
 
235
  /* Footer Imprint */
236
  #footer {
237
  position: absolute;
1
+ <?php global $wpo_wcpdf;?>
2
  /* Main Body */
3
  @font-face {
4
  font-family: 'Open Sans';
146
  width: 40%;
147
  }
148
 
149
+ .invoice .shipping-address {
150
+ width: 30%;
151
+ }
152
+
153
+ .packing-slip .billing-address {
154
+ width: 30%;
155
+ }
156
+
157
  td.order-data table th {
158
  font-weight: normal;
159
  padding-right: 2mm;
241
  font-weight: bold;
242
  }
243
 
244
+ table.totals tr.payment_method {
245
+ display: none;
246
+ }
247
+
248
  /* Footer Imprint */
249
  #footer {
250
  position: absolute;
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.7
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.7';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
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.8
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.8';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?