WooCommerce PDF Invoices & Packing Slips - Version 1.5.14

Version Description

  • Tweak: Invoice number & date edit fields moved to separate box on order edit page
  • Translations: Updated POT & Dutch
Download this release

Release Info

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

Code changes from version 1.5.13 to 1.5.14

css/style-buttons-wc20.css ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ .type-shop_order .column-order_actions a.button.wpo_wcpdf {
2
+ padding: 0 2px;
3
+ }
css/style-buttons.css ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ .type-shop_order .column-order_actions a.button.wpo_wcpdf {
2
+ float: left;
3
+ width: 26px;
4
+ height: 26px;
5
+ padding: 3px 2px;
6
+ }
css/style-wc21.css DELETED
@@ -1,55 +0,0 @@
1
- #woocommerce-delivery-notes-box .inside {
2
- text-align: left;
3
- position: relative;
4
- }
5
- #woocommerce-delivery-notes-box .inside ul {
6
- overflow: hidden;
7
- margin: 0px;
8
- }
9
- #woocommerce-delivery-notes-box .inside ul li {
10
- float: left;
11
- margin: 3px;
12
- }
13
- #woocommerce-delivery-notes-box .inside img.loading {
14
- position: absolute;
15
- right: 7px;
16
- top: 0px;
17
- }
18
- #woocommerce-delivery-notes-box .inside img.loading,
19
- .type-shop_order .column-order_actions img.loading {
20
- display: none;
21
- vertical-align: middle;
22
- }
23
- .type-shop_order .column-order_actions img.loading {
24
- float: left;
25
- margin-top: 3px;
26
- }
27
- .type-shop_order .column-order_actions .print-preview-button span {
28
- display: none;
29
- }
30
- #company-logo-placeholder {
31
- display: block;
32
- }
33
- #company-logo-placeholder.loading {
34
- background-image: url("../../../../wp-admin/images/wpspin_light.gif");
35
- background-repeat: no-repeat;
36
- height: 20px;
37
- }
38
- #company-logo-placeholder img {
39
- cursor: pointer;
40
- }
41
-
42
- .type-shop_order .column-order_actions a.button.wpo_wcpdf {
43
- float: left;
44
- width: 26px;
45
- height: 26px;
46
- padding: 3px 2px;
47
- }
48
-
49
- .type-shop_order .column-order_actions a.button.wpo_wcpdf img {
50
- width: 16px;
51
- }
52
-
53
- .widefat .column-pdf_invoice_number {
54
- width: 110px;
55
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/style.css CHANGED
@@ -1,54 +1,24 @@
1
- #woocommerce-delivery-notes-box .inside {
2
- text-align: left;
3
- position: relative;
4
- }
5
- #woocommerce-delivery-notes-box .inside ul {
6
- overflow: hidden;
7
- margin: 0px;
8
- }
9
- #woocommerce-delivery-notes-box .inside ul li {
10
- float: left;
11
- margin: 3px;
12
- }
13
- #woocommerce-delivery-notes-box .inside img.loading {
14
- position: absolute;
15
- right: 7px;
16
- top: 0px;
17
- }
18
- #woocommerce-delivery-notes-box .inside img.loading,
19
- .type-shop_order .column-order_actions img.loading {
20
- display: none;
21
- vertical-align: middle;
22
- }
23
- .type-shop_order .column-order_actions img.loading {
24
- float: left;
25
- margin-top: 3px;
26
- }
27
- .type-shop_order .column-order_actions .print-preview-button span {
28
- display: none;
29
- }
30
- #company-logo-placeholder {
31
- display: block;
32
- }
33
- #company-logo-placeholder.loading {
34
- background-image: url("../../../../wp-admin/images/wpspin_light.gif");
35
- background-repeat: no-repeat;
36
- height: 20px;
37
  }
38
- #company-logo-placeholder img {
39
- cursor: pointer;
 
40
  }
41
 
42
- .type-shop_order .column-order_actions a.button.wpo_wcpdf {
43
- padding: 0 2px;
 
 
44
  }
45
 
46
- .type-shop_order .column-order_actions a.button.wpo_wcpdf img {
47
- width: 16px;
48
  }
49
 
50
- .widefat .column-pdf_invoice_number {
51
- width: 110px;
52
  }
53
 
54
  /* Settings page styles */
1
+ /* Order list buttons: */
2
+ .type-shop_order .column-order_actions a.button.wpo_wcpdf img {
3
+ width: 16px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
+
6
+ .widefat .column-pdf_invoice_number {
7
+ width: 110px;
8
  }
9
 
10
+ #wpo_wcpdf-data-input-box h4 {
11
+ font-size: 14px;
12
+ line-height: 1.4;
13
+ margin: 1.5em 0 0 0;
14
  }
15
 
16
+ #wpo_wcpdf-data-input-box p {
17
+ margin: 0.5em 0;
18
  }
19
 
20
+ #wpo_wcpdf-data-input-box .form-field input {
21
+ width: auto;
22
  }
23
 
24
  /* Settings page styles */
includes/class-wcpdf-writepanels.php CHANGED
@@ -18,14 +18,13 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
18
  add_action( 'woocommerce_admin_order_actions_end', array( $this, 'add_listing_actions' ) );
19
  add_filter( 'manage_edit-shop_order_columns', array( $this, 'add_invoice_number_column' ), 999 );
20
  add_action( 'manage_shop_order_posts_custom_column', array( $this, 'invoice_number_column_data' ), 2 );
21
- add_action( 'add_meta_boxes_shop_order', array( $this, 'add_box' ) );
22
  add_filter( 'woocommerce_my_account_my_orders_actions', array( $this, 'my_account_pdf_link' ), 10, 2 );
23
  add_action( 'admin_print_scripts', array( $this, 'add_scripts' ) );
24
  add_action( 'admin_print_styles', array( $this, 'add_styles' ) );
25
- add_action( 'admin_footer', array(&$this, 'bulk_actions') );
26
 
27
- add_action( 'woocommerce_admin_order_data_after_order_details', array(&$this, 'edit_invoice_number') );
28
- add_action( 'save_post', array( &$this,'save_invoice_number_date' ) );
29
 
30
 
31
  $this->bulk_actions = array(
@@ -41,23 +40,30 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
41
  if( $this->is_order_edit_page() ) {
42
  wp_enqueue_style( 'thickbox' );
43
 
 
 
 
 
 
 
 
44
  if ( version_compare( WOOCOMMERCE_VERSION, '2.1' ) >= 0 ) {
45
  // WC 2.1 or newer (MP6) is used: bigger buttons
46
  wp_enqueue_style(
47
- 'wpo-wcpdf',
48
- WooCommerce_PDF_Invoices::$plugin_url . 'css/style-wc21.css',
49
  array(),
50
  WooCommerce_PDF_Invoices::$version
51
  );
52
  } else {
 
53
  wp_enqueue_style(
54
- 'wpo-wcpdf',
55
- WooCommerce_PDF_Invoices::$plugin_url . 'css/style.css',
56
  array(),
57
  WooCommerce_PDF_Invoices::$version
58
  );
59
  }
60
-
61
  }
62
  }
63
 
@@ -199,14 +205,32 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
199
  /**
200
  * Add the meta box on the single order page
201
  */
202
- public function add_box() {
203
- add_meta_box( 'wpo_wcpdf-box', __( 'Create PDF', 'wpo_wcpdf' ), array( $this, 'create_box_content' ), 'shop_order', 'side', 'default' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  }
205
 
206
  /**
207
  * Create the meta box content on the single order page
208
  */
209
- public function create_box_content() {
210
  global $post_id;
211
 
212
  $meta_actions = array(
@@ -235,6 +259,39 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
235
  <?php
236
  }
237
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
238
  /**
239
  * Add actions to menu
240
  */
@@ -255,22 +312,6 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
255
  }
256
  }
257
 
258
- /**
259
- * Add box to edit invoice number to order details page
260
- */
261
- public function edit_invoice_number($order) {
262
- $invoice_exists = get_post_meta( $order->id, '_wcpdf_invoice_exists', true );
263
- if (!empty($invoice_exists)) {
264
- woocommerce_wp_text_input( array( 'id' => '_wcpdf_invoice_number', 'label' => __( 'PDF Invoice Number (unformatted!)', 'wpo_wcpdf' ) ) );
265
- $invoice_date = get_post_meta($order->id,'_wcpdf_invoice_date',true);
266
- ?>
267
- <p class="form-field form-field-wide"><label for="wcpdf_invoice_date"><?php _e( 'Invoice Date:', 'wpo_wcpdf' ); ?></label>
268
- <input type="text" class="date-picker-field" name="wcpdf_invoice_date" id="wcpdf_invoice_date" maxlength="10" value="<?php echo date_i18n( 'Y-m-d', strtotime( $invoice_date ) ); ?>" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />@<input type="text" class="hour" placeholder="<?php _e( 'h', 'woocommerce' ) ?>" name="wcpdf_invoice_date_hour" id="wcpdf_invoice_date_hour" maxlength="2" size="2" value="<?php echo date_i18n( 'H', strtotime( $invoice_date ) ); ?>" pattern="\-?\d+(\.\d{0,})?" />:<input type="text" class="minute" placeholder="<?php _e( 'm', 'woocommerce' ) ?>" name="wcpdf_invoice_date_minute" id="wcpdf_invoice_date_minute" maxlength="2" size="2" value="<?php echo date_i18n( 'i', strtotime( $invoice_date ) ); ?>" pattern="\-?\d+(\.\d{0,})?" />
269
- </p>
270
- <?php
271
- }
272
- }
273
-
274
  /**
275
  * Save invoice number
276
  */
@@ -287,7 +328,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
287
  } else {
288
  $invoice_date = strtotime( $_POST['wcpdf_invoice_date'] . ' ' . (int) $_POST['wcpdf_invoice_date_hour'] . ':' . (int) $_POST['wcpdf_invoice_date_minute'] . ':00' );
289
  $invoice_date = date_i18n( 'Y-m-d H:i:s', $invoice_date );
290
- update_post_meta( $post_id, '_wcpdf_invoice_date', $invoice_date );
291
  }
292
  }
293
 
18
  add_action( 'woocommerce_admin_order_actions_end', array( $this, 'add_listing_actions' ) );
19
  add_filter( 'manage_edit-shop_order_columns', array( $this, 'add_invoice_number_column' ), 999 );
20
  add_action( 'manage_shop_order_posts_custom_column', array( $this, 'invoice_number_column_data' ), 2 );
21
+ add_action( 'add_meta_boxes_shop_order', array( $this, 'add_meta_boxes' ) );
22
  add_filter( 'woocommerce_my_account_my_orders_actions', array( $this, 'my_account_pdf_link' ), 10, 2 );
23
  add_action( 'admin_print_scripts', array( $this, 'add_scripts' ) );
24
  add_action( 'admin_print_styles', array( $this, 'add_styles' ) );
25
+ add_action( 'admin_footer', array( $this, 'bulk_actions' ) );
26
 
27
+ add_action( 'save_post', array( $this,'save_invoice_number_date' ) );
 
28
 
29
 
30
  $this->bulk_actions = array(
40
  if( $this->is_order_edit_page() ) {
41
  wp_enqueue_style( 'thickbox' );
42
 
43
+ wp_enqueue_style(
44
+ 'wpo-wcpdf',
45
+ WooCommerce_PDF_Invoices::$plugin_url . 'css/style.css',
46
+ array(),
47
+ WooCommerce_PDF_Invoices::$version
48
+ );
49
+
50
  if ( version_compare( WOOCOMMERCE_VERSION, '2.1' ) >= 0 ) {
51
  // WC 2.1 or newer (MP6) is used: bigger buttons
52
  wp_enqueue_style(
53
+ 'wpo-wcpdf-buttons',
54
+ WooCommerce_PDF_Invoices::$plugin_url . 'css/style-buttons.css',
55
  array(),
56
  WooCommerce_PDF_Invoices::$version
57
  );
58
  } else {
59
+ // legacy WC 2.0 styles
60
  wp_enqueue_style(
61
+ 'wpo-wcpdf-buttons',
62
+ WooCommerce_PDF_Invoices::$plugin_url . 'css/style-buttons-wc20.css',
63
  array(),
64
  WooCommerce_PDF_Invoices::$version
65
  );
66
  }
 
67
  }
68
  }
69
 
205
  /**
206
  * Add the meta box on the single order page
207
  */
208
+ public function add_meta_boxes() {
209
+ // create PDF buttons
210
+ add_meta_box(
211
+ 'wpo_wcpdf-box',
212
+ __( 'Create PDF', 'wpo_wcpdf' ),
213
+ array( $this, 'sidebar_box_content' ),
214
+ 'shop_order',
215
+ 'side',
216
+ 'default'
217
+ );
218
+
219
+ // Invoice number & date
220
+ add_meta_box(
221
+ 'wpo_wcpdf-data-input-box',
222
+ __( 'PDF Invoice data', 'wpo_wcpdf' ),
223
+ array( $this, 'data_input_box_content' ),
224
+ 'shop_order',
225
+ 'normal',
226
+ 'default'
227
+ );
228
  }
229
 
230
  /**
231
  * Create the meta box content on the single order page
232
  */
233
+ public function sidebar_box_content( $post ) {
234
  global $post_id;
235
 
236
  $meta_actions = array(
259
  <?php
260
  }
261
 
262
+ /**
263
+ * Add metabox for invoice number & date
264
+ */
265
+ public function data_input_box_content ( $post ) {
266
+ $invoice_exists = get_post_meta( $post->ID, '_wcpdf_invoice_exists', true );
267
+ $invoice_number = get_post_meta($post->ID,'_wcpdf_invoice_number',true);
268
+ $invoice_date = get_post_meta($post->ID,'_wcpdf_invoice_date',true);
269
+
270
+ do_action( 'wpo_wcpdf_meta_box_start', $post->ID );
271
+
272
+ ?>
273
+ <h4><?php _e( 'Invoice', 'wpo_wcpdf' ) ?></h4>
274
+ <p class="form-field _wcpdf_invoice_number_field ">
275
+ <label for="_wcpdf_invoice_number"><?php _e( 'Invoice Number (unformatted!)', 'wpo_wcpdf' ); ?>:</label>
276
+ <?php if (!empty($invoice_exists)) : ?>
277
+ <input type="text" class="short" style="" name="_wcpdf_invoice_number" id="_wcpdf_invoice_number" value="<?php echo $invoice_number ?>">
278
+ <?php else : ?>
279
+ <input type="text" class="short" style="" name="" id="_wcpdf_invoice_number" value="" disabled="disabled" >
280
+ <?php endif; ?>
281
+ </p>
282
+ <p class="form-field form-field-wide">
283
+ <label for="wcpdf_invoice_date"><?php _e( 'Invoice Date:', 'wpo_wcpdf' ); ?></label>
284
+ <?php if (!empty($invoice_exists)) : ?>
285
+ <input type="text" class="date-picker-field" name="wcpdf_invoice_date" id="wcpdf_invoice_date" maxlength="10" value="<?php echo date_i18n( 'Y-m-d', strtotime( $invoice_date ) ); ?>" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />@<input type="text" class="hour" placeholder="<?php _e( 'h', 'woocommerce' ) ?>" name="wcpdf_invoice_date_hour" id="wcpdf_invoice_date_hour" maxlength="2" size="2" value="<?php echo date_i18n( 'H', strtotime( $invoice_date ) ); ?>" pattern="\-?\d+(\.\d{0,})?" />:<input type="text" class="minute" placeholder="<?php _e( 'm', 'woocommerce' ) ?>" name="wcpdf_invoice_date_minute" id="wcpdf_invoice_date_minute" maxlength="2" size="2" value="<?php echo date_i18n( 'i', strtotime( $invoice_date ) ); ?>" pattern="\-?\d+(\.\d{0,})?" />
286
+ <?php else : ?>
287
+ <input type="text" class="date-picker-field" id="wcpdf_invoice_date" maxlength="10" disabled="disabled" >@<input type="text" class="hour" id="wcpdf_invoice_date_hour" maxlength="2" size="2" disabled="disabled" />:<input type="text" class="minute" id="wcpdf_invoice_date_minute" maxlength="2" size="2" disabled="disabled" />
288
+ <?php endif; ?>
289
+ </p>
290
+ <?php
291
+
292
+ do_action( 'wpo_wcpdf_meta_box_end', $post->ID );
293
+ }
294
+
295
  /**
296
  * Add actions to menu
297
  */
312
  }
313
  }
314
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
315
  /**
316
  * Save invoice number
317
  */
328
  } else {
329
  $invoice_date = strtotime( $_POST['wcpdf_invoice_date'] . ' ' . (int) $_POST['wcpdf_invoice_date_hour'] . ':' . (int) $_POST['wcpdf_invoice_date_minute'] . ':00' );
330
  $invoice_date = date_i18n( 'Y-m-d H:i:s', $invoice_date );
331
+ update_post_meta( $post_id, '_wcpdf_invoice_date', $invoice_date );
332
  }
333
  }
334
 
js/script.js CHANGED
@@ -17,5 +17,7 @@ jQuery(document).ready(function($) {
17
  window.open(url,'_blank');
18
  }
19
  });
 
 
20
  });
21
 
17
  window.open(url,'_blank');
18
  }
19
  });
20
+
21
+ $('#wpo_wcpdf-data-input-box').insertAfter('#woocommerce-order-data');
22
  });
23
 
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-04-29 08:58+0100\n"
6
- "PO-Revision-Date: 2015-04-29 08:58+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,7 +16,7 @@ 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.5\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  #: includes/class-wcpdf-export.php:338 includes/class-wcpdf-export.php:348
@@ -41,7 +41,7 @@ msgstr[0] "pakbon"
41
  msgstr[1] "pakbonnen"
42
 
43
  #: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
44
- #: includes/class-wcpdf-writepanels.php:32
45
  msgid "PDF Invoices"
46
  msgstr "PDF facturen"
47
 
@@ -205,7 +205,8 @@ msgstr "Shop Adres"
205
  msgid "Footer: terms & conditions, policies, etc."
206
  msgstr "Voettekst: algemene voorwaarden, retourenbeleid, etc."
207
 
208
- #: includes/class-wcpdf-settings.php:463 templates/pdf/Simple/invoice.php:9
 
209
  #: templates/pdf/Simple/invoice.php:21
210
  #: woocommerce-pdf-invoices-packingslips.php:220
211
  msgid "Invoice"
@@ -406,46 +407,50 @@ msgstr ""
406
  "<em>Modern (Premium)</em> template, maar kunnen ook gebruikt worden voor "
407
  "andere elementen in je eigen custom sjabloon."
408
 
409
- #: includes/class-wcpdf-writepanels.php:33
410
  msgid "PDF Packing Slips"
411
  msgstr "PDF Pakbonnen"
412
 
413
- #: includes/class-wcpdf-writepanels.php:107
414
- #: includes/class-wcpdf-writepanels.php:216
415
  msgid "PDF Invoice"
416
  msgstr "PDF factuur"
417
 
418
- #: includes/class-wcpdf-writepanels.php:112
419
- #: includes/class-wcpdf-writepanels.php:221
420
  msgid "PDF Packing Slip"
421
  msgstr "PDF Pakbon"
422
 
423
- #: includes/class-wcpdf-writepanels.php:139
424
  msgid "Invoice Number"
425
  msgstr "Factuurnummer"
426
 
427
- #: includes/class-wcpdf-writepanels.php:192
428
  msgid "Download invoice (PDF)"
429
  msgstr "Download factuur (PDF)"
430
 
431
- #: includes/class-wcpdf-writepanels.php:203
432
  msgid "Create PDF"
433
  msgstr "Maak PDF"
434
 
435
- #: includes/class-wcpdf-writepanels.php:264
436
- msgid "PDF Invoice Number (unformatted!)"
437
- msgstr "PDF Factuurnummer (zonder formatting!)"
 
 
 
 
438
 
439
- #: includes/class-wcpdf-writepanels.php:267
440
  #: templates/pdf/Simple/invoice.php:55
441
  msgid "Invoice Date:"
442
  msgstr "Factuurdatum:"
443
 
444
- #: includes/class-wcpdf-writepanels.php:268
445
  msgid "h"
446
  msgstr "u"
447
 
448
- #: includes/class-wcpdf-writepanels.php:268
449
  msgid "m"
450
  msgstr "m"
451
 
@@ -554,16 +559,20 @@ msgid "WooCommerce Automatic Order Printing"
554
  msgstr "WooCommerce Automatic Order Printing"
555
 
556
  #: includes/wcpdf-extensions.php:82
557
- msgid "More advanced templates"
558
- msgstr "Geavanceerde templates"
559
 
560
  #: includes/wcpdf-extensions.php:85
561
- msgid "Stylish modern invoices & packing slips with product thumbnails!"
562
- msgstr "Stijlvolle moderne facturen en pakbonnen met productafbeeldingen"
 
 
 
 
563
 
564
  #: includes/wcpdf-extensions.php:86
565
- msgid "More tax details on the invoices!"
566
- msgstr "Meer BTW details op de factuur!"
567
 
568
  #: includes/wcpdf-extensions.php:87
569
  #, php-format
@@ -658,47 +667,59 @@ msgstr ""
658
  "WooCommerce PDF Invoices & Packing Slips vereist dat %sWooCommerce%s is "
659
  "geïnstalleerd & geactiveerd!"
660
 
661
- #: woocommerce-pdf-invoices-packingslips.php:330
662
- #: woocommerce-pdf-invoices-packingslips.php:391
663
  msgid "N/A"
664
  msgstr "N/A"
665
 
666
- #: woocommerce-pdf-invoices-packingslips.php:480
667
  msgid "Payment method"
668
  msgstr "Betaalmethode"
669
 
670
- #: woocommerce-pdf-invoices-packingslips.php:491
671
  msgid "Shipping method"
672
  msgstr "Verzendmethode"
673
 
674
- #: woocommerce-pdf-invoices-packingslips.php:644
675
  msgid "Subtotal"
676
  msgstr "Subtotaal"
677
 
678
- #: woocommerce-pdf-invoices-packingslips.php:666
679
  msgid "Shipping"
680
  msgstr "Verzendkosten"
681
 
682
- #: woocommerce-pdf-invoices-packingslips.php:719
683
  msgid "Discount"
684
  msgstr "Korting"
685
 
686
- #: woocommerce-pdf-invoices-packingslips.php:759
687
  msgid "VAT"
688
  msgstr "BTW"
689
 
690
- #: woocommerce-pdf-invoices-packingslips.php:760
691
  msgid "Tax rate"
692
  msgstr "BTW tarief"
693
 
694
- #: woocommerce-pdf-invoices-packingslips.php:797
695
  msgid "Total ex. VAT"
696
  msgstr "Totaal excl. BTW"
697
 
698
- #: woocommerce-pdf-invoices-packingslips.php:800
699
  msgid "Total"
700
  msgstr "Totaal"
701
 
 
 
 
 
 
 
 
 
 
 
 
 
702
  #~ msgid "Shipping address on invoice"
703
  #~ msgstr "Verzendadres op factuur"
704
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-05-28 16:05+0100\n"
6
+ "PO-Revision-Date: 2015-05-28 16:08+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.8\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  #: includes/class-wcpdf-export.php:338 includes/class-wcpdf-export.php:348
41
  msgstr[1] "pakbonnen"
42
 
43
  #: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
44
+ #: includes/class-wcpdf-writepanels.php:31
45
  msgid "PDF Invoices"
46
  msgstr "PDF facturen"
47
 
205
  msgid "Footer: terms & conditions, policies, etc."
206
  msgstr "Voettekst: algemene voorwaarden, retourenbeleid, etc."
207
 
208
+ #: includes/class-wcpdf-settings.php:463
209
+ #: includes/class-wcpdf-writepanels.php:273 templates/pdf/Simple/invoice.php:9
210
  #: templates/pdf/Simple/invoice.php:21
211
  #: woocommerce-pdf-invoices-packingslips.php:220
212
  msgid "Invoice"
407
  "<em>Modern (Premium)</em> template, maar kunnen ook gebruikt worden voor "
408
  "andere elementen in je eigen custom sjabloon."
409
 
410
+ #: includes/class-wcpdf-writepanels.php:32
411
  msgid "PDF Packing Slips"
412
  msgstr "PDF Pakbonnen"
413
 
414
+ #: includes/class-wcpdf-writepanels.php:113
415
+ #: includes/class-wcpdf-writepanels.php:240
416
  msgid "PDF Invoice"
417
  msgstr "PDF factuur"
418
 
419
+ #: includes/class-wcpdf-writepanels.php:118
420
+ #: includes/class-wcpdf-writepanels.php:245
421
  msgid "PDF Packing Slip"
422
  msgstr "PDF Pakbon"
423
 
424
+ #: includes/class-wcpdf-writepanels.php:145
425
  msgid "Invoice Number"
426
  msgstr "Factuurnummer"
427
 
428
+ #: includes/class-wcpdf-writepanels.php:198
429
  msgid "Download invoice (PDF)"
430
  msgstr "Download factuur (PDF)"
431
 
432
+ #: includes/class-wcpdf-writepanels.php:212
433
  msgid "Create PDF"
434
  msgstr "Maak PDF"
435
 
436
+ #: includes/class-wcpdf-writepanels.php:222
437
+ msgid "PDF Invoice data"
438
+ msgstr "PDF Factuur gegevens"
439
+
440
+ #: includes/class-wcpdf-writepanels.php:275
441
+ msgid "Invoice Number (unformatted!)"
442
+ msgstr "Factuurnummer (zonder formatting!)"
443
 
444
+ #: includes/class-wcpdf-writepanels.php:283
445
  #: templates/pdf/Simple/invoice.php:55
446
  msgid "Invoice Date:"
447
  msgstr "Factuurdatum:"
448
 
449
+ #: includes/class-wcpdf-writepanels.php:285
450
  msgid "h"
451
  msgstr "u"
452
 
453
+ #: includes/class-wcpdf-writepanels.php:285
454
  msgid "m"
455
  msgstr "m"
456
 
559
  msgstr "WooCommerce Automatic Order Printing"
560
 
561
  #: includes/wcpdf-extensions.php:82
562
+ msgid "Advanced, customizable templates"
563
+ msgstr "Geavanceerde, aanpasbare templates"
564
 
565
  #: includes/wcpdf-extensions.php:85
566
+ msgid ""
567
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
568
+ "your needs with a drag & drop customizer"
569
+ msgstr ""
570
+ "Past de inhoud van de factuur (prijzen, BTW, thumbnails) volledig naar je "
571
+ "wensen aan met een eenvoudige drag & drop interface"
572
 
573
  #: includes/wcpdf-extensions.php:86
574
+ msgid "Two extra stylish premade templates (Modern & Business)"
575
+ msgstr "Twee extra stijlvolle voorgeconfigureerde templates (Moden & Business)"
576
 
577
  #: includes/wcpdf-extensions.php:87
578
  #, php-format
667
  "WooCommerce PDF Invoices & Packing Slips vereist dat %sWooCommerce%s is "
668
  "geïnstalleerd & geactiveerd!"
669
 
670
+ #: woocommerce-pdf-invoices-packingslips.php:367
671
+ #: woocommerce-pdf-invoices-packingslips.php:428
672
  msgid "N/A"
673
  msgstr "N/A"
674
 
675
+ #: woocommerce-pdf-invoices-packingslips.php:517
676
  msgid "Payment method"
677
  msgstr "Betaalmethode"
678
 
679
+ #: woocommerce-pdf-invoices-packingslips.php:528
680
  msgid "Shipping method"
681
  msgstr "Verzendmethode"
682
 
683
+ #: woocommerce-pdf-invoices-packingslips.php:681
684
  msgid "Subtotal"
685
  msgstr "Subtotaal"
686
 
687
+ #: woocommerce-pdf-invoices-packingslips.php:703
688
  msgid "Shipping"
689
  msgstr "Verzendkosten"
690
 
691
+ #: woocommerce-pdf-invoices-packingslips.php:766
692
  msgid "Discount"
693
  msgstr "Korting"
694
 
695
+ #: woocommerce-pdf-invoices-packingslips.php:806
696
  msgid "VAT"
697
  msgstr "BTW"
698
 
699
+ #: woocommerce-pdf-invoices-packingslips.php:807
700
  msgid "Tax rate"
701
  msgstr "BTW tarief"
702
 
703
+ #: woocommerce-pdf-invoices-packingslips.php:844
704
  msgid "Total ex. VAT"
705
  msgstr "Totaal excl. BTW"
706
 
707
+ #: woocommerce-pdf-invoices-packingslips.php:847
708
  msgid "Total"
709
  msgstr "Totaal"
710
 
711
+ #~ msgid "PDF Invoice Number (unformatted!)"
712
+ #~ msgstr "PDF Factuurnummer (zonder formatting!)"
713
+
714
+ #~ msgid "More advanced templates"
715
+ #~ msgstr "Geavanceerde templates"
716
+
717
+ #~ msgid "Stylish modern invoices & packing slips with product thumbnails!"
718
+ #~ msgstr "Stijlvolle moderne facturen en pakbonnen met productafbeeldingen"
719
+
720
+ #~ msgid "More tax details on the invoices!"
721
+ #~ msgstr "Meer BTW details op de factuur!"
722
+
723
  #~ msgid "Shipping address on invoice"
724
  #~ msgstr "Verzendadres op factuur"
725
 
languages/wpo_wcpdf.pot CHANGED
@@ -1,7 +1,8 @@
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
- "POT-Creation-Date: 2015-04-29 08:58+0100\n"
5
  "PO-Revision-Date: 2015-04-29 08:58+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
@@ -9,7 +10,7 @@ msgstr ""
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"
@@ -25,14 +26,12 @@ msgstr ""
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: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"
@@ -40,7 +39,7 @@ msgstr[0] ""
40
  msgstr[1] ""
41
 
42
  #: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
43
- #: includes/class-wcpdf-writepanels.php:32
44
  msgid "PDF Invoices"
45
  msgstr ""
46
 
@@ -197,7 +196,8 @@ msgstr ""
197
  msgid "Footer: terms & conditions, policies, etc."
198
  msgstr ""
199
 
200
- #: includes/class-wcpdf-settings.php:463 templates/pdf/Simple/invoice.php:9
 
201
  #: templates/pdf/Simple/invoice.php:21
202
  #: woocommerce-pdf-invoices-packingslips.php:220
203
  msgid "Invoice"
@@ -370,46 +370,50 @@ msgid ""
370
  "custom template"
371
  msgstr ""
372
 
373
- #: includes/class-wcpdf-writepanels.php:33
374
  msgid "PDF Packing Slips"
375
  msgstr ""
376
 
377
- #: includes/class-wcpdf-writepanels.php:107
378
- #: includes/class-wcpdf-writepanels.php:216
379
  msgid "PDF Invoice"
380
  msgstr ""
381
 
382
- #: includes/class-wcpdf-writepanels.php:112
383
- #: includes/class-wcpdf-writepanels.php:221
384
  msgid "PDF Packing Slip"
385
  msgstr ""
386
 
387
- #: includes/class-wcpdf-writepanels.php:139
388
  msgid "Invoice Number"
389
  msgstr ""
390
 
391
- #: includes/class-wcpdf-writepanels.php:192
392
  msgid "Download invoice (PDF)"
393
  msgstr ""
394
 
395
- #: includes/class-wcpdf-writepanels.php:203
396
  msgid "Create PDF"
397
  msgstr ""
398
 
399
- #: includes/class-wcpdf-writepanels.php:264
400
- msgid "PDF Invoice Number (unformatted!)"
401
  msgstr ""
402
 
403
- #: includes/class-wcpdf-writepanels.php:267
 
 
 
 
404
  #: templates/pdf/Simple/invoice.php:55
405
  msgid "Invoice Date:"
406
  msgstr ""
407
 
408
- #: includes/class-wcpdf-writepanels.php:268
409
  msgid "h"
410
  msgstr ""
411
 
412
- #: includes/class-wcpdf-writepanels.php:268
413
  msgid "m"
414
  msgstr ""
415
 
@@ -501,15 +505,17 @@ msgid "WooCommerce Automatic Order Printing"
501
  msgstr ""
502
 
503
  #: includes/wcpdf-extensions.php:82
504
- msgid "More advanced templates"
505
  msgstr ""
506
 
507
  #: includes/wcpdf-extensions.php:85
508
- msgid "Stylish modern invoices & packing slips with product thumbnails!"
 
 
509
  msgstr ""
510
 
511
  #: includes/wcpdf-extensions.php:86
512
- msgid "More tax details on the invoices!"
513
  msgstr ""
514
 
515
  #: includes/wcpdf-extensions.php:87
@@ -603,43 +609,43 @@ msgid ""
603
  "installed & activated!"
604
  msgstr ""
605
 
606
- #: woocommerce-pdf-invoices-packingslips.php:330
607
- #: woocommerce-pdf-invoices-packingslips.php:391
608
  msgid "N/A"
609
  msgstr ""
610
 
611
- #: woocommerce-pdf-invoices-packingslips.php:480
612
  msgid "Payment method"
613
  msgstr ""
614
 
615
- #: woocommerce-pdf-invoices-packingslips.php:491
616
  msgid "Shipping method"
617
  msgstr ""
618
 
619
- #: woocommerce-pdf-invoices-packingslips.php:644
620
  msgid "Subtotal"
621
  msgstr ""
622
 
623
- #: woocommerce-pdf-invoices-packingslips.php:666
624
  msgid "Shipping"
625
  msgstr ""
626
 
627
- #: woocommerce-pdf-invoices-packingslips.php:719
628
  msgid "Discount"
629
  msgstr ""
630
 
631
- #: woocommerce-pdf-invoices-packingslips.php:759
632
  msgid "VAT"
633
  msgstr ""
634
 
635
- #: woocommerce-pdf-invoices-packingslips.php:760
636
  msgid "Tax rate"
637
  msgstr ""
638
 
639
- #: woocommerce-pdf-invoices-packingslips.php:797
640
  msgid "Total ex. VAT"
641
  msgstr ""
642
 
643
- #: woocommerce-pdf-invoices-packingslips.php:800
644
  msgid "Total"
645
  msgstr ""
1
+ #, fuzzy
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
5
+ "POT-Creation-Date: 2015-05-28 16:09+0100\n"
6
  "PO-Revision-Date: 2015-04-29 08:58+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8\n"
14
  "X-Poedit-Basepath: ../\n"
15
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
26
  msgid "Some of the export parameters are missing."
27
  msgstr ""
28
 
 
29
  #: includes/class-wcpdf-export.php:424
30
  msgid "invoice"
31
  msgid_plural "invoices"
32
  msgstr[0] ""
33
  msgstr[1] ""
34
 
 
35
  #: includes/class-wcpdf-export.php:428
36
  msgid "packing-slip"
37
  msgid_plural "packing-slips"
39
  msgstr[1] ""
40
 
41
  #: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
42
+ #: includes/class-wcpdf-writepanels.php:31
43
  msgid "PDF Invoices"
44
  msgstr ""
45
 
196
  msgid "Footer: terms & conditions, policies, etc."
197
  msgstr ""
198
 
199
+ #: includes/class-wcpdf-settings.php:463
200
+ #: includes/class-wcpdf-writepanels.php:273 templates/pdf/Simple/invoice.php:9
201
  #: templates/pdf/Simple/invoice.php:21
202
  #: woocommerce-pdf-invoices-packingslips.php:220
203
  msgid "Invoice"
370
  "custom template"
371
  msgstr ""
372
 
373
+ #: includes/class-wcpdf-writepanels.php:32
374
  msgid "PDF Packing Slips"
375
  msgstr ""
376
 
377
+ #: includes/class-wcpdf-writepanels.php:113
378
+ #: includes/class-wcpdf-writepanels.php:240
379
  msgid "PDF Invoice"
380
  msgstr ""
381
 
382
+ #: includes/class-wcpdf-writepanels.php:118
383
+ #: includes/class-wcpdf-writepanels.php:245
384
  msgid "PDF Packing Slip"
385
  msgstr ""
386
 
387
+ #: includes/class-wcpdf-writepanels.php:145
388
  msgid "Invoice Number"
389
  msgstr ""
390
 
391
+ #: includes/class-wcpdf-writepanels.php:198
392
  msgid "Download invoice (PDF)"
393
  msgstr ""
394
 
395
+ #: includes/class-wcpdf-writepanels.php:212
396
  msgid "Create PDF"
397
  msgstr ""
398
 
399
+ #: includes/class-wcpdf-writepanels.php:222
400
+ msgid "PDF Invoice data"
401
  msgstr ""
402
 
403
+ #: includes/class-wcpdf-writepanels.php:275
404
+ msgid "Invoice Number (unformatted!)"
405
+ msgstr ""
406
+
407
+ #: includes/class-wcpdf-writepanels.php:283
408
  #: templates/pdf/Simple/invoice.php:55
409
  msgid "Invoice Date:"
410
  msgstr ""
411
 
412
+ #: includes/class-wcpdf-writepanels.php:285
413
  msgid "h"
414
  msgstr ""
415
 
416
+ #: includes/class-wcpdf-writepanels.php:285
417
  msgid "m"
418
  msgstr ""
419
 
505
  msgstr ""
506
 
507
  #: includes/wcpdf-extensions.php:82
508
+ msgid "Advanced, customizable templates"
509
  msgstr ""
510
 
511
  #: includes/wcpdf-extensions.php:85
512
+ msgid ""
513
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to "
514
+ "your needs with a drag & drop customizer"
515
  msgstr ""
516
 
517
  #: includes/wcpdf-extensions.php:86
518
+ msgid "Two extra stylish premade templates (Modern & Business)"
519
  msgstr ""
520
 
521
  #: includes/wcpdf-extensions.php:87
609
  "installed & activated!"
610
  msgstr ""
611
 
612
+ #: woocommerce-pdf-invoices-packingslips.php:367
613
+ #: woocommerce-pdf-invoices-packingslips.php:428
614
  msgid "N/A"
615
  msgstr ""
616
 
617
+ #: woocommerce-pdf-invoices-packingslips.php:517
618
  msgid "Payment method"
619
  msgstr ""
620
 
621
+ #: woocommerce-pdf-invoices-packingslips.php:528
622
  msgid "Shipping method"
623
  msgstr ""
624
 
625
+ #: woocommerce-pdf-invoices-packingslips.php:681
626
  msgid "Subtotal"
627
  msgstr ""
628
 
629
+ #: woocommerce-pdf-invoices-packingslips.php:703
630
  msgid "Shipping"
631
  msgstr ""
632
 
633
+ #: woocommerce-pdf-invoices-packingslips.php:766
634
  msgid "Discount"
635
  msgstr ""
636
 
637
+ #: woocommerce-pdf-invoices-packingslips.php:806
638
  msgid "VAT"
639
  msgstr ""
640
 
641
+ #: woocommerce-pdf-invoices-packingslips.php:807
642
  msgid "Tax rate"
643
  msgstr ""
644
 
645
+ #: woocommerce-pdf-invoices-packingslips.php:844
646
  msgid "Total ex. VAT"
647
  msgstr ""
648
 
649
+ #: woocommerce-pdf-invoices-packingslips.php:847
650
  msgid "Total"
651
  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.13
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -235,6 +235,10 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
235
 
236
  == Changelog ==
237
 
 
 
 
 
238
  = 1.5.13 =
239
  * Fix: Better address comparison to determine when to display alternate address
240
  * Tweak: Filter N/A addresses
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.14
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
235
 
236
  == Changelog ==
237
 
238
+ = 1.5.14 =
239
+ * Tweak: Invoice number & date edit fields moved to separate box on order edit page
240
+ * Translations: Updated POT & Dutch
241
+
242
  = 1.5.13 =
243
  * Fix: Better address comparison to determine when to display alternate address
244
  * Tweak: Filter N/A addresses
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.13
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.13';
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.14
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.14';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?