WooCommerce PDF Invoices & Packing Slips - Version 1.5.16

Version Description

  • Feature: Search orders by invoice number (note: search on formatted invoice number only works for new orders)
  • Feature: Formatted invoice number stored in order
  • Tweak: Function parameters added to some of the filters
  • Tweak: WooCommerce 2.4 compatibility
  • Dev feature: action to add class to items table row (wpo_wcpdf_item_row_class)
  • Translations: Swedish updated (thanks Conney!)
  • Translations: Norwegian updated
Download this release

Release Info

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

Code changes from version 1.5.15 to 1.5.16

includes/class-wcpdf-export.php CHANGED
@@ -547,7 +547,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
547
 
548
  // add invoice number if it doesn't exist
549
  if ( empty($invoice_number) || !isset($invoice_number) ) {
550
- $next_invoice_number = $this->template_settings['next_invoice_number'];
551
 
552
  if ( empty($next_invoice_number) ) {
553
  // First time! We start numbering from order_number or order_id
@@ -568,6 +568,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
568
  // die($invoice_number);
569
 
570
  update_post_meta($order_id, '_wcpdf_invoice_number', $invoice_number);
 
571
 
572
  // increase next_order_number
573
  $template_settings = apply_filters( 'wpml_unfiltered_admin_string', get_option( 'wpo_wcpdf_template_settings' ), 'wpo_wcpdf_template_settings' );
@@ -612,6 +613,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
612
  public function reset_invoice_data ( $renewal_order, $original_order, $product_id, $new_order_role ) {
613
  // delete invoice number, invoice date & invoice exists meta
614
  delete_post_meta( $renewal_order->id, '_wcpdf_invoice_number' );
 
615
  delete_post_meta( $renewal_order->id, '_wcpdf_invoice_date' );
616
  delete_post_meta( $renewal_order->id, '_wcpdf_invoice_exists' );
617
  }
@@ -621,7 +623,6 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
621
  $order_year = date_i18n( 'Y', strtotime( $order_date ) );
622
  $order_month = date_i18n( 'm', strtotime( $order_date ) );
623
 
624
-
625
  $formats['prefix'] = isset($this->template_settings['invoice_number_formatting_prefix'])?$this->template_settings['invoice_number_formatting_prefix']:'';
626
  $formats['suffix'] = isset($this->template_settings['invoice_number_formatting_suffix'])?$this->template_settings['invoice_number_formatting_suffix']:'';
627
  $formats['padding'] = isset($this->template_settings['invoice_number_formatting_padding'])?$this->template_settings['invoice_number_formatting_padding']:'';
@@ -761,7 +762,13 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
761
  }
762
 
763
  // Set item meta
764
- $meta = new WC_Order_Item_Meta( $item['item_meta'], $product );
 
 
 
 
 
 
765
  $data['meta'] = $meta->display( false, true );
766
 
767
  $data_list[$item_id] = apply_filters( 'wpo_wcpdf_order_item_data', $data, $this->order );
547
 
548
  // add invoice number if it doesn't exist
549
  if ( empty($invoice_number) || !isset($invoice_number) ) {
550
+ $next_invoice_number = apply_filters( 'wpo_wcpdf_next_invoice_number', $this->template_settings['next_invoice_number'], $order_id );
551
 
552
  if ( empty($next_invoice_number) ) {
553
  // First time! We start numbering from order_number or order_id
568
  // die($invoice_number);
569
 
570
  update_post_meta($order_id, '_wcpdf_invoice_number', $invoice_number);
571
+ update_post_meta($order_id, '_wcpdf_formatted_invoice_number', $this->get_invoice_number( $order_id ) );
572
 
573
  // increase next_order_number
574
  $template_settings = apply_filters( 'wpml_unfiltered_admin_string', get_option( 'wpo_wcpdf_template_settings' ), 'wpo_wcpdf_template_settings' );
613
  public function reset_invoice_data ( $renewal_order, $original_order, $product_id, $new_order_role ) {
614
  // delete invoice number, invoice date & invoice exists meta
615
  delete_post_meta( $renewal_order->id, '_wcpdf_invoice_number' );
616
+ delete_post_meta( $renewal_order->id, '_wcpdf_formatted_invoice_number' );
617
  delete_post_meta( $renewal_order->id, '_wcpdf_invoice_date' );
618
  delete_post_meta( $renewal_order->id, '_wcpdf_invoice_exists' );
619
  }
623
  $order_year = date_i18n( 'Y', strtotime( $order_date ) );
624
  $order_month = date_i18n( 'm', strtotime( $order_date ) );
625
 
 
626
  $formats['prefix'] = isset($this->template_settings['invoice_number_formatting_prefix'])?$this->template_settings['invoice_number_formatting_prefix']:'';
627
  $formats['suffix'] = isset($this->template_settings['invoice_number_formatting_suffix'])?$this->template_settings['invoice_number_formatting_suffix']:'';
628
  $formats['padding'] = isset($this->template_settings['invoice_number_formatting_padding'])?$this->template_settings['invoice_number_formatting_padding']:'';
762
  }
763
 
764
  // Set item meta
765
+ if ( version_compare( WOOCOMMERCE_VERSION, '2.4', '<' ) ) {
766
+ $meta = new WC_Order_Item_Meta( $item['item_meta'], $product );
767
+ } else {
768
+ // pass complete item for WC2.4+
769
+ $meta = new WC_Order_Item_Meta( $item, $product );
770
+ }
771
+
772
  $data['meta'] = $meta->display( false, true );
773
 
774
  $data_list[$item_id] = apply_filters( 'wpo_wcpdf_order_item_data', $data, $this->order );
includes/class-wcpdf-writepanels.php CHANGED
@@ -26,6 +26,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
26
 
27
  add_action( 'save_post', array( $this,'save_invoice_number_date' ) );
28
 
 
29
 
30
  $this->bulk_actions = array(
31
  'invoice' => __( 'PDF Invoices', 'wpo_wcpdf' ),
@@ -337,5 +338,14 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
337
  }
338
  }
339
  }
 
 
 
 
 
 
 
 
 
340
  }
341
  }
26
 
27
  add_action( 'save_post', array( $this,'save_invoice_number_date' ) );
28
 
29
+ add_filter( 'woocommerce_shop_order_search_fields', array( $this, 'search_fields' ) );
30
 
31
  $this->bulk_actions = array(
32
  'invoice' => __( 'PDF Invoices', 'wpo_wcpdf' ),
338
  }
339
  }
340
  }
341
+
342
+ /**
343
+ * Add invoice number to order search scope
344
+ */
345
+ public function search_fields ( $custom_fields ) {
346
+ $search_fields[] = '_wcpdf_invoice_number';
347
+ $search_fields[] = '_wcpdf_formatted_invoice_number';
348
+ return $search_fields;
349
+ }
350
  }
351
  }
includes/wcpdf-extensions.php CHANGED
@@ -74,7 +74,7 @@ jQuery(document).ready(function() {
74
  <?php } ?>
75
 
76
  <?php
77
- if (class_exists('WooCommerce_PDF_IPS_Templates')) {
78
  $template_link = '<a href="https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-premium-templates/" target="_blank">wpovernight.com</a>';
79
  $email_link = '<a href="mailto:support@wpovernight.com">support@wpovernight.com</a>'
80
  ?>
74
  <?php } ?>
75
 
76
  <?php
77
+ if (!class_exists('WooCommerce_PDF_IPS_Templates')) {
78
  $template_link = '<a href="https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-premium-templates/" target="_blank">wpovernight.com</a>';
79
  $email_link = '<a href="mailto:support@wpovernight.com">support@wpovernight.com</a>'
80
  ?>
languages/wpo_wcpdf-nb_NO.mo CHANGED
Binary file
languages/wpo_wcpdf-nb_NO.po CHANGED
@@ -2,14 +2,14 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "POT-Creation-Date: 2015-04-29 09:09+0100\n"
5
- "PO-Revision-Date: 2015-04-29 09:11+0100\n"
6
  "Last-Translator: Eirik Opsanger <eirik.opsanger@gmail.com>\n"
7
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
  "Language: nb\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.5\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
@@ -576,7 +576,7 @@ msgstr "Ordredato:"
576
 
577
  #: templates/pdf/Simple/invoice.php:68
578
  msgid "Payment Method:"
579
- msgstr "Betlingsmåte:"
580
 
581
  #: templates/pdf/Simple/invoice.php:82
582
  #: templates/pdf/Simple/packing-slip.php:70
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
  "POT-Creation-Date: 2015-04-29 09:09+0100\n"
5
+ "PO-Revision-Date: 2015-06-11 15:24+0100\n"
6
  "Last-Translator: Eirik Opsanger <eirik.opsanger@gmail.com>\n"
7
  "Language-Team: WP Overnight <support@wpovernight.com>\n"
8
  "Language: nb\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.1\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
576
 
577
  #: templates/pdf/Simple/invoice.php:68
578
  msgid "Payment Method:"
579
+ msgstr "Betalingsmåte:"
580
 
581
  #: templates/pdf/Simple/invoice.php:82
582
  #: templates/pdf/Simple/packing-slip.php:70
languages/wpo_wcpdf-sv_SE.mo CHANGED
Binary file
languages/wpo_wcpdf-sv_SE.po CHANGED
@@ -1,772 +1,684 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-04-29 09:04+0100\n"
6
- "PO-Revision-Date: 2015-04-29 09:07+0100\n"
7
- "Last-Translator: Fredrik Rudin <fredrik.rudin@outlook.com>\n"
8
- "Language-Team: WP Overnight <support@wpovernight.com>\n"
9
- "Language: sv\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
- "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
- "X-Poedit-Basepath: ../\n"
18
- "X-Textdomain-Support: yes\n"
19
- "X-Generator: Poedit 1.7.5\n"
20
- "X-Poedit-SearchPath-0: .\n"
21
-
22
- #: includes/class-wcpdf-export.php:338 includes/class-wcpdf-export.php:348
23
- #: includes/class-wcpdf-export.php:359 includes/class-wcpdf-export.php:367
24
- msgid "You do not have sufficient permissions to access this page."
25
- msgstr "Du har inte behörighet att komma åt den här sidan."
26
-
27
- #: includes/class-wcpdf-export.php:343
28
- msgid "Some of the export parameters are missing."
29
- msgstr ""
30
-
31
- #: includes/class-wcpdf-export.php:424
32
- msgid "invoice"
33
- msgid_plural "invoices"
34
- msgstr[0] "faktura"
35
- msgstr[1] "fakturor"
36
-
37
- #: includes/class-wcpdf-export.php:428
38
- msgid "packing-slip"
39
- msgid_plural "packing-slips"
40
- msgstr[0] "följesedel"
41
- msgstr[1] "följesedlarna"
42
-
43
- #: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
44
- #: includes/class-wcpdf-writepanels.php:32
45
- msgid "PDF Invoices"
46
- msgstr "E-fakturor"
47
-
48
- #: includes/class-wcpdf-settings.php:80
49
- msgid "Settings"
50
- msgstr "Inställningar"
51
-
52
- #: includes/class-wcpdf-settings.php:102
53
- msgid "General"
54
- msgstr "Allmänt"
55
-
56
- #: includes/class-wcpdf-settings.php:103
57
- msgid "Template"
58
- msgstr "Mall"
59
-
60
- #: includes/class-wcpdf-settings.php:108
61
- msgid "Status"
62
- msgstr ""
63
-
64
- #: includes/class-wcpdf-settings.php:120
65
- msgid "WooCommerce PDF Invoices"
66
- msgstr "WooCommerce E-fakturor"
67
-
68
- #: includes/class-wcpdf-settings.php:189
69
- msgid "General settings"
70
- msgstr "Allmäna inställningar"
71
-
72
- #: includes/class-wcpdf-settings.php:196
73
- msgid "How do you want to view the PDF?"
74
- msgstr "Hur vill du visa din PDF?"
75
-
76
- #: includes/class-wcpdf-settings.php:204
77
- msgid "Download the PDF"
78
- msgstr "Ladda ner PDF"
79
-
80
- #: includes/class-wcpdf-settings.php:205
81
- msgid "Open the PDF in a new browser tab/window"
82
- msgstr "Öppna PDF i en ny tabb/fönster"
83
-
84
- #: includes/class-wcpdf-settings.php:214
85
- msgid "Admin New Order email"
86
- msgstr "Ny order admin epost"
87
-
88
- #: includes/class-wcpdf-settings.php:215
89
- msgid "Customer Processing Order email"
90
- msgstr "Kundorder berarbetas epost"
91
-
92
- #: includes/class-wcpdf-settings.php:216
93
- msgid "Customer Completed Order email"
94
- msgstr "Kundorder färdig epost"
95
-
96
- #: includes/class-wcpdf-settings.php:217
97
- msgid "Customer Invoice email"
98
- msgstr "Kundfaktura epost"
99
-
100
- #: includes/class-wcpdf-settings.php:222
101
- msgid "Attach invoice to:"
102
- msgstr "Skicka faktura med:"
103
-
104
- #: includes/class-wcpdf-settings.php:230
105
- #, php-format
106
- msgid ""
107
- "It looks like the temp folder (<code>%s</code>) is not writable, check the "
108
- "permissions for this folder! Without having write access to this folder, the "
109
- "plugin will not be able to email invoices."
110
- msgstr ""
111
- "Det ser ut som den temporära mappen (<code>%s</code>) inte är skrivbar, "
112
- "kontrollera rättigheterna för den mappen! Utan skrivrättigheter kan inte "
113
- "detta plugin skapa email fakturor."
114
-
115
- #: includes/class-wcpdf-settings.php:236
116
- msgid "Disable for free products"
117
- msgstr ""
118
-
119
- #: includes/class-wcpdf-settings.php:243
120
- msgid ""
121
- "Disable automatic creation/attachment of invoices when only free products "
122
- "are ordered"
123
- msgstr ""
124
-
125
- #: includes/class-wcpdf-settings.php:250
126
- msgid "Interface"
127
- msgstr ""
128
-
129
- #: includes/class-wcpdf-settings.php:298
130
- msgid "Allow My Account invoice download"
131
- msgstr ""
132
-
133
- #: includes/class-wcpdf-settings.php:306
134
- msgid "Only when an invoice is already created/emailed"
135
- msgstr ""
136
-
137
- #: includes/class-wcpdf-settings.php:307
138
- msgid "Only for specific order statuses (define below)"
139
- msgstr ""
140
-
141
- #: includes/class-wcpdf-settings.php:308
142
- msgid "Always"
143
- msgstr ""
144
-
145
- #: includes/class-wcpdf-settings.php:323
146
- msgid "Enable invoice number column in the orders list"
147
- msgstr "Aktivera fakturanummer i orderlistan."
148
-
149
- #: includes/class-wcpdf-settings.php:361
150
- msgid "PDF Template settings"
151
- msgstr "PDF-mall inställningar"
152
-
153
- #: includes/class-wcpdf-settings.php:373
154
- msgid "Choose a template"
155
- msgstr "Välj en mall"
156
-
157
- #: includes/class-wcpdf-settings.php:381
158
- #, php-format
159
- msgid ""
160
- "Want to use your own template? Copy all the files from <code>%s</code> to "
161
- "your (child) theme in <code>%s</code> to customize them"
162
- msgstr ""
163
-
164
- #: includes/class-wcpdf-settings.php:387
165
- msgid "Paper size"
166
- msgstr "Pappersstorlek"
167
-
168
- #: includes/class-wcpdf-settings.php:395
169
- msgid "A4"
170
- msgstr "A4"
171
-
172
- #: includes/class-wcpdf-settings.php:396
173
- msgid "Letter"
174
- msgstr "Letter (US)"
175
-
176
- #: includes/class-wcpdf-settings.php:403
177
- msgid "Shop header/logo"
178
- msgstr "Shop header/logo"
179
-
180
- #: includes/class-wcpdf-settings.php:410
181
- msgid "Select or upload your invoice header/logo"
182
- msgstr "Välj eller ladda upp din faktura header/logo"
183
-
184
- #: includes/class-wcpdf-settings.php:411
185
- msgid "Set image"
186
- msgstr "Välj bild"
187
-
188
- #: includes/class-wcpdf-settings.php:412
189
- msgid "Remove image"
190
- msgstr "Ta bort bild"
191
-
192
- #: includes/class-wcpdf-settings.php:419
193
- msgid "Shop Name"
194
- msgstr "Shop namn"
195
-
196
- #: includes/class-wcpdf-settings.php:432
197
- msgid "Shop Address"
198
- msgstr "Shop adress"
199
-
200
- #: includes/class-wcpdf-settings.php:447
201
- msgid "Footer: terms & conditions, policies, etc."
202
- msgstr "Sidfot: villkor, policy, osv."
203
-
204
- #: includes/class-wcpdf-settings.php:463 templates/pdf/Simple/invoice.php:9
205
- #: templates/pdf/Simple/invoice.php:21
206
- #: woocommerce-pdf-invoices-packingslips.php:220
207
- msgid "Invoice"
208
- msgstr "Faktura"
209
-
210
- #: includes/class-wcpdf-settings.php:470
211
- msgid "Display shipping address"
212
- msgstr ""
213
-
214
- #: includes/class-wcpdf-settings.php:477
215
- msgid ""
216
- "Display shipping address on invoice (in addition to the default billing "
217
- "address) if different from billing address"
218
- msgstr ""
219
-
220
- #: includes/class-wcpdf-settings.php:483 includes/class-wcpdf-settings.php:598
221
- msgid "Display email address"
222
- msgstr ""
223
-
224
- #: includes/class-wcpdf-settings.php:495 includes/class-wcpdf-settings.php:610
225
- msgid "Display phone number"
226
- msgstr ""
227
-
228
- #: includes/class-wcpdf-settings.php:507
229
- msgid "Display invoice date"
230
- msgstr ""
231
-
232
- #: includes/class-wcpdf-settings.php:520
233
- msgid "Display built-in sequential invoice number"
234
- msgstr ""
235
-
236
- #: includes/class-wcpdf-settings.php:533
237
- msgid "Next invoice number (without prefix/suffix etc.)"
238
- msgstr "Nästa ordernummer (utan prefix/suffix etc.)"
239
-
240
- #: includes/class-wcpdf-settings.php:541
241
- msgid ""
242
- "This is the number that will be used on the next invoice that is created. By "
243
- "default, numbering starts from the WooCommerce Order Number of the first "
244
- "invoice that is created and increases for every new invoice. Note that if "
245
- "you override this and set it lower than the highest (PDF) invoice number, "
246
- "this could create double invoice numbers!"
247
- msgstr ""
248
- "Det här är nummret som kommer användas när nästa order görs. Det förvalda "
249
- "värdet startar från WooCommerce ordernummer och den första fakturan som "
250
- "skapas kommer att följa efter varje ny faktura som skapas. Notera att om du "
251
- "skriver över detta och sätter ett lägre värde än det högsta (PDF) faktura "
252
- "nummret kan det resultera i dubbla fakturanummer."
253
-
254
- #: includes/class-wcpdf-settings.php:547
255
- #, fuzzy
256
- msgid "Invoice number format"
257
- msgstr "Fakturanummer"
258
-
259
- #: includes/class-wcpdf-settings.php:556
260
- msgid "Prefix"
261
- msgstr ""
262
-
263
- #: includes/class-wcpdf-settings.php:558
264
- msgid ""
265
- "to use the order year and/or month, use [order_year] or [order_month] "
266
- "respectively"
267
- msgstr ""
268
-
269
- #: includes/class-wcpdf-settings.php:561
270
- msgid "Suffix"
271
- msgstr ""
272
-
273
- #: includes/class-wcpdf-settings.php:566
274
- msgid "Padding"
275
- msgstr ""
276
-
277
- #: includes/class-wcpdf-settings.php:568
278
- msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
279
- msgstr ""
280
-
281
- #: includes/class-wcpdf-settings.php:571
282
- msgid ""
283
- "note: if you have already created a custom invoice number format with a "
284
- "filter, the above settings will be ignored"
285
- msgstr ""
286
-
287
- #: includes/class-wcpdf-settings.php:578
288
- #: templates/pdf/Simple/packing-slip.php:9
289
- #: templates/pdf/Simple/packing-slip.php:21
290
- #: woocommerce-pdf-invoices-packingslips.php:223
291
- msgid "Packing Slip"
292
- msgstr "Följesedel"
293
-
294
- #: includes/class-wcpdf-settings.php:585
295
- msgid "Display billing address"
296
- msgstr ""
297
-
298
- #: includes/class-wcpdf-settings.php:592
299
- msgid ""
300
- "Display billing address on packing slip (in addition to the default shipping "
301
- "address) if different from shipping address"
302
- msgstr ""
303
-
304
- #: includes/class-wcpdf-settings.php:623
305
- msgid "Extra template fields"
306
- msgstr "Extra mallfält"
307
-
308
- #: includes/class-wcpdf-settings.php:630
309
- msgid "Extra field 1"
310
- msgstr "Extra fält 1"
311
-
312
- #: includes/class-wcpdf-settings.php:639
313
- msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
314
- msgstr "Kolumn nummer 1 i footer <i>Modern (Premium)</i> mallen"
315
-
316
- #: includes/class-wcpdf-settings.php:645
317
- msgid "Extra field 2"
318
- msgstr "Extra fält 2"
319
-
320
- #: includes/class-wcpdf-settings.php:654
321
- msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
322
- msgstr "Kolumn nummer 2 i footer <i>Modern (Premium)</i> mallen"
323
-
324
- #: includes/class-wcpdf-settings.php:660
325
- msgid "Extra field 3"
326
- msgstr "Extra fält 3"
327
-
328
- #: includes/class-wcpdf-settings.php:669
329
- msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
330
- msgstr "Kolumn nummer 3 i footer <i>Modern (Premium)</i> mallen"
331
-
332
- #: includes/class-wcpdf-settings.php:711
333
- msgid "Debug settings"
334
- msgstr ""
335
-
336
- #: includes/class-wcpdf-settings.php:718
337
- msgid "Enable debug output"
338
- msgstr ""
339
-
340
- #: includes/class-wcpdf-settings.php:725
341
- msgid ""
342
- "Enable this option to output plugin errors if you're getting a blank page or "
343
- "other PDF generation issues"
344
- msgstr ""
345
-
346
- #: includes/class-wcpdf-settings.php:731
347
- msgid "Output to HTML"
348
- msgstr ""
349
-
350
- #: includes/class-wcpdf-settings.php:738
351
- msgid ""
352
- "Send the template output as HTML to the browser instead of creating a PDF."
353
- msgstr ""
354
-
355
- #: includes/class-wcpdf-settings.php:744
356
- msgid "Use old tmp folder"
357
- msgstr ""
358
-
359
- #: includes/class-wcpdf-settings.php:751
360
- msgid ""
361
- "Before version 1.5 of PDF Invoices, temporary files were stored in the "
362
- "plugin folder. This setting is only intended for backwards compatibility, "
363
- "not recommended on new installs!"
364
- msgstr ""
365
-
366
- #: includes/class-wcpdf-settings.php:1091
367
- msgid "Image resolution"
368
- msgstr "Bildupplösning"
369
-
370
- #: includes/class-wcpdf-settings.php:1207
371
- msgid ""
372
- "<b>Warning!</b> The settings below are meant for debugging/development only. "
373
- "Do not use them on a live website!"
374
- msgstr ""
375
-
376
- #: includes/class-wcpdf-settings.php:1216
377
- msgid ""
378
- "These are used for the (optional) footer columns in the <em>Modern "
379
- "(Premium)</em> template, but can also be used for other elements in your "
380
- "custom template"
381
- msgstr ""
382
- "Dessa är använda (valfritt) som kolumner i footern i <em>Modern (Premium)</"
383
- "em> mallen, men kan även användas för dina egna element i dina skräddarsydda "
384
- "mallar."
385
-
386
- #: includes/class-wcpdf-writepanels.php:33
387
- msgid "PDF Packing Slips"
388
- msgstr "följesedlar (PDF)"
389
-
390
- #: includes/class-wcpdf-writepanels.php:107
391
- #: includes/class-wcpdf-writepanels.php:216
392
- msgid "PDF Invoice"
393
- msgstr ""
394
-
395
- #: includes/class-wcpdf-writepanels.php:112
396
- #: includes/class-wcpdf-writepanels.php:221
397
- msgid "PDF Packing Slip"
398
- msgstr "följesedel (PDF)"
399
-
400
- #: includes/class-wcpdf-writepanels.php:139
401
- msgid "Invoice Number"
402
- msgstr "Fakturanummer"
403
-
404
- #: includes/class-wcpdf-writepanels.php:192
405
- msgid "Download invoice (PDF)"
406
- msgstr "Ladda ner E-faktura"
407
-
408
- #: includes/class-wcpdf-writepanels.php:203
409
- msgid "Create PDF"
410
- msgstr "Skapa PDF"
411
-
412
- #: includes/class-wcpdf-writepanels.php:264
413
- msgid "PDF Invoice Number (unformatted!)"
414
- msgstr "E-fakturanummer (oformaterat!)"
415
-
416
- #: includes/class-wcpdf-writepanels.php:267
417
- #: templates/pdf/Simple/invoice.php:55
418
- msgid "Invoice Date:"
419
- msgstr "Fakturadatum:"
420
-
421
- #: includes/class-wcpdf-writepanels.php:268
422
- msgid "h"
423
- msgstr ""
424
-
425
- #: includes/class-wcpdf-writepanels.php:268
426
- msgid "m"
427
- msgstr ""
428
-
429
- #: includes/wcpdf-extensions.php:15
430
- msgid "Check out these premium extensions!"
431
- msgstr ""
432
-
433
- #: includes/wcpdf-extensions.php:16
434
- msgid "click items to read more"
435
- msgstr ""
436
-
437
- #: includes/wcpdf-extensions.php:23
438
- msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
439
- msgstr ""
440
-
441
- #: includes/wcpdf-extensions.php:25
442
- msgid ""
443
- "Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
444
- "features:"
445
- msgstr ""
446
-
447
- #: includes/wcpdf-extensions.php:27
448
- msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
449
- msgstr ""
450
-
451
- #: includes/wcpdf-extensions.php:28
452
- msgid ""
453
- "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
454
- "packing slips, for example to a drop-shipper or a supplier."
455
- msgstr ""
456
-
457
- #: includes/wcpdf-extensions.php:29
458
- msgid ""
459
- "Attach <b>up to 3 static files</b> (for example a terms & conditions "
460
- "document) to the WooCommerce emails of your choice."
461
- msgstr ""
462
-
463
- #: includes/wcpdf-extensions.php:30
464
- msgid ""
465
- "Use <b>separate numbering systems</b> and/or format for proforma invoices "
466
- "and credit notes or utilize the main invoice numbering system"
467
- msgstr ""
468
-
469
- #: includes/wcpdf-extensions.php:31
470
- msgid ""
471
- "<b>Customize</b> the <b>shipping & billing address</b> format to include "
472
- "additional custom fields, font sizes etc. without the need to create a "
473
- "custom template."
474
- msgstr ""
475
-
476
- #: includes/wcpdf-extensions.php:32
477
- msgid "Use the plugin in multilingual <b>WPML</b> setups"
478
- msgstr ""
479
-
480
- #: includes/wcpdf-extensions.php:34
481
- msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
482
- msgstr ""
483
-
484
- #: includes/wcpdf-extensions.php:42
485
- msgid "Upload all invoices automatically to your dropbox"
486
- msgstr ""
487
-
488
- #: includes/wcpdf-extensions.php:48
489
- msgid ""
490
- "This extension conveniently uploads all the invoices (and other pdf "
491
- "documents from the professional extension) that are emailed to your "
492
- "customers to Dropbox. The best way to keep your invoice administration up to "
493
- "date!"
494
- msgstr ""
495
-
496
- #: includes/wcpdf-extensions.php:49
497
- msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
498
- msgstr ""
499
-
500
- #: includes/wcpdf-extensions.php:61
501
- msgid ""
502
- "Automatically send new orders or packing slips to your printer, as soon as "
503
- "the customer orders!"
504
- msgstr ""
505
-
506
- #: includes/wcpdf-extensions.php:67
507
- msgid ""
508
- "Check out the WooCommerce Automatic Order Printing extension from our "
509
- "partners at Simba Hosting"
510
- msgstr ""
511
-
512
- #: includes/wcpdf-extensions.php:68
513
- msgid "WooCommerce Automatic Order Printing"
514
- msgstr ""
515
-
516
- #: includes/wcpdf-extensions.php:82
517
- msgid "More advanced templates"
518
- msgstr ""
519
-
520
- #: includes/wcpdf-extensions.php:85
521
- msgid "Stylish modern invoices & packing slips with product thumbnails!"
522
- msgstr ""
523
-
524
- #: includes/wcpdf-extensions.php:86
525
- msgid "More tax details on the invoices!"
526
- msgstr ""
527
-
528
- #: includes/wcpdf-extensions.php:87
529
- #, php-format
530
- msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
531
- msgstr ""
532
-
533
- #: includes/wcpdf-extensions.php:88
534
- #, php-format
535
- msgid "For custom templates, contact us at %s."
536
- msgstr "För skräddarsydda mallar, kontakta oss %s"
537
-
538
- #: templates/pdf/Simple/invoice.php:29
539
- #: templates/pdf/Simple/packing-slip.php:40
540
- msgid "Billing Address:"
541
- msgstr "Fakturaadress:"
542
-
543
- #: templates/pdf/Simple/invoice.php:40
544
- msgid "Ship To:"
545
- msgstr ""
546
-
547
- #: templates/pdf/Simple/invoice.php:49
548
- msgid "Invoice Number:"
549
- msgstr "Fakturanummer:"
550
-
551
- #: templates/pdf/Simple/invoice.php:60
552
- #: templates/pdf/Simple/packing-slip.php:48
553
- msgid "Order Number:"
554
- msgstr "Ordernummer:"
555
-
556
- #: templates/pdf/Simple/invoice.php:64
557
- #: templates/pdf/Simple/packing-slip.php:52
558
- msgid "Order Date:"
559
- msgstr "Orderdatum:"
560
-
561
- #: templates/pdf/Simple/invoice.php:68
562
- msgid "Payment Method:"
563
- msgstr "Betalningsätt:"
564
-
565
- #: templates/pdf/Simple/invoice.php:82
566
- #: templates/pdf/Simple/packing-slip.php:70
567
- msgid "Product"
568
- msgstr "Produkt"
569
-
570
- #: templates/pdf/Simple/invoice.php:83
571
- #: templates/pdf/Simple/packing-slip.php:71
572
- msgid "Quantity"
573
- msgstr "Antal"
574
-
575
- #: templates/pdf/Simple/invoice.php:84
576
- msgid "Price"
577
- msgstr "Pris"
578
-
579
- #: templates/pdf/Simple/invoice.php:91
580
- #: templates/pdf/Simple/packing-slip.php:78
581
- msgid "Description"
582
- msgstr "Beskrivning"
583
-
584
- #: templates/pdf/Simple/invoice.php:96
585
- #: templates/pdf/Simple/packing-slip.php:83
586
- msgid "SKU"
587
- msgstr "Artikelnummer"
588
-
589
- #: templates/pdf/Simple/invoice.php:97
590
- #: templates/pdf/Simple/packing-slip.php:84
591
- msgid "SKU:"
592
- msgstr "SKU:"
593
-
594
- #: templates/pdf/Simple/invoice.php:98
595
- #: templates/pdf/Simple/packing-slip.php:85
596
- msgid "Weight:"
597
- msgstr "Vikt:"
598
-
599
- #: templates/pdf/Simple/invoice.php:112
600
- #: templates/pdf/Simple/packing-slip.php:99
601
- msgid "Customer Notes"
602
- msgstr "Kundnoteringar"
603
-
604
- #: templates/pdf/Simple/packing-slip.php:29
605
- msgid "Shipping Address:"
606
- msgstr "Leveransadress:"
607
-
608
- #: templates/pdf/Simple/packing-slip.php:56
609
- msgid "Shipping Method:"
610
- msgstr "Fraktmetod:"
611
-
612
- #: woocommerce-pdf-invoices-packingslips.php:123
613
- #, php-format
614
- msgid ""
615
- "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
616
- "installed & activated!"
617
- msgstr ""
618
- "WooCommerce PDF Invoices & Packing Slips behövert %sWooCommerce%s för att "
619
- "installeras och aktiveras!"
620
-
621
- #: woocommerce-pdf-invoices-packingslips.php:330
622
- #: woocommerce-pdf-invoices-packingslips.php:391
623
- msgid "N/A"
624
- msgstr "N/A"
625
-
626
- #: woocommerce-pdf-invoices-packingslips.php:480
627
- msgid "Payment method"
628
- msgstr "Betalningsätt"
629
-
630
- #: woocommerce-pdf-invoices-packingslips.php:491
631
- msgid "Shipping method"
632
- msgstr "Fraktmetod"
633
-
634
- #: woocommerce-pdf-invoices-packingslips.php:644
635
- msgid "Subtotal"
636
- msgstr "Totalt"
637
-
638
- #: woocommerce-pdf-invoices-packingslips.php:666
639
- msgid "Shipping"
640
- msgstr "Frakt"
641
-
642
- #: woocommerce-pdf-invoices-packingslips.php:719
643
- msgid "Discount"
644
- msgstr "Rabatt"
645
-
646
- #: woocommerce-pdf-invoices-packingslips.php:759
647
- msgid "VAT"
648
- msgstr "MOMS"
649
-
650
- #: woocommerce-pdf-invoices-packingslips.php:760
651
- msgid "Tax rate"
652
- msgstr "MOMS"
653
-
654
- #: woocommerce-pdf-invoices-packingslips.php:797
655
- msgid "Total ex. VAT"
656
- msgstr "Totalt ex. MOMS"
657
-
658
- #: woocommerce-pdf-invoices-packingslips.php:800
659
- msgid "Total"
660
- msgstr "Totalt"
661
-
662
- #~ msgid ""
663
- #~ "Looking for more advanced templates? Check out the Premium PDF Invoice & "
664
- #~ "Packing Slips templates at %s."
665
- #~ msgstr ""
666
- #~ "Letar du efter mer avancerade mallar? Kolla in våra premium mallar på %s."
667
-
668
- #~ msgid ""
669
- #~ "Want to use your own template? Copy all the files from <code>%s</code> to "
670
- #~ "<code>%s</code> to customize them"
671
- #~ msgstr ""
672
- #~ "Vill du använda en egen mall? Kopiera alla filer från <code>%s</code> "
673
- #~ "till <code>%s</code> för att redigera dem"
674
-
675
- #~ msgid "Number to display on invoice"
676
- #~ msgstr "Nummer att visa på faktura"
677
-
678
- #~ msgid "WooCommerce order number"
679
- #~ msgstr "WooCommerce ordernummer"
680
-
681
- #~ msgid "Built-in sequential invoice number"
682
- #~ msgstr "Inbyggda sekvensnummer för order"
683
-
684
- #~ msgid ""
685
- #~ "If you are using the WooCommerce Sequential Order Numbers plugin, select "
686
- #~ "the WooCommerce order number"
687
- #~ msgstr ""
688
- #~ "Om du använder WooCommerce \"Sequential Order Numbers plugin\", välj "
689
- #~ "WooCommerce ordernummer."
690
-
691
- #~ msgid "Date to display on invoice"
692
- #~ msgstr "Datum att visa på faktura"
693
-
694
- #~ msgid "Order date"
695
- #~ msgstr "Orderdatum"
696
-
697
- #~ msgid "Invoice date"
698
- #~ msgstr "Fakturadatum"
699
-
700
- #~ msgid "PDF invoice"
701
- #~ msgstr "E-faktura"
702
-
703
- #~ msgid ""
704
- #~ "Your WP Memory Limit is currently set to %s - We recommend setting it to "
705
- #~ "at least 64MB (128MB for optimal performance). See: <a href=\"%s"
706
- #~ "\">Increasing memory allocated to PHP</a>"
707
- #~ msgstr ""
708
- #~ "Din WP minnesgräns är inställt på %s - Vi rekommenderar att minst ha 64MB "
709
- #~ "(128MB för bästa funktionallitet). Se: <a href=\"%s\">Increasing memory "
710
- #~ "allocated to PHP</a>"
711
-
712
- #~ msgid "Email invoice (attach to order confirmation or invoice email)"
713
- #~ msgstr ""
714
- #~ "Email factuur (voeg toe aan orderbevestigings-email of factuur email)"
715
-
716
- #~ msgid "Order number"
717
- #~ msgstr "Factuurnummer"
718
-
719
- #~ msgid "Date"
720
- #~ msgstr "Datum"
721
-
722
- #~ msgid "Email"
723
- #~ msgstr "Email"
724
-
725
- #~ msgid "Phone"
726
- #~ msgstr "Telefoonnummer"
727
-
728
- #~ msgid "Recipient"
729
- #~ msgstr "Ontvanger"
730
-
731
- #~ msgid "Totals"
732
- #~ msgstr "Totalen"
733
-
734
- #~ msgid "Terms & conditions"
735
- #~ msgstr "Algemene voorwaarden"
736
-
737
- #~ msgid "Footer imprint"
738
- #~ msgstr "Voetnoot"
739
-
740
- #~ msgid "View your shopping cart"
741
- #~ msgstr "Bekijk uw winkelwagen"
742
-
743
- #~ msgid "%d item"
744
- #~ msgid_plural "%d items"
745
- #~ msgstr[0] "%d artikel"
746
- #~ msgstr[1] "%d artikelen"
747
-
748
- #~ msgid "your cart is currently empty"
749
- #~ msgstr "Uw winkelwagen is leeg"
750
-
751
- #~ msgid ""
752
- #~ "WooCommerce Menu Cart depends on <a href=\"%s\">WooCommerce</a> to work!"
753
- #~ msgstr ""
754
- #~ "WooCommerce Menu Cart heeft <a href=\"%s\">WooCommerce</a> om te kunnen "
755
- #~ "functioneren!"
756
-
757
- #~ msgid "Display Flyout."
758
- #~ msgstr "Geef flyout weer."
759
-
760
- #~ msgid "Set the name of the menu you want to display"
761
- #~ msgstr ""
762
- #~ "Voer de naam in van het menu waarin je het winkelwagentje wilt weergeven"
763
-
764
- #~ msgid ""
765
- #~ "Let's keep this simple! Just check the boxes next to the features you "
766
- #~ "want."
767
- #~ msgstr ""
768
- #~ "Super eenvoudig: geef simpelweg de vakjes naast de features zoals jij ze "
769
- #~ "wilt gebruiken een vinkje."
770
-
771
- #~ msgid "Save Changes"
772
- #~ msgstr "Opslaan"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-05-28 16:09+0100\n"
6
+ "PO-Revision-Date: 2015-06-24 12:43+0100\n"
7
+ "Last-Translator: conney@johansen.se <conney@johansen.se>\n"
8
+ "Language-Team: WP Overnight <support@wpovernight.com>\n"
9
+ "Language: sv\n"
10
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;__:1;"
16
+ "_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;_x:1,2c;"
17
+ "_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;esc_attr__:1;"
18
+ "esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;esc_html_x:1,2c;"
19
+ "comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
20
+ "X-Poedit-Basepath: ../\n"
21
+ "X-Textdomain-Support: yes\n"
22
+ "X-Generator: Poedit 1.8.1\n"
23
+ "X-Loco-Target-Locale: sv_SE\n"
24
+ "X-Poedit-SearchPath-0: .\n"
25
+
26
+ #: includes/class-wcpdf-export.php:338 includes/class-wcpdf-export.php:348
27
+ #: includes/class-wcpdf-export.php:359 includes/class-wcpdf-export.php:367
28
+ msgid "You do not have sufficient permissions to access this page."
29
+ msgstr "Du har inte behörighet att komma åt den här sidan."
30
+
31
+ #: includes/class-wcpdf-export.php:343
32
+ msgid "Some of the export parameters are missing."
33
+ msgstr "Vissa paramertrar i exporten saknas"
34
+
35
+ #: includes/class-wcpdf-export.php:424
36
+ msgid "invoice"
37
+ msgid_plural "invoices"
38
+ msgstr[0] "faktura"
39
+ msgstr[1] "fakturor"
40
+
41
+ #: includes/class-wcpdf-export.php:428
42
+ msgid "packing-slip"
43
+ msgid_plural "packing-slips"
44
+ msgstr[0] "följesedel"
45
+ msgstr[1] "följesedlarna"
46
+
47
+ #: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
48
+ #: includes/class-wcpdf-writepanels.php:31
49
+ msgid "PDF Invoices"
50
+ msgstr "PDF fakturor"
51
+
52
+ #: includes/class-wcpdf-settings.php:80
53
+ msgid "Settings"
54
+ msgstr "Inställningar"
55
+
56
+ #: includes/class-wcpdf-settings.php:102
57
+ msgid "General"
58
+ msgstr "Allmänt"
59
+
60
+ #: includes/class-wcpdf-settings.php:103
61
+ msgid "Template"
62
+ msgstr "Mall"
63
+
64
+ #: includes/class-wcpdf-settings.php:108
65
+ msgid "Status"
66
+ msgstr "Status"
67
+
68
+ #: includes/class-wcpdf-settings.php:120
69
+ msgid "WooCommerce PDF Invoices"
70
+ msgstr "WooCommerce PDF fakturor"
71
+
72
+ #: includes/class-wcpdf-settings.php:189
73
+ msgid "General settings"
74
+ msgstr "Allmäna inställningar"
75
+
76
+ #: includes/class-wcpdf-settings.php:196
77
+ msgid "How do you want to view the PDF?"
78
+ msgstr "Hur vill du visa din PDF?"
79
+
80
+ #: includes/class-wcpdf-settings.php:204
81
+ msgid "Download the PDF"
82
+ msgstr "Ladda ner PDF"
83
+
84
+ #: includes/class-wcpdf-settings.php:205
85
+ msgid "Open the PDF in a new browser tab/window"
86
+ msgstr "Öppna PDF i en ny tabb/fönster"
87
+
88
+ #: includes/class-wcpdf-settings.php:214
89
+ msgid "Admin New Order email"
90
+ msgstr "vid ny order"
91
+
92
+ #: includes/class-wcpdf-settings.php:215
93
+ msgid "Customer Processing Order email"
94
+ msgstr "vid bearbetad order"
95
+
96
+ #: includes/class-wcpdf-settings.php:216
97
+ msgid "Customer Completed Order email"
98
+ msgstr "vid genomförd order"
99
+
100
+ #: includes/class-wcpdf-settings.php:217
101
+ msgid "Customer Invoice email"
102
+ msgstr "vid kundfaktura"
103
+
104
+ #: includes/class-wcpdf-settings.php:222
105
+ msgid "Attach invoice to:"
106
+ msgstr "Bifoga faktura:"
107
+
108
+ #: includes/class-wcpdf-settings.php:230
109
+ #, php-format
110
+ msgid ""
111
+ "It looks like the temp folder (<code>%s</code>) is not writable, check the "
112
+ "permissions for this folder! Without having write access to this folder, the "
113
+ "plugin will not be able to email invoices."
114
+ msgstr ""
115
+ "Det ser ut som den temporära mappen (<code>%s</code>) inte är skrivbar, "
116
+ "kontrollera rättigheterna för den mappen! Utan skrivrättigheter så kan inte detta "
117
+ "plugin skapa email fakturor."
118
+
119
+ #: includes/class-wcpdf-settings.php:236
120
+ msgid "Disable for free products"
121
+ msgstr "Inaktivera för gratisprodukter"
122
+
123
+ #: includes/class-wcpdf-settings.php:243
124
+ msgid ""
125
+ "Disable automatic creation/attachment of invoices when only free products are "
126
+ "ordered"
127
+ msgstr ""
128
+ "Inaktivera automatisk genererad faktura vid gratisprodukter (endast när "
129
+ "gratisprodukter är beställda )"
130
+
131
+ #: includes/class-wcpdf-settings.php:250
132
+ msgid "Interface"
133
+ msgstr "Gränssnitt"
134
+
135
+ #: includes/class-wcpdf-settings.php:298
136
+ msgid "Allow My Account invoice download"
137
+ msgstr "Tillåt nerladdning av faktura på \"Mitt konto\" "
138
+
139
+ #: includes/class-wcpdf-settings.php:306
140
+ msgid "Only when an invoice is already created/emailed"
141
+ msgstr "Endast när en faktura redan är skapad/skickad"
142
+
143
+ #: includes/class-wcpdf-settings.php:307
144
+ msgid "Only for specific order statuses (define below)"
145
+ msgstr "Endast för specifik orderstatus (definierade nedan)"
146
+
147
+ #: includes/class-wcpdf-settings.php:308
148
+ msgid "Always"
149
+ msgstr "Alltid"
150
+
151
+ #: includes/class-wcpdf-settings.php:323
152
+ msgid "Enable invoice number column in the orders list"
153
+ msgstr "Aktivera fakturanummer i orderlistan."
154
+
155
+ #: includes/class-wcpdf-settings.php:361
156
+ msgid "PDF Template settings"
157
+ msgstr "PDF-mall inställningar"
158
+
159
+ #: includes/class-wcpdf-settings.php:373
160
+ msgid "Choose a template"
161
+ msgstr "Välj en mall"
162
+
163
+ #: includes/class-wcpdf-settings.php:381
164
+ #, php-format
165
+ msgid ""
166
+ "Want to use your own template? Copy all the files from <code>%s</code> to your "
167
+ "(child) theme in <code>%s</code> to customize them"
168
+ msgstr ""
169
+ "Vill du använda egen mall? Kopiera alla filer från <code>%s</code> till ditt eget "
170
+ "\" (child) theme\" <code>%s</code> för att skräddasy temat"
171
+
172
+ #: includes/class-wcpdf-settings.php:387
173
+ msgid "Paper size"
174
+ msgstr "Pappersstorlek"
175
+
176
+ #: includes/class-wcpdf-settings.php:395
177
+ msgid "A4"
178
+ msgstr "A4"
179
+
180
+ #: includes/class-wcpdf-settings.php:396
181
+ msgid "Letter"
182
+ msgstr "Letter (US)"
183
+
184
+ #: includes/class-wcpdf-settings.php:403
185
+ msgid "Shop header/logo"
186
+ msgstr "Butikslogotyp"
187
+
188
+ #: includes/class-wcpdf-settings.php:410
189
+ msgid "Select or upload your invoice header/logo"
190
+ msgstr "Välj eller ladda upp din faktura logotyp"
191
+
192
+ #: includes/class-wcpdf-settings.php:411
193
+ msgid "Set image"
194
+ msgstr "Välj bild"
195
+
196
+ #: includes/class-wcpdf-settings.php:412
197
+ msgid "Remove image"
198
+ msgstr "Ta bort bild"
199
+
200
+ #: includes/class-wcpdf-settings.php:419
201
+ msgid "Shop Name"
202
+ msgstr "Butiksnamn"
203
+
204
+ #: includes/class-wcpdf-settings.php:432
205
+ msgid "Shop Address"
206
+ msgstr "Butiksadress"
207
+
208
+ #: includes/class-wcpdf-settings.php:447
209
+ msgid "Footer: terms & conditions, policies, etc."
210
+ msgstr "Sidfot: villkor, policy, osv."
211
+
212
+ #: includes/class-wcpdf-settings.php:463 includes/class-wcpdf-writepanels.php:273
213
+ #: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
214
+ #: woocommerce-pdf-invoices-packingslips.php:220
215
+ msgid "Invoice"
216
+ msgstr "Faktura"
217
+
218
+ #: includes/class-wcpdf-settings.php:470
219
+ msgid "Display shipping address"
220
+ msgstr "Visa leveransadress"
221
+
222
+ #: includes/class-wcpdf-settings.php:477
223
+ msgid ""
224
+ "Display shipping address on invoice (in addition to the default billing address) "
225
+ "if different from billing address"
226
+ msgstr "Visa leveransadress på fakturan om den skiljer sig åt från faktura adressen"
227
+
228
+ #: includes/class-wcpdf-settings.php:483 includes/class-wcpdf-settings.php:598
229
+ msgid "Display email address"
230
+ msgstr "Visa e-postadress"
231
+
232
+ #: includes/class-wcpdf-settings.php:495 includes/class-wcpdf-settings.php:610
233
+ msgid "Display phone number"
234
+ msgstr "Visa telefonnumer"
235
+
236
+ #: includes/class-wcpdf-settings.php:507
237
+ msgid "Display invoice date"
238
+ msgstr "Visa fakturadatum"
239
+
240
+ #: includes/class-wcpdf-settings.php:520
241
+ msgid "Display built-in sequential invoice number"
242
+ msgstr "Visa inbyggt sekventiell fakturanummer"
243
+
244
+ #: includes/class-wcpdf-settings.php:533
245
+ msgid "Next invoice number (without prefix/suffix etc.)"
246
+ msgstr "Nästa ordernummer (utan prefix/suffix etc.)"
247
+
248
+ #: includes/class-wcpdf-settings.php:541
249
+ msgid ""
250
+ "This is the number that will be used on the next invoice that is created. By "
251
+ "default, numbering starts from the WooCommerce Order Number of the first invoice "
252
+ "that is created and increases for every new invoice. Note that if you override "
253
+ "this and set it lower than the highest (PDF) invoice number, this could create "
254
+ "double invoice numbers!"
255
+ msgstr ""
256
+ "Det här är numret som kommer användas när nästa order görs. Det förvalda värdet "
257
+ "startar från WooCommerce ordernummer och den första fakturan som skapas kommer "
258
+ "att följa efter varje ny faktura som skapas. Notera att om du skriver över detta "
259
+ "och sätter ett lägre värde än det högsta (PDF) faktura numret så kan det "
260
+ "resultera i dubbla fakturanummer."
261
+
262
+ #: includes/class-wcpdf-settings.php:547
263
+ msgid "Invoice number format"
264
+ msgstr "Fakturanummers format"
265
+
266
+ #: includes/class-wcpdf-settings.php:556
267
+ msgid "Prefix"
268
+ msgstr "Prefix"
269
+
270
+ #: includes/class-wcpdf-settings.php:558
271
+ msgid ""
272
+ "to use the order year and/or month, use [order_year] or [order_month] respectively"
273
+ msgstr ""
274
+ "för att använda order datum eller månad , använd [order_year] eller "
275
+ "[order_month] "
276
+
277
+ #: includes/class-wcpdf-settings.php:561
278
+ msgid "Suffix"
279
+ msgstr "Suflix"
280
+
281
+ #: includes/class-wcpdf-settings.php:566
282
+ msgid "Padding"
283
+ msgstr "Utfyllnad"
284
+
285
+ #: includes/class-wcpdf-settings.php:568
286
+ msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
287
+ msgstr "fyll i antalet värdesiffror här. Skriv \"6\" så visas 42 som 000042"
288
+
289
+ #: includes/class-wcpdf-settings.php:571
290
+ msgid ""
291
+ "note: if you have already created a custom invoice number format with a filter, "
292
+ "the above settings will be ignored"
293
+ msgstr ""
294
+ "obs: om du redan skapat ett eget fakturanummerformat med ett filter, då ignoreras "
295
+ "inställningarna ovan"
296
+
297
+ #: includes/class-wcpdf-settings.php:578 templates/pdf/Simple/packing-slip.php:9
298
+ #: templates/pdf/Simple/packing-slip.php:21
299
+ #: woocommerce-pdf-invoices-packingslips.php:223
300
+ msgid "Packing Slip"
301
+ msgstr "Följesedel"
302
+
303
+ #: includes/class-wcpdf-settings.php:585
304
+ msgid "Display billing address"
305
+ msgstr "Visa fakturaadress"
306
+
307
+ #: includes/class-wcpdf-settings.php:592
308
+ msgid ""
309
+ "Display billing address on packing slip (in addition to the default shipping "
310
+ "address) if different from shipping address"
311
+ msgstr "Visa fakturaadress på följesedeln om den skiljer sig från leveransadressen"
312
+
313
+ #: includes/class-wcpdf-settings.php:623
314
+ msgid "Extra template fields"
315
+ msgstr "Extra mallfält"
316
+
317
+ #: includes/class-wcpdf-settings.php:630
318
+ msgid "Extra field 1"
319
+ msgstr "Fält 1"
320
+
321
+ #: includes/class-wcpdf-settings.php:639
322
+ msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
323
+ msgstr "Kolumnnummer 1 i sidfot <i>(Premium)</i> mallen"
324
+
325
+ #: includes/class-wcpdf-settings.php:645
326
+ msgid "Extra field 2"
327
+ msgstr "Fält 2"
328
+
329
+ #: includes/class-wcpdf-settings.php:654
330
+ msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
331
+ msgstr "Kolumnnummer 2 i sidfot <i>(Premium)</i> mallen"
332
+
333
+ #: includes/class-wcpdf-settings.php:660
334
+ msgid "Extra field 3"
335
+ msgstr "Fält 3"
336
+
337
+ #: includes/class-wcpdf-settings.php:669
338
+ msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
339
+ msgstr "Kolumnnummer 3 i sidfot <i>(Premium)</i> mallen"
340
+
341
+ #: includes/class-wcpdf-settings.php:711
342
+ msgid "Debug settings"
343
+ msgstr "Felsökningsinställningar"
344
+
345
+ #: includes/class-wcpdf-settings.php:718
346
+ msgid "Enable debug output"
347
+ msgstr "Aktivera felsökningsinställningar"
348
+
349
+ #: includes/class-wcpdf-settings.php:725
350
+ msgid ""
351
+ "Enable this option to output plugin errors if you're getting a blank page or "
352
+ "other PDF generation issues"
353
+ msgstr ""
354
+ "Aktivera det här alternativet för att mata ut plugin fel om du får en tom sida "
355
+ "eller andra PDF generation frågor"
356
+
357
+ #: includes/class-wcpdf-settings.php:731
358
+ msgid "Output to HTML"
359
+ msgstr "Utgång till HTML"
360
+
361
+ #: includes/class-wcpdf-settings.php:738
362
+ msgid "Send the template output as HTML to the browser instead of creating a PDF."
363
+ msgstr "Skicka mallen som HTML till webbläsaren istället för att skapa en PDF-fil."
364
+
365
+ #: includes/class-wcpdf-settings.php:744
366
+ msgid "Use old tmp folder"
367
+ msgstr "Använd \"old tmp\" mapp"
368
+
369
+ #: includes/class-wcpdf-settings.php:751
370
+ msgid ""
371
+ "Before version 1.5 of PDF Invoices, temporary files were stored in the plugin "
372
+ "folder. This setting is only intended for backwards compatibility, not "
373
+ "recommended on new installs!"
374
+ msgstr ""
375
+ "Innan version 1.5 av PDF fakturor, var temporära filer lagrade i plugin-mappen. "
376
+ "Den här inställningen är endast avsedd för bakåtkompatibilitet, rekommenderas "
377
+ "inte på nya installationer!"
378
+
379
+ #: includes/class-wcpdf-settings.php:1091
380
+ msgid "Image resolution"
381
+ msgstr "Bildupplösning"
382
+
383
+ #: includes/class-wcpdf-settings.php:1207
384
+ msgid ""
385
+ "<b>Warning!</b> The settings below are meant for debugging/development only. Do "
386
+ "not use them on a live website!"
387
+ msgstr ""
388
+ "<b>Varning!</b> Inställningarna nedan är avsedda för felsökning / endast "
389
+ "utveckling. Använd dem inte på en aktiv hemsida!"
390
+
391
+ #: includes/class-wcpdf-settings.php:1216
392
+ msgid ""
393
+ "These are used for the (optional) footer columns in the <em>Modern (Premium)</em> "
394
+ "template, but can also be used for other elements in your custom template"
395
+ msgstr ""
396
+ "Dessa kan användas (valfritt) som kolumner i sidfoten i <em>Modern (Premium)</em> "
397
+ "mallen, men kan även användas för dina egna element i dina skräddarsydda mallar."
398
+
399
+ #: includes/class-wcpdf-writepanels.php:32
400
+ msgid "PDF Packing Slips"
401
+ msgstr "Följesedlar (PDF)"
402
+
403
+ #: includes/class-wcpdf-writepanels.php:113
404
+ #: includes/class-wcpdf-writepanels.php:240
405
+ msgid "PDF Invoice"
406
+ msgstr "Faktura (PDF)"
407
+
408
+ #: includes/class-wcpdf-writepanels.php:118
409
+ #: includes/class-wcpdf-writepanels.php:245
410
+ msgid "PDF Packing Slip"
411
+ msgstr "Följesedel (PDF)"
412
+
413
+ #: includes/class-wcpdf-writepanels.php:145
414
+ msgid "Invoice Number"
415
+ msgstr "Fakturanummer"
416
+
417
+ #: includes/class-wcpdf-writepanels.php:198
418
+ msgid "Download invoice (PDF)"
419
+ msgstr "Ladda ner Faktura (PDF)"
420
+
421
+ #: includes/class-wcpdf-writepanels.php:212
422
+ msgid "Create PDF"
423
+ msgstr "Skapa PDF"
424
+
425
+ #: includes/class-wcpdf-writepanels.php:222
426
+ msgid "PDF Invoice data"
427
+ msgstr "PDF Fakturadatum"
428
+
429
+ #: includes/class-wcpdf-writepanels.php:275
430
+ msgid "Invoice Number (unformatted!)"
431
+ msgstr "Faktur nummer (oformaterat)"
432
+
433
+ #: includes/class-wcpdf-writepanels.php:283 templates/pdf/Simple/invoice.php:55
434
+ msgid "Invoice Date:"
435
+ msgstr "Fakturadatum:"
436
+
437
+ #: includes/class-wcpdf-writepanels.php:285
438
+ msgid "h"
439
+ msgstr "h"
440
+
441
+ #: includes/class-wcpdf-writepanels.php:285
442
+ msgid "m"
443
+ msgstr "m"
444
+
445
+ #: includes/wcpdf-extensions.php:15
446
+ msgid "Check out these premium extensions!"
447
+ msgstr "Kolla in dessa Premium tillägg"
448
+
449
+ #: includes/wcpdf-extensions.php:16
450
+ msgid "click items to read more"
451
+ msgstr "klicka för att se mer"
452
+
453
+ #: includes/wcpdf-extensions.php:23
454
+ msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
455
+ msgstr ""
456
+ "Köp Premium: Proformafaktura, kreditfaktura (=återbetalning) och mycket annat!"
457
+
458
+ #: includes/wcpdf-extensions.php:25
459
+ msgid ""
460
+ "Supercharge WooCommerce PDF Invoices & Packing Slips with the following features:"
461
+ msgstr "WooCommerce PDF Invoices & Packing Slips med följande funktioner:"
462
+
463
+ #: includes/wcpdf-extensions.php:27
464
+ msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
465
+ msgstr "E-post/utskrift/nerladdning<b>PDF Kreditfakturor & Proformafakturor</b>"
466
+
467
+ #: includes/wcpdf-extensions.php:28
468
+ msgid ""
469
+ "Send out a separate <b>notification email</b> with (or without) PDF invoices/"
470
+ "packing slips, for example to a drop-shipper or a supplier."
471
+ msgstr ""
472
+ "Skicka ett separat <b> e-postmeddelande</b> med eller utan PDF faktura/"
473
+ "följesedel, till exempel \"drop-shipper\" eller en leverantör."
474
+
475
+ #: includes/wcpdf-extensions.php:29
476
+ msgid ""
477
+ "Attach <b>up to 3 static files</b> (for example a terms & conditions document) to "
478
+ "the WooCommerce emails of your choice."
479
+ msgstr ""
480
+ "Bifoga<b>upp till 3 statiska filer</b> (till exempel användarvillkor) med valfri "
481
+ "WooCommerce e-post."
482
+
483
+ #: includes/wcpdf-extensions.php:30
484
+ msgid ""
485
+ "Use <b>separate numbering systems</b> and/or format for proforma invoices and "
486
+ "credit notes or utilize the main invoice numbering system"
487
+ msgstr ""
488
+ "Använd <b>Separata nummer system</b> för preformafakturor, kreditfakturor eller "
489
+ "använd huvud fakturanummer systemet. "
490
+
491
+ #: includes/wcpdf-extensions.php:31
492
+ msgid ""
493
+ "<b>Customize</b> the <b>shipping & billing address</b> format to include "
494
+ "additional custom fields, font sizes etc. without the need to create a custom "
495
+ "template."
496
+ msgstr ""
497
+ "<b>Förändra, faktura och leveransadress</b> efter dina behov, typsnitt storlek "
498
+ "mm. utan att behöva skapa en egen mall. "
499
+
500
+ #: includes/wcpdf-extensions.php:32
501
+ msgid "Use the plugin in multilingual <b>WPML</b> setups"
502
+ msgstr "Användar tillägg är flerspråkigt <b>WPML</b> inställningar"
503
+
504
+ #: includes/wcpdf-extensions.php:34
505
+ msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
506
+ msgstr "Få WooCommerce PDF Fakturor & följesedlar Professional!"
507
+
508
+ #: includes/wcpdf-extensions.php:42
509
+ msgid "Upload all invoices automatically to your dropbox"
510
+ msgstr "Ladda upp alla fakturor automatiskt till din Dropbox"
511
+
512
+ #: includes/wcpdf-extensions.php:48
513
+ msgid ""
514
+ "This extension conveniently uploads all the invoices (and other pdf documents "
515
+ "from the professional extension) that are emailed to your customers to Dropbox. "
516
+ "The best way to keep your invoice administration up to date!"
517
+ msgstr ""
518
+ "Det här tillägget laddar enkelt alla fakturor (och andra PDF-dokument från den "
519
+ "professionella förlängning) som mailas till dina kunders Dropbox. Det bästa "
520
+ "sättet att hålla din fakturaadministration aktuell!"
521
+
522
+ #: includes/wcpdf-extensions.php:49
523
+ msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
524
+ msgstr "Få WooCommerce PDF Fakturor & följesedlar till Dropbox!"
525
+
526
+ #: includes/wcpdf-extensions.php:61
527
+ msgid ""
528
+ "Automatically send new orders or packing slips to your printer, as soon as the "
529
+ "customer orders!"
530
+ msgstr ""
531
+ "Skicka automatiskt nya order eller följesedlar till din skrivare, så snart kunden "
532
+ "beställer!"
533
+
534
+ #: includes/wcpdf-extensions.php:67
535
+ msgid ""
536
+ "Check out the WooCommerce Automatic Order Printing extension from our partners at "
537
+ "Simba Hosting"
538
+ msgstr ""
539
+ "Kolla in WooCommerce automatisk order Printing förlängning från våra partners på "
540
+ "Simba Hosting"
541
+
542
+ #: includes/wcpdf-extensions.php:68
543
+ msgid "WooCommerce Automatic Order Printing"
544
+ msgstr "WooCommerce automatisk order utskrift"
545
+
546
+ #: includes/wcpdf-extensions.php:82
547
+ msgid "Advanced, customizable templates"
548
+ msgstr "Avancerade, anpassningsbara mallar"
549
+
550
+ #: includes/wcpdf-extensions.php:85
551
+ msgid ""
552
+ "Completely customize the invoice contents (prices, taxes, thumbnails) to your "
553
+ "needs with a drag & drop customizer"
554
+ msgstr ""
555
+ "Helt anpassa faktura innehåll (priser, skatter, miniatyrer) till dina behov med "
556
+ "en dra och släpp Customizer"
557
+
558
+ #: includes/wcpdf-extensions.php:86
559
+ msgid "Two extra stylish premade templates (Modern & Business)"
560
+ msgstr "Två extra snygg mallarna (Modern & Business)"
561
+
562
+ #: includes/wcpdf-extensions.php:87
563
+ #, php-format
564
+ msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
565
+ msgstr "Kolla in Premium PDF-faktura och följesedlar mallar på %s."
566
+
567
+ #: includes/wcpdf-extensions.php:88
568
+ #, php-format
569
+ msgid "For custom templates, contact us at %s."
570
+ msgstr "För skräddarsydda mallar, kontakta oss på %s"
571
+
572
+ #: templates/pdf/Simple/invoice.php:29 templates/pdf/Simple/packing-slip.php:40
573
+ msgid "Billing Address:"
574
+ msgstr "Fakturaadress:"
575
+
576
+ #: templates/pdf/Simple/invoice.php:40
577
+ msgid "Ship To:"
578
+ msgstr "Leveransadress:"
579
+
580
+ #: templates/pdf/Simple/invoice.php:49
581
+ msgid "Invoice Number:"
582
+ msgstr "Fakturanummer:"
583
+
584
+ #: templates/pdf/Simple/invoice.php:60 templates/pdf/Simple/packing-slip.php:48
585
+ msgid "Order Number:"
586
+ msgstr "Ordernummer:"
587
+
588
+ #: templates/pdf/Simple/invoice.php:64 templates/pdf/Simple/packing-slip.php:52
589
+ msgid "Order Date:"
590
+ msgstr "Orderdatum:"
591
+
592
+ #: templates/pdf/Simple/invoice.php:68
593
+ msgid "Payment Method:"
594
+ msgstr "Betalningsätt:"
595
+
596
+ #: templates/pdf/Simple/invoice.php:82 templates/pdf/Simple/packing-slip.php:70
597
+ msgid "Product"
598
+ msgstr "Produkt:"
599
+
600
+ #: templates/pdf/Simple/invoice.php:83 templates/pdf/Simple/packing-slip.php:71
601
+ msgid "Quantity"
602
+ msgstr "Antal:"
603
+
604
+ #: templates/pdf/Simple/invoice.php:84
605
+ msgid "Price"
606
+ msgstr "Pris:"
607
+
608
+ #: templates/pdf/Simple/invoice.php:91 templates/pdf/Simple/packing-slip.php:78
609
+ msgid "Description"
610
+ msgstr "Beskrivning:"
611
+
612
+ #: templates/pdf/Simple/invoice.php:96 templates/pdf/Simple/packing-slip.php:83
613
+ msgid "SKU"
614
+ msgstr "Artikelnummer:"
615
+
616
+ #: templates/pdf/Simple/invoice.php:97 templates/pdf/Simple/packing-slip.php:84
617
+ msgid "SKU:"
618
+ msgstr "SKU:"
619
+
620
+ #: templates/pdf/Simple/invoice.php:98 templates/pdf/Simple/packing-slip.php:85
621
+ msgid "Weight:"
622
+ msgstr "Vikt:"
623
+
624
+ #: templates/pdf/Simple/invoice.php:112 templates/pdf/Simple/packing-slip.php:99
625
+ msgid "Customer Notes"
626
+ msgstr "Kundnoteringar:"
627
+
628
+ #: templates/pdf/Simple/packing-slip.php:29
629
+ msgid "Shipping Address:"
630
+ msgstr "Leveransadress:"
631
+
632
+ #: templates/pdf/Simple/packing-slip.php:56
633
+ msgid "Shipping Method:"
634
+ msgstr "Fraktmetod:"
635
+
636
+ #: woocommerce-pdf-invoices-packingslips.php:123
637
+ #, php-format
638
+ msgid ""
639
+ "WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be installed "
640
+ "& activated!"
641
+ msgstr ""
642
+ "WooCommerce PDF Invoices & Packing Slips behövert %sWooCommerce%s för att "
643
+ "installeras och aktiveras!"
644
+
645
+ #: woocommerce-pdf-invoices-packingslips.php:367
646
+ #: woocommerce-pdf-invoices-packingslips.php:428
647
+ msgid "N/A"
648
+ msgstr "N/A"
649
+
650
+ #: woocommerce-pdf-invoices-packingslips.php:517
651
+ msgid "Payment method"
652
+ msgstr "Betalningsätt:"
653
+
654
+ #: woocommerce-pdf-invoices-packingslips.php:528
655
+ msgid "Shipping method"
656
+ msgstr "Fraktmetod:"
657
+
658
+ #: woocommerce-pdf-invoices-packingslips.php:681
659
+ msgid "Subtotal"
660
+ msgstr "Belopp:"
661
+
662
+ #: woocommerce-pdf-invoices-packingslips.php:703
663
+ msgid "Shipping"
664
+ msgstr "Frakt:"
665
+
666
+ #: woocommerce-pdf-invoices-packingslips.php:766
667
+ msgid "Discount"
668
+ msgstr "Rabatt:"
669
+
670
+ #: woocommerce-pdf-invoices-packingslips.php:806
671
+ msgid "VAT"
672
+ msgstr "Moms:"
673
+
674
+ #: woocommerce-pdf-invoices-packingslips.php:807
675
+ msgid "Tax rate"
676
+ msgstr "Momssats:"
677
+
678
+ #: woocommerce-pdf-invoices-packingslips.php:844
679
+ msgid "Total ex. VAT"
680
+ msgstr "Totalt exkl. moms:"
681
+
682
+ #: woocommerce-pdf-invoices-packingslips.php:847
683
+ msgid "Total"
684
+ msgstr "Totalt:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: pomegranate
3
  Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
4
  Requires at least: 3.5
5
  Tested up to: 4.2
6
- Stable tag: 1.5.15
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -235,6 +235,15 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
235
 
236
  == Changelog ==
237
 
 
 
 
 
 
 
 
 
 
238
  = 1.5.15 =
239
  * Fix: invoice number padding didn't work for values lower than 3
240
  * Tweak: WPML compatibility filter
3
  Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
4
  Requires at least: 3.5
5
  Tested up to: 4.2
6
+ Stable tag: 1.5.16
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
235
 
236
  == Changelog ==
237
 
238
+ = 1.5.16 =
239
+ * Feature: Search orders by invoice number (note: search on formatted invoice number only works for new orders)
240
+ * Feature: Formatted invoice number stored in order
241
+ * Tweak: Function parameters added to some of the filters
242
+ * Tweak: WooCommerce 2.4 compatibility
243
+ * Dev feature: action to add class to items table row (wpo_wcpdf_item_row_class)
244
+ * Translations: Swedish updated (thanks Conney!)
245
+ * Translations: Norwegian updated
246
+
247
  = 1.5.15 =
248
  * Fix: invoice number padding didn't work for values lower than 3
249
  * Tweak: WPML compatibility filter
templates/pdf/Simple/invoice.php CHANGED
@@ -86,7 +86,7 @@
86
  </thead>
87
  <tbody>
88
  <?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?>
89
- <tr>
90
  <td class="product">
91
  <?php $description_label = __( 'Description', 'wpo_wcpdf' ); // registering alternate label translation ?>
92
  <span class="item-name"><?php echo $item['name']; ?></span>
@@ -119,7 +119,7 @@
119
  <tfoot>
120
  <?php foreach( $wpo_wcpdf->get_woocommerce_totals() as $key => $total ) : ?>
121
  <tr class="<?php echo $key; ?>">
122
- <td class="no-borders">&nbsp;</td>
123
  <th class="description"><?php echo $total['label']; ?></th>
124
  <td class="price"><span class="totals-price"><?php echo $total['value']; ?></span></td>
125
  </tr>
86
  </thead>
87
  <tbody>
88
  <?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?>
89
+ <tr class="<?php do_action( 'wpo_wcpdf_item_row_class', $wpo_wcpdf->export->template_type, $item, $wpo_wcpdf->export->order ); ?>">
90
  <td class="product">
91
  <?php $description_label = __( 'Description', 'wpo_wcpdf' ); // registering alternate label translation ?>
92
  <span class="item-name"><?php echo $item['name']; ?></span>
119
  <tfoot>
120
  <?php foreach( $wpo_wcpdf->get_woocommerce_totals() as $key => $total ) : ?>
121
  <tr class="<?php echo $key; ?>">
122
+ <td class="no-borders"></td>
123
  <th class="description"><?php echo $total['label']; ?></th>
124
  <td class="price"><span class="totals-price"><?php echo $total['value']; ?></span></td>
125
  </tr>
templates/pdf/Simple/packing-slip.php CHANGED
@@ -73,7 +73,7 @@
73
  </thead>
74
  <tbody>
75
  <?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?>
76
- <tr>
77
  <td class="product">
78
  <?php $description_label = __( 'Description', 'wpo_wcpdf' ); // registering alternate label translation ?>
79
  <span class="item-name"><?php echo $item['name']; ?></span>
73
  </thead>
74
  <tbody>
75
  <?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?>
76
+ <tr class="<?php do_action( 'wpo_wcpdf_item_row_class', $wpo_wcpdf->export->template_type, $item, $wpo_wcpdf->export->order ); ?>">
77
  <td class="product">
78
  <?php $description_label = __( 'Description', 'wpo_wcpdf' ); // registering alternate label translation ?>
79
  <span class="item-name"><?php echo $item['name']; ?></span>
woocommerce-pdf-invoices-packingslips.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce PDF Invoices & Packing Slips
4
  * Plugin URI: http://www.wpovernight.com
5
  * Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
6
- * Version: 1.5.15
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later
@@ -33,7 +33,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
33
  self::$plugin_basename = plugin_basename(__FILE__);
34
  self::$plugin_url = plugin_dir_url(self::$plugin_basename);
35
  self::$plugin_path = trailingslashit(dirname(__FILE__));
36
- self::$version = '1.5.15';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
@@ -463,8 +463,14 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
463
  * Return/Show order notes
464
  */
465
  public function get_order_notes( $filter = 'customer' ) {
 
 
 
 
 
 
466
  $args = array(
467
- 'post_id' => $this->export->order->id,
468
  'approve' => 'approve',
469
  'type' => 'order_note'
470
  );
@@ -682,7 +688,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
682
  'value' => $subtotal,
683
  );
684
 
685
- return apply_filters( 'wpo_wcpdf_order_subtotal', $subtotal );
686
  }
687
  public function order_subtotal( $tax = 'excl', $discount = 'incl' ) {
688
  $subtotal = $this->get_order_subtotal( $tax, $discount );
@@ -704,7 +710,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
704
  'value' => $shipping_costs,
705
  'tax' => $this->export->wc_price( $this->export->order->order_shipping_tax ),
706
  );
707
- return apply_filters( 'wpo_wcpdf_order_shipping', $shipping );
708
  }
709
  public function order_shipping( $tax = 'excl' ) {
710
  $shipping = $this->get_order_shipping( $tax );
@@ -768,7 +774,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
768
  );
769
 
770
  if ( $discount_value > 0 ) {
771
- return apply_filters( 'wpo_wcpdf_order_discount', $discount );
772
  }
773
  }
774
  public function order_discount( $type = 'total', $tax = 'incl' ) {
@@ -852,7 +858,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
852
  'value' => $total,
853
  );
854
 
855
- return apply_filters( 'wpo_wcpdf_order_grand_total', $grand_total );
856
  }
857
  public function order_grand_total( $tax = 'incl' ) {
858
  $grand_total = $this->get_order_grand_total( $tax );
3
  * Plugin Name: WooCommerce PDF Invoices & Packing Slips
4
  * Plugin URI: http://www.wpovernight.com
5
  * Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
6
+ * Version: 1.5.16
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later
33
  self::$plugin_basename = plugin_basename(__FILE__);
34
  self::$plugin_url = plugin_dir_url(self::$plugin_basename);
35
  self::$plugin_path = trailingslashit(dirname(__FILE__));
36
+ self::$version = '1.5.16';
37
 
38
  // load the localisation & classes
39
  add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
463
  * Return/Show order notes
464
  */
465
  public function get_order_notes( $filter = 'customer' ) {
466
+ if ( get_post_type( $this->export->order->id ) == 'shop_order_refund' && $parent_order_id = wp_get_post_parent_id( $this->export->order->id ) ) {
467
+ $post_id = $parent_order_id;
468
+ } else {
469
+ $post_id = $this->export->order->id;
470
+ }
471
+
472
  $args = array(
473
+ 'post_id' => $post_id,
474
  'approve' => 'approve',
475
  'type' => 'order_note'
476
  );
688
  'value' => $subtotal,
689
  );
690
 
691
+ return apply_filters( 'wpo_wcpdf_order_subtotal', $subtotal, $tax, $discount );
692
  }
693
  public function order_subtotal( $tax = 'excl', $discount = 'incl' ) {
694
  $subtotal = $this->get_order_subtotal( $tax, $discount );
710
  'value' => $shipping_costs,
711
  'tax' => $this->export->wc_price( $this->export->order->order_shipping_tax ),
712
  );
713
+ return apply_filters( 'wpo_wcpdf_order_shipping', $shipping, $tax );
714
  }
715
  public function order_shipping( $tax = 'excl' ) {
716
  $shipping = $this->get_order_shipping( $tax );
774
  );
775
 
776
  if ( $discount_value > 0 ) {
777
+ return apply_filters( 'wpo_wcpdf_order_discount', $discount, $type, $tax );
778
  }
779
  }
780
  public function order_discount( $type = 'total', $tax = 'incl' ) {
858
  'value' => $total,
859
  );
860
 
861
+ return apply_filters( 'wpo_wcpdf_order_grand_total', $grand_total, $tax );
862
  }
863
  public function order_grand_total( $tax = 'incl' ) {
864
  $grand_total = $this->get_order_grand_total( $tax );