WooCommerce PDF Invoices - Version 2.9.16

Version Description

  • August 3, 2018 =

  • Added: 'wpi_order_item_totals_left' action to template.

  • Improved: Translation files.

  • Fixed: VAT column not always displayed.

Download this release

Release Info

Developer baaaaas
Plugin Icon 128x128 WooCommerce PDF Invoices
Version 2.9.16
Comparing to
See all releases

Code changes from version 2.9.14 to 2.9.16

Files changed (32) hide show
  1. bootstrap.php +4 -4
  2. includes/abstracts/abstract-document.php +10 -9
  3. includes/abstracts/abstract-invoice.php +34 -17
  4. includes/class-template.php +155 -130
  5. includes/templates/invoice/simple/micro/body.php +1 -1
  6. includes/templates/invoice/simple/minimal/body.php +5 -3
  7. includes/templates/invoice/simple/minimal/header.php +3 -6
  8. includes/templates/packing-slip/simple/minimal/body.php +5 -5
  9. includes/templates/packing-slip/simple/minimal/header.php +3 -6
  10. includes/woocommerce-pdf-invoices.php +23 -0
  11. lang/woocommerce-pdf-invoices-cs_CZ.po +243 -223
  12. lang/woocommerce-pdf-invoices-de_DE.po +269 -232
  13. lang/woocommerce-pdf-invoices-es_ES.po +269 -232
  14. lang/woocommerce-pdf-invoices-et.po +241 -223
  15. lang/woocommerce-pdf-invoices-fr_FR.po +251 -234
  16. lang/woocommerce-pdf-invoices-it_IT.po +247 -229
  17. lang/woocommerce-pdf-invoices-lt_LT.po +249 -231
  18. lang/woocommerce-pdf-invoices-nb_NO.po +251 -237
  19. lang/woocommerce-pdf-invoices-nl_NL.mo +0 -0
  20. lang/woocommerce-pdf-invoices-nl_NL.po +240 -221
  21. lang/woocommerce-pdf-invoices-pl_PL.po +240 -223
  22. lang/woocommerce-pdf-invoices-ro_RO.po +240 -223
  23. lang/woocommerce-pdf-invoices-ru_RU.po +240 -223
  24. lang/woocommerce-pdf-invoices-sk_SK.po +240 -223
  25. lang/woocommerce-pdf-invoices-sl_SI.po +246 -231
  26. lang/woocommerce-pdf-invoices-sv_SE.po +247 -235
  27. readme.txt +13 -2
  28. vendor/autoload.php +1 -1
  29. vendor/autoload_52.php +1 -1
  30. vendor/composer/autoload_real.php +4 -4
  31. vendor/composer/autoload_real_52.php +3 -3
  32. vendor/composer/autoload_static.php +3 -3
bootstrap.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: WooCommerce PDF Invoices
4
* Plugin URI: https://wordpress.org/plugins/woocommerce-pdf-invoices
5
* Description: Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
6
- * Version: 2.9.14
7
* Author: Bas Elbers
8
* Author URI: http://wcpdfinvoices.com
9
* License: GPL-2.0+
@@ -11,7 +11,7 @@
11
* Text Domain: woocommerce-pdf-invoices
12
* Domain Path: /lang
13
* WC requires at least: 2.6.14
14
- * WC tested up to: 3.4.3
15
*/
16
17
defined( 'ABSPATH' ) or exit;
@@ -19,9 +19,9 @@ defined( 'ABSPATH' ) or exit;
19
/**
20
* @deprecated instead use WPI_VERSION.
21
*/
22
- define( 'BEWPI_VERSION', '2.9.14' );
23
24
- define( 'WPI_VERSION', '2.9.14' );
25
26
/**
27
* Load WooCommerce PDF Invoices plugin.
3
* Plugin Name: WooCommerce PDF Invoices
4
* Plugin URI: https://wordpress.org/plugins/woocommerce-pdf-invoices
5
* Description: Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
6
+ * Version: 2.9.16
7
* Author: Bas Elbers
8
* Author URI: http://wcpdfinvoices.com
9
* License: GPL-2.0+
11
* Text Domain: woocommerce-pdf-invoices
12
* Domain Path: /lang
13
* WC requires at least: 2.6.14
14
+ * WC tested up to: 3.4.4
15
*/
16
17
defined( 'ABSPATH' ) or exit;
19
/**
20
* @deprecated instead use WPI_VERSION.
21
*/
22
+ define( 'BEWPI_VERSION', '2.9.16' );
23
24
+ define( 'WPI_VERSION', '2.9.16' );
25
26
/**
27
* Load WooCommerce PDF Invoices plugin.
includes/abstracts/abstract-document.php CHANGED
@@ -83,7 +83,7 @@ if ( ! class_exists( 'BEWPI_Abstract_Document' ) ) {
83
* BEWPI_Abstract_Document constructor.
84
*/
85
public function __construct() {
86
- $templater = WPI()->templater();
87
$templater->set_order( $this->order );
88
$this->template = $templater->get_template( $this->type );
89
$this->general_options = get_option( 'bewpi_general_settings' ); // @todo remove.
@@ -121,7 +121,7 @@ if ( ! class_exists( 'BEWPI_Abstract_Document' ) ) {
121
'orientation' => 'P',
122
) );
123
/* @var mPDF $mpdf */
124
- $mpdf = new mPDF(
125
$mpdf_params['mode'],
126
$mpdf_params['format'],
127
$mpdf_params['default_font_size'],
@@ -165,17 +165,18 @@ if ( ! class_exists( 'BEWPI_Abstract_Document' ) ) {
165
$mpdf->autoMarginPadding = ( $is_new_template ) ? 25 : 10;
166
167
// Font.
168
- $mpdf->autoScriptToLang = true;
169
- $mpdf->autoLangToFont = true;
170
- $mpdf->baseScript = 1;
171
- $mpdf->autoVietnamese = true;
172
- $mpdf->autoArabic = true;
173
- $mpdf->useSubstitutions = true;
174
175
// Template.
176
$html = $this->get_html();
177
if ( count( $html ) === 0 ) {
178
- WPI()->logger()->error( sprintf( 'PDF generation aborted. No HTML for PDF in %1$s:%2$s', __FILE__, __LINE__ ) );
179
return;
180
}
181
83
* BEWPI_Abstract_Document constructor.
84
*/
85
public function __construct() {
86
+ $templater = WPI()->templater();
87
$templater->set_order( $this->order );
88
$this->template = $templater->get_template( $this->type );
89
$this->general_options = get_option( 'bewpi_general_settings' ); // @todo remove.
121
'orientation' => 'P',
122
) );
123
/* @var mPDF $mpdf */
124
+ $mpdf = new mPDF(
125
$mpdf_params['mode'],
126
$mpdf_params['format'],
127
$mpdf_params['default_font_size'],
165
$mpdf->autoMarginPadding = ( $is_new_template ) ? 25 : 10;
166
167
// Font.
168
+ $mpdf->autoScriptToLang = true;
169
+ $mpdf->autoLangToFont = true;
170
+ $mpdf->baseScript = 1;
171
+ $mpdf->autoVietnamese = true;
172
+ $mpdf->autoArabic = true;
173
+ $mpdf->useSubstitutions = true;
174
175
// Template.
176
$html = $this->get_html();
177
if ( count( $html ) === 0 ) {
178
+ WPI()->logger()->error( sprintf( 'PDF generation aborted. No HTML for PDF in %1$s:%2$s', __FILE__, __LINE__ ) );
179
+
180
return;
181
}
182
includes/abstracts/abstract-invoice.php CHANGED
@@ -416,21 +416,18 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
416
/**
417
* Adds line item description to columns data array.
418
*
419
- * @param array $data line item data.
420
- * @param int $item_id item ID.
421
- * @param object $item item object.
422
*/
423
public function add_description_column_data( &$data, $item_id, $item ) {
424
- $templater = WPI()->templater();
425
-
426
ob_start();
427
echo esc_html( $item['name'] );
428
429
do_action( 'wpi_order_item_meta_start', $item, $this->order );
430
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $this->order );
431
432
- $templater->wc_display_item_meta( $item, true );
433
- $templater->wc_display_item_downloads( $item, true );
434
435
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $this->order );
436
$description = ob_get_contents();
@@ -465,13 +462,20 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
465
/**
466
* Get line item data for all user selected columns.
467
*
468
- * @return array $data.
469
*/
470
- public function get_columns_data() {
471
$rows = array();
472
$prices_include_tax = WPI()->get_prop( $this->order, 'prices_include_tax' );
473
474
- foreach ( $this->order->get_items( 'line_item' ) as $item_id => $item ) {
475
$row = array();
476
477
$this->add_description_column_data( $row, $item_id, $item );
@@ -701,8 +705,8 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
701
$columns_count = $this->get_columns_count( $taxes_count );
702
$colspan = $this->get_colspan( $columns_count );
703
?>
704
- <style>
705
- <?php
706
// Create css for outlining the product cells.
707
$righter_product_row_tds_css = "";
708
for ( $td = $colspan['left'] + 1; $td <= $columns_count; $td++ ) {
@@ -715,10 +719,10 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
715
}
716
echo $righter_product_row_tds_css;
717
?>
718
- tr.product-row td:nth-child(1) {
719
- width: <?php echo $this->desc_cell_width; ?>;
720
- }
721
- </style>
722
<?php
723
}
724
@@ -764,7 +768,7 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
764
if ( $columns_count <= 4 ) :
765
$number_of_left_half_columns = 1;
766
$this->desc_cell_width = '48%';
767
- elseif ( $columns_count <= 6 ) :
768
$number_of_left_half_columns = 2;
769
$this->desc_cell_width = '35.50%';
770
endif;
@@ -796,6 +800,19 @@ if ( ! class_exists( 'BEWPI_Abstract_Invoice' ) ) {
796
return true;
797
}
798
799
/**
800
* Checks if invoice needs to have a zero rated VAT.
801
*
416
/**
417
* Adds line item description to columns data array.
418
*
419
+ * @param array $data line item data.
420
+ * @param int $item_id item ID.
421
+ * @param WC_Order_Item $item item object.
422
*/
423
public function add_description_column_data( &$data, $item_id, $item ) {
424
ob_start();
425
echo esc_html( $item['name'] );
426
427
do_action( 'wpi_order_item_meta_start', $item, $this->order );
428
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $this->order );
429
430
+ WPI()->templater()->display_item_meta( $item );
431
432
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $this->order );
433
$description = ob_get_contents();
462
/**
463
* Get line item data for all user selected columns.
464
*
465
+ * @param array $items line items.
466
+ *
467
+ * @return array
468
*/
469
+ public function get_columns_data( $items = array() ) {
470
+ // Make backwards compatible with older custom templates.
471
+ if ( count( $items ) === 0 ) {
472
+ $items = $this->order->get_items( 'line_item' );
473
+ }
474
+
475
$rows = array();
476
$prices_include_tax = WPI()->get_prop( $this->order, 'prices_include_tax' );
477
478
+ foreach ( $items as $item_id => $item ) {
479
$row = array();
480
481
$this->add_description_column_data( $row, $item_id, $item );
705
$columns_count = $this->get_columns_count( $taxes_count );
706
$colspan = $this->get_colspan( $columns_count );
707
?>
708
+ <style>
709
+ <?php
710
// Create css for outlining the product cells.
711
$righter_product_row_tds_css = "";
712
for ( $td = $colspan['left'] + 1; $td <= $columns_count; $td++ ) {
719
}
720
echo $righter_product_row_tds_css;
721
?>
722
+ tr.product-row td:nth-child(1) {
723
+ width: <?php echo $this->desc_cell_width; ?>;
724
+ }
725
+ </style>
726
<?php
727
}
728
768
if ( $columns_count <= 4 ) :
769
$number_of_left_half_columns = 1;
770
$this->desc_cell_width = '48%';
771
+ elseif ( $columns_count <= 6 ) :
772
$number_of_left_half_columns = 2;
773
$this->desc_cell_width = '35.50%';
774
endif;
800
return true;
801
}
802
803
+ /**
804
+ * Check if invoice needs zero rated vat.
805
+ *
806
+ * @return bool
807
+ */
808
+ public function is_vat_exempt() {
809
+ if ( count( $this->order->get_taxes() ) === 0 && 'true' === WPI()->get_meta( $this->order, '_vat_number_is_valid' ) ) {
810
+ return true;
811
+ }
812
+
813
+ return false;
814
+ }
815
+
816
/**
817
* Checks if invoice needs to have a zero rated VAT.
818
*
includes/class-template.php CHANGED
@@ -20,28 +20,30 @@ class BEWPI_Template {
20
* @var BEWPI_Template The single instance of the class.
21
*/
22
protected static $_instance = null;
23
-
24
/**
25
* WooCommerce order.
26
*
27
* @var WC_Order.
28
*/
29
public $order;
30
-
31
/**
32
* WooCommerce PDF Invoices invoice.
33
*
34
* @var BEWPI_Abstract_Invoice.
35
*/
36
public $invoice;
37
-
38
/**
39
* WooCommerce PDF Invoices packing slip.
40
*
41
* @var BEWPI_Packing_Slip.
42
*/
43
public $packing_slip;
44
-
45
/**
46
* Template directories.
47
*
@@ -50,11 +52,16 @@ class BEWPI_Template {
50
private $directories = array();
51
52
/**
53
- * String placeholders.
54
- *
55
- * @var array.
56
*/
57
- private static $placeholders = array( '[payment_method]', '[shipping_method]' );
58
59
/**
60
* Main BEWPI_Template Instance.
@@ -73,27 +80,6 @@ class BEWPI_Template {
73
return self::$_instance;
74
}
75
76
- /**
77
- * BEWPI_Template constructor.
78
- */
79
- private function __construct() {
80
- $upload_dir = wp_upload_dir();
81
- $this->directories = apply_filters( 'bewpi_template_directories', array(
82
- $upload_dir['basedir'] . '/bewpi-templates', // Old custom templates directory.
83
- WPI_TEMPLATES_DIR, // uploads/woocommerce-pdf-invoices/templates.
84
- WPI_DIR . '/includes/templates',
85
- ) );
86
- }
87
-
88
- /**
89
- * Get current active template name.
90
- *
91
- * @return string.
92
- */
93
- public function get_active_template() {
94
- return (string) WPI()->get_option( 'template', 'template_name' );
95
- }
96
-
97
/**
98
* Get template files.
99
*
@@ -117,7 +103,7 @@ class BEWPI_Template {
117
118
$files = array_merge( glob( $template_path . '/*.php' ), glob( $template_path . '/*.css' ) );
119
foreach ( $files as $full_path ) {
120
- $file = pathinfo( $full_path );
121
$template[ $file['filename'] ] = $full_path;
122
}
123
@@ -125,91 +111,52 @@ class BEWPI_Template {
125
}
126
127
if ( count( $template ) === 0 ) {
128
- WPI()->logger()->error( sprintf( 'PDF generation aborted. Template not found in %1$s:%2$s', __FILE__, __LINE__ ) );
129
}
130
131
return $template;
132
}
133
134
/**
135
- * @param $directory
136
- */
137
- public function add_directory( $directory ) {
138
- $this->directories[] = $directory;
139
- }
140
-
141
- /**
142
- * Get absolute paths of all invoice/simple templates.
143
*
144
- * @return array
145
*/
146
- public function get_templates() {
147
- $templates = array();
148
-
149
- foreach ( $this->directories as $directory ) {
150
- $templates = array_merge( $templates, glob( $directory . '/invoice/simple/*', GLOB_ONLYDIR ) );
151
- }
152
-
153
- return $templates;
154
}
155
156
/**
157
- * Get template options by key.
158
- *
159
- * @param string $name the option key.
160
*
161
- * @return string
162
*/
163
- public function get_option( $name ) {
164
- $template_options = get_option( 'bewpi_template_settings' );
165
-
166
- $order_id = BEWPI_WC_Order_Compatibility::get_id( $this->order );
167
- $value = apply_filters( $name, $template_options[ $name ], $name, $order_id );
168
-
169
- if ( self::has_placeholder( $value ) ) {
170
- $value = $this->replace_placeholders( $value );
171
- }
172
-
173
- return $value;
174
}
175
176
/**
177
- * Checks if string has placeholders.
178
*
179
- * @param string $value Text value.
180
- *
181
- * @return bool
182
*/
183
- private static function has_placeholder( $value ) {
184
- foreach ( self::$placeholders as $placeholder ) {
185
- if ( strpos( $value, $placeholder ) !== false ) {
186
- return true;
187
- }
188
- }
189
-
190
- return false;
191
}
192
193
/**
194
- * Replace template placeholder within string.
195
- *
196
- * @param string $value string to format.
197
*
198
- * @return string
199
*/
200
- private function replace_placeholders( $value ) {
201
- $payment_gateway = wc_get_payment_gateway_by_order( $this->order );
202
203
- $value = str_replace(
204
- self::$placeholders,
205
- array(
206
- ( $payment_gateway ) ? $payment_gateway->get_title() : $value,
207
- $this->order->get_shipping_method(),
208
- ),
209
- $value
210
- );
211
212
- return $value;
213
}
214
215
/**
@@ -219,6 +166,7 @@ class BEWPI_Template {
219
*
220
* @return bool
221
* @since 2.5.3
222
*/
223
public function has_only_virtual_products( $items ) {
224
foreach ( $items as $item ) {
@@ -232,48 +180,73 @@ class BEWPI_Template {
232
}
233
234
/**
235
- * Strip some non-inline elements.
236
*
237
- * @param string $string Value.
238
- *
239
- * @return mixed
240
*/
241
- private function strip_non_inline_tags( $string ) {
242
- return str_replace( array( '<p>', '</p>', '<br>', '</br>' ), '', $string );
243
}
244
245
/**
246
* Order item meta port.
247
*
248
- * @param object $item Order item meta.
249
- * @param bool $inline Strip <b> and <p> tags to avoid breaks.
250
*/
251
public function wc_display_item_meta( $item, $inline = false ) {
252
if ( function_exists( 'wc_display_item_meta' ) ) {
253
254
if ( $inline ) {
255
echo $this->strip_non_inline_tags( wc_display_item_meta( $item, array( 'echo' => false ) ) );
256
return;
257
}
258
259
wc_display_item_meta( $item );
260
261
} else {
262
- $this->order->display_item_meta( $item );
263
}
264
}
265
266
/**
267
* Order item downloads meta.
268
*
269
* @param object $item Order item.
270
* @param bool $inline Strip <b> and <p> tags to avoid breaks.
271
*/
272
public function wc_display_item_downloads( $item, $inline = false ) {
273
if ( function_exists( 'wc_display_item_downloads' ) ) {
274
275
if ( $inline ) {
276
echo $this->strip_non_inline_tags( wc_display_item_downloads( $item, array( 'echo' => false ) ) );
277
return;
278
}
279
@@ -287,8 +260,8 @@ class BEWPI_Template {
287
/**
288
* Display column recursively.
289
*
290
- * @param string $key Column ID.
291
- * @param array/string $data Column or column label.
292
*/
293
public function display_header_recursive( $key, $data ) {
294
if ( is_array( $data ) ) {
@@ -305,8 +278,8 @@ class BEWPI_Template {
305
/**
306
* Display row recursively.
307
*
308
- * @param string $key Column ID.
309
- * @param array/string $data Column or column label.
310
*/
311
public function display_data_recursive( $key, $data ) {
312
if ( is_array( $data ) ) {
@@ -320,15 +293,6 @@ class BEWPI_Template {
320
printf( '<td class="%1$s">%2$s</td>', esc_attr( $key ), $data );
321
}
322
323
- /**
324
- * Template uses advanced table content?
325
- *
326
- * @return bool.
327
- */
328
- public function has_advanced_table_content() {
329
- return (bool) WPI()->get_option( 'template', 'enable_advanced_table_content' );
330
- }
331
-
332
/**
333
* Template needs to show sku as meta data.
334
*
@@ -343,15 +307,94 @@ class BEWPI_Template {
343
return $this->has_advanced_table_content() && (bool) WPI()->get_option( 'template', 'show_sku_meta' );
344
}
345
346
/**
347
* Get the company logo URL.
348
*
349
* @return string The actual url from the Media Library.
350
*/
351
public function get_logo_url() {
352
return esc_url_raw( $this->get_option( 'bewpi_company_logo' ) );
353
}
354
355
/**
356
* Get custom post meta data.
357
*
@@ -381,24 +424,6 @@ class BEWPI_Template {
381
return substr( get_locale(), 0, 2 );
382
}
383
384
- /**
385
- * Get order object.
386
- *
387
- * @return WC_Order $order order object.
388
- */
389
- public function get_order() {
390
- return $this->order;
391
- }
392
-
393
- /**
394
- * Set order.
395
- *
396
- * @param WC_Order $order WooCommerce Order object.
397
- */
398
- public function set_order( $order ) {
399
- $this->order = $order;
400
- }
401
-
402
/**
403
* Set invoice.
404
*
20
* @var BEWPI_Template The single instance of the class.
21
*/
22
protected static $_instance = null;
23
+ /**
24
+ * String placeholders.
25
+ *
26
+ * @var array.
27
+ */
28
+ private static $placeholders = array( '[payment_method]', '[shipping_method]' );
29
/**
30
* WooCommerce order.
31
*
32
* @var WC_Order.
33
*/
34
public $order;
35
/**
36
* WooCommerce PDF Invoices invoice.
37
*
38
* @var BEWPI_Abstract_Invoice.
39
*/
40
public $invoice;
41
/**
42
* WooCommerce PDF Invoices packing slip.
43
*
44
* @var BEWPI_Packing_Slip.
45
*/
46
public $packing_slip;
47
/**
48
* Template directories.
49
*
52
private $directories = array();
53
54
/**
55
+ * BEWPI_Template constructor.
56
*/
57
+ private function __construct() {
58
+ $upload_dir = wp_upload_dir();
59
+ $this->directories = apply_filters( 'bewpi_template_directories', array(
60
+ $upload_dir['basedir'] . '/bewpi-templates', // Old custom templates directory.
61
+ WPI_TEMPLATES_DIR, // uploads/woocommerce-pdf-invoices/templates.
62
+ WPI_DIR . '/includes/templates',
63
+ ) );
64
+ }
65
66
/**
67
* Main BEWPI_Template Instance.
80
return self::$_instance;
81
}
82
83
/**
84
* Get template files.
85
*
103
104
$files = array_merge( glob( $template_path . '/*.php' ), glob( $template_path . '/*.css' ) );
105
foreach ( $files as $full_path ) {
106
+ $file = pathinfo( $full_path );
107
$template[ $file['filename'] ] = $full_path;
108
}
109
111
}
112
113
if ( count( $template ) === 0 ) {
114
+ WPI()->logger()->error( sprintf( 'PDF generation aborted. Template not found in %1$s:%2$s', __FILE__, __LINE__ ) );
115
}
116
117
return $template;
118
}
119
120
/**
121
+ * Get order object.
122
*
123
+ * @return WC_Order $order order object.
124
*/
125
+ public function get_order() {
126
+ return $this->order;
127
}
128
129
/**
130
+ * Set order.
131
*
132
+ * @param WC_Order $order WooCommerce Order object.
133
*/
134
+ public function set_order( $order ) {
135
+ $this->order = $order;
136
}
137
138
/**
139
+ * Add dir.
140
*
141
+ * @param string $directory dir.
142
*/
143
+ public function add_directory( $directory ) {
144
+ $this->directories[] = $directory;
145
}
146
147
/**
148
+ * Get absolute paths of all invoice/simple templates.
149
*
150
+ * @return array
151
*/
152
+ public function get_templates() {
153
+ $templates = array();
154
155
+ foreach ( $this->directories as $directory ) {
156
+ $templates = array_merge( $templates, glob( $directory . '/invoice/simple/*', GLOB_ONLYDIR ) );
157
+ }
158
159
+ return $templates;
160
}
161
162
/**
166
*
167
* @return bool
168
* @since 2.5.3
169
+ * @deprecated Use 'WPI()->has_only_virtual_product( $order )' instead.
170
*/
171
public function has_only_virtual_products( $items ) {
172
foreach ( $items as $item ) {
180
}
181
182
/**
183
+ * Order item meta.
184
*
185
+ * @param WC_Order_Item $item Order item meta.
186
*/
187
+ public function display_item_meta( $item ) {
188
+ echo '<ul class="wc-item-meta">';
189
+ foreach ( $item->get_formatted_meta_data() as $meta_id => $meta ) {
190
+ echo '<li><strong class="wc-item-meta-label">' . esc_html( wp_filter_nohtml_kses( $meta->display_key ) ) . ':</strong> ' . esc_html( wp_filter_nohtml_kses( $meta->display_value ) ) . '</li>';
191
+ }
192
+ echo '</ul>';
193
}
194
195
/**
196
* Order item meta port.
197
*
198
+ * @param WC_Order_Item $item Order item meta.
199
+ * @param bool $inline Strip <b> and <p> tags to avoid breaks.
200
+ *
201
+ * @deprecated Make sure to remove it from your custom template since this will be removed in future releases.
202
*/
203
public function wc_display_item_meta( $item, $inline = false ) {
204
+ _deprecated_function( __FUNCTION__, 'WooCommerce PDF Invoices 2.9.13', 'WPI()->templater()->display_item_meta( $item )' );
205
if ( function_exists( 'wc_display_item_meta' ) ) {
206
207
if ( $inline ) {
208
echo $this->strip_non_inline_tags( wc_display_item_meta( $item, array( 'echo' => false ) ) );
209
+
210
return;
211
}
212
213
wc_display_item_meta( $item );
214
215
} else {
216
+ $this->order->display_item_meta( (array) $item );
217
}
218
}
219
220
+ /**
221
+ * Strip some non-inline elements.
222
+ *
223
+ * @param string $string Value.
224
+ *
225
+ * @deprecated Make sure to remove it from your custom template since this will be removed in future releases.
226
+ *
227
+ * @return mixed
228
+ */
229
+ public function strip_non_inline_tags( $string ) {
230
+ _deprecated_function( __FUNCTION__, 'WooCommerce PDF Invoices 2.9.13', 'wp_filter_nohtml_kses()' );
231
+
232
+ return str_replace( array( '<p>', '</p>', '<br>', '</br>' ), '', $string );
233
+ }
234
+
235
/**
236
* Order item downloads meta.
237
*
238
* @param object $item Order item.
239
* @param bool $inline Strip <b> and <p> tags to avoid breaks.
240
+ *
241
+ * @deprecated No longer used within the template files since it is triggering a Fatal Error and does not get used anyway. Make sure to remove it from your custom template since this will be removed in future releases.
242
*/
243
public function wc_display_item_downloads( $item, $inline = false ) {
244
+ _deprecated_function( __FUNCTION__, 'WooCommerce PDF Invoices 2.9.13', 'wc_display_item_downloads( $item )' );
245
if ( function_exists( 'wc_display_item_downloads' ) ) {
246
247
if ( $inline ) {
248
echo $this->strip_non_inline_tags( wc_display_item_downloads( $item, array( 'echo' => false ) ) );
249
+
250
return;
251
}
252
260
/**
261
* Display column recursively.
262
*
263
+ * @param string $key Column ID.
264
+ * @param array $data Column or column label.
265
*/
266
public function display_header_recursive( $key, $data ) {
267
if ( is_array( $data ) ) {
278
/**
279
* Display row recursively.
280
*
281
+ * @param string $key Column ID.
282
+ * @param array $data Column or column label.
283
*/
284
public function display_data_recursive( $key, $data ) {
285
if ( is_array( $data ) ) {
293
printf( '<td class="%1$s">%2$s</td>', esc_attr( $key ), $data );
294
}
295
296
/**
297
* Template needs to show sku as meta data.
298
*
307
return $this->has_advanced_table_content() && (bool) WPI()->get_option( 'template', 'show_sku_meta' );
308
}
309
310
+ /**
311
+ * Get current active template name.
312
+ *
313
+ * @return string.
314
+ */
315
+ public function get_active_template() {
316
+ return (string) WPI()->get_option( 'template', 'template_name' );
317
+ }
318
+
319
+ /**
320
+ * Template uses advanced table content?
321
+ *
322
+ * @return bool.
323
+ */
324
+ public function has_advanced_table_content() {
325
+ return (bool) WPI()->get_option( 'template', 'enable_advanced_table_content' );
326
+ }
327
+
328
/**
329
* Get the company logo URL.
330
*
331
+ * @deprecated use 'esc_url_raw( WPI()->get_option( 'template', 'company_logo' )' instead.
332
+ *
333
* @return string The actual url from the Media Library.
334
*/
335
public function get_logo_url() {
336
return esc_url_raw( $this->get_option( 'bewpi_company_logo' ) );
337
}
338
339
+ /**
340
+ * Get template options by key.
341
+ *
342
+ * @param string $name the option key.
343
+ *
344
+ * @return string
345
+ */
346
+ public function get_option( $name ) {
347
+ $template_options = get_option( 'bewpi_template_settings' );
348
+
349
+ $order_id = BEWPI_WC_Order_Compatibility::get_id( $this->order );
350
+ $value = apply_filters( $name, $template_options[ $name ], $name, $order_id );
351
+
352
+ if ( self::has_placeholder( $value ) ) {
353
+ $value = $this->replace_placeholders( $value );
354
+ }
355
+
356
+ return $value;
357
+ }
358
+
359
+ /**
360
+ * Checks if string has placeholders.
361
+ *
362
+ * @param string $value Text value.
363
+ *
364
+ * @return bool
365
+ */
366
+ private static function has_placeholder( $value ) {
367
+ foreach ( self::$placeholders as $placeholder ) {
368
+ if ( strpos( $value, $placeholder ) !== false ) {
369
+ return true;
370
+ }
371
+ }
372
+
373
+ return false;
374
+ }
375
+
376
+ /**
377
+ * Replace template placeholder within string.
378
+ *
379
+ * @param string $value string to format.
380
+ *
381
+ * @return string
382
+ */
383
+ private function replace_placeholders( $value ) {
384
+ $payment_gateway = wc_get_payment_gateway_by_order( $this->order );
385
+
386
+ $value = str_replace(
387
+ self::$placeholders,
388
+ array(
389
+ ( $payment_gateway ) ? $payment_gateway->get_title() : $value,
390
+ $this->order->get_shipping_method(),
391
+ ),
392
+ $value
393
+ );
394
+
395
+ return $value;
396
+ }
397
+
398
/**
399
* Get custom post meta data.
400
*
424
return substr( get_locale(), 0, 2 );
425
}
426
427
/**
428
* Set invoice.
429
*
includes/templates/invoice/simple/micro/body.php CHANGED
@@ -20,7 +20,7 @@ echo $this->outlining_columns_html( count( $this->order->get_taxes() ) );
20
$formatted_shipping_address = $this->order->get_formatted_shipping_address();
21
if ( $this->template_options['bewpi_show_ship_to'] && ! empty( $formatted_shipping_address ) && ! $this->has_only_virtual_products() ) { ?>
22
<td class="address small-font" width="50%">
23
- <b><?php _e( 'Ship to', 'woocommerce-pdf-invoices' ); ?></b><br/>
24
<?php echo $formatted_shipping_address; ?>
25
</td>
26
<?php } ?>
20
$formatted_shipping_address = $this->order->get_formatted_shipping_address();
21
if ( $this->template_options['bewpi_show_ship_to'] && ! empty( $formatted_shipping_address ) && ! $this->has_only_virtual_products() ) { ?>
22
<td class="address small-font" width="50%">
23
+ <b><?php _e( 'Ship to:', 'woocommerce-pdf-invoices' ); ?></b><br/>
24
<?php echo $formatted_shipping_address; ?>
25
</td>
26
<?php } ?>
includes/templates/invoice/simple/minimal/body.php CHANGED
@@ -66,7 +66,7 @@ $terms = $templater->get_option( 'bewpi_terms' );
66
67
<td>
68
<?php
69
- if ( $templater->get_option( 'bewpi_show_ship_to' ) && ! $templater->has_only_virtual_products( $line_items ) ) {
70
printf( '<strong>%s</strong><br />', esc_html__( 'Ship to:', 'woocommerce-pdf-invoices' ) );
71
echo $formatted_shipping_address;
72
}
@@ -95,7 +95,7 @@ $terms = $templater->get_option( 'bewpi_terms' );
95
}
96
97
echo '</tr>';
98
- } // End foreach().
99
?>
100
101
<tr class="spacer">
@@ -114,7 +114,9 @@ $terms = $templater->get_option( 'bewpi_terms' );
114
?>
115
116
<tr class="total">
117
- <td width="50%"></td>
118
119
<td width="25%" align="left" class="border <?php echo esc_attr( $class ); ?>">
120
<?php echo $total['label']; ?>
66
67
<td>
68
<?php
69
+ if ( $templater->get_option( 'bewpi_show_ship_to' ) && ! WPI()->has_only_virtual_products( $order ) ) {
70
printf( '<strong>%s</strong><br />', esc_html__( 'Ship to:', 'woocommerce-pdf-invoices' ) );
71
echo $formatted_shipping_address;
72
}
95
}
96
97
echo '</tr>';
98
+ }
99
?>
100
101
<tr class="spacer">
114
?>
115
116
<tr class="total">
117
+ <td width="50%">
118
+ <?php do_action( 'wpi_order_item_totals_left', $key, $invoice ); ?>
119
+ </td>
120
121
<td width="25%" align="left" class="border <?php echo esc_attr( $class ); ?>">
122
<?php echo $total['label']; ?>
includes/templates/invoice/simple/minimal/header.php CHANGED
@@ -15,25 +15,22 @@
15
* @version 0.0.1
16
*/
17
18
- $templater = WPI()->templater();
19
- $order = $templater->order;
20
- $invoice = $templater->invoice;
21
?>
22
23
<table cellpadding="0" cellspacing="0">
24
<tr class="top">
25
<td>
26
<?php
27
- if ( $templater->get_logo_url() ) {
28
printf( '<img src="var:company_logo" style="max-height:100px;"/>' );
29
} else {
30
- printf( '<h2>%s</h2>', esc_html( $templater->get_option( 'bewpi_company_name' ) ) );
31
}
32
?>
33
</td>
34
35
<td>
36
- <?php echo nl2br( $templater->get_option( 'bewpi_company_address' ) ); ?>
37
</td>
38
</tr>
39
</table>
15
* @version 0.0.1
16
*/
17
18
?>
19
20
<table cellpadding="0" cellspacing="0">
21
<tr class="top">
22
<td>
23
<?php
24
+ if ( WPI()->get_option( 'template', 'company_logo' ) ) {
25
printf( '<img src="var:company_logo" style="max-height:100px;"/>' );
26
} else {
27
+ printf( '<h2>%s</h2>', esc_html( WPI()->get_option( 'template', 'company_name' ) ) );
28
}
29
?>
30
</td>
31
32
<td>
33
+ <?php echo nl2br( WPI()->get_option( 'template', 'company_address' ) ); ?>
34
</td>
35
</tr>
36
</table>
includes/templates/packing-slip/simple/minimal/body.php CHANGED
@@ -90,14 +90,14 @@ $color = $templater->get_option( 'bewpi_color_theme' );
90
91
<td width="65%">
92
<?php
93
- echo $item['name'];
94
95
- do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order );
96
97
- $templater->wc_display_item_meta( $item, true );
98
- $templater->wc_display_item_downloads( $item, true );
99
100
- do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order );
101
?>
102
</td>
103
90
91
<td width="65%">
92
<?php
93
+ echo esc_html( $item['name'] );
94
95
+ do_action( 'wpi_order_item_meta_start', $item, $this->order );
96
+ do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $this->order );
97
98
+ WPI()->templater()->display_item_meta( $item );
99
100
+ do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $this->order );
101
?>
102
</td>
103
includes/templates/packing-slip/simple/minimal/header.php CHANGED
@@ -15,25 +15,22 @@
15
* @version 0.0.1
16
*/
17
18
- $templater = WPI()->templater();
19
- $document = $templater->packing_slip;
20
- $order = $templater->order;
21
?>
22
23
<table>
24
<tr class="top">
25
<td>
26
<?php
27
- if ( $templater->get_logo_url() ) {
28
printf( '<img src="var:company_logo" style="max-height:100px;"/>' );
29
} else {
30
- printf( '<h2>%s</h2>', esc_html( $templater->get_option( 'bewpi_company_name' ) ) );
31
}
32
?>
33
</td>
34
35
<td>
36
- <?php echo nl2br( $templater->get_option( 'bewpi_company_address' ) ); ?>
37
</td>
38
</tr>
39
</table>
15
* @version 0.0.1
16
*/
17
18
?>
19
20
<table>
21
<tr class="top">
22
<td>
23
<?php
24
+ if ( WPI()->get_option( 'template', 'company_logo' ) ) {
25
printf( '<img src="var:company_logo" style="max-height:100px;"/>' );
26
} else {
27
+ printf( '<h2>%s</h2>', esc_html( WPI()->get_option( 'template', 'company_name' ) ) );
28
}
29
?>
30
</td>
31
32
<td>
33
+ <?php echo nl2br( WPI()->get_option( 'template', 'company_address' ) ); ?>
34
</td>
35
</tr>
36
</table>
includes/woocommerce-pdf-invoices.php CHANGED
@@ -1030,6 +1030,29 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
1030
return array_slice( $selected_totals, 0, $subtotal );
1031
}
1032
1033
/**
1034
* Get prefix.
1035
*
1030
return array_slice( $selected_totals, 0, $subtotal );
1031
}
1032
1033
+ /**
1034
+ * Check if order has only virtual products.
1035
+ *
1036
+ * @param WC_Order $order order object.
1037
+ *
1038
+ * @return bool
1039
+ */
1040
+ public function has_only_virtual_products( $order ) {
1041
+ foreach ( $order->get_items( 'line_item' ) as $item ) {
1042
+ /**
1043
+ * Product order item object.
1044
+ *
1045
+ * @var WC_Order_Item_Product $item product.
1046
+ */
1047
+ $product = $item->get_product();
1048
+ if ( ! $product || ! $product->is_virtual() ) {
1049
+ return false;
1050
+ }
1051
+ }
1052
+
1053
+ return true;
1054
+ }
1055
+
1056
/**
1057
* Get prefix.
1058
*
lang/woocommerce-pdf-invoices-cs_CZ.po CHANGED
@@ -7,8 +7,8 @@ msgid ""
7
msgstr ""
8
"Project-Id-Version: WooCommerce PDF Invoices\n"
9
"Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2017-11-29 20:36+0100\n"
11
- "PO-Revision-Date: 2017-11-29 20:36+0100\n"
12
"Last-Translator: \n"
13
"Language-Team: \n"
14
"Language: cs_CZ\n"
@@ -25,7 +25,7 @@ msgstr ""
25
"X-Poedit-SearchPathExcluded-0: *.js\n"
26
27
#: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:25
28
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:427
29
msgid "Premium"
30
msgstr "Premium"
31
@@ -126,11 +126,17 @@ msgstr "Příloha PDF"
126
msgid "Add for example a PDF with your terms & conditions."
127
msgstr "Přidejte například soubor PDF s obchodními podmínkami."
128
129
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:300
130
msgid "Suppliers"
131
msgstr "Dodavatelé"
132
133
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:305
134
#, fuzzy
135
#| msgid ""
136
#| "<b>Hint</b>: Send customer invoices to suppliers' Cloud Storages by "
@@ -144,51 +150,51 @@ msgstr ""
144
"<b>Tip</b>: Posílejte faktury do zákaznických cloudových úložišť snadno "
145
"přidáním e-mailových adres Email It In. E-mailové adresy oddělujte čárkami."
146
147
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:311
148
#: woocommerce-pdf-invoices/includes/admin/settings/class-general.php:72
149
msgid "Attach to Emails"
150
msgstr ""
151
152
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:322
153
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:400
154
msgid "Prefix"
155
msgstr ""
156
157
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:333
158
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:411
159
msgid "Suffix"
160
msgstr ""
161
162
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:344
163
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:422
164
msgid "Format"
165
msgstr "Formát"
166
167
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:349
168
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:427
169
#, php-format
170
msgid "Available placeholders: %s."
171
msgstr ""
172
173
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:351
174
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:429
175
#, php-format
176
msgid "<b>Note:</b> %s is required and slashes aren't supported."
177
msgstr ""
178
179
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:363
180
msgid "Enable customer generation"
181
msgstr ""
182
183
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:365
184
msgid "Let customers generate a global invoice from their account"
185
msgstr ""
186
187
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:373
188
msgid "Customer generation period"
189
msgstr "Perioda zákaznického generování"
190
191
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:378
192
msgid ""
193
"Should your customers have the ability to generate a global invoice by month "
194
"or by year?<br/><strong>Note:</strong> Customer generation should be enabled."
@@ -196,111 +202,111 @@ msgstr ""
196
"Mám mít zákazník možnost generovat globální faktury měsíčně nebo ročně?<br/"
197
"><strong>Poznámka:</strong> Zákaznické generování má být povolené."
198
199
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:380
200
msgid "Month"
201
msgstr "Měsíc"
202
203
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:381
204
msgid "Year"
205
msgstr "Rok"
206
207
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:393
208
msgid "Send to your Cloud Storage"
209
msgstr "Poslat do cloudového úložiště"
210
211
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:405
212
msgid "Email to customer"
213
msgstr "E-mail zákazníkovi"
214
215
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:417
216
msgid "Email to supplier(s)"
217
msgstr "E-mail dodavatelům"
218
219
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:424
220
#: woocommerce-pdf-invoices-premium/includes/emails/class-wc-email-credit-note.php:146
221
#: woocommerce-pdf-invoices-premium/includes/emails/class-wc-email-invoice-reminder.php:146
222
msgid "Email subject"
223
msgstr "Předmět e-mailu"
224
225
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:429
226
msgid "Subject for the global invoice email."
227
msgstr "Předmět globálního fakturačního e-mailu"
228
229
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:436
230
msgid "Email message"
231
msgstr "Obsah e-mailu"
232
233
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:441
234
msgid "Message for the global invoice email."
235
msgstr "Obsah globálního fakturačního e-mailu."
236
237
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:453
238
msgid "Enable reminder"
239
msgstr "Povolit upozorňování"
240
241
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:460
242
#, fuzzy
243
#| msgid "Days until reminder"
244
msgid "Days until due date"
245
msgstr "Počet dnů do upozornění"
246
247
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:465
248
#, fuzzy
249
#| msgid "Number of days from starting date until reminder date."
250
msgid "Number of days from order or invoice date until due date."
251
msgstr "Počet dnů od počátečního data do data upozornění."
252
253
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:474
254
msgid "Days until reminder"
255
msgstr "Počet dnů do upozornění"
256
257
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:479
258
msgid "Number of days from order or invoice date until reminder date."
259
msgstr ""
260
261
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:488
262
msgid "Date type"
263
msgstr ""
264
265
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:493
266
msgid "Choose the type of date to count from."
267
msgstr ""
268
269
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:495
270
msgid "Order date"
271
msgstr "Datum objednávky"
272
273
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:496
274
msgid "Invoice date"
275
msgstr ""
276
277
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:508
278
msgid "Enable Request Invoice."
279
msgstr ""
280
281
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:590
282
msgid "Activation email cannot be empty."
283
msgstr ""
284
285
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:630
286
msgid ""
287
"Something went wrong with the activation of your license. Contact the author "
288
"for support."
289
msgstr ""
290
291
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:651
292
msgid "File to large."
293
msgstr "Soubor je příliš velký."
294
295
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:657
296
msgid "Only PDF files are allowed."
297
msgstr "Jsou povoleny pouze soubory PDF."
298
299
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:682
300
msgid "Remove"
301
msgstr "Odebrat"
302
303
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:684
304
msgid "Choose"
305
msgstr "Zvolit"
306
@@ -337,7 +343,7 @@ msgid "View invoice"
337
msgstr "Prohlédnout fakturu"
338
339
#: woocommerce-pdf-invoices-premium/includes/admin/views/html-global-notice.php:17
340
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:751
341
msgid "View"
342
msgstr "Prohlédnout"
343
@@ -351,6 +357,7 @@ msgstr ""
351
352
#: woocommerce-pdf-invoices-premium/includes/class-bulk-export.php:85
353
#: woocommerce-pdf-invoices-premium/includes/class-bulk-generate.php:73
354
msgid "No order selected."
355
msgstr ""
356
@@ -362,39 +369,96 @@ msgstr ""
362
msgid "Bulk Generate PDF Packing Slips"
363
msgstr ""
364
365
- #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:135
366
msgid "PDF Credit Notes"
367
msgstr ""
368
369
- #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:283
370
#, php-format
371
msgid ""
372
"<a href=\"%1$s\" class=\"%2$s\" target=\"%3$s\">PDF Credit Note (%4$s)</a> "
373
"for Refund #%5$s."
374
msgstr ""
375
376
- #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:289
377
#, php-format
378
msgid "created on %1$s at %2$s"
379
msgstr ""
380
381
- #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:291
382
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:775
383
msgid "Delete"
384
msgstr ""
385
386
- #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:297
387
msgid "There are no credit notes yet."
388
msgstr ""
389
390
- #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:309
391
msgid "Create PDF Credit Notes for selected refund(s)"
392
msgstr ""
393
394
- #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:339
395
msgid "Credit note"
396
msgstr ""
397
398
#: woocommerce-pdf-invoices-premium/includes/class-install.php:91
399
#, php-format
400
msgid ""
@@ -455,17 +519,17 @@ msgstr "Posláno upozornění?"
455
msgid "Due Date:"
456
msgstr "Datum objednávky: %s"
457
458
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:61
459
msgid ""
460
"Instead consider creating a Cancelled PDF invoice by changing the order "
461
"status to Cancelled."
462
msgstr ""
463
464
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:116
465
msgid "Advanced Table Content"
466
msgstr ""
467
468
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:117
469
msgid ""
470
"Enable Advanced Table Content settings to fully customize line item columns "
471
"and total rows. When enabled the standard Table Content settings will be "
@@ -473,83 +537,83 @@ msgid ""
473
"template is not supported."
474
msgstr ""
475
476
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:145
477
msgid "Enable Advanced Table Content"
478
msgstr ""
479
480
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:157
481
msgid "Show SKU as meta data"
482
msgstr ""
483
484
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:164
485
msgid "Display tax totals"
486
msgstr ""
487
488
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:172
489
msgid "Itemized"
490
msgstr ""
491
492
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:173
493
msgid "As a single total"
494
msgstr ""
495
496
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:179
497
#, fuzzy
498
#| msgid "Left footer column."
499
msgid "Line item columns"
500
msgstr "Levý sloupec zápatí"
501
502
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:188
503
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:393
504
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:48
505
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:403
506
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:53
507
msgid "Description"
508
msgstr "Popis"
509
510
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:193
511
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:198
512
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:401
513
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:405
514
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:57
515
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:60
516
msgid "Cost"
517
msgstr "Cena za kus"
518
519
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:203
520
msgid "Quantity"
521
msgstr ""
522
523
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:213
524
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:218
525
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:281
526
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:286
527
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:413
528
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:417
529
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:77
530
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:235
531
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:405
532
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:71
533
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:275
534
msgid "Total"
535
msgstr "Celkem"
536
537
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:227
538
#, fuzzy
539
#| msgid "Total"
540
msgid "Total rows"
541
msgstr "Celkem"
542
543
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:236
544
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:261
545
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:173
546
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:506
547
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:207
548
msgid "Discount"
549
msgstr "Sleva"
550
551
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:241
552
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:266
553
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:182
554
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:200
555
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:518
@@ -558,63 +622,74 @@ msgstr "Sleva"
558
msgid "Shipping"
559
msgstr "Dopravné"
560
561
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:246
562
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:271
563
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:212
564
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:242
565
msgid "Fee"
566
msgstr "Poplatky"
567
568
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:251
569
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:256
570
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:191
571
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:470
572
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:223
573
msgid "Subtotal"
574
msgstr "Mezisoučet"
575
576
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:397
577
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:65
578
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:59
579
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:404
580
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:62
581
- #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:63
582
msgid "Qty"
583
msgstr "Počet kusů"
584
585
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:607
586
#, fuzzy, php-format
587
#| msgid "Subtotal"
588
msgid "Subtotal %s"
589
msgstr "Mezisoučet"
590
591
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:625
592
#, fuzzy, php-format
593
#| msgid "Discount"
594
msgid "Discount %s"
595
msgstr "Sleva"
596
597
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:652
598
#, fuzzy, php-format
599
#| msgid "Shipping"
600
msgid "Shipping %s"
601
msgstr "Dopravné"
602
603
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:685
604
#, php-format
605
msgid "%1$s %2$s"
606
msgstr ""
607
608
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:866
609
#, fuzzy, php-format
610
#| msgid "Total"
611
msgid "Total %s"
612
msgstr "Celkem"
613
614
- #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:993
615
msgid "Request invoice"
616
msgstr ""
617
618
#: woocommerce-pdf-invoices-premium/includes/emails/class-wc-email-credit-note.php:43
619
#, fuzzy
620
#| msgid "Customer note"
@@ -676,41 +751,39 @@ msgstr ""
676
msgid "Invoice reminder for order {order_number}"
677
msgstr ""
678
679
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:35
680
msgid "Credit Note"
681
msgstr ""
682
683
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:46
684
- #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:40
685
- msgid "Ship to:"
686
- msgstr ""
687
-
688
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:61
689
- #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:59
690
- msgid "Product"
691
msgstr ""
692
693
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:71
694
- msgid "Price"
695
msgstr ""
696
697
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:135
698
- #: woocommerce-pdf-invoices/includes/templates/invoice/simple/minimal/body.php:127
699
- #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:109
700
#, php-format
701
msgid "Note from customer: %s"
702
msgstr ""
703
704
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:140
705
- #: woocommerce-pdf-invoices/includes/templates/invoice/simple/minimal/body.php:132
706
- #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:114
707
#, php-format
708
msgid "Note to customer: %s"
709
msgstr ""
710
711
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:152
712
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:314
713
- #: woocommerce-pdf-invoices/includes/templates/invoice/simple/minimal/body.php:144
714
msgid "Zero rated for VAT as customer has supplied EU VAT number"
715
msgstr ""
716
@@ -723,57 +796,6 @@ msgstr ""
723
msgid "%1$s of %2$s"
724
msgstr ""
725
726
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/header.php:39
727
- #, php-format
728
- msgid "Credit Note #: %s"
729
- msgstr ""
730
-
731
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/header.php:41
732
- #, fuzzy, php-format
733
- #| msgid "Order Date: %s"
734
- msgid "Date: %s"
735
- msgstr "Datum objednávky: %s"
736
-
737
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/header.php:45
738
- #, php-format
739
- msgid "Invoice #: %s"
740
- msgstr ""
741
-
742
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/header.php:47
743
- #, php-format
744
- msgid "Invoice Date: %s"
745
- msgstr ""
746
-
747
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/header.php:51
748
- #, fuzzy, php-format
749
- #| msgid "Order #%d - %s"
750
- msgid "Order #: %s"
751
- msgstr "Objednávka #%d - %s"
752
-
753
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/header.php:53
754
- #: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:38
755
- #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/header.php:37
756
- #, php-format
757
- msgid "Order Date: %s"
758
- msgstr "Datum objednávky: %s"
759
-
760
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/header.php:57
761
- #, php-format
762
- msgid "Payment Method: %s"
763
- msgstr ""
764
-
765
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/header.php:64
766
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:681
767
- #, php-format
768
- msgid "Purchase Order Number: %s"
769
- msgstr "Číslo objednávky: %s"
770
-
771
- #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/header.php:73
772
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:663
773
- #, php-format
774
- msgid "VAT Number: %s"
775
- msgstr "DIČ: %s"
776
-
777
#: woocommerce-pdf-invoices-premium/includes/templates/emails/customer-credit-note.php:25
778
#, fuzzy
779
#| msgid "Order date"
@@ -803,11 +825,6 @@ msgstr "Fakturační adresa"
803
msgid "Phone: %s"
804
msgstr "Telefon: %s"
805
806
- #: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:19
807
- #: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:23
808
- msgid "Ship to"
809
- msgstr "Doručovací adresa"
810
-
811
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:30
812
msgid "Global Invoice"
813
msgstr "Globální faktura"
@@ -815,7 +832,7 @@ msgstr "Globální faktura"
815
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:53
816
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:458
817
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:57
818
- #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:55
819
msgid "SKU"
820
msgstr "Číslo zboží"
821
@@ -828,12 +845,12 @@ msgstr "DPH"
828
msgid "Order #%d - %s"
829
msgstr "Objednávka #%d - %s"
830
831
- #: woocommerce-pdf-invoices-premium/includes/woocommerce-pdf-invoices-premium.php:103
832
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:409
833
msgid "Settings"
834
msgstr "Nastavení"
835
836
- #: woocommerce-pdf-invoices-premium/includes/woocommerce-pdf-invoices-premium.php:104
837
#: woocommerce-pdf-invoices/includes/admin/views/html-sidebar.php:62
838
msgid "Support"
839
msgstr "Podpora"
@@ -842,50 +859,60 @@ msgstr "Podpora"
842
msgid "Paid"
843
msgstr "Placeno"
844
845
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:491
846
msgid "Subtotal:"
847
msgstr ""
848
849
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:506
850
msgid "Discount:"
851
msgstr ""
852
853
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:521
854
msgid "Shipping:"
855
msgstr ""
856
857
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:594
858
msgid "Total:"
859
msgstr ""
860
861
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:861
862
#, php-format
863
msgid "%s of %s"
864
msgstr "%s z %s"
865
866
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-settings.php:100
867
msgid "Invoices"
868
msgstr "Faktury"
869
870
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-settings.php:164
871
#, php-format
872
msgid ""
873
"If you like <strong>WooCommerce PDF Invoices</strong> please leave us a <a "
874
"href=\"%s\">★★★★★</a> rating. A huge thank you in advance!"
875
msgstr ""
876
877
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-settings.php:173
878
#, php-format
879
msgid "Version %s"
880
msgstr "Verze %s"
881
882
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-settings.php:296
883
#, fuzzy
884
#| msgid "Select a year"
885
msgid "Select all"
886
msgstr "Vyberte rok"
887
888
- #: woocommerce-pdf-invoices/includes/abstracts/abstract-settings.php:296
889
#, fuzzy
890
#| msgid "Select a month"
891
msgid "Select none"
@@ -1183,7 +1210,7 @@ msgid "Change the name of the invoice."
1183
msgstr "Změnit označení faktury."
1184
1185
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:261
1186
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:853
1187
msgid "Invoice"
1188
msgstr "Faktura"
1189
@@ -1465,36 +1492,12 @@ msgstr "Fórum podpory"
1465
msgid "Request a feature"
1466
msgstr "Navrh na nové možnosti"
1467
1468
- #: woocommerce-pdf-invoices/includes/class-invoice.php:99
1469
- #, fuzzy
1470
- #| msgid "Invoice"
1471
- msgid "Invoice #:"
1472
- msgstr "Faktura"
1473
-
1474
- #: woocommerce-pdf-invoices/includes/class-invoice.php:103
1475
- #, fuzzy
1476
- #| msgid "Invoice to"
1477
- msgid "Invoice Date:"
1478
- msgstr "Fakturační adresa"
1479
-
1480
- #: woocommerce-pdf-invoices/includes/class-invoice.php:107
1481
- #, fuzzy
1482
- #| msgid "Order Date: %s"
1483
- msgid "Order Date:"
1484
- msgstr "Datum objednávky: %s"
1485
-
1486
#: woocommerce-pdf-invoices/includes/class-invoice.php:111
1487
#, fuzzy
1488
#| msgid "Order Number: %s"
1489
msgid "Order Number:"
1490
msgstr "Číslo objednávky: %s"
1491
1492
- #: woocommerce-pdf-invoices/includes/class-invoice.php:115
1493
- #, fuzzy
1494
- #| msgid "<b>Payment method</b> %s"
1495
- msgid "Payment Method:"
1496
- msgstr "<b>Platební metoda</b> %s"
1497
-
1498
#: woocommerce-pdf-invoices/includes/class-packing-slip.php:66
1499
msgid "View packing slip"
1500
msgstr ""
@@ -1504,11 +1507,17 @@ msgid "WooCommerce"
1504
msgstr ""
1505
1506
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:37
1507
- #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/header.php:39
1508
#, php-format
1509
msgid "Order Number: %s"
1510
msgstr "Číslo objednávky: %s"
1511
1512
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:268
1513
msgid "VAT 0%"
1514
msgstr ""
@@ -1522,15 +1531,19 @@ msgstr "Vráceno"
1522
msgid "Customer note"
1523
msgstr "Poznámka zákazníka"
1524
1525
- #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:29
1526
msgid "Packing Slip"
1527
msgstr ""
1528
1529
- #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/header.php:44
1530
#, php-format
1531
msgid "Shipping Method: %s"
1532
msgstr ""
1533
1534
#: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:626
1535
msgid "Invoice No."
1536
msgstr ""
@@ -1544,12 +1557,6 @@ msgstr "PDF faktura"
1544
msgid "Create"
1545
msgstr "Vytvořit"
1546
1547
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:721
1548
- #, fuzzy
1549
- #| msgid "Order Date: %s"
1550
- msgid "Date:"
1551
- msgstr "Datum objednávky: %s"
1552
-
1553
#: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:725
1554
#, fuzzy
1555
#| msgid "VAT Number: %s"
@@ -1560,32 +1567,45 @@ msgstr "DIČ: %s"
1560
msgid "Sent?"
1561
msgstr ""
1562
1563
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:744
1564
- msgid "Debug"
1565
- msgstr ""
1566
-
1567
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:758
1568
msgid "Update"
1569
msgstr ""
1570
1571
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:763
1572
#, fuzzy
1573
#| msgid "Are you sure to delete the invoice?"
1574
msgid "Are you sure to delete the PDF invoice?"
1575
msgstr "Opravdu chcete fakturu zrušit?"
1576
1577
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:767
1578
#, php-format
1579
msgid ""
1580
"You will be missing a PDF invoice with invoice number %d and thus creating "
1581
"an accounting gap!"
1582
msgstr ""
1583
1584
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:770
1585
#, php-format
1586
msgid "Instead consider using Cancelled PDF invoices with %s."
1587
msgstr ""
1588
1589
#~ msgid "Send customer invoices directly to suppliers and others."
1590
#~ msgstr "Posílejte zákaznické faktury přímo dodavatelům a dalším subjektům."
1591
7
msgstr ""
8
"Project-Id-Version: WooCommerce PDF Invoices\n"
9
"Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2018-07-31 14:52+0200\n"
11
+ "PO-Revision-Date: 2018-07-31 14:52+0200\n"
12
"Last-Translator: \n"
13
"Language-Team: \n"
14
"Language: cs_CZ\n"
25
"X-Poedit-SearchPathExcluded-0: *.js\n"
26
27
#: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:25
28
+ #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:426
29
msgid "Premium"
30
msgstr "Premium"
31
126
msgid "Add for example a PDF with your terms & conditions."
127
msgstr "Přidejte například soubor PDF s obchodními podmínkami."
128
129
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:305
130
+ #, fuzzy
131
+ #| msgid "Show customer notes"
132
+ msgid "Show used coupons"
133
+ msgstr "Zobrazit poznámky zákazníka"
134
+
135
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:312
136
msgid "Suppliers"
137
msgstr "Dodavatelé"
138
139
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:317
140
#, fuzzy
141
#| msgid ""
142
#| "<b>Hint</b>: Send customer invoices to suppliers' Cloud Storages by "
150
"<b>Tip</b>: Posílejte faktury do zákaznických cloudových úložišť snadno "
151
"přidáním e-mailových adres Email It In. E-mailové adresy oddělujte čárkami."
152
153
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:323
154
#: woocommerce-pdf-invoices/includes/admin/settings/class-general.php:72
155
msgid "Attach to Emails"
156
msgstr ""
157
158
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:334
159
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:400
160
msgid "Prefix"
161
msgstr ""
162
163
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:345
164
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:411
165
msgid "Suffix"
166
msgstr ""
167
168
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:356
169
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:422
170
msgid "Format"
171
msgstr "Formát"
172
173
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:361
174
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:427
175
#, php-format
176
msgid "Available placeholders: %s."
177
msgstr ""
178
179
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:363
180
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:429
181
#, php-format
182
msgid "<b>Note:</b> %s is required and slashes aren't supported."
183
msgstr ""
184
185
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:375
186
msgid "Enable customer generation"
187
msgstr ""
188
189
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:377
190
msgid "Let customers generate a global invoice from their account"
191
msgstr ""
192
193
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:385
194
msgid "Customer generation period"
195
msgstr "Perioda zákaznického generování"
196
197
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:390
198
msgid ""
199
"Should your customers have the ability to generate a global invoice by month "
200
"or by year?<br/><strong>Note:</strong> Customer generation should be enabled."
202
"Mám mít zákazník možnost generovat globální faktury měsíčně nebo ročně?<br/"
203
"><strong>Poznámka:</strong> Zákaznické generování má být povolené."
204
205
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:392
206
msgid "Month"
207
msgstr "Měsíc"
208
209
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:393
210
msgid "Year"
211
msgstr "Rok"
212
213
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:405
214
msgid "Send to your Cloud Storage"
215
msgstr "Poslat do cloudového úložiště"
216
217
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:417
218
msgid "Email to customer"
219
msgstr "E-mail zákazníkovi"
220
221
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:429
222
msgid "Email to supplier(s)"
223
msgstr "E-mail dodavatelům"
224
225
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:436
226
#: woocommerce-pdf-invoices-premium/includes/emails/class-wc-email-credit-note.php:146
227
#: woocommerce-pdf-invoices-premium/includes/emails/class-wc-email-invoice-reminder.php:146
228
msgid "Email subject"
229
msgstr "Předmět e-mailu"
230
231
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:441
232
msgid "Subject for the global invoice email."
233
msgstr "Předmět globálního fakturačního e-mailu"
234
235
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:448
236
msgid "Email message"
237
msgstr "Obsah e-mailu"
238
239
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:453
240
msgid "Message for the global invoice email."
241
msgstr "Obsah globálního fakturačního e-mailu."
242
243
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:465
244
msgid "Enable reminder"
245
msgstr "Povolit upozorňování"
246
247
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:472
248
#, fuzzy
249
#| msgid "Days until reminder"
250
msgid "Days until due date"
251
msgstr "Počet dnů do upozornění"
252
253
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:477
254
#, fuzzy
255
#| msgid "Number of days from starting date until reminder date."
256
msgid "Number of days from order or invoice date until due date."
257
msgstr "Počet dnů od počátečního data do data upozornění."
258
259
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:486
260
msgid "Days until reminder"
261
msgstr "Počet dnů do upozornění"
262
263
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:491
264
msgid "Number of days from order or invoice date until reminder date."
265
msgstr ""
266
267
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:500
268
msgid "Date type"
269
msgstr ""
270
271
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:505
272
msgid "Choose the type of date to count from."
273
msgstr ""
274
275
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:507
276
msgid "Order date"
277
msgstr "Datum objednávky"
278
279
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:508
280
msgid "Invoice date"
281
msgstr ""
282
283
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:520
284
msgid "Enable Request Invoice."
285
msgstr ""
286
287
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:602
288
msgid "Activation email cannot be empty."
289
msgstr ""
290
291
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:642
292
msgid ""
293
"Something went wrong with the activation of your license. Contact the author "
294
"for support."
295
msgstr ""
296
297
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:663
298
msgid "File to large."
299
msgstr "Soubor je příliš velký."
300
301
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:669
302
msgid "Only PDF files are allowed."
303
msgstr "Jsou povoleny pouze soubory PDF."
304
305
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:694
306
msgid "Remove"
307
msgstr "Odebrat"
308
309
+ #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:696
310
msgid "Choose"
311
msgstr "Zvolit"
312
343
msgstr "Prohlédnout fakturu"
344
345
#: woocommerce-pdf-invoices-premium/includes/admin/views/html-global-notice.php:17
346
+ #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:745
347
msgid "View"
348
msgstr "Prohlédnout"
349
357
358
#: woocommerce-pdf-invoices-premium/includes/class-bulk-export.php:85
359
#: woocommerce-pdf-invoices-premium/includes/class-bulk-generate.php:73
360
+ #: woocommerce-pdf-invoices-premium/includes/class-bulk-print.php:78
361
msgid "No order selected."
362
msgstr ""
363
369
msgid "Bulk Generate PDF Packing Slips"
370
msgstr ""
371
372
+ #: woocommerce-pdf-invoices-premium/includes/class-bulk-print.php:36
373
+ msgid "Bulk Print PDF Packing Slips"
374
+ msgstr ""
375
+
376
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:168
377
msgid "PDF Credit Notes"
378
msgstr ""
379
380
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:316
381
#, php-format
382
msgid ""
383
"<a href=\"%1$s\" class=\"%2$s\" target=\"%3$s\">PDF Credit Note (%4$s)</a> "
384
"for Refund #%5$s."
385
msgstr ""
386
387
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:322
388
#, php-format
389
msgid "created on %1$s at %2$s"
390
msgstr ""
391
392
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:324
393
+ #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:769
394
msgid "Delete"
395
msgstr ""
396
397
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:330
398
msgid "There are no credit notes yet."
399
msgstr ""
400
401
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:342
402
msgid "Create PDF Credit Notes for selected refund(s)"
403
msgstr ""
404
405
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:372
406
msgid "Credit note"
407
msgstr ""
408
409
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:423
410
+ #, fuzzy
411
+ #| msgid "Email to customer"
412
+ msgid "Email credit note to customer"
413
+ msgstr "E-mail zákazníkovi"
414
+
415
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:593
416
+ #, fuzzy
417
+ #| msgid "Header Options"
418
+ msgid "Credit Note #:"
419
+ msgstr "Nastavení záhlaví"
420
+
421
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:598
422
+ #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:721
423
+ #, fuzzy
424
+ #| msgid "Order Date: %s"
425
+ msgid "Date:"
426
+ msgstr "Datum objednávky: %s"
427
+
428
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:605
429
+ #: woocommerce-pdf-invoices/includes/class-invoice.php:99
430
+ #, fuzzy
431
+ #| msgid "Invoice"
432
+ msgid "Invoice #:"
433
+ msgstr "Faktura"
434
+
435
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:610
436
+ #: woocommerce-pdf-invoices/includes/class-invoice.php:103
437
+ #, fuzzy
438
+ #| msgid "Invoice to"
439
+ msgid "Invoice Date:"
440
+ msgstr "Fakturační adresa"
441
+
442
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:617
443
+ #, fuzzy
444
+ #| msgid "Order date"
445
+ msgid "Order #:"
446
+ msgstr "Datum objednávky"
447
+
448
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:622
449
+ #: woocommerce-pdf-invoices/includes/class-invoice.php:107
450
+ #, fuzzy
451
+ #| msgid "Order Date: %s"
452
+ msgid "Order Date:"
453
+ msgstr "Datum objednávky: %s"
454
+
455
+ #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:628
456
+ #: woocommerce-pdf-invoices/includes/class-invoice.php:115
457
+ #, fuzzy
458
+ #| msgid "<b>Payment method</b> %s"
459
+ msgid "Payment Method:"
460
+ msgstr "<b>Platební metoda</b> %s"
461
+
462
#: woocommerce-pdf-invoices-premium/includes/class-install.php:91
463
#, php-format
464
msgid ""
519
msgid "Due Date:"
520
msgstr "Datum objednávky: %s"
521
522
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:65
523
msgid ""
524
"Instead consider creating a Cancelled PDF invoice by changing the order "
525
"status to Cancelled."
526
msgstr ""
527
528
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:120
529
msgid "Advanced Table Content"
530
msgstr ""
531
532
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:121
533
msgid ""
534
"Enable Advanced Table Content settings to fully customize line item columns "
535
"and total rows. When enabled the standard Table Content settings will be "
537
"template is not supported."
538
msgstr ""
539
540
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:149
541
msgid "Enable Advanced Table Content"
542
msgstr ""
543
544
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:161
545
msgid "Show SKU as meta data"
546
msgstr ""
547
548
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:168
549
msgid "Display tax totals"
550
msgstr ""
551
552
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:176
553
msgid "Itemized"
554
msgstr ""
555
556
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:177
557
msgid "As a single total"
558
msgstr ""
559
560
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:183
561
#, fuzzy
562
#| msgid "Left footer column."
563
msgid "Line item columns"
564
msgstr "Levý sloupec zápatí"
565
566
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:192
567
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:409
568
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:48
569
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:409
570
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:53
571
msgid "Description"
572
msgstr "Popis"
573
574
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:197
575
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:202
576
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:417
577
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:421
578
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:57
579
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:60
580
msgid "Cost"
581
msgstr "Cena za kus"
582
583
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:207
584
msgid "Quantity"
585
msgstr ""
586
587
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:217
588
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:222
589
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:285
590
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:290
591
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:429
592
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:433
593
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:77
594
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:235
595
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:411
596
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:71
597
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:275
598
msgid "Total"
599
msgstr "Celkem"
600
601
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:231
602
#, fuzzy
603
#| msgid "Total"
604
msgid "Total rows"
605
msgstr "Celkem"
606
607
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:240
608
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:265
609
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:173
610
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:506
611
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:207
612
msgid "Discount"
613
msgstr "Sleva"
614
615
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:245
616
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:270
617
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:182
618
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:200
619
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:518
622
msgid "Shipping"
623
msgstr "Dopravné"
624
625
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:250
626
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:275
627
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:212
628
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:242
629
msgid "Fee"
630
msgstr "Poplatky"
631
632
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:255
633
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:260
634
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:191
635
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:470
636
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:223
637
msgid "Subtotal"
638
msgstr "Mezisoučet"
639
640
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:384
641
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:857
642
+ #, fuzzy, php-format
643
+ #| msgid "VAT Number: %s"
644
+ msgid "VAT %s"
645
+ msgstr "DIČ: %s"
646
+
647
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:413
648
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:59
649
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:410
650
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:62
651
+ #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:76
652
msgid "Qty"
653
msgstr "Počet kusů"
654
655
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:647
656
#, fuzzy, php-format
657
#| msgid "Subtotal"
658
msgid "Subtotal %s"
659
msgstr "Mezisoučet"
660
661
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:665
662
#, fuzzy, php-format
663
#| msgid "Discount"
664
msgid "Discount %s"
665
msgstr "Sleva"
666
667
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:692
668
#, fuzzy, php-format
669
#| msgid "Shipping"
670
msgid "Shipping %s"
671
msgstr "Dopravné"
672
673
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:725
674
#, php-format
675
msgid "%1$s %2$s"
676
msgstr ""
677
678
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:918
679
#, fuzzy, php-format
680
#| msgid "Total"
681
msgid "Total %s"
682
msgstr "Celkem"
683
684
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:1045
685
msgid "Request invoice"
686
msgstr ""
687
688
+ #: woocommerce-pdf-invoices-premium/includes/class-invoice.php:1085
689
+ #, php-format
690
+ msgid "Coupon(s): %s"
691
+ msgstr ""
692
+
693
#: woocommerce-pdf-invoices-premium/includes/emails/class-wc-email-credit-note.php:43
694
#, fuzzy
695
#| msgid "Customer note"
751
msgid "Invoice reminder for order {order_number}"
752
msgstr ""
753
754
+ #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:38
755
msgid "Credit Note"
756
msgstr ""
757
758
+ #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:57
759
+ #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:51
760
+ msgid "Bill to:"
761
msgstr ""
762
763
+ #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:64
764
+ #: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:19
765
+ #: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:23
766
+ #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:58
767
+ msgid "Ship to:"
768
msgstr ""
769
770
+ #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:144
771
+ #: woocommerce-pdf-invoices/includes/templates/invoice/simple/minimal/body.php:143
772
+ #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:122
773
#, php-format
774
msgid "Note from customer: %s"
775
msgstr ""
776
777
+ #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:149
778
+ #: woocommerce-pdf-invoices/includes/templates/invoice/simple/minimal/body.php:148
779
+ #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:127
780
#, php-format
781
msgid "Note to customer: %s"
782
msgstr ""
783
784
+ #: woocommerce-pdf-invoices-premium/includes/templates/credit-note/simple/minimal/body.php:161
785
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:314
786
+ #: woocommerce-pdf-invoices/includes/templates/invoice/simple/minimal/body.php:160
787
msgid "Zero rated for VAT as customer has supplied EU VAT number"
788
msgstr ""
789
796
msgid "%1$s of %2$s"
797
msgstr ""
798
799
#: woocommerce-pdf-invoices-premium/includes/templates/emails/customer-credit-note.php:25
800
#, fuzzy
801
#| msgid "Order date"
825
msgid "Phone: %s"
826
msgstr "Telefon: %s"
827
828
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:30
829
msgid "Global Invoice"
830
msgstr "Globální faktura"
832
#: woocommerce-pdf-invoices-premium/includes/templates/invoice/global/micro/body.php:53
833
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:458
834
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:57
835
+ #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:68
836
msgid "SKU"
837
msgstr "Číslo zboží"
838
845
msgid "Order #%d - %s"
846
msgstr "Objednávka #%d - %s"
847
848
+ #: woocommerce-pdf-invoices-premium/includes/woocommerce-pdf-invoices-premium.php:104
849
+ #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:408
850
msgid "Settings"
851
msgstr "Nastavení"
852
853
+ #: woocommerce-pdf-invoices-premium/includes/woocommerce-pdf-invoices-premium.php:105
854
#: woocommerce-pdf-invoices/includes/admin/views/html-sidebar.php:62
855
msgid "Support"
856
msgstr "Podpora"
859
msgid "Paid"
860
msgstr "Placeno"
861
862
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:501
863
msgid "Subtotal:"
864
msgstr ""
865
866
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:516
867
msgid "Discount:"
868
msgstr ""
869
870
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:531
871
msgid "Shipping:"
872
msgstr ""
873
874
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:604
875
msgid "Total:"
876
msgstr ""
877
878
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:673
879
+ #, php-format
880
+ msgid "VAT Number: %s"
881
+ msgstr "DIČ: %s"
882
+
883
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:691
884
+ #, php-format
885
+ msgid "Purchase Order Number: %s"
886
+ msgstr "Číslo objednávky: %s"
887
+
888
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php:884
889
#, php-format
890
msgid "%s of %s"
891
msgstr "%s z %s"
892
893
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-settings.php:105
894
msgid "Invoices"
895
msgstr "Faktury"
896
897
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-settings.php:176
898
#, php-format
899
msgid ""
900
"If you like <strong>WooCommerce PDF Invoices</strong> please leave us a <a "
901
"href=\"%s\">★★★★★</a> rating. A huge thank you in advance!"
902
msgstr ""
903
904
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-settings.php:185
905
#, php-format
906
msgid "Version %s"
907
msgstr "Verze %s"
908
909
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-settings.php:308
910
#, fuzzy
911
#| msgid "Select a year"
912
msgid "Select all"
913
msgstr "Vyberte rok"
914
915
+ #: woocommerce-pdf-invoices/includes/abstracts/abstract-settings.php:308
916
#, fuzzy
917
#| msgid "Select a month"
918
msgid "Select none"
1210
msgstr "Změnit označení faktury."
1211
1212
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:261
1213
+ #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:858
1214
msgid "Invoice"
1215
msgstr "Faktura"
1216
1492
msgid "Request a feature"
1493
msgstr "Navrh na nové možnosti"
1494
1495
#: woocommerce-pdf-invoices/includes/class-invoice.php:111
1496
#, fuzzy
1497
#| msgid "Order Number: %s"
1498
msgid "Order Number:"
1499
msgstr "Číslo objednávky: %s"
1500
1501
#: woocommerce-pdf-invoices/includes/class-packing-slip.php:66
1502
msgid "View packing slip"
1503
msgstr ""
1507
msgstr ""
1508
1509
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:37
1510
+ #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:39
1511
#, php-format
1512
msgid "Order Number: %s"
1513
msgstr "Číslo objednávky: %s"
1514
1515
+ #: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:38
1516
+ #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:37
1517
+ #, php-format
1518
+ msgid "Order Date: %s"
1519
+ msgstr "Datum objednávky: %s"
1520
+
1521
#: woocommerce-pdf-invoices/includes/templates/invoice/simple/micro/body.php:268
1522
msgid "VAT 0%"
1523
msgstr ""
1531
msgid "Customer note"
1532
msgstr "Poznámka zákazníka"
1533
1534
+ #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:30
1535
msgid "Packing Slip"
1536
msgstr ""
1537
1538
+ #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:44
1539
#, php-format
1540
msgid "Shipping Method: %s"
1541
msgstr ""
1542
1543
+ #: woocommerce-pdf-invoices/includes/templates/packing-slip/simple/minimal/body.php:72
1544
+ msgid "Product"
1545
+ msgstr ""
1546
+
1547
#: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:626
1548
msgid "Invoice No."
1549
msgstr ""
1557
msgid "Create"
1558
msgstr "Vytvořit"
1559
1560
#: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:725
1561
#, fuzzy
1562
#| msgid "VAT Number: %s"
1567
msgid "Sent?"
1568
msgstr ""
1569
1570
+ #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:752
1571
msgid "Update"
1572
msgstr ""
1573
1574
+ #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:757
1575
#, fuzzy
1576
#| msgid "Are you sure to delete the invoice?"
1577
msgid "Are you sure to delete the PDF invoice?"
1578
msgstr "Opravdu chcete fakturu zrušit?"
1579
1580
+ #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:761
1581
#, php-format
1582
msgid ""
1583
"You will be missing a PDF invoice with invoice number %d and thus creating "
1584
"an accounting gap!"
1585
msgstr ""
1586
1587
+ #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:764
1588
#, php-format
1589
msgid "Instead consider using Cancelled PDF invoices with %s."
1590
msgstr ""
1591
1592
+ #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:777
1593
+ msgid "Debug"
1594
+ msgstr ""
1595
+
1596
+ #~ msgid "Ship to"
1597
+ #~ msgstr "Doručovací adresa"
1598
+
1599
+ #, fuzzy
1600
+ #~| msgid "Order Date: %s"
1601
+ #~ msgid "Date: %s"
1602
+ #~ msgstr "Datum objednávky: %s"
1603
+
1604
+ #, fuzzy
1605
+ #~| msgid "Order #%d - %s"
1606
+ #~ msgid "Order #: %s"
1607
+ #~ msgstr "Objednávka #%d - %s"
1608
+
1609
#~ msgid "Send customer invoices directly to suppliers and others."
1610
#~ msgstr "Posílejte zákaznické faktury přímo dodavatelům a dalším subjektům."
1611
lang/woocommerce-pdf-invoices-de_DE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
msgstr ""
3
"Project-Id-Version: WooCommerce PDF Invoices\n"
4
"Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-11-29 20:36+0100\n"
6
- "PO-Revision-Date: 2017-11-29 20:36+0100\n"
7
"Last-Translator: Julius Reich <shop@koerner-musik.de>\n"
8
"Language-Team: German (Formal)\n"
9
"Language: de_DE\n"
@@ -22,7 +22,7 @@ msgstr ""
22
"X-Poedit-SearchPathExcluded-0: *.js\n"
23
24
#: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:25
25
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:427
26
msgid "Premium"
27
msgstr "Premium"
28
@@ -115,7 +115,7 @@ msgid "Enter your activation email from %s."
115
msgstr "Bitte geben Sie ihre Aktivierung von %s ein."
116
117
#: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:278
118
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:703
119
msgid "License"
120
msgstr "Lizenz"
121
@@ -132,11 +132,17 @@ msgstr "PDF-Anhang"
132
msgid "Add for example a PDF with your terms & conditions."
133
msgstr "Hänge ein PDF-Dokument an, wie zum Beispiel deine AGBs."
134
135
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:300
136
msgid "Suppliers"
137
msgstr "Lieferanten"
138
139
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:305
140
#, fuzzy
141
#| msgid ""
142
#| "<b>Hint</b>: Send customer invoices to suppliers' Cloud Storages by "
@@ -148,169 +154,169 @@ msgid ""
148
"seperated by comma's."
149
msgstr "Tip: Nutzen Sie \"Email it in\""
150
151
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:311
152
#: woocommerce-pdf-invoices/includes/admin/settings/class-general.php:72
153
msgid "Attach to Emails"
154
msgstr "Email anfügen"
155
156
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:322
157
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:400
158
msgid "Prefix"
159
msgstr "Prefix"
160
161
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:333
162
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:411
163
msgid "Suffix"
164
msgstr "Suffix"
165
166
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:344
167
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:422
168
msgid "Format"
169
msgstr "Format"
170
171
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:349
172
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:427
173
#, php-format
174
msgid "Available placeholders: %s."
175
msgstr "Verfügbare Platzhalter: %s."
176
177
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:351
178
#: woocommerce-pdf-invoices/includes/admin/settings/class-template.php:429
179
#, php-format
180
msgid "<b>Note:</b> %s is required and slashes aren't supported."
181
msgstr "<b>Hinweis:</b> %s wird benötigt und Schräger sind nicht unterstützt."
182
183
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:363
184
msgid "Enable customer generation"
185
msgstr "Rechnungserstellung im Kundenkonto aktivieren"
186
187
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:365
188
msgid "Let customers generate a global invoice from their account"
189
msgstr "Kunden können eine Sammelrechnung in ihrem Konto erstellen"
190
191
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:373
192
msgid "Customer generation period"
193
msgstr "Laufzeit"
194
195
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:378
196
msgid ""
197
"Should your customers have the ability to generate a global invoice by month "
198
"or by year?<br/><strong>Note:</strong> Customer generation should be enabled."
199
msgstr "Sammelrechnungsoption für Monat, oder Jahr?"
200
201
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:380
202
msgid "Month"
203
msgstr "Monat"
204
205
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:381
206
msgid "Year"
207
msgstr "Jahr"
208
209
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:393
210
msgid "Send to your Cloud Storage"
211
msgstr "An Cloud Storage senden"
212
213
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:405
214
msgid "Email to customer"
215
msgstr "Email an Kunden"
216
217
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:417
218
msgid "Email to supplier(s)"
219
msgstr "Email an Lieferanten"
220
221
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:424
222
#: woocommerce-pdf-invoices-premium/includes/emails/class-wc-email-credit-note.php:146
223
#: woocommerce-pdf-invoices-premium/includes/emails/class-wc-email-invoice-reminder.php:146
224
msgid "Email subject"
225
msgstr "Email Betreff"
226
227
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:429
228
msgid "Subject for the global invoice email."
229
msgstr "Betreff für Sammelrechnung."
230
231
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:436
232
msgid "Email message"
233
msgstr "Email-Text"
234
235
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:441
236
msgid "Message for the global invoice email."
237
msgstr "Mail-Text für Sammelrechnung"
238
239
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:453
240
msgid "Enable reminder"
241
msgstr "Erinnerungen aktivieren"
242
243
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:460
244
#, fuzzy
245
#| msgid "Days until reminder"
246
msgid "Days until due date"
247
msgstr "Tage bis zur Erinnerung"
248
249
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:465
250
#, fuzzy
251
#| msgid "Number of days from order or invoice date until reminder date."
252
msgid "Number of days from order or invoice date until due date."
253
msgstr "Anzahl der Tage bis zur Erinnerung an die Rechnung."
254
255
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:474
256
msgid "Days until reminder"
257
msgstr "Tage bis zur Erinnerung"
258
259
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:479
260
msgid "Number of days from order or invoice date until reminder date."
261
msgstr "Anzahl der Tage bis zur Erinnerung an die Rechnung."
262
263
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:488
264
msgid "Date type"
265
msgstr "Datumsart"
266
267
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:493
268
msgid "Choose the type of date to count from."
269
msgstr "Wählen Sie das Datum, von dem aus gezählt werden soll."
270
271
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:495
272
msgid "Order date"
273
msgstr "Bestelldatum"
274
275
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:496
276
msgid "Invoice date"
277
msgstr "Rechnungsdatum"
278
279
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:508
280
msgid "Enable Request Invoice."
281
msgstr "Rechnung anfordern aktivieren"
282
283
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:590
284
msgid "Activation email cannot be empty."
285
msgstr "Aktivierungsmail darf nicht leer sein."
286
287
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:630
288
msgid ""
289
"Something went wrong with the activation of your license. Contact the author "
290
"for support."
291
msgstr "Lizenz konnte nicht aktiviert werden."
292
293
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:651
294
msgid "File to large."
295
msgstr "Datei ist zu groß."
296
297
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:657
298
msgid "Only PDF files are allowed."
299
msgstr "Es sind lediglich PDF-Dokumente zulässig."
300
301
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:682
302
msgid "Remove"
303
msgstr "Entfernen"
304
305
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:684
306
msgid "Choose"
307
msgstr "Auswählen"
308
309
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:712
310
msgid "Inactive"
311
msgstr "Inaktiv"
312
313
- #: woocommerce-pdf-invoices-premium/includes/admin/settings/class-premium.php:714
314
msgid "Active"
315
msgstr "Aktiv"
316
@@ -347,7 +353,7 @@ msgid "View invoice"
347
msgstr "Rechnung anzeigen"
348
349
#: woocommerce-pdf-invoices-premium/includes/admin/views/html-global-notice.php:17
350
- #: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:751
351
msgid "View"
352
msgstr "Anzeigen"
353
@@ -361,6 +367,7 @@ msgstr "Mehrere Lieferscheine exportieren"
361
362
#: woocommerce-pdf-invoices-premium/includes/class-bulk-export.php:85
363
#: woocommerce-pdf-invoices-premium/includes/class-bulk-generate.php:73
364
msgid "No order selected."
365
msgstr "Keine Bestellung ausgewählt."
366
@@ -372,39 +379,98 @@ msgstr "Mehrere Rechnungen erstellen"
372
msgid "Bulk Generate PDF Packing Slips"
373
msgstr "Mehrere Lieferscheine erstellen"
374
375
- #: woocommerce-pdf-invoices-premium/includes/class-credit-note.php:135