WooCommerce PDF Invoices & Packing Slips - Version 1.5.7

Version Description

  • Feature: Setting to show email address & phone number on invoice or packing slip (does not work on custom templates based on previous versions!)
Download this release

Release Info

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

Code changes from version 1.5.5 to 1.5.7

includes/class-wcpdf-export.php CHANGED
@@ -463,6 +463,12 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
463
  return $attachments;
464
  }
465
 
 
 
 
 
 
 
466
  // do not process low stock notifications, user emails etc!
467
  if ( in_array( $status, array( 'no_stock', 'low_stock', 'backorder' ) ) || get_post_type( $order->id ) != 'shop_order' ) {
468
  return $attachments;
@@ -568,9 +574,22 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
568
 
569
  public function get_invoice_number( $order_id ) {
570
  // get invoice number from post meta
571
- $invoice_number = get_post_meta( $order_id, '_wcpdf_invoice_number', true );
 
 
 
 
 
 
 
 
 
572
 
573
- return apply_filters( 'wpo_wcpdf_invoice_number', $invoice_number, $this->order->get_order_number(), $this->order->id, $this->order->order_date );
 
 
 
 
574
  }
575
 
576
  /**
@@ -694,10 +713,6 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
694
  // = before discount
695
  $data['ex_single_price'] = $this->get_formatted_item_price ( $item, 'single', 'excl' );
696
  $data['single_price'] = $this->get_formatted_item_price ( $item, 'single' );
697
-
698
- // Set item meta and replace it when it is empty
699
- $meta = new WC_Order_Item_Meta( $item['item_meta'] );
700
- $data['meta'] = $meta->display( false, true );
701
 
702
  // Pass complete item array
703
  $data['item'] = $item;
@@ -731,6 +746,10 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
731
  $data['product'] = $product;
732
 
733
  }
 
 
 
 
734
 
735
  $data_list[$item_id] = apply_filters( 'wpo_wcpdf_order_item_data', $data, $this->order );
736
  }
463
  return $attachments;
464
  }
465
 
466
+ // WooCommerce Booking compatibility
467
+ if ( get_post_type( $order->id ) == 'wc_booking' && isset($order->order) ) {
468
+ // $order is actually a WC_Booking object!
469
+ $order = $order->order;
470
+ }
471
+
472
  // do not process low stock notifications, user emails etc!
473
  if ( in_array( $status, array( 'no_stock', 'low_stock', 'backorder' ) ) || get_post_type( $order->id ) != 'shop_order' ) {
474
  return $attachments;
574
 
575
  public function get_invoice_number( $order_id ) {
576
  // get invoice number from post meta
577
+ if ( $invoice_number = get_post_meta( $order_id, '_wcpdf_invoice_number', true ) ) {
578
+ // check if we have already loaded this order
579
+ if ( $this->order->id == $order_id ) {
580
+ $order_number = $this->order->get_order_number();
581
+ $order_date = $this->order->order_date;
582
+ } else {
583
+ $order = new WC_Order( $order_id );
584
+ $order_number = $order->get_order_number();
585
+ $order_date = $order->order_date;
586
+ }
587
 
588
+ return apply_filters( 'wpo_wcpdf_invoice_number', $invoice_number, $order_number, $order_id, $order_date );
589
+ } else {
590
+ // no invoice number for this order
591
+ return false;
592
+ }
593
  }
594
 
595
  /**
713
  // = before discount
714
  $data['ex_single_price'] = $this->get_formatted_item_price ( $item, 'single', 'excl' );
715
  $data['single_price'] = $this->get_formatted_item_price ( $item, 'single' );
 
 
 
 
716
 
717
  // Pass complete item array
718
  $data['item'] = $item;
746
  $data['product'] = $product;
747
 
748
  }
749
+
750
+ // Set item meta
751
+ $meta = new WC_Order_Item_Meta( $item['item_meta'], $product );
752
+ $data['meta'] = $meta->display( false, true );
753
 
754
  $data_list[$item_id] = apply_filters( 'wpo_wcpdf_order_item_data', $data, $this->order );
755
  }
includes/class-wcpdf-settings.php CHANGED
@@ -188,7 +188,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
188
  add_settings_field(
189
  'download_display',
190
  __( 'How do you want to view the PDF?', 'wpo_wcpdf' ),
191
- array( &$this, 'radio_element_callback' ),
192
  $option,
193
  'general_settings',
194
  array(
@@ -201,7 +201,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
201
  )
202
  );
203
 
204
- $tmp_path = WooCommerce_PDF_Invoices::$plugin_path . 'tmp/';
205
  $tmp_path_check = !is_writable( $tmp_path );
206
 
207
  $wc_emails = array(
@@ -225,12 +225,86 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
225
  )
226
  );
227
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  add_settings_field(
229
  'invoice_number_column',
230
  __( 'Enable invoice number column in the orders list', 'wpo_wcpdf' ),
231
  array( &$this, 'checkbox_element_callback' ),
232
  $option,
233
- 'general_settings',
234
  array(
235
  'menu' => $option,
236
  'id' => 'invoice_number_column',
@@ -287,7 +361,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
287
  'options' => $this->find_templates(),
288
  'description' => sprintf( __( 'Want to use your own template? Copy all the files from <code>%s</code> to your (child) theme in <code>%s</code> to customize them' , 'wpo_wcpdf' ), $plugin_template_path, $theme_template_path),
289
  )
290
- );
291
 
292
  add_settings_field(
293
  'paper_size',
@@ -348,36 +422,64 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
348
  //'description' => __( '...', 'wpo_wcpdf' ),
349
  )
350
  );
351
-
352
- /*
353
  add_settings_field(
354
- 'personal_notes',
355
- __( 'Personal notes', 'wpo_wcpdf' ),
356
  array( &$this, 'textarea_element_callback' ),
357
  $option,
358
  'template_settings',
359
  array(
360
  'menu' => $option,
361
- 'id' => 'personal_notes',
362
  'width' => '72',
363
  'height' => '4',
364
  //'description' => __( '...', 'wpo_wcpdf' ),
365
  )
366
  );
367
- */
368
-
 
 
 
 
 
 
 
369
  add_settings_field(
370
- 'footer',
371
- __( 'Footer: terms & conditions, policies, etc.', 'wpo_wcpdf' ),
372
- array( &$this, 'textarea_element_callback' ),
373
  $option,
374
- 'template_settings',
375
  array(
376
- 'menu' => $option,
377
- 'id' => 'footer',
378
- 'width' => '72',
379
- 'height' => '4',
380
- //'description' => __( '...', 'wpo_wcpdf' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
  )
382
  );
383
 
@@ -386,7 +488,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
386
  __( 'Display invoice date', 'wpo_wcpdf' ),
387
  array( &$this, 'checkbox_element_callback' ),
388
  $option,
389
- 'template_settings',
390
  array(
391
  'menu' => $option,
392
  'id' => 'display_date',
@@ -399,7 +501,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
399
  __( 'Display built-in sequential invoice number', 'wpo_wcpdf' ),
400
  array( &$this, 'checkbox_element_callback' ),
401
  $option,
402
- 'template_settings',
403
  array(
404
  'menu' => $option,
405
  'id' => 'display_number',
@@ -412,7 +514,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
412
  __( 'Next invoice number (without prefix/suffix etc.)', 'wpo_wcpdf' ),
413
  array( &$this, 'text_element_callback' ),
414
  $option,
415
- 'template_settings',
416
  array(
417
  'menu' => $option,
418
  'id' => 'next_invoice_number',
@@ -426,7 +528,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
426
  __( 'Invoice number format', 'wpo_wcpdf' ),
427
  array( &$this, 'invoice_number_formatting_callback' ),
428
  $option,
429
- 'template_settings',
430
  array(
431
  'menu' => $option,
432
  'id' => 'invoice_number_formatting',
@@ -451,6 +553,51 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
451
  )
452
  );
453
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
454
  // Section.
455
  add_settings_section(
456
  'extra_template_fields',
@@ -605,8 +752,9 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
605
  break;
606
  case 'wpo_wcpdf_template_settings':
607
  $default = array(
608
- 'paper_size' => 'a4',
609
- 'template_path' => $wpo_wcpdf->export->template_default_base_path . 'Simple',
 
610
  );
611
  break;
612
  default:
@@ -727,6 +875,55 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
727
  }
728
  }
729
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
730
  /**
731
  * Select element callback.
732
  *
@@ -746,20 +943,66 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
746
  $current = isset( $args['default'] ) ? $args['default'] : '';
747
  }
748
 
749
- $html = sprintf( '<select id="%1$s" name="%2$s[%1$s]">', $id, $menu );
750
 
751
  foreach ( $args['options'] as $key => $label ) {
752
- $html .= sprintf( '<option value="%s"%s>%s</option>', $key, selected( $current, $key, false ), $label );
753
  }
754
 
755
- $html .= '</select>';
756
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
757
  // Displays option description.
758
  if ( isset( $args['description'] ) ) {
759
- $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
760
  }
761
-
762
- echo $html;
763
  }
764
 
765
  /**
188
  add_settings_field(
189
  'download_display',
190
  __( 'How do you want to view the PDF?', 'wpo_wcpdf' ),
191
+ array( &$this, 'select_element_callback' ),
192
  $option,
193
  'general_settings',
194
  array(
201
  )
202
  );
203
 
204
+ $tmp_path = $wpo_wcpdf->export->tmp_path( 'attachments' );
205
  $tmp_path_check = !is_writable( $tmp_path );
206
 
207
  $wc_emails = array(
225
  )
226
  );
227
 
228
+ // Section.
229
+ add_settings_section(
230
+ 'interface',
231
+ __( 'Interface', 'wpo_wcpdf' ),
232
+ array( &$this, 'section_options_callback' ),
233
+ $option
234
+ );
235
+
236
+ // $documents = array(
237
+ // 'invoice' => __( 'Invoice', 'wpo_wcpdf' ),
238
+ // 'packing-slip' => __( 'Packing Slip', 'wpo_wcpdf' ),
239
+ // );
240
+
241
+ // $contexts = array(
242
+ // 'orders-list' => __( 'Orders list', 'wpo_wcpdf' ),
243
+ // 'orders-bulk' => __( 'Bulk order actions', 'wpo_wcpdf' ),
244
+ // 'order-single' => __( 'Single order page', 'wpo_wcpdf' ),
245
+ // 'my-account' => __( 'My Account page', 'wpo_wcpdf' ),
246
+ // );
247
+
248
+ // add_settings_field(
249
+ // 'buttons',
250
+ // __( 'Show download buttons', 'wpo_wcpdf' ),
251
+ // array( &$this, 'checkbox_table_callback' ),
252
+ // $option,
253
+ // 'interface',
254
+ // array(
255
+ // 'menu' => $option,
256
+ // 'id' => 'buttons',
257
+ // 'rows' => $contexts,
258
+ // 'columns' => apply_filters( 'wpo_wcpdf_documents_buttons', $documents ),
259
+ // )
260
+ // );
261
+
262
+ // get list of WooCommerce statuses
263
+ if ( version_compare( WOOCOMMERCE_VERSION, '2.2', '<' ) ) {
264
+ $statuses = (array) get_terms( 'shop_order_status', array( 'hide_empty' => 0, 'orderby' => 'id' ) );
265
+ foreach ( $statuses as $status ) {
266
+ $order_statuses[esc_attr( $status->slug )] = esc_html__( $status->name, 'woocommerce' );
267
+ }
268
+ } else {
269
+ $statuses = wc_get_order_statuses();
270
+ foreach ( $statuses as $status_slug => $status ) {
271
+ $status_slug = 'wc-' === substr( $status_slug, 0, 3 ) ? substr( $status_slug, 3 ) : $status_slug;
272
+ $order_statuses[$status_slug] = $status;
273
+ }
274
+
275
+ }
276
+
277
+ add_settings_field(
278
+ 'my_account_buttons',
279
+ __( 'Allow My Account invoice download', 'wpo_wcpdf' ),
280
+ array( &$this, 'select_element_callback' ),
281
+ $option,
282
+ 'interface',
283
+ array(
284
+ 'menu' => $option,
285
+ 'id' => 'my_account_buttons',
286
+ 'options' => array(
287
+ 'available' => __( 'Only when an invoice is already created/emailed' , 'wpo_wcpdf' ),
288
+ 'custom' => __( 'Only for specific order statuses (define below)' , 'wpo_wcpdf' ),
289
+ 'always' => __( 'Always' , 'wpo_wcpdf' ),
290
+ ),
291
+ 'custom' => array(
292
+ 'type' => 'multiple_checkbox_element_callback',
293
+ 'args' => array(
294
+ 'menu' => $option,
295
+ 'id' => 'my_account_restrict',
296
+ 'options' => $order_statuses,
297
+ ),
298
+ ),
299
+ )
300
+ );
301
+
302
  add_settings_field(
303
  'invoice_number_column',
304
  __( 'Enable invoice number column in the orders list', 'wpo_wcpdf' ),
305
  array( &$this, 'checkbox_element_callback' ),
306
  $option,
307
+ 'interface',
308
  array(
309
  'menu' => $option,
310
  'id' => 'invoice_number_column',
361
  'options' => $this->find_templates(),
362
  'description' => sprintf( __( 'Want to use your own template? Copy all the files from <code>%s</code> to your (child) theme in <code>%s</code> to customize them' , 'wpo_wcpdf' ), $plugin_template_path, $theme_template_path),
363
  )
364
+ );
365
 
366
  add_settings_field(
367
  'paper_size',
422
  //'description' => __( '...', 'wpo_wcpdf' ),
423
  )
424
  );
425
+
 
426
  add_settings_field(
427
+ 'footer',
428
+ __( 'Footer: terms & conditions, policies, etc.', 'wpo_wcpdf' ),
429
  array( &$this, 'textarea_element_callback' ),
430
  $option,
431
  'template_settings',
432
  array(
433
  'menu' => $option,
434
+ 'id' => 'footer',
435
  'width' => '72',
436
  'height' => '4',
437
  //'description' => __( '...', 'wpo_wcpdf' ),
438
  )
439
  );
440
+
441
+ // Section.
442
+ add_settings_section(
443
+ 'invoice',
444
+ __( 'Invoice', 'wpo_wcpdf' ),
445
+ array( &$this, 'section_options_callback' ),
446
+ $option
447
+ );
448
+
449
  add_settings_field(
450
+ 'invoice_shipping_address',
451
+ __( 'Display shipping address', 'wpo_wcpdf' ),
452
+ array( &$this, 'checkbox_element_callback' ),
453
  $option,
454
+ 'invoice',
455
  array(
456
+ 'menu' => $option,
457
+ 'id' => 'invoice_shipping_address',
458
+ 'description' => __( 'Display shipping address on invoice (in addition to the default billing address) if different from billing address', 'wpo_wcpdf' ),
459
+ )
460
+ );
461
+
462
+ add_settings_field(
463
+ 'invoice_email',
464
+ __( 'Display email address', 'wpo_wcpdf' ),
465
+ array( &$this, 'checkbox_element_callback' ),
466
+ $option,
467
+ 'invoice',
468
+ array(
469
+ 'menu' => $option,
470
+ 'id' => 'invoice_email',
471
+ )
472
+ );
473
+
474
+ add_settings_field(
475
+ 'invoice_phone',
476
+ __( 'Display phone number', 'wpo_wcpdf' ),
477
+ array( &$this, 'checkbox_element_callback' ),
478
+ $option,
479
+ 'invoice',
480
+ array(
481
+ 'menu' => $option,
482
+ 'id' => 'invoice_phone',
483
  )
484
  );
485
 
488
  __( 'Display invoice date', 'wpo_wcpdf' ),
489
  array( &$this, 'checkbox_element_callback' ),
490
  $option,
491
+ 'invoice',
492
  array(
493
  'menu' => $option,
494
  'id' => 'display_date',
501
  __( 'Display built-in sequential invoice number', 'wpo_wcpdf' ),
502
  array( &$this, 'checkbox_element_callback' ),
503
  $option,
504
+ 'invoice',
505
  array(
506
  'menu' => $option,
507
  'id' => 'display_number',
514
  __( 'Next invoice number (without prefix/suffix etc.)', 'wpo_wcpdf' ),
515
  array( &$this, 'text_element_callback' ),
516
  $option,
517
+ 'invoice',
518
  array(
519
  'menu' => $option,
520
  'id' => 'next_invoice_number',
528
  __( 'Invoice number format', 'wpo_wcpdf' ),
529
  array( &$this, 'invoice_number_formatting_callback' ),
530
  $option,
531
+ 'invoice',
532
  array(
533
  'menu' => $option,
534
  'id' => 'invoice_number_formatting',
553
  )
554
  );
555
 
556
+ // Section.
557
+ add_settings_section(
558
+ 'packing_slip',
559
+ __( 'Packing Slip', 'wpo_wcpdf' ),
560
+ array( &$this, 'section_options_callback' ),
561
+ $option
562
+ );
563
+
564
+ add_settings_field(
565
+ 'packing_slip_billing_address',
566
+ __( 'Display billing address', 'wpo_wcpdf' ),
567
+ array( &$this, 'checkbox_element_callback' ),
568
+ $option,
569
+ 'packing_slip',
570
+ array(
571
+ 'menu' => $option,
572
+ 'id' => 'packing_slip_billing_address',
573
+ 'description' => __( 'Display billing address on packing slip (in addition to the default shipping address) if different from shipping address', 'wpo_wcpdf' ),
574
+ )
575
+ );
576
+
577
+ add_settings_field(
578
+ 'packing_slip_email',
579
+ __( 'Display email address', 'wpo_wcpdf' ),
580
+ array( &$this, 'checkbox_element_callback' ),
581
+ $option,
582
+ 'packing_slip',
583
+ array(
584
+ 'menu' => $option,
585
+ 'id' => 'packing_slip_email',
586
+ )
587
+ );
588
+
589
+ add_settings_field(
590
+ 'packing_slip_phone',
591
+ __( 'Display phone number', 'wpo_wcpdf' ),
592
+ array( &$this, 'checkbox_element_callback' ),
593
+ $option,
594
+ 'packing_slip',
595
+ array(
596
+ 'menu' => $option,
597
+ 'id' => 'packing_slip_phone',
598
+ )
599
+ );
600
+
601
  // Section.
602
  add_settings_section(
603
  'extra_template_fields',
752
  break;
753
  case 'wpo_wcpdf_template_settings':
754
  $default = array(
755
+ 'paper_size' => 'a4',
756
+ 'template_path' => $wpo_wcpdf->export->template_default_base_path . 'Simple',
757
+ // 'invoice_shipping_address' => '1',
758
  );
759
  break;
760
  default:
875
  }
876
  }
877
 
878
+ /**
879
+ * Checkbox fields table callback.
880
+ *
881
+ * @param array $args Field arguments.
882
+ *
883
+ * @return string Checkbox field.
884
+ */
885
+ public function checkbox_table_callback( $args ) {
886
+ $menu = $args['menu'];
887
+ $id = $args['id'];
888
+
889
+ $options = get_option( $menu );
890
+
891
+ $rows = $args['rows'];
892
+ $columns = $args['columns'];
893
+
894
+ ?>
895
+ <table style="">
896
+ <tr>
897
+ <td style="padding:0 10px 5px 0;">&nbsp;</td>
898
+ <?php foreach ( $columns as $column => $title ) { ?>
899
+ <td style="padding:0 10px 5px 0;"><?php echo $title; ?></td>
900
+ <?php } ?>
901
+ </tr>
902
+ <tr>
903
+ <td style="padding: 0;">
904
+ <?php foreach ($rows as $row) {
905
+ echo $row.'<br/>';
906
+ } ?>
907
+ </td>
908
+ <?php foreach ( $columns as $column => $title ) { ?>
909
+ <td style="text-align:center; padding: 0;">
910
+ <?php foreach ( $rows as $row => $title ) {
911
+ $current = ( isset( $options[$id.'_'.$column][$row] ) ) ? $options[$id.'_'.$column][$row] : '';
912
+ $name = sprintf('%1$s[%2$s_%3$s][%4$s]', $menu, $id, $column, $row);
913
+ printf( '<input type="checkbox" id="%1$s" name="%1$s" value="1"%2$s /><br/>', $name, checked( 1, $current, false ) );
914
+ } ?>
915
+ </td>
916
+ <?php } ?>
917
+ </tr>
918
+ </table>
919
+
920
+ <?php
921
+ // Displays option description.
922
+ if ( isset( $args['description'] ) ) {
923
+ printf( '<p class="description">%s</p>', $args['description'] );
924
+ }
925
+ }
926
+
927
  /**
928
  * Select element callback.
929
  *
943
  $current = isset( $args['default'] ) ? $args['default'] : '';
944
  }
945
 
946
+ printf( '<select id="%1$s" name="%2$s[%1$s]">', $id, $menu );
947
 
948
  foreach ( $args['options'] as $key => $label ) {
949
+ printf( '<option value="%s"%s>%s</option>', $key, selected( $current, $key, false ), $label );
950
  }
951
 
952
+ echo '</select>';
953
 
954
+
955
+ if (isset($args['custom'])) {
956
+ $custom = $args['custom'];
957
+
958
+ $custom_id = $id.'_custom';
959
+
960
+ printf( '<br/><br/><div id="%s" style="display:none;">', $custom_id );
961
+
962
+ switch ($custom['type']) {
963
+ case 'text_element_callback':
964
+ $this->text_element_callback( $custom['args'] );
965
+ break;
966
+ case 'multiple_text_element_callback':
967
+ $this->multiple_text_element_callback( $custom['args'] );
968
+ break;
969
+ case 'multiple_checkbox_element_callback':
970
+ $this->multiple_checkbox_element_callback( $custom['args'] );
971
+ break;
972
+ default:
973
+ break;
974
+ }
975
+
976
+ echo '</div>';
977
+
978
+ ?>
979
+ <script type="text/javascript">
980
+ jQuery(document).ready(function($) {
981
+ function check_<?php echo $id; ?>_custom() {
982
+ var custom = $('#<?php echo $id; ?>').val();
983
+ if (custom == 'custom') {
984
+ $( '#<?php echo $custom_id; ?>').show();
985
+ } else {
986
+ $( '#<?php echo $custom_id; ?>').hide();
987
+ }
988
+ }
989
+
990
+ check_<?php echo $id; ?>_custom();
991
+
992
+ $( '#<?php echo $id; ?>' ).change(function() {
993
+ check_<?php echo $id; ?>_custom();
994
+ });
995
+
996
+ });
997
+ </script>
998
+ <?php
999
+ }
1000
+
1001
  // Displays option description.
1002
  if ( isset( $args['description'] ) ) {
1003
+ printf( '<p class="description">%s</p>', $args['description'] );
1004
  }
1005
+
 
1006
  }
1007
 
1008
  /**
includes/class-wcpdf-writepanels.php CHANGED
@@ -146,20 +146,14 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
146
  * @param string $column column slug
147
  */
148
  public function invoice_number_column_data( $column ) {
149
- global $post, $the_order;
150
 
151
- if ( $column == 'pdf_invoice_number' && get_post_meta($the_order->id,'_wcpdf_invoice_number',true) ) {
152
  if ( empty( $the_order ) || $the_order->id != $post->ID ) {
153
  $the_order = new WC_Order( $post->ID );
154
  }
155
 
156
- // collect data for invoice number filter
157
- $invoice_number = get_post_meta($the_order->id,'_wcpdf_invoice_number',true);
158
- $order_number = $the_order->get_order_number();
159
- $order_id = $the_order->id;
160
- $order_date = $the_order->order_date;
161
-
162
- echo apply_filters( 'wpo_wcpdf_invoice_number', $invoice_number, $order_number, $order_id, $order_date );
163
  }
164
  }
165
 
@@ -169,8 +163,30 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
169
  public function my_account_pdf_link( $actions, $order ) {
170
  $pdf_url = wp_nonce_url( admin_url( 'admin-ajax.php?action=generate_wpo_wcpdf&template_type=invoice&order_ids=' . $order->id . '&my-account'), 'generate_wpo_wcpdf' );
171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  // Check if invoice has been created already or if status allows download (filter your own array of allowed statuses)
173
- if ( get_post_meta($order->id,'_wcpdf_invoice_exists',true) || in_array($order->status, apply_filters( 'wpo_wcpdf_myaccount_allowed_order_statuses', array() ) ) ) {
174
  $actions['invoice'] = array(
175
  'url' => $pdf_url,
176
  'name' => apply_filters( 'wpo_wcpdf_myaccount_button_text', __( 'Download invoice (PDF)', 'wpo_wcpdf' ) )
146
  * @param string $column column slug
147
  */
148
  public function invoice_number_column_data( $column ) {
149
+ global $post, $the_order, $wpo_wcpdf;
150
 
151
+ if ( $column == 'pdf_invoice_number' ) {
152
  if ( empty( $the_order ) || $the_order->id != $post->ID ) {
153
  $the_order = new WC_Order( $post->ID );
154
  }
155
 
156
+ echo $wpo_wcpdf->export->get_invoice_number( $the_order->id );
 
 
 
 
 
 
157
  }
158
  }
159
 
163
  public function my_account_pdf_link( $actions, $order ) {
164
  $pdf_url = wp_nonce_url( admin_url( 'admin-ajax.php?action=generate_wpo_wcpdf&template_type=invoice&order_ids=' . $order->id . '&my-account'), 'generate_wpo_wcpdf' );
165
 
166
+ // check my account button settings
167
+ if (isset($this->general_settings['my_account_buttons'])) {
168
+ switch ($this->general_settings['my_account_buttons']) {
169
+ case 'available':
170
+ $invoice_allowed = get_post_meta($order->id,'_wcpdf_invoice_exists',true);
171
+ break;
172
+ case 'always':
173
+ $invoice_allowed = true;
174
+ break;
175
+ case 'custom':
176
+ if ( in_array( $order->status, array_keys( $this->general_settings['my_account_restrict'] ) ) ) {
177
+ $invoice_allowed = true;
178
+ } else {
179
+ $invoice_allowed = false;
180
+ }
181
+ break;
182
+ }
183
+ } else {
184
+ // backwards compatibility
185
+ $invoice_allowed = get_post_meta($order->id,'_wcpdf_invoice_exists',true);
186
+ }
187
+
188
  // Check if invoice has been created already or if status allows download (filter your own array of allowed statuses)
189
+ if ( $invoice_allowed || in_array($order->status, apply_filters( 'wpo_wcpdf_myaccount_allowed_order_statuses', array() ) ) ) {
190
  $actions['invoice'] = array(
191
  'url' => $pdf_url,
192
  'name' => apply_filters( 'wpo_wcpdf_myaccount_button_text', __( 'Download invoice (PDF)', 'wpo_wcpdf' ) )
includes/dompdf-status.php CHANGED
@@ -59,7 +59,7 @@ $server_configs = array(
59
  "fallback" => "Check php disable_functions",
60
  ),
61
  "WP Memory Limit" => array(
62
- "required" => 'Recommended: 64MB (128MB for optimal performance)<br/>See: <a href="http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP">Increasing memory allocated to PHP</a>',
63
  "value" => WP_MEMORY_LIMIT,
64
  "result" => $memory_limit > 67108864,
65
  ),
59
  "fallback" => "Check php disable_functions",
60
  ),
61
  "WP Memory Limit" => array(
62
+ "required" => 'Recommended: 128MB (more for plugin-heavy setups)<br/>See: <a href="http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP">Increasing memory allocated to PHP</a>',
63
  "value" => WP_MEMORY_LIMIT,
64
  "result" => $memory_limit > 67108864,
65
  ),
languages/wpo_wcpdf-de_DE.mo CHANGED
Binary file
languages/wpo_wcpdf-de_DE.po CHANGED
@@ -1,103 +1,106 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
- "POT-Creation-Date: 2014-11-19 12:22+0100\n"
5
- "PO-Revision-Date: 2015-02-24 13:35+0100\n"
6
  "Last-Translator: Jens Nachtigall <mail@nachtigall.io>\n"
7
  "Language-Team: PROnatur24 <info@pronatur24.eu>\n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.4\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: includes/class-wcpdf-export.php:179 includes/class-wcpdf-export.php:184
20
- #: includes/class-wcpdf-export.php:189 includes/class-wcpdf-export.php:200
21
- #: includes/class-wcpdf-export.php:208
22
  msgid "You do not have sufficient permissions to access this page."
23
  msgstr "Du hast keine Berechtigung diese Seite anzuzeigen."
24
 
 
 
 
 
25
  # This is a filename (prefix). do not use spaces or special characters!
26
- #: includes/class-wcpdf-export.php:267
27
  msgid "invoice"
28
  msgid_plural "invoices"
29
  msgstr[0] "Rechnung"
30
  msgstr[1] "Rechnungen"
31
 
32
  # This is a filename (prefix). do not use spaces or special characters!
33
- #: includes/class-wcpdf-export.php:271
34
  msgid "packing-slip"
35
  msgid_plural "packing-slips"
36
  msgstr[0] "Lieferschein"
37
  msgstr[1] "Lieferscheine"
38
 
39
  #: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
40
- #: includes/class-wcpdf-writepanels.php:31
41
  msgid "PDF Invoices"
42
  msgstr "PDF Rechnungen"
43
 
44
- #: includes/class-wcpdf-settings.php:69
45
  msgid "Settings"
46
  msgstr "Einstellungen"
47
 
48
- #: includes/class-wcpdf-settings.php:91
49
  msgid "General"
50
  msgstr "Allgemein"
51
 
52
- #: includes/class-wcpdf-settings.php:92
53
  msgid "Template"
54
  msgstr "Vorlage"
55
 
56
- #: includes/class-wcpdf-settings.php:101
57
- msgid "WooCommerce PDF Invoices"
58
- msgstr "WooCommerce PDF Rechnungen"
59
-
60
- #: includes/class-wcpdf-settings.php:107
61
  msgid "Status"
62
  msgstr "Status"
63
 
64
- #: includes/class-wcpdf-settings.php:168
 
 
 
 
65
  msgid "General settings"
66
  msgstr "Allgemeine Einstellungen"
67
 
68
- #: includes/class-wcpdf-settings.php:175
69
  msgid "How do you want to view the PDF?"
70
  msgstr "Wie soll das PDF angezeigt werden?"
71
 
72
- #: includes/class-wcpdf-settings.php:183
73
  msgid "Download the PDF"
74
  msgstr "PDF runterladen"
75
 
76
- #: includes/class-wcpdf-settings.php:184
77
  msgid "Open the PDF in a new browser tab/window"
78
  msgstr "PDF in einem neuen Browser Tab/Fenster öffnen"
79
 
80
- #: includes/class-wcpdf-settings.php:193
81
  msgid "Admin New Order email"
82
  msgstr "Admin Neue Bestellung E-Mail"
83
 
84
- #: includes/class-wcpdf-settings.php:194
85
  msgid "Customer Processing Order email"
86
  msgstr "Kunde In Bearbeitung E-Mail"
87
 
88
- #: includes/class-wcpdf-settings.php:195
89
  msgid "Customer Completed Order email"
90
  msgstr "Kunde Bestellung abgeschlossen E-Mail"
91
 
92
- #: includes/class-wcpdf-settings.php:196
93
  msgid "Customer Invoice email"
94
  msgstr "Kunde Rechnung E-Mail"
95
 
96
- #: includes/class-wcpdf-settings.php:201
97
  msgid "Attach invoice to:"
98
  msgstr "Rechnung anfügen zu:"
99
 
100
- #: includes/class-wcpdf-settings.php:209
101
  #, php-format
102
  msgid ""
103
  "It looks like the temp folder (<code>%s</code>) is not writable, check the "
@@ -108,19 +111,39 @@ msgstr ""
108
  "überprüfe die Berechtigungen dieses Verzeichnisses. Ohne Schreibrechte "
109
  "können keine E-Mail - Rechnungen verschickt werden."
110
 
111
- #: includes/class-wcpdf-settings.php:215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  msgid "Enable invoice number column in the orders list"
113
  msgstr "Aktivierung Spalte Rechnungsnummer in Bestellübersicht"
114
 
115
- #: includes/class-wcpdf-settings.php:254
116
  msgid "PDF Template settings"
117
  msgstr "PDF Vorlageneinstellungen"
118
 
119
- #: includes/class-wcpdf-settings.php:266
120
  msgid "Choose a template"
121
  msgstr "Wähle ein Template"
122
 
123
- #: includes/class-wcpdf-settings.php:274
124
  #, php-format
125
  msgid ""
126
  "Want to use your own template? Copy all the files from <code>%s</code> to "
@@ -129,59 +152,76 @@ msgstr ""
129
  "Wenn du eigene Vorlagen verwenden willst, dann kopiere alle Dateien von "
130
  "<code>%s</code> nach <code>%s</code> und passe sie dort an."
131
 
132
- #: includes/class-wcpdf-settings.php:280
133
  msgid "Paper size"
134
  msgstr "Papierformat"
135
 
136
- #: includes/class-wcpdf-settings.php:288
137
  msgid "A4"
138
  msgstr "A4"
139
 
140
- #: includes/class-wcpdf-settings.php:289
141
  msgid "Letter"
142
  msgstr "Letter"
143
 
144
- #: includes/class-wcpdf-settings.php:296
145
  msgid "Shop header/logo"
146
  msgstr "Briefkopf-Logo"
147
 
148
- #: includes/class-wcpdf-settings.php:303
149
  msgid "Select or upload your invoice header/logo"
150
  msgstr "Auswählen oder hochladen des Logos"
151
 
152
- #: includes/class-wcpdf-settings.php:304
153
  msgid "Set image"
154
  msgstr "Logo festlegen"
155
 
156
- #: includes/class-wcpdf-settings.php:305
157
  msgid "Remove image"
158
  msgstr "Logo entfernen"
159
 
160
- #: includes/class-wcpdf-settings.php:312
161
  msgid "Shop Name"
162
  msgstr "Name des Shops"
163
 
164
- #: includes/class-wcpdf-settings.php:325
165
  msgid "Shop Address"
166
  msgstr "Adresse des Shops"
167
 
168
- #: includes/class-wcpdf-settings.php:357
169
  msgid "Footer: terms & conditions, policies, etc."
170
  msgstr "Fußzeile: allgemeine Bestimmungen, etc."
171
 
172
- #: includes/class-wcpdf-settings.php:372
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  msgid "Display invoice date"
174
  msgstr "Rechnungsdatum anzeigen"
175
 
176
- #: includes/class-wcpdf-settings.php:385
177
  msgid "Display built-in sequential invoice number"
178
  msgstr "Anzeige integrierte fortlaufende Rechnungsnummer"
179
 
180
- #: includes/class-wcpdf-settings.php:398
181
  msgid "Next invoice number (without prefix/suffix etc.)"
182
  msgstr "Nächste Rechnungsnummer (ohne Präfix/Suffix usw.)"
183
 
184
- #: includes/class-wcpdf-settings.php:406
185
  msgid ""
186
  "This is the number that will be used on the next invoice that is created. By "
187
  "default, numbering starts from the WooCommerce Order Number of the first "
@@ -196,15 +236,15 @@ msgstr ""
196
  "Rechnungsnummer mit einer kleineren Nummer zu doppelten Rechnungsnummern "
197
  "führen kann."
198
 
199
- #: includes/class-wcpdf-settings.php:412
200
  msgid "Invoice number format"
201
  msgstr "Rechnungsnummer"
202
 
203
- #: includes/class-wcpdf-settings.php:421
204
  msgid "Prefix"
205
  msgstr "Präfix"
206
 
207
- #: includes/class-wcpdf-settings.php:423
208
  msgid ""
209
  "to use the order year and/or month, use [order_year] or [order_month] "
210
  "respectively"
@@ -212,21 +252,21 @@ msgstr ""
212
  "um das Bestelljahr und/oder -monat zu nutzen, verwende [order_year] oder "
213
  "[order_month]"
214
 
215
- #: includes/class-wcpdf-settings.php:426
216
  msgid "Suffix"
217
  msgstr "Suffix"
218
 
219
- #: includes/class-wcpdf-settings.php:431
220
  msgid "Padding"
221
  msgstr "Abstand"
222
 
223
- #: includes/class-wcpdf-settings.php:433
224
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
225
  msgstr ""
226
  "Anzahl der Zeichen hier eingeben - \"6\" eingeben um 42 als 000042 "
227
  "darzustellen"
228
 
229
- #: includes/class-wcpdf-settings.php:436
230
  msgid ""
231
  "note: if you have already created a custom invoice number format with a "
232
  "filter, the above settings will be ignored"
@@ -234,42 +274,82 @@ msgstr ""
234
  "beachte: solltest du schon mit einem Filter ein eigenes Format der "
235
  "Rechnungsnummer erstellt haben, werden obige Einstellungen ignoriert"
236
 
237
- #: includes/class-wcpdf-settings.php:443
238
  msgid "Extra template fields"
239
  msgstr "Zusätzliche Vorlagenfelder"
240
 
241
- #: includes/class-wcpdf-settings.php:467
242
  msgid "Extra field 1"
243
  msgstr "Zusatzfeld 1"
244
 
245
- #: includes/class-wcpdf-settings.php:476
246
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
247
  msgstr ""
248
  "Das ist die Spalte 1 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
249
 
250
- #: includes/class-wcpdf-settings.php:482
251
  msgid "Extra field 2"
252
  msgstr "Zusatzfeld 2"
253
 
254
- #: includes/class-wcpdf-settings.php:491
255
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
256
  msgstr ""
257
  "Das ist die Spalte 2 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
258
 
259
- #: includes/class-wcpdf-settings.php:497
260
  msgid "Extra field 3"
261
  msgstr "Zusatzfeld 3"
262
 
263
- #: includes/class-wcpdf-settings.php:506
264
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
265
  msgstr ""
266
  "Das ist die Spalte 3 in der Fußzeile der <i>Modern (Premium)</i> Vorlage"
267
 
268
- #: includes/class-wcpdf-settings.php:764
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  msgid "Image resolution"
270
  msgstr "Bildauflösung"
271
 
272
- #: includes/class-wcpdf-settings.php:880
 
 
 
 
 
 
273
  msgid ""
274
  "These are used for the (optional) footer columns in the <em>Modern "
275
  "(Premium)</em> template, but can also be used for other elements in your "
@@ -279,46 +359,46 @@ msgstr ""
279
  "(Premium)</em> Vorlage verwendet, können aber auch für andere Elemente in "
280
  "deiner angepassten Vorlage verwendet werden."
281
 
282
- #: includes/class-wcpdf-writepanels.php:32
283
  msgid "PDF Packing Slips"
284
  msgstr "PDF Lieferscheine"
285
 
286
- #: includes/class-wcpdf-writepanels.php:91
287
- #: includes/class-wcpdf-writepanels.php:184
288
  msgid "PDF Invoice"
289
  msgstr "PDF Rechnung"
290
 
291
- #: includes/class-wcpdf-writepanels.php:96
292
- #: includes/class-wcpdf-writepanels.php:189
293
  msgid "PDF Packing Slip"
294
  msgstr "PDF Lieferschein"
295
 
296
- #: includes/class-wcpdf-writepanels.php:123
297
  msgid "Invoice Number"
298
  msgstr "Rechnungsnummer"
299
 
300
- #: includes/class-wcpdf-writepanels.php:160
301
  msgid "Download invoice (PDF)"
302
  msgstr "Rechnung runterladen (PDF)"
303
 
304
- #: includes/class-wcpdf-writepanels.php:171
305
  msgid "Create PDF"
306
  msgstr "PDF erstellen"
307
 
308
- #: includes/class-wcpdf-writepanels.php:232
309
  msgid "PDF Invoice Number (unformatted!)"
310
  msgstr "PDF Rechnungsnummer (unformatiert)"
311
 
312
- #: includes/class-wcpdf-writepanels.php:235
313
- #: templates/pdf/Simple/invoice.php:36
314
  msgid "Invoice Date:"
315
  msgstr "Rechnungsdatum:"
316
 
317
- #: includes/class-wcpdf-writepanels.php:236
318
  msgid "h"
319
  msgstr "Std"
320
 
321
- #: includes/class-wcpdf-writepanels.php:236
322
  msgid "m"
323
  msgstr "Min"
324
 
@@ -347,14 +427,18 @@ msgstr "E-Mail/Druck/Download <b>PDF Gutschrift & Proforma Rechnung</b>"
347
 
348
  #: includes/wcpdf-extensions.php:28
349
  msgid ""
350
- "Attach a <b>static file</b> (for example a terms & conditions document) to "
351
- "the WooCommerce emails of your choice."
352
  msgstr ""
353
- "Hinzufügen einer beliebigen <b>Datei </b> (beispielweise AGB, "
354
- "Widerrufsbelehrung) zum WooCommerce E-Mail"
355
 
356
  #: includes/wcpdf-extensions.php:29
357
  msgid ""
 
 
 
 
 
 
358
  "Use <b>separate numbering systems</b> and/or format for proforma invoices "
359
  "and credit notes or utilize the main invoice numbering system"
360
  msgstr ""
@@ -362,7 +446,7 @@ msgstr ""
362
  "Rechnungen und Gutschriften oder Änderung am Hauptsystem der "
363
  "Rechnungsnummerierung"
364
 
365
- #: includes/wcpdf-extensions.php:30
366
  msgid ""
367
  "<b>Customize</b> the <b>shipping & billing address</b> format to include "
368
  "additional custom fields, font sizes etc. without the need to create a "
@@ -372,19 +456,19 @@ msgstr ""
372
  "freie Felder, Schriftgrößen, usw. einzufügen ohne ein individuellen Template "
373
  "zu erstellen."
374
 
375
- #: includes/wcpdf-extensions.php:31
376
  msgid "Use the plugin in multilingual <b>WPML</b> setups"
377
  msgstr "Nutzung vom Plugin für Multisprachen <b>WPML</b> Einrichtungen"
378
 
379
- #: includes/wcpdf-extensions.php:33
380
  msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
381
  msgstr "Hole WooCommerce PDF Invoices & Packing Slips Professional!"
382
 
383
- #: includes/wcpdf-extensions.php:41
384
  msgid "Upload all invoices automatically to your dropbox"
385
  msgstr "Alle Rechnungen automatisch auf deine Dropbox hochladen"
386
 
387
- #: includes/wcpdf-extensions.php:47
388
  msgid ""
389
  "This extension conveniently uploads all the invoices (and other pdf "
390
  "documents from the professional extension) that are emailed to your "
@@ -395,11 +479,11 @@ msgstr ""
395
  "Dokumente) die dem Kunden gemailt werden zur Dropbox. Die beste Weise um die "
396
  "Rechnungsadministration aktuell zu halten!"
397
 
398
- #: includes/wcpdf-extensions.php:48
399
  msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
400
  msgstr "Hole WooCommerce PDF Invoices & Packing Slips to dropbox!"
401
 
402
- #: includes/wcpdf-extensions.php:60
403
  msgid ""
404
  "Automatically send new orders or packing slips to your printer, as soon as "
405
  "the customer orders!"
@@ -407,7 +491,7 @@ msgstr ""
407
  "Schicke neue Bestellungen oder Lieferscheine automatisch an deinen Drucker, "
408
  "sobald ein Kunde bestellt."
409
 
410
- #: includes/wcpdf-extensions.php:66
411
  msgid ""
412
  "Check out the WooCommerce Automatic Order Printing extension from our "
413
  "partners at Simba Hosting"
@@ -415,100 +499,119 @@ msgstr ""
415
  "Probiere die Erweiterung „WooCommerce Automatic Order Printing“ unserem "
416
  "Partner Simba Hosting "
417
 
418
- #: includes/wcpdf-extensions.php:67
419
  msgid "WooCommerce Automatic Order Printing"
420
  msgstr "WooCommerce Automatic Order Printing"
421
 
422
- #: includes/wcpdf-extensions.php:81
423
  msgid "More advanced templates"
424
  msgstr "Weiter entwickelte Voralgen"
425
 
426
- #: includes/wcpdf-extensions.php:84
427
  msgid "Stylish modern invoices & packing slips with product thumbnails!"
428
  msgstr ""
429
  "Stylisch moderne Rechnungen & Lieferscheine mit Miniaturbildern vom Produkt!"
430
 
431
- #: includes/wcpdf-extensions.php:85
432
  msgid "More tax details on the invoices!"
433
  msgstr "Zusätzliche Steuerdetails auf der Rechnung!"
434
 
435
- #: includes/wcpdf-extensions.php:86
436
  #, php-format
437
  msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
438
  msgstr "Schau dir die Premium PDF Invoice & Packing Slips Vorlagen an auf %s."
439
 
440
- #: includes/wcpdf-extensions.php:87
441
  #, php-format
442
  msgid "For custom templates, contact us at %s."
443
  msgstr "Für individuelle Vorlagen kontaktiert uns auf %s."
444
 
445
- #: templates/pdf/Simple/html-document-wrapper.php:6
446
  #: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
 
447
  msgid "Invoice"
448
  msgstr "Rechnung"
449
 
450
- #: templates/pdf/Simple/html-document-wrapper.php:6
451
- #: templates/pdf/Simple/packing-slip.php:9
452
- #: templates/pdf/Simple/packing-slip.php:21
453
- msgid "Packing Slip"
454
- msgstr "Lieferschein"
 
 
 
455
 
456
- #: templates/pdf/Simple/invoice.php:32
457
  msgid "Invoice Number:"
458
  msgstr "Rechnungsnummer:"
459
 
460
- #: templates/pdf/Simple/invoice.php:39
461
- #: templates/pdf/Simple/packing-slip.php:33
462
  msgid "Order Number:"
463
  msgstr "Bestellnummer:"
464
 
465
- #: templates/pdf/Simple/invoice.php:41
466
- #: templates/pdf/Simple/packing-slip.php:31
467
  msgid "Order Date:"
468
  msgstr "Bestelldatum:"
469
 
470
- #: templates/pdf/Simple/invoice.php:43
471
  msgid "Payment Method:"
472
  msgstr "Zahlungsart:"
473
 
474
- #: templates/pdf/Simple/invoice.php:58
475
- #: templates/pdf/Simple/packing-slip.php:48
476
  msgid "Product"
477
  msgstr "Produkt"
478
 
479
- #: templates/pdf/Simple/invoice.php:59
480
- #: templates/pdf/Simple/packing-slip.php:49
481
  msgid "Quantity"
482
  msgstr "Anzahl"
483
 
484
- #: templates/pdf/Simple/invoice.php:60
485
  msgid "Price"
486
  msgstr "Preis"
487
 
488
- #: templates/pdf/Simple/invoice.php:66
 
489
  msgid "Description"
490
  msgstr "Beschreibung"
491
 
492
- #: templates/pdf/Simple/invoice.php:69
 
493
  msgid "SKU"
494
  msgstr "Art.-Nr."
495
 
496
- #: templates/pdf/Simple/invoice.php:70
497
- #: templates/pdf/Simple/packing-slip.php:57
498
  msgid "SKU:"
499
  msgstr "Art.-Nr.:"
500
 
501
- #: templates/pdf/Simple/invoice.php:71
502
- #: templates/pdf/Simple/packing-slip.php:58
503
  msgid "Weight:"
504
  msgstr "Gewicht:"
505
 
506
- #: templates/pdf/Simple/invoice.php:105
507
- #: templates/pdf/Simple/packing-slip.php:73
508
  msgid "Customer Notes"
509
  msgstr "Anmerkungen"
510
 
511
- #: woocommerce-pdf-invoices-packingslips.php:98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
512
  #, php-format
513
  msgid ""
514
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
@@ -517,40 +620,46 @@ msgstr ""
517
  "WooCommerce PDF Invoices & Packing Slips benötigt %sWooCommerce%s "
518
  "installiert und aktiviert!"
519
 
520
- #: woocommerce-pdf-invoices-packingslips.php:206
521
- #: woocommerce-pdf-invoices-packingslips.php:269
522
  msgid "N/A"
523
  msgstr "nicht verfügbar"
524
 
525
- #: woocommerce-pdf-invoices-packingslips.php:358
526
  msgid "Payment method"
527
  msgstr "Zahlungsart"
528
 
529
- #: woocommerce-pdf-invoices-packingslips.php:369
530
  msgid "Shipping method"
531
  msgstr "Versandart"
532
 
533
- #: woocommerce-pdf-invoices-packingslips.php:484
534
  msgid "Subtotal"
535
  msgstr "Zwischensumme"
536
 
537
- #: woocommerce-pdf-invoices-packingslips.php:506
538
  msgid "Shipping"
539
  msgstr "Versand"
540
 
541
- #: woocommerce-pdf-invoices-packingslips.php:540
542
  msgid "Discount"
543
  msgstr "Rabatt"
544
 
545
- #: woocommerce-pdf-invoices-packingslips.php:579
546
  msgid "VAT"
547
  msgstr "MwSt."
548
 
549
- #: woocommerce-pdf-invoices-packingslips.php:616
550
  msgid "Total ex. VAT"
551
  msgstr "Gesamtsumme ohne MwSt."
552
 
553
- #: woocommerce-pdf-invoices-packingslips.php:619
554
  msgid "Total"
555
  msgstr "Gesamtsumme"
556
 
 
 
 
 
 
 
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"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7.5\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: includes/class-wcpdf-export.php:338 includes/class-wcpdf-export.php:348
20
+ #: includes/class-wcpdf-export.php:359 includes/class-wcpdf-export.php:367
 
21
  msgid "You do not have sufficient permissions to access this page."
22
  msgstr "Du hast keine Berechtigung diese Seite anzuzeigen."
23
 
24
+ #: includes/class-wcpdf-export.php:343
25
+ msgid "Some of the export parameters are missing."
26
+ msgstr ""
27
+
28
  # This is a filename (prefix). do not use spaces or special characters!
29
+ #: includes/class-wcpdf-export.php:422
30
  msgid "invoice"
31
  msgid_plural "invoices"
32
  msgstr[0] "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"
40
  msgstr[1] "Lieferscheine"
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 "PDF Rechnungen"
46
 
47
+ #: includes/class-wcpdf-settings.php:80
48
  msgid "Settings"
49
  msgstr "Einstellungen"
50
 
51
+ #: includes/class-wcpdf-settings.php:102
52
  msgid "General"
53
  msgstr "Allgemein"
54
 
55
+ #: includes/class-wcpdf-settings.php:103
56
  msgid "Template"
57
  msgstr "Vorlage"
58
 
59
+ #: includes/class-wcpdf-settings.php:108
 
 
 
 
60
  msgid "Status"
61
  msgstr "Status"
62
 
63
+ #: includes/class-wcpdf-settings.php:116
64
+ msgid "WooCommerce PDF Invoices"
65
+ msgstr "WooCommerce PDF Rechnungen"
66
+
67
+ #: includes/class-wcpdf-settings.php:183
68
  msgid "General settings"
69
  msgstr "Allgemeine Einstellungen"
70
 
71
+ #: includes/class-wcpdf-settings.php:190
72
  msgid "How do you want to view the PDF?"
73
  msgstr "Wie soll das PDF angezeigt werden?"
74
 
75
+ #: includes/class-wcpdf-settings.php:198
76
  msgid "Download the PDF"
77
  msgstr "PDF runterladen"
78
 
79
+ #: includes/class-wcpdf-settings.php:199
80
  msgid "Open the PDF in a new browser tab/window"
81
  msgstr "PDF in einem neuen Browser Tab/Fenster öffnen"
82
 
83
+ #: includes/class-wcpdf-settings.php:208
84
  msgid "Admin New Order email"
85
  msgstr "Admin Neue Bestellung E-Mail"
86
 
87
+ #: includes/class-wcpdf-settings.php:209
88
  msgid "Customer Processing Order email"
89
  msgstr "Kunde In Bearbeitung E-Mail"
90
 
91
+ #: includes/class-wcpdf-settings.php:210
92
  msgid "Customer Completed Order email"
93
  msgstr "Kunde Bestellung abgeschlossen E-Mail"
94
 
95
+ #: includes/class-wcpdf-settings.php:211
96
  msgid "Customer Invoice email"
97
  msgstr "Kunde Rechnung E-Mail"
98
 
99
+ #: includes/class-wcpdf-settings.php:216
100
  msgid "Attach invoice to:"
101
  msgstr "Rechnung anfügen zu:"
102
 
103
+ #: includes/class-wcpdf-settings.php:224
104
  #, php-format
105
  msgid ""
106
  "It looks like the temp folder (<code>%s</code>) is not writable, check the "
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
  "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
  "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
  "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
  "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 "
359
  "(Premium)</em> Vorlage verwendet, können aber auch für andere Elemente in "
360
  "deiner angepassten Vorlage verwendet werden."
361
 
362
+ #: includes/class-wcpdf-writepanels.php:33
363
  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
 
376
+ #: includes/class-wcpdf-writepanels.php:139
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
 
427
 
428
  #: includes/wcpdf-extensions.php:28
429
  msgid ""
430
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
431
+ "packing slips, for example to a drop-shipper or a supplier."
432
  msgstr ""
 
 
433
 
434
  #: includes/wcpdf-extensions.php:29
435
  msgid ""
436
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions "
437
+ "document) to the WooCommerce emails of your choice."
438
+ msgstr ""
439
+
440
+ #: includes/wcpdf-extensions.php:30
441
+ msgid ""
442
  "Use <b>separate numbering systems</b> and/or format for proforma invoices "
443
  "and credit notes or utilize the main invoice numbering system"
444
  msgstr ""
446
  "Rechnungen und Gutschriften oder Änderung am Hauptsystem der "
447
  "Rechnungsnummerierung"
448
 
449
+ #: includes/wcpdf-extensions.php:31
450
  msgid ""
451
  "<b>Customize</b> the <b>shipping & billing address</b> format to include "
452
  "additional custom fields, font sizes etc. without the need to create a "
456
  "freie Felder, Schriftgrößen, usw. einzufügen ohne ein individuellen Template "
457
  "zu erstellen."
458
 
459
+ #: includes/wcpdf-extensions.php:32
460
  msgid "Use the plugin in multilingual <b>WPML</b> setups"
461
  msgstr "Nutzung vom Plugin für Multisprachen <b>WPML</b> Einrichtungen"
462
 
463
+ #: includes/wcpdf-extensions.php:34
464
  msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
465
  msgstr "Hole WooCommerce PDF Invoices & Packing Slips Professional!"
466
 
467
+ #: includes/wcpdf-extensions.php:42
468
  msgid "Upload all invoices automatically to your dropbox"
469
  msgstr "Alle Rechnungen automatisch auf deine Dropbox hochladen"
470
 
471
+ #: includes/wcpdf-extensions.php:48
472
  msgid ""
473
  "This extension conveniently uploads all the invoices (and other pdf "
474
  "documents from the professional extension) that are emailed to your "
479
  "Dokumente) die dem Kunden gemailt werden zur Dropbox. Die beste Weise um die "
480
  "Rechnungsadministration aktuell zu halten!"
481
 
482
+ #: includes/wcpdf-extensions.php:49
483
  msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
484
  msgstr "Hole WooCommerce PDF Invoices & Packing Slips to dropbox!"
485
 
486
+ #: includes/wcpdf-extensions.php:61
487
  msgid ""
488
  "Automatically send new orders or packing slips to your printer, as soon as "
489
  "the customer orders!"
491
  "Schicke neue Bestellungen oder Lieferscheine automatisch an deinen Drucker, "
492
  "sobald ein Kunde bestellt."
493
 
494
+ #: includes/wcpdf-extensions.php:67
495
  msgid ""
496
  "Check out the WooCommerce Automatic Order Printing extension from our "
497
  "partners at Simba Hosting"
499
  "Probiere die Erweiterung „WooCommerce Automatic Order Printing“ unserem "
500
  "Partner Simba Hosting "
501
 
502
+ #: includes/wcpdf-extensions.php:68
503
  msgid "WooCommerce Automatic Order Printing"
504
  msgstr "WooCommerce Automatic Order Printing"
505
 
506
+ #: includes/wcpdf-extensions.php:82
507
  msgid "More advanced templates"
508
  msgstr "Weiter entwickelte Voralgen"
509
 
510
+ #: includes/wcpdf-extensions.php:85
511
  msgid "Stylish modern invoices & packing slips with product thumbnails!"
512
  msgstr ""
513
  "Stylisch moderne Rechnungen & Lieferscheine mit Miniaturbildern vom Produkt!"
514
 
515
+ #: includes/wcpdf-extensions.php:86
516
  msgid "More tax details on the invoices!"
517
  msgstr "Zusätzliche Steuerdetails auf der Rechnung!"
518
 
519
+ #: includes/wcpdf-extensions.php:87
520
  #, php-format
521
  msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
522
  msgstr "Schau dir die Premium PDF Invoice & Packing Slips Vorlagen an auf %s."
523
 
524
+ #: includes/wcpdf-extensions.php:88
525
  #, php-format
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
  "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
 
660
+ #~ msgid ""
661
+ #~ "Attach a <b>static file</b> (for example a terms & conditions document) "
662
+ #~ "to the WooCommerce emails of your choice."
663
+ #~ msgstr ""
664
+ #~ "Hinzufügen einer beliebigen <b>Datei </b> (beispielweise AGB, "
665
+ #~ "Widerrufsbelehrung) zum WooCommerce E-Mail"
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-13 14:38+0100\n"
6
- "PO-Revision-Date: 2015-03-13 14:42+0100\n"
7
  "Last-Translator: Ewout Fernhout <chocolade@extrapuur.nl>\n"
8
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
9
  "Language: nl_NL\n"
@@ -112,19 +112,39 @@ msgstr ""
112
  "controleer de rechten op deze folder! Zonder schrijfrechten kan de plugin "
113
  "geen facturen emailen."
114
 
115
- #: includes/class-wcpdf-settings.php:230
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  msgid "Enable invoice number column in the orders list"
117
  msgstr "Schakel factuurnummer kolom in het bestellingen overzicht in"
118
 
119
- #: includes/class-wcpdf-settings.php:268
120
  msgid "PDF Template settings"
121
  msgstr "PDF Template instellingen"
122
 
123
- #: includes/class-wcpdf-settings.php:280
124
  msgid "Choose a template"
125
  msgstr "Kies een template"
126
 
127
- #: includes/class-wcpdf-settings.php:288
128
  #, php-format
129
  msgid ""
130
  "Want to use your own template? Copy all the files from <code>%s</code> to "
@@ -133,59 +153,85 @@ msgstr ""
133
  "Wil je je eigen template gebruiken? Kopieer alle bestanden van <code>%s</"
134
  "code> naar je (child-) theme in <code>%s</code> en pas ze aan naar je wensen."
135
 
136
- #: includes/class-wcpdf-settings.php:294
137
  msgid "Paper size"
138
  msgstr "Papierformaat"
139
 
140
- #: includes/class-wcpdf-settings.php:302
141
  msgid "A4"
142
  msgstr "A4"
143
 
144
- #: includes/class-wcpdf-settings.php:303
145
  msgid "Letter"
146
  msgstr "Letter (US)"
147
 
148
- #: includes/class-wcpdf-settings.php:310
149
  msgid "Shop header/logo"
150
  msgstr "Shop header/logo"
151
 
152
- #: includes/class-wcpdf-settings.php:317
153
  msgid "Select or upload your invoice header/logo"
154
  msgstr "Selecteer of upload je factuur header/logo"
155
 
156
- #: includes/class-wcpdf-settings.php:318
157
  msgid "Set image"
158
  msgstr "Stel afbeelding in"
159
 
160
- #: includes/class-wcpdf-settings.php:319
161
  msgid "Remove image"
162
  msgstr "Verwijder afbeelding"
163
 
164
- #: includes/class-wcpdf-settings.php:326
165
  msgid "Shop Name"
166
  msgstr "Shop Naam"
167
 
168
- #: includes/class-wcpdf-settings.php:339
169
  msgid "Shop Address"
170
  msgstr "Shop Adres"
171
 
172
- #: includes/class-wcpdf-settings.php:371
173
  msgid "Footer: terms & conditions, policies, etc."
174
  msgstr "Voettekst: algemene voorwaarden, retourenbeleid, etc."
175
 
176
- #: includes/class-wcpdf-settings.php:386
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  msgid "Display invoice date"
178
  msgstr "Geef factuurdatum weer"
179
 
180
- #: includes/class-wcpdf-settings.php:399
181
  msgid "Display built-in sequential invoice number"
182
  msgstr "Geef ingebouwde doorlopende factuurnummers weer"
183
 
184
- #: includes/class-wcpdf-settings.php:412
185
  msgid "Next invoice number (without prefix/suffix etc.)"
186
  msgstr "Volgend factuurnummer (zonder voor- of achtervoegsel etc.)"
187
 
188
- #: includes/class-wcpdf-settings.php:420
189
  msgid ""
190
  "This is the number that will be used on the next invoice that is created. By "
191
  "default, numbering starts from the WooCommerce Order Number of the first "
@@ -200,15 +246,15 @@ msgstr ""
200
  "hoogste huidige (PDF) factuurnummer zet, kan dit dubbele factuurnummers tot "
201
  "gevolg hebben!"
202
 
203
- #: includes/class-wcpdf-settings.php:426
204
  msgid "Invoice number format"
205
  msgstr "Factuurnummer format"
206
 
207
- #: includes/class-wcpdf-settings.php:435
208
  msgid "Prefix"
209
  msgstr "Voorvoegsel"
210
 
211
- #: includes/class-wcpdf-settings.php:437
212
  msgid ""
213
  "to use the order year and/or month, use [order_year] or [order_month] "
214
  "respectively"
@@ -216,21 +262,21 @@ msgstr ""
216
  "gebruik [order_year] of [order_month] om het order jaar en/of maand te weer "
217
  "te geven"
218
 
219
- #: includes/class-wcpdf-settings.php:440
220
  msgid "Suffix"
221
  msgstr "Achtervoegsel"
222
 
223
- #: includes/class-wcpdf-settings.php:445
224
  msgid "Padding"
225
  msgstr "Vulling"
226
 
227
- #: includes/class-wcpdf-settings.php:447
228
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
229
  msgstr ""
230
  "voer hier het aantal cijfers in - vul hier \"6\" in om 42 als 000042 weer te "
231
  "geven"
232
 
233
- #: includes/class-wcpdf-settings.php:450
234
  msgid ""
235
  "note: if you have already created a custom invoice number format with a "
236
  "filter, the above settings will be ignored"
@@ -238,43 +284,62 @@ msgstr ""
238
  "let op: als je al een format voor een factuurnummer hebt gemaakt met een "
239
  "filter, worden de bovenstaande instellingen genegeerd"
240
 
241
- #: includes/class-wcpdf-settings.php:457
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
242
  msgid "Extra template fields"
243
  msgstr "Extra templatevelden"
244
 
245
- #: includes/class-wcpdf-settings.php:464
246
  msgid "Extra field 1"
247
  msgstr "Extra veld 1"
248
 
249
- #: includes/class-wcpdf-settings.php:473
250
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
251
  msgstr "Dit is voettekst kolom 1 in het <i>Modern (Premium)</i> template"
252
 
253
- #: includes/class-wcpdf-settings.php:479
254
  msgid "Extra field 2"
255
  msgstr "Extra veld 2"
256
 
257
- #: includes/class-wcpdf-settings.php:488
258
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
259
  msgstr "Dit is voettekst kolom 2 in het <i>Modern (Premium)</i> template"
260
 
261
- #: includes/class-wcpdf-settings.php:494
262
  msgid "Extra field 3"
263
  msgstr "Extra veld 3"
264
 
265
- #: includes/class-wcpdf-settings.php:503
266
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
267
  msgstr "Dit is voettekst kolom 3 in het <i>Modern (Premium)</i> template"
268
 
269
- #: includes/class-wcpdf-settings.php:545
270
  msgid "Debug settings"
271
  msgstr "Debug instellingen"
272
 
273
- #: includes/class-wcpdf-settings.php:552
274
  msgid "Enable debug output"
275
  msgstr "Debug uitvoer inschakelen"
276
 
277
- #: includes/class-wcpdf-settings.php:559
278
  msgid ""
279
  "Enable this option to output plugin errors if you're getting a blank page or "
280
  "other PDF generation issues"
@@ -282,22 +347,22 @@ msgstr ""
282
  "Schakel deze optie in om pluginfouten weer te geven, wanneer je een lege "
283
  "pagina krijgt of andere problemen hebt met het genereren van PDF."
284
 
285
- #: includes/class-wcpdf-settings.php:565
286
  msgid "Output to HTML"
287
  msgstr "Uitvoer naar HTML"
288
 
289
- #: includes/class-wcpdf-settings.php:572
290
  msgid ""
291
  "Send the template output as HTML to the browser instead of creating a PDF."
292
  msgstr ""
293
  "Stuur de uitvoer van de template als HTML naar de browser in plaats van een "
294
  "PDF."
295
 
296
- #: includes/class-wcpdf-settings.php:578
297
  msgid "Use old tmp folder"
298
  msgstr "Gebruik de oude tmp folder"
299
 
300
- #: includes/class-wcpdf-settings.php:585
301
  msgid ""
302
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
303
  "plugin folder. This setting is only intended for backwards compatibility, "
@@ -307,11 +372,11 @@ msgstr ""
307
  "de plugin map. Deze instelling is enkel bedoelde voor backwards "
308
  "compatibiliteit, en niet aanbevolen op nieuwe installaties!"
309
 
310
- #: includes/class-wcpdf-settings.php:829
311
  msgid "Image resolution"
312
  msgstr "Afbeeldings resolutie"
313
 
314
- #: includes/class-wcpdf-settings.php:945
315
  msgid ""
316
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
317
  "Do not use them on a live website!"
@@ -319,7 +384,7 @@ msgstr ""
319
  "<b>Waarschuwing!</b> Onderstaande instellingen zijn enkel bedoeld om fouten "
320
  "op te sporen of om te testen. Gebruik ze niet op een live website!"
321
 
322
- #: includes/class-wcpdf-settings.php:954
323
  msgid ""
324
  "These are used for the (optional) footer columns in the <em>Modern "
325
  "(Premium)</em> template, but can also be used for other elements in your "
@@ -334,12 +399,12 @@ msgid "PDF Packing Slips"
334
  msgstr "PDF Pakbonnen"
335
 
336
  #: includes/class-wcpdf-writepanels.php:107
337
- #: includes/class-wcpdf-writepanels.php:200
338
  msgid "PDF Invoice"
339
  msgstr "PDF factuur"
340
 
341
  #: includes/class-wcpdf-writepanels.php:112
342
- #: includes/class-wcpdf-writepanels.php:205
343
  msgid "PDF Packing Slip"
344
  msgstr "PDF Pakbon"
345
 
@@ -347,28 +412,28 @@ msgstr "PDF Pakbon"
347
  msgid "Invoice Number"
348
  msgstr "Factuurnummer"
349
 
350
- #: includes/class-wcpdf-writepanels.php:176
351
  msgid "Download invoice (PDF)"
352
  msgstr "Download factuur (PDF)"
353
 
354
- #: includes/class-wcpdf-writepanels.php:187
355
  msgid "Create PDF"
356
  msgstr "Maak PDF"
357
 
358
- #: includes/class-wcpdf-writepanels.php:248
359
  msgid "PDF Invoice Number (unformatted!)"
360
  msgstr "PDF Factuurnummer (zonder formatting!)"
361
 
362
- #: includes/class-wcpdf-writepanels.php:251
363
- #: templates/pdf/Simple/invoice.php:36
364
  msgid "Invoice Date:"
365
  msgstr "Factuurdatum:"
366
 
367
- #: includes/class-wcpdf-writepanels.php:252
368
  msgid "h"
369
  msgstr "u"
370
 
371
- #: includes/class-wcpdf-writepanels.php:252
372
  msgid "m"
373
  msgstr "m"
374
 
@@ -498,73 +563,81 @@ msgstr "Bekijk de Premium PDF Invoice & Packing Slips templates op %s."
498
  msgid "For custom templates, contact us at %s."
499
  msgstr "Neem voor custom templates contact met ons op via %s"
500
 
501
- #: templates/pdf/Simple/html-document-wrapper.php:6
502
- #: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
503
- msgid "Invoice"
504
- msgstr "Factuur"
505
 
506
- #: templates/pdf/Simple/html-document-wrapper.php:6
507
- #: templates/pdf/Simple/packing-slip.php:9
508
- #: templates/pdf/Simple/packing-slip.php:21
509
- msgid "Packing Slip"
510
- msgstr "Pakbon"
511
 
512
- #: templates/pdf/Simple/invoice.php:32
513
  msgid "Invoice Number:"
514
  msgstr "Factuurnummer:"
515
 
516
- #: templates/pdf/Simple/invoice.php:39
517
- #: templates/pdf/Simple/packing-slip.php:33
518
  msgid "Order Number:"
519
  msgstr "Ordernummer:"
520
 
521
- #: templates/pdf/Simple/invoice.php:41
522
- #: templates/pdf/Simple/packing-slip.php:31
523
  msgid "Order Date:"
524
  msgstr "Orderdatum:"
525
 
526
- #: templates/pdf/Simple/invoice.php:43
527
  msgid "Payment Method:"
528
  msgstr "Betaalmethode:"
529
 
530
- #: templates/pdf/Simple/invoice.php:58
531
- #: templates/pdf/Simple/packing-slip.php:48
532
  msgid "Product"
533
  msgstr "Product"
534
 
535
- #: templates/pdf/Simple/invoice.php:59
536
- #: templates/pdf/Simple/packing-slip.php:49
537
  msgid "Quantity"
538
  msgstr "Hoeveelheid"
539
 
540
- #: templates/pdf/Simple/invoice.php:60
541
  msgid "Price"
542
  msgstr "Prijs"
543
 
544
- #: templates/pdf/Simple/invoice.php:67
 
545
  msgid "Description"
546
  msgstr "Omschrijving"
547
 
548
- #: templates/pdf/Simple/invoice.php:70
 
549
  msgid "SKU"
550
  msgstr "Artikelnummer"
551
 
552
- #: templates/pdf/Simple/invoice.php:71
553
- #: templates/pdf/Simple/packing-slip.php:58
554
  msgid "SKU:"
555
  msgstr "SKU:"
556
 
557
- #: templates/pdf/Simple/invoice.php:72
558
- #: templates/pdf/Simple/packing-slip.php:59
559
  msgid "Weight:"
560
  msgstr "Gewicht:"
561
 
562
- #: templates/pdf/Simple/invoice.php:107
563
- #: templates/pdf/Simple/packing-slip.php:75
564
  msgid "Customer Notes"
565
  msgstr "Opmerking klant:"
566
 
567
- #: woocommerce-pdf-invoices-packingslips.php:121
 
 
 
 
 
 
 
 
568
  #, php-format
569
  msgid ""
570
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
@@ -573,43 +646,59 @@ msgstr ""
573
  "WooCommerce PDF Invoices & Packing Slips vereist dat %sWooCommerce%s is "
574
  "geïnstalleerd & geactiveerd!"
575
 
576
- #: woocommerce-pdf-invoices-packingslips.php:308
577
- #: woocommerce-pdf-invoices-packingslips.php:369
578
  msgid "N/A"
579
  msgstr "N/A"
580
 
581
- #: woocommerce-pdf-invoices-packingslips.php:458
582
  msgid "Payment method"
583
  msgstr "Betaalmethode"
584
 
585
- #: woocommerce-pdf-invoices-packingslips.php:469
586
  msgid "Shipping method"
587
  msgstr "Verzendmethode"
588
 
589
- #: woocommerce-pdf-invoices-packingslips.php:590
590
  msgid "Subtotal"
591
  msgstr "Subtotaal"
592
 
593
- #: woocommerce-pdf-invoices-packingslips.php:612
594
  msgid "Shipping"
595
  msgstr "Verzendkosten"
596
 
597
- #: woocommerce-pdf-invoices-packingslips.php:658
598
  msgid "Discount"
599
  msgstr "Korting"
600
 
601
- #: woocommerce-pdf-invoices-packingslips.php:698
602
  msgid "VAT"
603
  msgstr "BTW"
604
 
605
- #: woocommerce-pdf-invoices-packingslips.php:735
606
  msgid "Total ex. VAT"
607
  msgstr "Totaal excl. BTW"
608
 
609
- #: woocommerce-pdf-invoices-packingslips.php:738
610
  msgid "Total"
611
  msgstr "Totaal"
612
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
613
  #~ msgid ""
614
  #~ "Attach a <b>static file</b> (for example a terms & conditions document) "
615
  #~ "to the WooCommerce emails of your choice."
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"
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
  "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"
210
+ 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
  "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
  "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
  "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"
302
+ 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
  "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
  "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
  "<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 "
399
  msgstr "PDF Pakbonnen"
400
 
401
  #: includes/class-wcpdf-writepanels.php:107
402
+ #: includes/class-wcpdf-writepanels.php:216
403
  msgid "PDF Invoice"
404
  msgstr "PDF factuur"
405
 
406
  #: includes/class-wcpdf-writepanels.php:112
407
+ #: includes/class-wcpdf-writepanels.php:221
408
  msgid "PDF Packing Slip"
409
  msgstr "PDF Pakbon"
410
 
412
  msgid "Invoice Number"
413
  msgstr "Factuurnummer"
414
 
415
+ #: includes/class-wcpdf-writepanels.php:192
416
  msgid "Download invoice (PDF)"
417
  msgstr "Download factuur (PDF)"
418
 
419
+ #: includes/class-wcpdf-writepanels.php:203
420
  msgid "Create PDF"
421
  msgstr "Maak PDF"
422
 
423
+ #: includes/class-wcpdf-writepanels.php:264
424
  msgid "PDF Invoice Number (unformatted!)"
425
  msgstr "PDF Factuurnummer (zonder formatting!)"
426
 
427
+ #: includes/class-wcpdf-writepanels.php:267
428
+ #: templates/pdf/Simple/invoice.php:55
429
  msgid "Invoice Date:"
430
  msgstr "Factuurdatum:"
431
 
432
+ #: includes/class-wcpdf-writepanels.php:268
433
  msgid "h"
434
  msgstr "u"
435
 
436
+ #: includes/class-wcpdf-writepanels.php:268
437
  msgid "m"
438
  msgstr "m"
439
 
563
  msgid "For custom templates, contact us at %s."
564
  msgstr "Neem voor custom templates contact met ons op via %s"
565
 
566
+ #: templates/pdf/Simple/invoice.php:29
567
+ #: templates/pdf/Simple/packing-slip.php:40
568
+ msgid "Billing Address:"
569
+ msgstr "Factuuradres:"
570
 
571
+ #: templates/pdf/Simple/invoice.php:40
572
+ msgid "Ship To:"
573
+ msgstr "Verzenden naar:"
 
 
574
 
575
+ #: templates/pdf/Simple/invoice.php:49
576
  msgid "Invoice Number:"
577
  msgstr "Factuurnummer:"
578
 
579
+ #: templates/pdf/Simple/invoice.php:60
580
+ #: templates/pdf/Simple/packing-slip.php:48
581
  msgid "Order Number:"
582
  msgstr "Ordernummer:"
583
 
584
+ #: templates/pdf/Simple/invoice.php:64
585
+ #: templates/pdf/Simple/packing-slip.php:52
586
  msgid "Order Date:"
587
  msgstr "Orderdatum:"
588
 
589
+ #: templates/pdf/Simple/invoice.php:68
590
  msgid "Payment Method:"
591
  msgstr "Betaalmethode:"
592
 
593
+ #: templates/pdf/Simple/invoice.php:82
594
+ #: templates/pdf/Simple/packing-slip.php:70
595
  msgid "Product"
596
  msgstr "Product"
597
 
598
+ #: templates/pdf/Simple/invoice.php:83
599
+ #: templates/pdf/Simple/packing-slip.php:71
600
  msgid "Quantity"
601
  msgstr "Hoeveelheid"
602
 
603
+ #: templates/pdf/Simple/invoice.php:84
604
  msgid "Price"
605
  msgstr "Prijs"
606
 
607
+ #: templates/pdf/Simple/invoice.php:91
608
+ #: templates/pdf/Simple/packing-slip.php:78
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
 
632
+ #: templates/pdf/Simple/packing-slip.php:29
633
+ msgid "Shipping Address:"
634
+ msgstr "Verzendadres:"
635
+
636
+ #: templates/pdf/Simple/packing-slip.php:56
637
+ msgid "Shipping Method:"
638
+ msgstr "Verzendmethode:"
639
+
640
+ #: woocommerce-pdf-invoices-packingslips.php:123
641
  #, php-format
642
  msgid ""
643
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
646
  "WooCommerce PDF Invoices & Packing Slips vereist dat %sWooCommerce%s is "
647
  "geïnstalleerd & geactiveerd!"
648
 
649
+ #: woocommerce-pdf-invoices-packingslips.php:330
650
+ #: woocommerce-pdf-invoices-packingslips.php:391
651
  msgid "N/A"
652
  msgstr "N/A"
653
 
654
+ #: woocommerce-pdf-invoices-packingslips.php:480
655
  msgid "Payment method"
656
  msgstr "Betaalmethode"
657
 
658
+ #: woocommerce-pdf-invoices-packingslips.php:491
659
  msgid "Shipping method"
660
  msgstr "Verzendmethode"
661
 
662
+ #: woocommerce-pdf-invoices-packingslips.php:612
663
  msgid "Subtotal"
664
  msgstr "Subtotaal"
665
 
666
+ #: woocommerce-pdf-invoices-packingslips.php:634
667
  msgid "Shipping"
668
  msgstr "Verzendkosten"
669
 
670
+ #: woocommerce-pdf-invoices-packingslips.php:687
671
  msgid "Discount"
672
  msgstr "Korting"
673
 
674
+ #: woocommerce-pdf-invoices-packingslips.php:727
675
  msgid "VAT"
676
  msgstr "BTW"
677
 
678
+ #: woocommerce-pdf-invoices-packingslips.php:764
679
  msgid "Total ex. VAT"
680
  msgstr "Totaal excl. BTW"
681
 
682
+ #: woocommerce-pdf-invoices-packingslips.php:767
683
  msgid "Total"
684
  msgstr "Totaal"
685
 
686
+ #~ msgid "Shipping address on invoice"
687
+ #~ msgstr "Verzendadres op factuur"
688
+
689
+ #~ msgid ""
690
+ #~ "Display shipping address on invoice if different from billing address"
691
+ #~ msgstr ""
692
+ #~ "Geef verzendadres weer op factuur als deze verschilt van het factuuradres"
693
+
694
+ #~ msgid "Billing address on packing slip"
695
+ #~ msgstr "Factuuradres op pakbon"
696
+
697
+ #~ msgid ""
698
+ #~ "Display billing address on packing slip if different from shipping address"
699
+ #~ msgstr ""
700
+ #~ "Geef factuuradres weer op pakbon als deze verschilt van het verzendadres"
701
+
702
  #~ msgid ""
703
  #~ "Attach a <b>static file</b> (for example a terms & conditions document) "
704
  #~ "to the WooCommerce emails of your choice."
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-13 14:50+0100\n"
5
- "PO-Revision-Date: 2015-03-13 14:50+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
  "Language: en_US\n"
@@ -108,78 +108,122 @@ msgid ""
108
  "plugin will not be able to email invoices."
109
  msgstr ""
110
 
111
- #: includes/class-wcpdf-settings.php:230
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  msgid "Enable invoice number column in the orders list"
113
  msgstr ""
114
 
115
- #: includes/class-wcpdf-settings.php:268
116
  msgid "PDF Template settings"
117
  msgstr ""
118
 
119
- #: includes/class-wcpdf-settings.php:280
120
  msgid "Choose a template"
121
  msgstr ""
122
 
123
- #: includes/class-wcpdf-settings.php:288
124
  #, php-format
125
  msgid ""
126
  "Want to use your own template? Copy all the files from <code>%s</code> to "
127
  "your (child) theme in <code>%s</code> to customize them"
128
  msgstr ""
129
 
130
- #: includes/class-wcpdf-settings.php:294
131
  msgid "Paper size"
132
  msgstr ""
133
 
134
- #: includes/class-wcpdf-settings.php:302
135
  msgid "A4"
136
  msgstr ""
137
 
138
- #: includes/class-wcpdf-settings.php:303
139
  msgid "Letter"
140
  msgstr ""
141
 
142
- #: includes/class-wcpdf-settings.php:310
143
  msgid "Shop header/logo"
144
  msgstr ""
145
 
146
- #: includes/class-wcpdf-settings.php:317
147
  msgid "Select or upload your invoice header/logo"
148
  msgstr ""
149
 
150
- #: includes/class-wcpdf-settings.php:318
151
  msgid "Set image"
152
  msgstr ""
153
 
154
- #: includes/class-wcpdf-settings.php:319
155
  msgid "Remove image"
156
  msgstr ""
157
 
158
- #: includes/class-wcpdf-settings.php:326
159
  msgid "Shop Name"
160
  msgstr ""
161
 
162
- #: includes/class-wcpdf-settings.php:339
163
  msgid "Shop Address"
164
  msgstr ""
165
 
166
- #: includes/class-wcpdf-settings.php:371
167
  msgid "Footer: terms & conditions, policies, etc."
168
  msgstr ""
169
 
170
- #: includes/class-wcpdf-settings.php:386
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  msgid "Display invoice date"
172
  msgstr ""
173
 
174
- #: includes/class-wcpdf-settings.php:399
175
  msgid "Display built-in sequential invoice number"
176
  msgstr ""
177
 
178
- #: includes/class-wcpdf-settings.php:412
179
  msgid "Next invoice number (without prefix/suffix etc.)"
180
  msgstr ""
181
 
182
- #: includes/class-wcpdf-settings.php:420
183
  msgid ""
184
  "This is the number that will be used on the next invoice that is created. By "
185
  "default, numbering starts from the WooCommerce Order Number of the first "
@@ -188,111 +232,128 @@ msgid ""
188
  "this could create double invoice numbers!"
189
  msgstr ""
190
 
191
- #: includes/class-wcpdf-settings.php:426
192
  msgid "Invoice number format"
193
  msgstr ""
194
 
195
- #: includes/class-wcpdf-settings.php:435
196
  msgid "Prefix"
197
  msgstr ""
198
 
199
- #: includes/class-wcpdf-settings.php:437
200
  msgid ""
201
  "to use the order year and/or month, use [order_year] or [order_month] "
202
  "respectively"
203
  msgstr ""
204
 
205
- #: includes/class-wcpdf-settings.php:440
206
  msgid "Suffix"
207
  msgstr ""
208
 
209
- #: includes/class-wcpdf-settings.php:445
210
  msgid "Padding"
211
  msgstr ""
212
 
213
- #: includes/class-wcpdf-settings.php:447
214
  msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
215
  msgstr ""
216
 
217
- #: includes/class-wcpdf-settings.php:450
218
  msgid ""
219
  "note: if you have already created a custom invoice number format with a "
220
  "filter, the above settings will be ignored"
221
  msgstr ""
222
 
223
- #: includes/class-wcpdf-settings.php:457
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
224
  msgid "Extra template fields"
225
  msgstr ""
226
 
227
- #: includes/class-wcpdf-settings.php:464
228
  msgid "Extra field 1"
229
  msgstr ""
230
 
231
- #: includes/class-wcpdf-settings.php:473
232
  msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
233
  msgstr ""
234
 
235
- #: includes/class-wcpdf-settings.php:479
236
  msgid "Extra field 2"
237
  msgstr ""
238
 
239
- #: includes/class-wcpdf-settings.php:488
240
  msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
241
  msgstr ""
242
 
243
- #: includes/class-wcpdf-settings.php:494
244
  msgid "Extra field 3"
245
  msgstr ""
246
 
247
- #: includes/class-wcpdf-settings.php:503
248
  msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
249
  msgstr ""
250
 
251
- #: includes/class-wcpdf-settings.php:545
252
  msgid "Debug settings"
253
  msgstr ""
254
 
255
- #: includes/class-wcpdf-settings.php:552
256
  msgid "Enable debug output"
257
  msgstr ""
258
 
259
- #: includes/class-wcpdf-settings.php:559
260
  msgid ""
261
  "Enable this option to output plugin errors if you're getting a blank page or "
262
  "other PDF generation issues"
263
  msgstr ""
264
 
265
- #: includes/class-wcpdf-settings.php:565
266
  msgid "Output to HTML"
267
  msgstr ""
268
 
269
- #: includes/class-wcpdf-settings.php:572
270
  msgid ""
271
  "Send the template output as HTML to the browser instead of creating a PDF."
272
  msgstr ""
273
 
274
- #: includes/class-wcpdf-settings.php:578
275
  msgid "Use old tmp folder"
276
  msgstr ""
277
 
278
- #: includes/class-wcpdf-settings.php:585
279
  msgid ""
280
  "Before version 1.5 of PDF Invoices, temporary files were stored in the "
281
  "plugin folder. This setting is only intended for backwards compatibility, "
282
  "not recommended on new installs!"
283
  msgstr ""
284
 
285
- #: includes/class-wcpdf-settings.php:829
286
  msgid "Image resolution"
287
  msgstr ""
288
 
289
- #: includes/class-wcpdf-settings.php:945
290
  msgid ""
291
  "<b>Warning!</b> The settings below are meant for debugging/development only. "
292
  "Do not use them on a live website!"
293
  msgstr ""
294
 
295
- #: includes/class-wcpdf-settings.php:954
296
  msgid ""
297
  "These are used for the (optional) footer columns in the <em>Modern "
298
  "(Premium)</em> template, but can also be used for other elements in your "
@@ -304,12 +365,12 @@ msgid "PDF Packing Slips"
304
  msgstr ""
305
 
306
  #: includes/class-wcpdf-writepanels.php:107
307
- #: includes/class-wcpdf-writepanels.php:200
308
  msgid "PDF Invoice"
309
  msgstr ""
310
 
311
  #: includes/class-wcpdf-writepanels.php:112
312
- #: includes/class-wcpdf-writepanels.php:205
313
  msgid "PDF Packing Slip"
314
  msgstr ""
315
 
@@ -317,28 +378,28 @@ msgstr ""
317
  msgid "Invoice Number"
318
  msgstr ""
319
 
320
- #: includes/class-wcpdf-writepanels.php:176
321
  msgid "Download invoice (PDF)"
322
  msgstr ""
323
 
324
- #: includes/class-wcpdf-writepanels.php:187
325
  msgid "Create PDF"
326
  msgstr ""
327
 
328
- #: includes/class-wcpdf-writepanels.php:248
329
  msgid "PDF Invoice Number (unformatted!)"
330
  msgstr ""
331
 
332
- #: includes/class-wcpdf-writepanels.php:251
333
- #: templates/pdf/Simple/invoice.php:36
334
  msgid "Invoice Date:"
335
  msgstr ""
336
 
337
- #: includes/class-wcpdf-writepanels.php:252
338
  msgid "h"
339
  msgstr ""
340
 
341
- #: includes/class-wcpdf-writepanels.php:252
342
  msgid "m"
343
  msgstr ""
344
 
@@ -451,112 +512,120 @@ msgstr ""
451
  msgid "For custom templates, contact us at %s."
452
  msgstr ""
453
 
454
- #: templates/pdf/Simple/html-document-wrapper.php:6
455
- #: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
456
- msgid "Invoice"
457
  msgstr ""
458
 
459
- #: templates/pdf/Simple/html-document-wrapper.php:6
460
- #: templates/pdf/Simple/packing-slip.php:9
461
- #: templates/pdf/Simple/packing-slip.php:21
462
- msgid "Packing Slip"
463
  msgstr ""
464
 
465
- #: templates/pdf/Simple/invoice.php:32
466
  msgid "Invoice Number:"
467
  msgstr ""
468
 
469
- #: templates/pdf/Simple/invoice.php:39
470
- #: templates/pdf/Simple/packing-slip.php:33
471
  msgid "Order Number:"
472
  msgstr ""
473
 
474
- #: templates/pdf/Simple/invoice.php:41
475
- #: templates/pdf/Simple/packing-slip.php:31
476
  msgid "Order Date:"
477
  msgstr ""
478
 
479
- #: templates/pdf/Simple/invoice.php:43
480
  msgid "Payment Method:"
481
  msgstr ""
482
 
483
- #: templates/pdf/Simple/invoice.php:58
484
- #: templates/pdf/Simple/packing-slip.php:48
485
  msgid "Product"
486
  msgstr ""
487
 
488
- #: templates/pdf/Simple/invoice.php:59
489
- #: templates/pdf/Simple/packing-slip.php:49
490
  msgid "Quantity"
491
  msgstr ""
492
 
493
- #: templates/pdf/Simple/invoice.php:60
494
  msgid "Price"
495
  msgstr ""
496
 
497
- #: templates/pdf/Simple/invoice.php:67
 
498
  msgid "Description"
499
  msgstr ""
500
 
501
- #: templates/pdf/Simple/invoice.php:70
 
502
  msgid "SKU"
503
  msgstr ""
504
 
505
- #: templates/pdf/Simple/invoice.php:71
506
- #: templates/pdf/Simple/packing-slip.php:58
507
  msgid "SKU:"
508
  msgstr ""
509
 
510
- #: templates/pdf/Simple/invoice.php:72
511
- #: templates/pdf/Simple/packing-slip.php:59
512
  msgid "Weight:"
513
  msgstr ""
514
 
515
- #: templates/pdf/Simple/invoice.php:107
516
- #: templates/pdf/Simple/packing-slip.php:75
517
  msgid "Customer Notes"
518
  msgstr ""
519
 
520
- #: woocommerce-pdf-invoices-packingslips.php:121
 
 
 
 
 
 
 
 
521
  #, php-format
522
  msgid ""
523
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
524
  "installed & activated!"
525
  msgstr ""
526
 
527
- #: woocommerce-pdf-invoices-packingslips.php:308
528
- #: woocommerce-pdf-invoices-packingslips.php:369
529
  msgid "N/A"
530
  msgstr ""
531
 
532
- #: woocommerce-pdf-invoices-packingslips.php:458
533
  msgid "Payment method"
534
  msgstr ""
535
 
536
- #: woocommerce-pdf-invoices-packingslips.php:469
537
  msgid "Shipping method"
538
  msgstr ""
539
 
540
- #: woocommerce-pdf-invoices-packingslips.php:590
541
  msgid "Subtotal"
542
  msgstr ""
543
 
544
- #: woocommerce-pdf-invoices-packingslips.php:612
545
  msgid "Shipping"
546
  msgstr ""
547
 
548
- #: woocommerce-pdf-invoices-packingslips.php:658
549
  msgid "Discount"
550
  msgstr ""
551
 
552
- #: woocommerce-pdf-invoices-packingslips.php:698
553
  msgid "VAT"
554
  msgstr ""
555
 
556
- #: woocommerce-pdf-invoices-packingslips.php:735
557
  msgid "Total ex. VAT"
558
  msgstr ""
559
 
560
- #: woocommerce-pdf-invoices-packingslips.php:738
561
  msgid "Total"
562
  msgstr ""
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"
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
  "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 "
365
  msgstr ""
366
 
367
  #: includes/class-wcpdf-writepanels.php:107
368
+ #: includes/class-wcpdf-writepanels.php:216
369
  msgid "PDF Invoice"
370
  msgstr ""
371
 
372
  #: includes/class-wcpdf-writepanels.php:112
373
+ #: includes/class-wcpdf-writepanels.php:221
374
  msgid "PDF Packing Slip"
375
  msgstr ""
376
 
378
  msgid "Invoice Number"
379
  msgstr ""
380
 
381
+ #: includes/class-wcpdf-writepanels.php:192
382
  msgid "Download invoice (PDF)"
383
  msgstr ""
384
 
385
+ #: includes/class-wcpdf-writepanels.php:203
386
  msgid "Create PDF"
387
  msgstr ""
388
 
389
+ #: includes/class-wcpdf-writepanels.php:264
390
  msgid "PDF Invoice Number (unformatted!)"
391
  msgstr ""
392
 
393
+ #: includes/class-wcpdf-writepanels.php:267
394
+ #: templates/pdf/Simple/invoice.php:55
395
  msgid "Invoice Date:"
396
  msgstr ""
397
 
398
+ #: includes/class-wcpdf-writepanels.php:268
399
  msgid "h"
400
  msgstr ""
401
 
402
+ #: includes/class-wcpdf-writepanels.php:268
403
  msgid "m"
404
  msgstr ""
405
 
512
  msgid "For custom templates, contact us at %s."
513
  msgstr ""
514
 
515
+ #: templates/pdf/Simple/invoice.php:29
516
+ #: templates/pdf/Simple/packing-slip.php:40
517
+ msgid "Billing Address:"
518
  msgstr ""
519
 
520
+ #: templates/pdf/Simple/invoice.php:40
521
+ msgid "Ship To:"
 
 
522
  msgstr ""
523
 
524
+ #: templates/pdf/Simple/invoice.php:49
525
  msgid "Invoice Number:"
526
  msgstr ""
527
 
528
+ #: templates/pdf/Simple/invoice.php:60
529
+ #: templates/pdf/Simple/packing-slip.php:48
530
  msgid "Order Number:"
531
  msgstr ""
532
 
533
+ #: templates/pdf/Simple/invoice.php:64
534
+ #: templates/pdf/Simple/packing-slip.php:52
535
  msgid "Order Date:"
536
  msgstr ""
537
 
538
+ #: templates/pdf/Simple/invoice.php:68
539
  msgid "Payment Method:"
540
  msgstr ""
541
 
542
+ #: templates/pdf/Simple/invoice.php:82
543
+ #: templates/pdf/Simple/packing-slip.php:70
544
  msgid "Product"
545
  msgstr ""
546
 
547
+ #: templates/pdf/Simple/invoice.php:83
548
+ #: templates/pdf/Simple/packing-slip.php:71
549
  msgid "Quantity"
550
  msgstr ""
551
 
552
+ #: templates/pdf/Simple/invoice.php:84
553
  msgid "Price"
554
  msgstr ""
555
 
556
+ #: templates/pdf/Simple/invoice.php:91
557
+ #: templates/pdf/Simple/packing-slip.php:78
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
 
581
+ #: templates/pdf/Simple/packing-slip.php:29
582
+ msgid "Shipping Address:"
583
+ msgstr ""
584
+
585
+ #: templates/pdf/Simple/packing-slip.php:56
586
+ msgid "Shipping Method:"
587
+ msgstr ""
588
+
589
+ #: woocommerce-pdf-invoices-packingslips.php:123
590
  #, php-format
591
  msgid ""
592
  "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
593
  "installed & activated!"
594
  msgstr ""
595
 
596
+ #: woocommerce-pdf-invoices-packingslips.php:330
597
+ #: woocommerce-pdf-invoices-packingslips.php:391
598
  msgid "N/A"
599
  msgstr ""
600
 
601
+ #: woocommerce-pdf-invoices-packingslips.php:480
602
  msgid "Payment method"
603
  msgstr ""
604
 
605
+ #: woocommerce-pdf-invoices-packingslips.php:491
606
  msgid "Shipping method"
607
  msgstr ""
608
 
609
+ #: woocommerce-pdf-invoices-packingslips.php:612
610
  msgid "Subtotal"
611
  msgstr ""
612
 
613
+ #: woocommerce-pdf-invoices-packingslips.php:634
614
  msgid "Shipping"
615
  msgstr ""
616
 
617
+ #: woocommerce-pdf-invoices-packingslips.php:687
618
  msgid "Discount"
619
  msgstr ""
620
 
621
+ #: woocommerce-pdf-invoices-packingslips.php:727
622
  msgid "VAT"
623
  msgstr ""
624
 
625
+ #: woocommerce-pdf-invoices-packingslips.php:764
626
  msgid "Total ex. VAT"
627
  msgstr ""
628
 
629
+ #: woocommerce-pdf-invoices-packingslips.php:767
630
  msgid "Total"
631
  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.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -136,8 +136,8 @@ 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
 
142
  = How can I display the HTML/CSS source for debugging/developing templates? =
143
  There's a setting on the Status tab of the settings page that allows you to toggle HTML output. Don't forget to turn if off after you're done testing!
@@ -200,22 +200,6 @@ function wpo_wcpdf_thank_you_link( $text, $order ) {
200
 
201
  alternatively, you can hook this text to the `woocommerce_thankyou` action, see [this thread](https://wordpress.org/support/topic/suggestion-for-the-faq?replies=5#post-6298810) on the support forum.
202
 
203
- = Why does the download link not display on the My Account page? =
204
- To prevent customers from prematurely creating invoices, the default setting is that a customer can only see/download an invoice from an order that already has an invoice - either created automatically for the email attachment, or manually by the shop manager. This means that ultimately the shop mananger determines whether an invoice is available to the customer. If you want to make the invoice available to everyone you can either of the following:
205
-
206
- 1. Change the email setting to attach invoices to processing and/or new order emails as well
207
- 2. Add a filter to your themes functions.php for greater control:
208
-
209
- `
210
- add_filter( 'wpo_wcpdf_myaccount_allowed_order_statuses', 'wpo_wcpdf_myaccount_allowed_order_statuses' );
211
- function wpo_wcpdf_myaccount_allowed_order_statuses( $allowed_statuses ) {
212
- // Possible statuses : pending, failed, on-hold, processing, completed, refunded, cancelled
213
- $allowed_statuses = array ( 'processing', 'completed' );
214
-
215
- return $allowed_statuses;
216
- }
217
- `
218
-
219
  = How can I get a copy of the invoice emailed to the shop manager? =
220
  The easiest way to do this is to just tick the 'new order' box. However, this also means that an invoice will be created for all new orders, also the ones that are never completed.
221
 
@@ -248,6 +232,22 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
248
 
249
  == Changelog ==
250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  = 1.5.5 =
252
  * Fix: Check for incomplete line tax data (Subscriptions compatibility)
253
  * Fix: More precise template path instructions
@@ -488,5 +488,5 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
488
 
489
  == Upgrade Notice ==
490
 
491
- = 1.5.5 =
492
  Version 1.5 changes where temporary files are stored - everything is now stored centrally in the WP uploads folder. For backwards compatibility, this feature is turned off by default, but we recommend to use the new folders. Check the plugin Status panel for more information!
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
  * 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
 
142
  = How can I display the HTML/CSS source for debugging/developing templates? =
143
  There's a setting on the Status tab of the settings page that allows you to toggle HTML output. Don't forget to turn if off after you're done testing!
200
 
201
  alternatively, you can hook this text to the `woocommerce_thankyou` action, see [this thread](https://wordpress.org/support/topic/suggestion-for-the-faq?replies=5#post-6298810) on the support forum.
202
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  = How can I get a copy of the invoice emailed to the shop manager? =
204
  The easiest way to do this is to just tick the 'new order' box. However, this also means that an invoice will be created for all new orders, also the ones that are never completed.
205
 
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
+
238
+ = 1.5.6 =
239
+ * Feature: Setting to show shipping address on invoice (does not work on custom templates based on previous versions!)
240
+ * Feature: My Account invoice download setting
241
+ * Feature: several new template actions
242
+ * Tweak: WooCommerce Bookings compatibility
243
+ * Tweak: Gerenal stylesheet cleanup
244
+ * Fix: temp path check/error on settings page
245
+ * Fix: Document titles for credit notes and proforma (Pro)
246
+ * Fix: Discount including tax
247
+ * Fix: Special characters on item meta (requires WooCommerce 2.3.6)
248
+ * Translations: Missing text domain on several strings
249
+ * Translations: Updated POT & Dutch
250
+
251
  = 1.5.5 =
252
  * Fix: Check for incomplete line tax data (Subscriptions compatibility)
253
  * Fix: More precise template path instructions
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!
templates/pdf/Simple/html-document-wrapper.php CHANGED
@@ -3,7 +3,7 @@
3
  <html>
4
  <head>
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
- <title><?php echo ($wpo_wcpdf->export->template_type == 'invoice')?__( 'Invoice', 'wpo_wcpdf' ):__( 'Packing Slip', 'wpo_wcpdf' ) ?></title>
7
  <style type="text/css"><?php $wpo_wcpdf->template_styles(); ?></style>
8
  <style type="text/css"><?php do_action( 'wpo_wcpdf_custom_styles', $wpo_wcpdf->export->template_type ); ?></style>
9
  </head>
3
  <html>
4
  <head>
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
+ <title><?php echo $wpo_wcpdf->get_template_name($wpo_wcpdf->export->template_type); ?></title>
7
  <style type="text/css"><?php $wpo_wcpdf->template_styles(); ?></style>
8
  <style type="text/css"><?php do_action( 'wpo_wcpdf_custom_styles', $wpo_wcpdf->export->template_type ); ?></style>
9
  </head>
templates/pdf/Simple/invoice.php CHANGED
@@ -15,57 +15,82 @@
15
  <div class="shop-address"><?php $wpo_wcpdf->shop_address(); ?></div>
16
  </td>
17
  </tr>
18
- <tr>
19
- <td>
20
- <h3 class="document-type-label">
21
- <?php if( $wpo_wcpdf->get_header_logo_id() ) echo apply_filters( 'wpo_wcpdf_invoice_title', __( 'Invoice', 'wpo_wcpdf' ) ); ?>
22
- </h3>
23
- <?php do_action( 'wpo_wcpdf_after_document_label', 'invoice' ); ?>
24
- </td>
25
- <td>&nbsp;</td>
26
- </tr>
27
 
 
 
 
28
  <tr>
29
- <td>
30
- <div class="order-information">
31
- <?php if ( isset($wpo_wcpdf->settings->template_settings['display_number']) && $wpo_wcpdf->settings->template_settings['display_number'] == 'invoice_number') { ?>
32
- <span class="order-number-label"><?php _e( 'Invoice Number:', 'wpo_wcpdf' ); ?></span>
33
- <span class="order-number"><?php $wpo_wcpdf->invoice_number(); ?></span><br />
 
 
 
34
  <?php } ?>
35
- <?php if ( isset($wpo_wcpdf->settings->template_settings['display_date']) && $wpo_wcpdf->settings->template_settings['display_date'] == 'invoice_date') { ?>
36
- <span class="order-date-label"><?php _e( 'Invoice Date:', 'wpo_wcpdf' ); ?></span>
37
- <span class="order-date"><?php $wpo_wcpdf->invoice_date(); ?></span><br />
 
 
38
  <?php } ?>
39
- <span class="order-number-label"><?php _e( 'Order Number:', 'wpo_wcpdf' ); ?></span>
40
- <span class="order-number"><?php $wpo_wcpdf->order_number(); ?></span><br />
41
- <span class="order-date-label"><?php _e( 'Order Date:', 'wpo_wcpdf' ); ?></span>
42
- <span class="order-date"><?php $wpo_wcpdf->order_date(); ?></span><br />
43
- <span class="order-payment-label"><?php _e( 'Payment Method:', 'wpo_wcpdf' ); ?></span>
44
- <span class="order-payment"><?php $wpo_wcpdf->payment_method(); ?></span><br />
45
- </div>
46
  </td>
47
- <td>
48
- <div class="recipient-address"><?php $wpo_wcpdf->billing_address(); ?></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  </td>
50
  </tr>
51
- </table><!-- head container -->
52
 
53
- <?php do_action( 'wpo_wcpdf_before_order_details', 'invoice' ); ?>
54
 
55
  <table class="order-details">
56
  <thead>
57
  <tr>
58
- <th class="product-label"><?php _e('Product', 'wpo_wcpdf'); ?></th>
59
- <th class="quantity-label"><?php _e('Quantity', 'wpo_wcpdf'); ?></th>
60
- <th class="price-label"><?php _e('Price', 'wpo_wcpdf'); ?></th>
61
  </tr>
62
  </thead>
63
  <tbody>
64
  <?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item ) : ?>
65
  <tr>
66
- <td class="description">
67
  <?php $description_label = __( 'Description', 'wpo_wcpdf' ); // registering alternate label translation ?>
68
- <span class="item-name"><?php echo $item['name']; ?></span><span class="item-meta"><?php echo $item['meta']; ?></span>
 
69
  <dl class="meta">
70
  <?php $description_label = __( 'SKU', 'wpo_wcpdf' ); // registering alternate label translation ?>
71
  <?php if( !empty( $item['sku'] ) ) : ?><dt><?php _e( 'SKU:', 'wpo_wcpdf' ); ?></dt><dd><?php echo $item['sku']; ?></dd><?php endif; ?>
@@ -79,7 +104,15 @@
79
  </tbody>
80
  <tfoot>
81
  <tr class="no-borders">
82
- <td class="no-borders" colspan="3">
 
 
 
 
 
 
 
 
83
  <table class="totals">
84
  <tfoot>
85
  <?php foreach( $wpo_wcpdf->get_woocommerce_totals() as $key => $total ) : ?>
@@ -92,26 +125,11 @@
92
  </tfoot>
93
  </table>
94
  </td>
95
-
96
  </tr>
97
  </tfoot>
98
- </table><!-- order-details -->
99
-
100
- <?php do_action( 'wpo_wcpdf_after_order_details', 'invoice' ); ?>
101
-
102
- <table class="notes container">
103
- <tr>
104
- <td colspan="3">
105
- <div class="notes-shipping">
106
- <?php if ( $wpo_wcpdf->get_shipping_notes() ) : ?>
107
- <h3><?php _e( 'Customer Notes', 'wpo_wcpdf' ); ?></h3>
108
- <?php $wpo_wcpdf->shipping_notes(); ?>
109
- <?php endif; ?>
110
- </div>
111
- </td>
112
- </tr>
113
- </table><!-- notes container -->
114
 
 
115
 
116
  <?php if ( $wpo_wcpdf->get_footer() ): ?>
117
  <div id="footer">
15
  <div class="shop-address"><?php $wpo_wcpdf->shop_address(); ?></div>
16
  </td>
17
  </tr>
18
+ </table>
19
+
20
+ <h1 class="document-type-label">
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>
28
+ <td class="address billing-address">
29
+ <!-- <h3><?php _e( 'Billing Address:', 'wpo_wcpdf' ); ?></h3> -->
30
+ <?php $wpo_wcpdf->billing_address(); ?>
31
+ <?php if ( isset($wpo_wcpdf->settings->template_settings['invoice_email']) ) { ?>
32
+ <div class="billing-email"><?php $wpo_wcpdf->billing_email(); ?></div>
33
+ <?php } ?>
34
+ <?php if ( isset($wpo_wcpdf->settings->template_settings['invoice_phone']) ) { ?>
35
+ <div class="billing-phone"><?php $wpo_wcpdf->billing_phone(); ?></div>
36
  <?php } ?>
37
+ </td>
38
+ <td class="address shipping-address">
39
+ <?php if ( isset($wpo_wcpdf->settings->template_settings['invoice_shipping_address']) && $wpo_wcpdf->get_billing_address() != $wpo_wcpdf->get_shipping_address()) { ?>
40
+ <h3><?php _e( 'Ship To:', 'wpo_wcpdf' ); ?></h3>
41
+ <?php $wpo_wcpdf->shipping_address(); ?>
42
  <?php } ?>
 
 
 
 
 
 
 
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>
50
+ <td><?php $wpo_wcpdf->invoice_number(); ?></td>
51
+ </tr>
52
+ <?php } ?>
53
+ <?php if ( isset($wpo_wcpdf->settings->template_settings['display_date']) && $wpo_wcpdf->settings->template_settings['display_date'] == 'invoice_date') { ?>
54
+ <tr class="invoice-date">
55
+ <th><?php _e( 'Invoice Date:', 'wpo_wcpdf' ); ?></th>
56
+ <td><?php $wpo_wcpdf->invoice_date(); ?></td>
57
+ </tr>
58
+ <?php } ?>
59
+ <tr class="order-number">
60
+ <th><?php _e( 'Order Number:', 'wpo_wcpdf' ); ?></th>
61
+ <td><?php $wpo_wcpdf->order_number(); ?></td>
62
+ </tr>
63
+ <tr class="order-date">
64
+ <th><?php _e( 'Order Date:', 'wpo_wcpdf' ); ?></th>
65
+ <td><?php $wpo_wcpdf->order_date(); ?></td>
66
+ </tr>
67
+ <tr class="payment-method">
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>
81
  <tr>
82
+ <th class="product"><?php _e('Product', 'wpo_wcpdf'); ?></th>
83
+ <th class="quantity"><?php _e('Quantity', 'wpo_wcpdf'); ?></th>
84
+ <th class="price"><?php _e('Price', 'wpo_wcpdf'); ?></th>
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; ?>
104
  </tbody>
105
  <tfoot>
106
  <tr class="no-borders">
107
+ <td class="no-borders">
108
+ <div class="customer-notes">
109
+ <?php if ( $wpo_wcpdf->get_shipping_notes() ) : ?>
110
+ <h3><?php _e( 'Customer Notes', 'wpo_wcpdf' ); ?></h3>
111
+ <?php $wpo_wcpdf->shipping_notes(); ?>
112
+ <?php endif; ?>
113
+ </div>
114
+ </td>
115
+ <td class="no-borders" colspan="2">
116
  <table class="totals">
117
  <tfoot>
118
  <?php foreach( $wpo_wcpdf->get_woocommerce_totals() as $key => $total ) : ?>
125
  </tfoot>
126
  </table>
127
  </td>
 
128
  </tr>
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">
templates/pdf/Simple/packing-slip.php CHANGED
@@ -15,46 +15,71 @@
15
  <div class="shop-address"><?php $wpo_wcpdf->shop_address(); ?></div>
16
  </td>
17
  </tr>
18
- <tr>
19
- <td>
20
- <h3 class="document-type-label">
21
- <?php if( $wpo_wcpdf->get_header_logo_id() ) echo apply_filters( 'wpo_wcpdf_packing_slip_title', __( 'Packing Slip', 'wpo_wcpdf' ) ); ?>
22
- </h3>
23
- <?php do_action( 'wpo_wcpdf_after_document_label', 'packing-slip' ); ?>
24
- </td>
25
- <td>&nbsp;</td>
26
- </tr>
27
 
 
28
  <tr>
29
- <td>
30
- <div class="order-information">
31
- <span class="order-date-label"><?php _e( 'Order Date:', 'wpo_wcpdf' ); ?></span>
32
- <span class="order-date"><?php $wpo_wcpdf->order_date(); ?></span><br />
33
- <span class="order-number-label"><?php _e( 'Order Number:', 'wpo_wcpdf' ); ?></span>
34
- <span class="order-number"><?php $wpo_wcpdf->order_number(); ?></span><br />
35
- </div>
 
 
36
  </td>
37
- <td>
38
- <div class="recipient-address"><?php $wpo_wcpdf->shipping_address(); ?></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  </td>
40
  </tr>
41
- </table><!-- head container -->
42
 
43
- <?php do_action( 'wpo_wcpdf_before_order_details', 'packing-slip' ); ?>
44
 
45
  <table class="order-details">
46
  <thead>
47
  <tr>
48
- <th class="product-label"><?php _e('Product', 'wpo_wcpdf'); ?></th>
49
- <th class="quantity-label"><?php _e('Quantity', 'wpo_wcpdf'); ?></th>
50
  </tr>
51
  </thead>
52
  <tbody>
53
  <?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item ) : ?>
54
  <tr>
55
- <td class="description">
56
- <span class="item-name"><?php echo $item['name']; ?></span><span class="item-meta"><?php echo $item['meta']; ?></span>
 
 
57
  <dl class="meta">
 
58
  <?php if( !empty( $item['sku'] ) ) : ?><dt><?php _e( 'SKU:', 'wpo_wcpdf' ); ?></dt><dd><?php echo $item['sku']; ?></dd><?php endif; ?>
59
  <?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; ?>
60
  </dl>
@@ -63,23 +88,16 @@
63
  </tr>
64
  <?php endforeach; endif; ?>
65
  </tbody>
66
- </table><!-- order-details -->
67
-
68
- <?php do_action( 'wpo_wcpdf_after_order_details', 'packing-slip' ); ?>
69
 
70
- <table class="notes container">
71
- <tr>
72
- <td colspan="3">
73
- <div class="notes-shipping">
74
- <?php if ( $wpo_wcpdf->get_shipping_notes() ) : ?>
75
- <h3><?php _e( 'Customer Notes', 'wpo_wcpdf' ); ?></h3>
76
- <?php $wpo_wcpdf->shipping_notes(); ?>
77
- <?php endif; ?>
78
- </div>
79
- </td>
80
- </tr>
81
- </table><!-- notes container -->
82
 
 
 
 
 
 
 
83
 
84
  <?php if ( $wpo_wcpdf->get_footer() ): ?>
85
  <div id="footer">
15
  <div class="shop-address"><?php $wpo_wcpdf->shop_address(); ?></div>
16
  </td>
17
  </tr>
18
+ </table>
19
+
20
+ <h1 class="document-type-label">
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>
28
+ <td class="address shipping-address">
29
+ <!-- <h3><?php _e( 'Shipping Address:', 'wpo_wcpdf' ); ?></h3> -->
30
+ <?php $wpo_wcpdf->shipping_address(); ?>
31
+ <?php if ( isset($wpo_wcpdf->settings->template_settings['packing_slip_email']) ) { ?>
32
+ <div class="billing-email"><?php $wpo_wcpdf->billing_email(); ?></div>
33
+ <?php } ?>
34
+ <?php if ( isset($wpo_wcpdf->settings->template_settings['packing_slip_phone']) ) { ?>
35
+ <div class="billing-phone"><?php $wpo_wcpdf->billing_phone(); ?></div>
36
+ <?php } ?>
37
  </td>
38
+ <td class="address billing-address">
39
+ <?php if ( isset($wpo_wcpdf->settings->template_settings['packing_slip_billing_address']) && $wpo_wcpdf->get_billing_address() != $wpo_wcpdf->get_shipping_address()) { ?>
40
+ <h3><?php _e( 'Billing Address:', 'wpo_wcpdf' ); ?></h3>
41
+ <?php $wpo_wcpdf->billing_address(); ?>
42
+ <?php } ?>
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>
50
+ </tr>
51
+ <tr class="order-date">
52
+ <th><?php _e( 'Order Date:', 'wpo_wcpdf' ); ?></th>
53
+ <td><?php $wpo_wcpdf->order_date(); ?></td>
54
+ </tr>
55
+ <tr class="shipping-method">
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>
69
  <tr>
70
+ <th class="product"><?php _e('Product', 'wpo_wcpdf'); ?></th>
71
+ <th class="quantity"><?php _e('Quantity', 'wpo_wcpdf'); ?></th>
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>
88
  </tr>
89
  <?php endforeach; endif; ?>
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() ) : ?>
97
+ <h3><?php _e( 'Customer Notes', 'wpo_wcpdf' ); ?></h3>
98
+ <?php $wpo_wcpdf->shipping_notes(); ?>
99
+ <?php endif; ?>
100
+ </div>
101
 
102
  <?php if ( $wpo_wcpdf->get_footer() ): ?>
103
  <div id="footer">
templates/pdf/Simple/style.css CHANGED
@@ -5,7 +5,7 @@
5
  font-weight: normal;
6
  src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v7/yYRnAC2KygoXnEC8IdU0gQLUuEpTyoUstqEm5AMlJo4.ttf) format('truetype');
7
  }
8
- @font-face {
9
  font-family: 'Open Sans';
10
  font-style: normal;
11
  font-weight: bold;
@@ -36,17 +36,28 @@ body {
36
  margin: 0cm;
37
  font-family: 'Open Sans', sans-serif;
38
  font-size: 9pt;
 
39
  }
40
 
41
- h1,
42
- h2,
43
- h3,
44
- h4 {
45
- font-size: 10pt;
46
  font-weight: bold;
47
  margin: 0;
48
  }
49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  ol,
51
  ul {
52
  list-style: none;
@@ -78,10 +89,14 @@ table {
78
  border-collapse: collapse;
79
  border-spacing: 0;
80
  page-break-inside: always;
 
 
 
81
  }
82
 
83
  th, td {
84
  vertical-align: top;
 
85
  }
86
 
87
  table.container {
@@ -99,6 +114,10 @@ td.no-borders {
99
  }
100
 
101
  /* Header */
 
 
 
 
102
  td.header img {
103
  max-height: 3cm;
104
  width: auto;
@@ -109,36 +128,36 @@ td.header {
109
  font-weight: 700;
110
  }
111
 
112
- td.header,
113
- td.shop-info {
114
- margin-bottom: 10mm !important;
115
- }
116
-
117
  td.shop-info {
118
  width: 40%;
119
  }
120
- /* Recipient & order information */
121
  .document-type-label {
122
  text-transform: uppercase;
123
  }
124
 
125
- .order-date-label,
126
- .order-number-label,
127
- .order-payment-label {
128
- width: 4cm;
129
- display: inline-block;
130
  }
131
 
132
- /* Order details */
 
 
 
 
 
 
 
133
 
 
134
  table.order-details {
135
  width:100%;
136
- margin-top: 1cm;
137
- margin-bottom: 1cm;
138
  }
139
 
140
- .quantity-label,
141
- .price-label {
142
  width: 20%;
143
  }
144
 
@@ -164,22 +183,6 @@ table.order-details {
164
  border-color: black;
165
  }
166
 
167
- .order-details .description img {
168
- width: 1.5cm;
169
- height: auto;
170
- }
171
-
172
- table.product,
173
- table.product td {
174
- margin: 0;
175
- border: 0;
176
- padding: 0;
177
- }
178
-
179
- table.product td.product-image {
180
- padding-right: 10px;
181
- }
182
-
183
 
184
  dl {
185
  margin: 4px 0;
@@ -188,6 +191,7 @@ dl {
188
  dt, dd, dd p {
189
  display: inline;
190
  font-size: 7pt;
 
191
  }
192
 
193
  dd {
@@ -199,7 +203,11 @@ dd:after {
199
  white-space: pre;
200
  }
201
 
202
- /* Totals */
 
 
 
 
203
  table.totals {
204
  width: 100%;
205
  margin-top: 5mm;
@@ -214,7 +222,7 @@ table.totals td {
214
 
215
  table.totals th.description,
216
  table.totals td.price {
217
- width: 20%;
218
  }
219
 
220
  table.totals tr:last-child td,
@@ -224,10 +232,6 @@ table.totals tr:last-child th {
224
  font-weight: bold;
225
  }
226
 
227
- table.totals td.price span:first-child {
228
- display: block;
229
- }
230
-
231
  /* Footer Imprint */
232
  #footer {
233
  position: absolute;
5
  font-weight: normal;
6
  src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v7/yYRnAC2KygoXnEC8IdU0gQLUuEpTyoUstqEm5AMlJo4.ttf) format('truetype');
7
  }
8
+ @font-face {
9
  font-family: 'Open Sans';
10
  font-style: normal;
11
  font-weight: bold;
36
  margin: 0cm;
37
  font-family: 'Open Sans', sans-serif;
38
  font-size: 9pt;
39
+ line-height: 100%; /* fixes inherit dompdf bug */
40
  }
41
 
42
+ h1, h2, h3, h4 {
 
 
 
 
43
  font-weight: bold;
44
  margin: 0;
45
  }
46
 
47
+ h1 {
48
+ font-size: 16pt;
49
+ margin: 5mm 0;
50
+ }
51
+
52
+ h2 {
53
+ font-size: 14pt;
54
+ }
55
+
56
+ h3, h4 {
57
+ font-size: 9pt;
58
+ }
59
+
60
+
61
  ol,
62
  ul {
63
  list-style: none;
89
  border-collapse: collapse;
90
  border-spacing: 0;
91
  page-break-inside: always;
92
+ border: 0;
93
+ margin: 0;
94
+ padding: 0;
95
  }
96
 
97
  th, td {
98
  vertical-align: top;
99
+ text-align: left;
100
  }
101
 
102
  table.container {
114
  }
115
 
116
  /* Header */
117
+ table.head {
118
+ margin-bottom: 12mm;
119
+ }
120
+
121
  td.header img {
122
  max-height: 3cm;
123
  width: auto;
128
  font-weight: 700;
129
  }
130
 
 
 
 
 
 
131
  td.shop-info {
132
  width: 40%;
133
  }
 
134
  .document-type-label {
135
  text-transform: uppercase;
136
  }
137
 
138
+ /* Recipient addressses & order data */
139
+ table.order-data-addresses {
140
+ width: 100%;
141
+ margin-bottom: 10mm;
 
142
  }
143
 
144
+ td.order-data {
145
+ width: 40%;
146
+ }
147
+
148
+ td.order-data table th {
149
+ font-weight: normal;
150
+ padding-right: 2mm;
151
+ }
152
 
153
+ /* Order details */
154
  table.order-details {
155
  width:100%;
156
+ margin-bottom: 8mm;
 
157
  }
158
 
159
+ .quantity,
160
+ .price {
161
  width: 20%;
162
  }
163
 
183
  border-color: black;
184
  }
185
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
 
187
  dl {
188
  margin: 4px 0;
191
  dt, dd, dd p {
192
  display: inline;
193
  font-size: 7pt;
194
+ line-height: 7pt;
195
  }
196
 
197
  dd {
203
  white-space: pre;
204
  }
205
 
206
+ /* Notes & Totals */
207
+ .customer-notes {
208
+ margin-top: 5mm;
209
+ }
210
+
211
  table.totals {
212
  width: 100%;
213
  margin-top: 5mm;
222
 
223
  table.totals th.description,
224
  table.totals td.price {
225
+ width: 50%;
226
  }
227
 
228
  table.totals tr:last-child td,
232
  font-weight: bold;
233
  }
234
 
 
 
 
 
235
  /* Footer Imprint */
236
  #footer {
237
  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.5
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.5';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
@@ -64,10 +64,12 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
64
  * Frontend/global Locale. Looks in:
65
  *
66
  * - WP_LANG_DIR/woocommerce-pdf-invoices-packing-slips/wpo_wcpdf-LOCALE.mo
 
67
  * - woocommerce-pdf-invoices-packing-slips/languages/wpo_wcpdf-LOCALE.mo (which if not found falls back to:)
68
  * - WP_LANG_DIR/plugins/wpo_wcpdf-LOCALE.mo
69
  */
70
  load_textdomain( 'wpo_wcpdf', $dir . 'woocommerce-pdf-invoices-packing-slips/wpo_wcpdf-' . $locale . '.mo' );
 
71
  load_plugin_textdomain( 'wpo_wcpdf', false, dirname( self::$plugin_basename ) . '/languages' );
72
  }
73
 
@@ -209,6 +211,26 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
209
  /********************** GENERAL TEMPLATE FUNCTIONS *********************/
210
  /***********************************************************************/
211
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  /**
213
  * Output template styles
214
  */
@@ -636,7 +658,14 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
636
  break;
637
  case 'total':
638
  // Total Discount - Cart & Order Discounts combined
639
- $discount_value = $this->export->order->get_total_discount();
 
 
 
 
 
 
 
640
  break;
641
  default:
642
  // Total Discount - Cart & Order Discounts combined
@@ -732,10 +761,10 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
732
  }
733
 
734
  $total = $this->export->wc_price( ( $total_unformatted - $total_tax ) );
735
- $label = __('Total ex. VAT');
736
  } else {
737
  $total = $this->export->order->get_formatted_order_total();
738
- $label = __('Total');
739
  }
740
 
741
  $grand_total = array(
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
  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?
64
  * Frontend/global Locale. Looks in:
65
  *
66
  * - WP_LANG_DIR/woocommerce-pdf-invoices-packing-slips/wpo_wcpdf-LOCALE.mo
67
+ * - WP_LANG_DIR/plugins/wpo_wcpdf-LOCALE.mo
68
  * - woocommerce-pdf-invoices-packing-slips/languages/wpo_wcpdf-LOCALE.mo (which if not found falls back to:)
69
  * - WP_LANG_DIR/plugins/wpo_wcpdf-LOCALE.mo
70
  */
71
  load_textdomain( 'wpo_wcpdf', $dir . 'woocommerce-pdf-invoices-packing-slips/wpo_wcpdf-' . $locale . '.mo' );
72
+ load_textdomain( 'wpo_wcpdf', $dir . 'plugins/wpo_wcpdf-' . $locale . '.mo' );
73
  load_plugin_textdomain( 'wpo_wcpdf', false, dirname( self::$plugin_basename ) . '/languages' );
74
  }
75
 
211
  /********************** GENERAL TEMPLATE FUNCTIONS *********************/
212
  /***********************************************************************/
213
 
214
+ /**
215
+ * Get template name from slug
216
+ */
217
+ public function get_template_name ( $template_type ) {
218
+ switch ( $template_type ) {
219
+ case 'invoice':
220
+ $template_name = apply_filters( 'wpo_wcpdf_invoice_title', __( 'Invoice', 'wpo_wcpdf' ) );
221
+ break;
222
+ case 'packing-slip':
223
+ $template_name = apply_filters( 'wpo_wcpdf_packing_slip_title', __( 'Packing Slip', 'wpo_wcpdf' ) );
224
+ break;
225
+ default:
226
+ // try to 'unslug' the name
227
+ $template_name = ucwords( str_replace( array( '_', '-' ), ' ', $template_type ) );
228
+ break;
229
+ }
230
+
231
+ return apply_filters( 'wpo_wcpdf_template_name', $template_name, $template_type );
232
+ }
233
+
234
  /**
235
  * Output template styles
236
  */
658
  break;
659
  case 'total':
660
  // Total Discount - Cart & Order Discounts combined
661
+ // $discount_value = $this->export->order->get_total_discount();
662
+ $discount_value = 0;
663
+ $items = $this->export->order->get_items();;
664
+ if( sizeof( $items ) > 0 ) {
665
+ foreach( $items as $item ) {
666
+ $discount_value += ($item['line_subtotal'] + $item['line_subtotal_tax']) - ($item['line_total'] + $item['line_tax']);
667
+ }
668
+ }
669
  break;
670
  default:
671
  // Total Discount - Cart & Order Discounts combined
761
  }
762
 
763
  $total = $this->export->wc_price( ( $total_unformatted - $total_tax ) );
764
+ $label = __( 'Total ex. VAT', 'wpo_wcpdf' );
765
  } else {
766
  $total = $this->export->order->get_formatted_order_total();
767
+ $label = __( 'Total', 'wpo_wcpdf' );
768
  }
769
 
770
  $grand_total = array(