WooCommerce PDF Invoices - Version 2.3.8

Version Description

  • Oktober 9, 2015 =

  • Fixed: Losing settings.

Download this release

Release Info

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

Code changes from version 2.3.6 to 2.3.8

bootstrap.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version 2.3.6
4
  * @package WooCommerce PDF Invoices
5
  * @author baaaaas
6
  *
@@ -8,9 +8,9 @@
8
  * Plugin Name: WooCommerce PDF Invoices
9
  * Plugin URI:
10
  * Description: Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
11
- * Version: 2.3.6
12
- * Author: baaaaas
13
- * Author URI:
14
  * License: GPL-2.0+
15
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
16
  * Text Domain: be-woocommerce-pdf-invoices
@@ -24,7 +24,7 @@ function bewpi_plugins_loaded() {
24
 
25
  $wp_upload_dir = wp_upload_dir();
26
 
27
- define( 'BEWPI_VERSION', '2.3.6' );
28
  define( 'BEWPI_URL', plugins_url( '', __FILE__ ) . '/' );
29
  define( 'BEWPI_DIR', plugin_dir_path( __FILE__ ) . '/' );
30
  define( 'BEWPI_TEMPLATES_DIR', plugin_dir_path( __FILE__ ) . 'includes/templates/' );
1
  <?php
2
  /**
3
+ * @version 2.3.8
4
  * @package WooCommerce PDF Invoices
5
  * @author baaaaas
6
  *
8
  * Plugin Name: WooCommerce PDF Invoices
9
  * Plugin URI:
10
  * Description: Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
11
+ * Version: 2.3.8
12
+ * Author: Bas Elbers
13
+ * Author URI: http://www.wcpdfinvoices.com
14
  * License: GPL-2.0+
15
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
16
  * Text Domain: be-woocommerce-pdf-invoices
24
 
25
  $wp_upload_dir = wp_upload_dir();
26
 
27
+ define( 'BEWPI_VERSION', '2.3.8' );
28
  define( 'BEWPI_URL', plugins_url( '', __FILE__ ) . '/' );
29
  define( 'BEWPI_DIR', plugin_dir_path( __FILE__ ) . '/' );
30
  define( 'BEWPI_TEMPLATES_DIR', plugin_dir_path( __FILE__ ) . 'includes/templates/' );
includes/abstracts/abstract-bewpi-setting.php CHANGED
@@ -9,11 +9,11 @@ if ( ! class_exists( 'BEWPI_Abstract_Setting' ) ) {
9
  */
10
  abstract class BEWPI_Abstract_Setting {
11
 
12
- /**
13
- * The textdomain
14
- * @var string
15
- */
16
- public $textdomain = 'be-woocommerce-pdf-invoices';
17
 
18
  /**
19
  * Options and settings prefix
@@ -21,84 +21,95 @@ if ( ! class_exists( 'BEWPI_Abstract_Setting' ) ) {
21
  */
22
  public $prefix = 'bewpi_';
23
 
24
- /**
25
- * For <textarea>.
26
- * @var array
27
- */
28
- private $allowed_tags = array('<b>', '<i>', '<br>', '<br/>');
29
-
30
- /**
31
- * Validates an email.
32
- * @param $email
33
- * @return bool
34
- */
35
- protected function validate_email($email) {
36
- return is_email(sanitize_email($email)) ? true : false;
37
- }
38
-
39
- /**
40
- * Validates a string.
41
- * @param $str
42
- * @return bool
43
- */
44
- protected function is_valid_str($str) {
45
- return is_string(sanitize_text_field($str));
46
- }
47
-
48
- /**
49
- * Validates an integer.
50
- * @param $int
51
- * @return bool
52
- */
53
- protected function is_valid_int($int) {
54
- return intval($int) && absint($int);
55
- }
56
-
57
- /**
58
- * Validates a textarea.
59
- * @param $str
60
- * @return bool
61
- */
62
- protected function strip_str( $str ) {
63
- $str = preg_replace("/<([a-z][a-z0-9]*)[^>]*?(\/?)>/i", '<$1$2>', $str); // Removes the attributes in the HTML tags
64
- return strip_tags($str, '<b><i><br><br/>');
65
- }
66
-
67
- /**
68
- * Check for a valid hex color string like '#c1c2b4'
69
- * @param $hex
70
- */
71
- protected function is_valid_hex_color($hex)
72
- {
73
- $valid = false;
74
- if (preg_match('/^#[a-f0-9]{6}$/i', $hex)) {
75
- return true;
76
- } else if (preg_match('/^[a-f0-9]{6}$/i', $hex)) { // Check for a hex color string without hash like 'c1c2b4'
77
- return '#' . $hex;
78
- }
79
- return false;
80
- }
81
-
82
- /**
83
- * Gets all the tags that are allowed to use for the textarea's.
84
- * @return string|void
85
- */
86
- protected function get_allowed_tags_str() {
87
- ( count( $this->allowed_tags ) > 0 ) ? $str = __('Feel free to use ', $this->textdomain) : $str = '';
88
- foreach ($this->allowed_tags as $i => $tag) {
89
- ($i == count($this->allowed_tags) - 1) ? $str .= sprintf('<code>%s</code>.', htmlspecialchars( $tag ) ) : $str .= sprintf('<code>%s</code> ', htmlspecialchars( $tag ) );
90
- }
91
- return $str;
92
- }
 
 
 
 
 
 
 
 
 
 
93
 
94
  public function select_callback( $args ) {
95
  $options = get_option( $args['page'] );
96
  ?>
97
- <select id="<?php echo $args['id']; ?>" name="<?php echo $args['page'] . '[' .$args['name'] . ']'; ?>">
98
  <?php
99
  foreach ( $args['options'] as $option ) :
100
  ?>
101
- <option value="<?php echo $option['value']; ?>" <?php selected( $options[ $args['name'] ], $option['value'] ); ?>><?php echo $option['name']; ?></option>
 
102
  <?php
103
  endforeach;
104
  ?>
@@ -109,36 +120,42 @@ if ( ! class_exists( 'BEWPI_Abstract_Setting' ) ) {
109
 
110
  public function input_callback( $args ) {
111
  $options = get_option( $args['page'] );
112
- $class = ( isset( $args['class'] ) ) ? $args['class'] : "bewpi-notes";
113
  ?>
114
- <input id="<?php echo $args['id']; ?>"
115
- name="<?php echo $args['page'] . '[' .$args['name'] . ']'; ?>"
116
- type="<?php echo $args['type']; ?>"
117
- value="<?php if ( $args['type'] === "checkbox" ) { echo 1; } else { echo $options[ $args['name'] ]; } ?>"
118
- <?php if ( $args['type'] === "checkbox" ) checked( $options[ $args['name'] ] ); ?>
119
- <?php
120
- if ( isset ( $args['attrs'] ) ) :
121
- foreach ( $args['attrs'] as $attr ) :
122
- echo $attr;
123
- endforeach;
124
- endif;
125
- ?>
 
 
 
 
 
 
126
  />
127
- <?php if ( $args['type'] === "checkbox" ) { ?>
128
- <label class="<?php echo $class; ?>"><?php echo $args['desc']; ?></label>
129
- <?php } else { ?>
130
- <div class="<?php echo $class; ?>"><?php echo $args['desc']; ?></div>
131
- <?php } ?>
132
  <?php
133
  }
134
 
135
  public function logo_callback( $args ) {
136
  $options = get_option( $args['page'] );
137
  ?>
138
- <input id="<?php echo $args['id']; ?>"
139
- name="<?php echo $args['name']; ?>"
140
- type="<?php echo $args['type']; ?>"
141
- accept="image/*"
142
  />
143
  <div class="bewpi-notes"><?php echo $args['desc']; ?></div>
144
  <input id="<?php echo $args['id'] . '-value'; ?>"
@@ -148,11 +165,15 @@ if ( ! class_exists( 'BEWPI_Abstract_Setting' ) ) {
148
  />
149
 
150
  <?php
151
- if ( !empty( $options[$args['name']] ) ) :
152
  ?>
153
  <div id="<?php echo $args['id'] . '-wrapper'; ?>">
154
- <img id="<?php echo $args['id'] . '-image'; ?>" src="<?php echo esc_attr( $options[$args['name']] ); ?>" />
155
- <img id="<?php echo $args['id'] . '-delete'; ?>" src="<?php echo BEWPI_URL . '/assets/images/delete-icon.png'; ?>" onclick="Settings.removeCompanyLogo()" title="<?php _e( 'Remove logo', $this->textdomain ); ?>"/>
 
 
 
 
156
  </div>
157
  <?php
158
  endif;
@@ -161,12 +182,12 @@ if ( ! class_exists( 'BEWPI_Abstract_Setting' ) ) {
161
  public function textarea_callback( $args ) {
162
  $options = get_option( $args['page'] );
163
  ?>
164
- <textarea id="<?php echo $args['id']; ?>"
165
- name="<?php echo $args['page'] . '[' .$args['name'] . ']'; ?>"
166
- rows="5"
167
- ><?php echo esc_textarea( $options[$args['name']] ); ?></textarea>
168
  <div class="bewpi-notes"><?php echo $args['desc']; ?></div>
169
- <?php
170
  }
171
  }
172
  }
9
  */
10
  abstract class BEWPI_Abstract_Setting {
11
 
12
+ /**
13
+ * The textdomain
14
+ * @var string
15
+ */
16
+ public $textdomain = 'be-woocommerce-pdf-invoices';
17
 
18
  /**
19
  * Options and settings prefix
21
  */
22
  public $prefix = 'bewpi_';
23
 
24
+ /**
25
+ * For <textarea>.
26
+ * @var array
27
+ */
28
+ private $allowed_tags = array( '<b>', '<i>', '<br>', '<br/>' );
29
+
30
+ /**
31
+ * Validates an email.
32
+ *
33
+ * @param $email
34
+ *
35
+ * @return bool
36
+ */
37
+ protected function validate_email( $email ) {
38
+ return is_email( sanitize_email( $email ) ) ? true : false;
39
+ }
40
+
41
+ /**
42
+ * Validates a string.
43
+ *
44
+ * @param $str
45
+ *
46
+ * @return bool
47
+ */
48
+ protected function is_valid_str( $str ) {
49
+ return is_string( sanitize_text_field( $str ) );
50
+ }
51
+
52
+ /**
53
+ * Validates an integer.
54
+ *
55
+ * @param $int
56
+ *
57
+ * @return bool
58
+ */
59
+ protected function is_valid_int( $int ) {
60
+ return intval( $int ) && absint( $int );
61
+ }
62
+
63
+ /**
64
+ * Validates a textarea.
65
+ *
66
+ * @param $str
67
+ *
68
+ * @return bool
69
+ */
70
+ protected function strip_str( $str ) {
71
+ $str = preg_replace( "/<([a-z][a-z0-9]*)[^>]*?(\/?)>/i", '<$1$2>', $str ); // Removes the attributes in the HTML tags
72
+ return strip_tags( $str, '<b><i><br><br/>' );
73
+ }
74
+
75
+ /**
76
+ * Check for a valid hex color string like '#c1c2b4'
77
+ *
78
+ * @param $hex
79
+ */
80
+ protected function is_valid_hex_color( $hex ) {
81
+ $valid = false;
82
+ if ( preg_match( '/^#[a-f0-9]{6}$/i', $hex ) ) {
83
+ return true;
84
+ } else if ( preg_match( '/^[a-f0-9]{6}$/i', $hex ) ) { // Check for a hex color string without hash like 'c1c2b4'
85
+ return '#' . $hex;
86
+ }
87
+
88
+ return false;
89
+ }
90
+
91
+ /**
92
+ * Gets all the tags that are allowed to use for the textarea's.
93
+ * @return string|void
94
+ */
95
+ protected function get_allowed_tags_str() {
96
+ ( count( $this->allowed_tags ) > 0 ) ? $str = __( 'Feel free to use ', $this->textdomain ) : $str = '';
97
+ foreach ( $this->allowed_tags as $i => $tag ) {
98
+ ( $i == count( $this->allowed_tags ) - 1 ) ? $str .= sprintf( '<code>%s</code>.', htmlspecialchars( $tag ) ) : $str .= sprintf( '<code>%s</code> ', htmlspecialchars( $tag ) );
99
+ }
100
+
101
+ return $str;
102
+ }
103
 
104
  public function select_callback( $args ) {
105
  $options = get_option( $args['page'] );
106
  ?>
107
+ <select id="<?php echo $args['id']; ?>" name="<?php echo $args['page'] . '[' . $args['name'] . ']'; ?>">
108
  <?php
109
  foreach ( $args['options'] as $option ) :
110
  ?>
111
+ <option
112
+ value="<?php echo $option['value']; ?>" <?php selected( $options[ $args['name'] ], $option['value'] ); ?>><?php echo $option['name']; ?></option>
113
  <?php
114
  endforeach;
115
  ?>
120
 
121
  public function input_callback( $args ) {
122
  $options = get_option( $args['page'] );
123
+ $class = ( isset( $args['class'] ) ) ? $args['class'] : "bewpi-notes";
124
  ?>
125
+ <input id="<?php echo $args['id']; ?>"
126
+ name="<?php echo $args['page'] . '[' . $args['name'] . ']'; ?>"
127
+ type="<?php echo $args['type']; ?>"
128
+ value="<?php if ( $args['type'] === "checkbox" ) {
129
+ echo 1;
130
+ } else {
131
+ echo $options[ $args['name'] ];
132
+ } ?>"
133
+ <?php if ( $args['type'] === "checkbox" ) {
134
+ checked( $options[ $args['name'] ] );
135
+ } ?>
136
+ <?php
137
+ if ( isset ( $args['attrs'] ) ) :
138
+ foreach ( $args['attrs'] as $attr ) :
139
+ echo $attr;
140
+ endforeach;
141
+ endif;
142
+ ?>
143
  />
144
+ <?php if ( $args['type'] === "checkbox" ) { ?>
145
+ <label class="<?php echo $class; ?>"><?php echo $args['desc']; ?></label>
146
+ <?php } else { ?>
147
+ <div class="<?php echo $class; ?>"><?php echo $args['desc']; ?></div>
148
+ <?php } ?>
149
  <?php
150
  }
151
 
152
  public function logo_callback( $args ) {
153
  $options = get_option( $args['page'] );
154
  ?>
155
+ <input id="<?php echo $args['id']; ?>"
156
+ name="<?php echo $args['name']; ?>"
157
+ type="<?php echo $args['type']; ?>"
158
+ accept="image/*"
159
  />
160
  <div class="bewpi-notes"><?php echo $args['desc']; ?></div>
161
  <input id="<?php echo $args['id'] . '-value'; ?>"
165
  />
166
 
167
  <?php
168
+ if ( ! empty( $options[ $args['name'] ] ) ) :
169
  ?>
170
  <div id="<?php echo $args['id'] . '-wrapper'; ?>">
171
+ <img id="<?php echo $args['id'] . '-image'; ?>"
172
+ src="<?php echo esc_attr( $options[ $args['name'] ] ); ?>"/>
173
+ <img id="<?php echo $args['id'] . '-delete'; ?>"
174
+ src="<?php echo BEWPI_URL . '/assets/images/delete-icon.png'; ?>"
175
+ onclick="Settings.removeCompanyLogo()"
176
+ title="<?php _e( 'Remove logo', $this->textdomain ); ?>"/>
177
  </div>
178
  <?php
179
  endif;
182
  public function textarea_callback( $args ) {
183
  $options = get_option( $args['page'] );
184
  ?>
185
+ <textarea id="<?php echo $args['id']; ?>"
186
+ name="<?php echo $args['page'] . '[' . $args['name'] . ']'; ?>"
187
+ rows="5"
188
+ ><?php echo esc_textarea( $options[ $args['name'] ] ); ?></textarea>
189
  <div class="bewpi-notes"><?php echo $args['desc']; ?></div>
190
+ <?php
191
  }
192
  }
193
  }
includes/admin/settings/class-bewpi-admin-settings-general.php CHANGED
@@ -43,9 +43,9 @@ if ( ! class_exists( 'BEWPI_General_Settings' ) ) {
43
  $defaults = $this->get_defaults();
44
  $options = (array) get_option( $this->settings_key );
45
  $options = array_merge( $defaults, $options );
46
- // update doesn't always work?
47
- delete_option( $this->settings_key, $options );
48
- add_option( $this->settings_key, $options );
49
  }
50
 
51
  /**
43
  $defaults = $this->get_defaults();
44
  $options = (array) get_option( $this->settings_key );
45
  $options = array_merge( $defaults, $options );
46
+
47
+ //update_option( $this->settings_key, serialize( $options ) ); todo
48
+ update_option( $this->settings_key, $options );
49
  }
50
 
51
  /**
includes/admin/settings/class-bewpi-admin-settings-template.php CHANGED
@@ -44,9 +44,9 @@ if ( ! class_exists( 'BEWPI_Template_Settings' ) ) {
44
  $defaults['bewpi_last_invoice_number'] = 1;
45
  $options = (array) get_option( $this->settings_key );
46
  $options = array_merge( $defaults, $options );
47
- // update doesn't work
48
- delete_option( $this->settings_key, $options );
49
- add_option( $this->settings_key, $options );
50
  }
51
 
52
  /**
44
  $defaults['bewpi_last_invoice_number'] = 1;
45
  $options = (array) get_option( $this->settings_key );
46
  $options = array_merge( $defaults, $options );
47
+
48
+ //update_option( $this->settings_key, serialize( $options ) ); todo
49
+ update_option( $this->settings_key, $options );
50
  }
51
 
52
  /**
includes/be-woocommerce-pdf-invoices.php CHANGED
@@ -107,14 +107,14 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
107
  $this->plugin_activation_notice_catch_hide();
108
  $this->init_review_admin_notice();
109
 
110
- add_filter( 'plugin_action_links_woocommerce-pdf-invoices/bootstrap.php', array( $this, 'your_plugin_action_links' ) );
111
  }
112
 
113
  public static function plugin_activation() {
114
  self::insert_install_date();
115
  }
116
 
117
- function your_plugin_action_links( $links ) {
118
  return array_merge( array(
119
  '<a href="' . admin_url( 'admin.php?page=bewpi-invoices' ) . '">' . __( 'Settings' ) . '</a>',
120
  '<a href="http://wcpdfinvoices.com" target="_blank">' . __( 'Premium' ) . '</a>'), $links );
@@ -272,75 +272,85 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
272
  <?php do_settings_sections( $tab ); ?>
273
  <?php submit_button(); ?>
274
  </form>
275
- <aside class="bewpi_sidebar premium">
276
- <h3><?php _e( 'Invoicing on Steroids', $this->textdomain ); ?></h3>
277
- <p><?php _e( 'We\'re working on a more powerful version of this invoicing plugin. Be the first to know when we\'re ready to launch and receive a unique one-time discount!', $this->textdomain ); ?></p>
278
- <!-- Begin MailChimp Signup Form -->
279
- <link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css">
280
- <style type="text/css">
281
- #mc_embed_signup{background: #222; clear:left;}
282
- #mc-embedded-subscribe:hover { background-color: #4ca55e !important; }
283
- #mc_embed_signup input.button { margin: 0 !important; }
284
- /* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
285
- We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
286
- </style>
287
- <div id="mc_embed_signup">
288
- <form action="//wcpdfinvoices.us11.list-manage.com/subscribe/post?u=f270649bc41a9687a38a8977f&amp;id=395e1e319a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate style="padding: 0">
289
- <div id="mc_embed_signup_scroll">
290
- <?php $user_email = get_the_author_meta( 'user_email', get_current_user_id() ) ?>
291
- <input style="width: 100%; border-radius: 0; margin-top: 20px; border: 1px solid #ccc;" type="email" value="<?php if( $user_email !== "" ) echo $user_email; ?>" name="EMAIL" class="email" id="mce-EMAIL" placeholder="<?php _e( 'Your email address', $this->textdomain ); ?>" required>
292
- <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
293
- <div style="position: absolute; left: -5000px;"><input type="text" name="b_f270649bc41a9687a38a8977f_395e1e319a" tabindex="-1" value=""></div>
294
- <div class="clear"><input style="width: 100%; background-color: #5dc372; border-radius: 0; height: 37px;box-shadow: none;" type="submit" value="<?php _e( 'Signup', $this->textdomain ); ?>" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
295
- <div style="font-size: 11px; text-align: center; margin-top: 1px !important;"><?php _e( 'No spam, ever. Unsubscribe at any time', $this->textdomain ); ?></div>
296
- </div>
297
- </form>
298
- </div>
299
 
300
- <!--End mc_embed_signup-->
301
- </aside>
302
- <aside class="bewpi_sidebar about">
303
- <h3><?php _e( 'About', $this->textdomain ); ?></h3>
304
- <p><?php _e( 'This plugin is an open source project wich aims to fill the invoicing gap of <a href="http://www.woothemes.com/woocommerce">WooCommerce</a>.' , $this->textdomain ); ?></p>
305
- <?php _e( '<b>Version</b>: ' . BEWPI_VERSION, $this->textdomain ); ?>
306
- <br/>
307
- <?php _e( '<b>Author</b>: <a href="https://github.com/baselbers">Bas Elbers</a>', $this->textdomain ); ?>
308
- </aside>
309
- <aside class="bewpi_sidebar support">
310
- <h3><?php _e( 'Support', $this->textdomain ); ?></h3>
311
- <p><?php _e( 'We will never ask for donations, but to garantee future development, we do need your support. Please show us your appreciation by leaving a <a href="https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?rate=5#postform">★★★★★</a> rating and vote for <a href="https://wordpress.org/plugins/woocommerce-pdf-invoices/">works</a>.', $this->textdomain ); ?></p>
312
- <!-- Github star -->
313
- <div class="github btn">
314
- <iframe src="https://ghbtns.com/github-btn.html?user=baselbers&repo=woocommerce-pdf-invoices&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe>
315
- </div>
316
- <!-- FB share -->
317
- <div class="btn">
318
- <div id="fb-root"></div>
319
- <script>(function(d, s, id) {
320
- var js, fjs = d.getElementsByTagName(s)[0];
321
- if (d.getElementById(id)) return;
322
- js = d.createElement(s); js.id = id;
323
- js.src = "//connect.facebook.net/<?php echo $this->lang_code; ?>/sdk.js#xfbml=1&version=v2.4&appId=483906578380615";
324
- fjs.parentNode.insertBefore(js, fjs);
325
- }(document, 'script', 'facebook-jssdk'));</script>
326
- <div class="fb-share-button" data-href="https://wordpress.org/plugins/woocommerce-pdf-invoices/" data-layout="button_count"></div>
327
- </div>
328
- <!-- Tweet -->
329
- <div class="twitter btn">
330
- <a href="https://twitter.com/share" class="twitter-share-button" data-url="https://wordpress.org/plugins/woocommerce-pdf-invoices/" data-text="<?php _e( 'Checkout this amazing free WooCommerce PDF Invoices plugin for WordPress!', $this->textdomain ); ?>">Tweet</a>
331
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
332
  </div>
333
- </aside>
334
- <aside class="bewpi_sidebar need-help">
335
- <h3><?php _e( 'Need Help?', $this->textdomain ); ?></h3>
336
- <ul>
337
- <li><a href="https://wordpress.org/plugins/woocommerce-pdf-invoices/faq/"><?php _e( 'Frequently Asked Questions', $this->textdomain ); ?> </a></li>
338
- <li><a href="https://wordpress.org/support/plugin/woocommerce-pdf-invoices"><?php _e( 'Support forum', $this->textdomain ); ?></a></li>
339
- <li><a href="https://wordpress.org/support/plugin/woocommerce-pdf-invoices"><?php _e( 'Request a feature', $this->textdomain ); ?></a></li>
340
- <li><a href="mailto:baselbers@hotmail.com"><?php _e( 'Email us', $this->textdomain ); ?></a></li>
341
- </ul>
342
- </aside>
343
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
344
  <?php
345
  }
346
 
107
  $this->plugin_activation_notice_catch_hide();
108
  $this->init_review_admin_notice();
109
 
110
+ add_filter( 'plugin_action_links_woocommerce-pdf-invoices/bootstrap.php', array( $this, 'add_plugin_action_links' ) );
111
  }
112
 
113
  public static function plugin_activation() {
114
  self::insert_install_date();
115
  }
116
 
117
+ function add_plugin_action_links( $links ) {
118
  return array_merge( array(
119
  '<a href="' . admin_url( 'admin.php?page=bewpi-invoices' ) . '">' . __( 'Settings' ) . '</a>',
120
  '<a href="http://wcpdfinvoices.com" target="_blank">' . __( 'Premium' ) . '</a>'), $links );
272
  <?php do_settings_sections( $tab ); ?>
273
  <?php submit_button(); ?>
274
  </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
275
 
276
+ <?php if ( ! is_plugin_active( 'woocommerce-pdf-invoices-premium/bootstrap.php' ) ) {
277
+ $this->options_page_sidebar_html();
278
+ } ?>
279
+
280
+ </div>
281
+ <?php
282
+ }
283
+
284
+ private function options_page_sidebar_html() {
285
+ ?>
286
+ <aside class="bewpi_sidebar premium">
287
+ <h3><?php _e( 'Invoicing on Steroids', $this->textdomain ); ?></h3>
288
+ <p><?php _e( 'We\'re working on a more powerful version of this invoicing plugin. Be the first to know when we\'re ready to launch and receive a unique one-time discount!', $this->textdomain ); ?></p>
289
+ <!-- Begin MailChimp Signup Form -->
290
+ <link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css">
291
+ <style type="text/css">
292
+ #mc_embed_signup{background: #222; clear:left;}
293
+ #mc-embedded-subscribe:hover { background-color: #4ca55e !important; }
294
+ #mc_embed_signup input.button { margin: 0 !important; }
295
+ /* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
296
+ We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
297
+ </style>
298
+ <div id="mc_embed_signup">
299
+ <form action="//wcpdfinvoices.us11.list-manage.com/subscribe/post?u=f270649bc41a9687a38a8977f&amp;id=395e1e319a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate style="padding: 0">
300
+ <div id="mc_embed_signup_scroll">
301
+ <?php $user_email = get_the_author_meta( 'user_email', get_current_user_id() ) ?>
302
+ <input style="width: 100%; border-radius: 0; margin-top: 20px; border: 1px solid #ccc;" type="email" value="<?php if( $user_email !== "" ) echo $user_email; ?>" name="EMAIL" class="email" id="mce-EMAIL" placeholder="<?php _e( 'Your email address', $this->textdomain ); ?>" required>
303
+ <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
304
+ <div style="position: absolute; left: -5000px;"><input type="text" name="b_f270649bc41a9687a38a8977f_395e1e319a" tabindex="-1" value=""></div>
305
+ <div class="clear"><input style="width: 100%; background-color: #5dc372; border-radius: 0; height: 37px;box-shadow: none;" type="submit" value="<?php _e( 'Signup', $this->textdomain ); ?>" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
306
+ <div style="font-size: 11px; text-align: center; margin-top: 1px !important;"><?php _e( 'No spam, ever. Unsubscribe at any time', $this->textdomain ); ?></div>
 
307
  </div>
308
+ </form>
 
 
 
 
 
 
 
 
 
309
  </div>
310
+
311
+ <!--End mc_embed_signup-->
312
+ </aside>
313
+ <aside class="bewpi_sidebar about">
314
+ <h3><?php _e( 'About', $this->textdomain ); ?></h3>
315
+ <p><?php _e( 'This plugin is an open source project wich aims to fill the invoicing gap of <a href="http://www.woothemes.com/woocommerce">WooCommerce</a>.' , $this->textdomain ); ?></p>
316
+ <?php _e( '<b>Version</b>: ' . BEWPI_VERSION, $this->textdomain ); ?>
317
+ <br/>
318
+ <?php _e( '<b>Author</b>: <a href="https://github.com/baselbers">Bas Elbers</a>', $this->textdomain ); ?>
319
+ </aside>
320
+ <aside class="bewpi_sidebar support">
321
+ <h3><?php _e( 'Support', $this->textdomain ); ?></h3>
322
+ <p><?php _e( 'We will never ask for donations, but to garantee future development, we do need your support. Please show us your appreciation by leaving a <a href="https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?rate=5#postform">★★★★★</a> rating and vote for <a href="https://wordpress.org/plugins/woocommerce-pdf-invoices/">works</a>.', $this->textdomain ); ?></p>
323
+ <!-- Github star -->
324
+ <div class="github btn">
325
+ <iframe src="https://ghbtns.com/github-btn.html?user=baselbers&repo=woocommerce-pdf-invoices&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe>
326
+ </div>
327
+ <!-- FB share -->
328
+ <div class="btn">
329
+ <div id="fb-root"></div>
330
+ <script>(function(d, s, id) {
331
+ var js, fjs = d.getElementsByTagName(s)[0];
332
+ if (d.getElementById(id)) return;
333
+ js = d.createElement(s); js.id = id;
334
+ js.src = "//connect.facebook.net/<?php echo $this->lang_code; ?>/sdk.js#xfbml=1&version=v2.4&appId=483906578380615";
335
+ fjs.parentNode.insertBefore(js, fjs);
336
+ }(document, 'script', 'facebook-jssdk'));</script>
337
+ <div class="fb-share-button" data-href="https://wordpress.org/plugins/woocommerce-pdf-invoices/" data-layout="button_count"></div>
338
+ </div>
339
+ <!-- Tweet -->
340
+ <div class="twitter btn">
341
+ <a href="https://twitter.com/share" class="twitter-share-button" data-url="https://wordpress.org/plugins/woocommerce-pdf-invoices/" data-text="<?php _e( 'Checkout this amazing free WooCommerce PDF Invoices plugin for WordPress!', $this->textdomain ); ?>">Tweet</a>
342
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
343
+ </div>
344
+ </aside>
345
+ <aside class="bewpi_sidebar need-help">
346
+ <h3><?php _e( 'Need Help?', $this->textdomain ); ?></h3>
347
+ <ul>
348
+ <li><a href="https://wordpress.org/plugins/woocommerce-pdf-invoices/faq/"><?php _e( 'Frequently Asked Questions', $this->textdomain ); ?> </a></li>
349
+ <li><a href="https://wordpress.org/support/plugin/woocommerce-pdf-invoices"><?php _e( 'Support forum', $this->textdomain ); ?></a></li>
350
+ <li><a href="https://wordpress.org/support/plugin/woocommerce-pdf-invoices"><?php _e( 'Request a feature', $this->textdomain ); ?></a></li>
351
+ <li><a href="mailto:baselbers@hotmail.com"><?php _e( 'Email us', $this->textdomain ); ?></a></li>
352
+ </ul>
353
+ </aside>
354
  <?php
355
  }
356
 
includes/templates/invoices/global/micro/body.php CHANGED
@@ -20,7 +20,7 @@
20
  if ( $this->template_options['bewpi_show_tax'] && wc_tax_enabled() && empty( $legacy_order ) && ! empty( $order_taxes ) ) :
21
  foreach ( $order_taxes as $tax_id => $tax_item ) :
22
  $tax_label = __( 'VAT', $this->textdomain );
23
- $column_label = ! empty( $tax_item['label'] ) ? $tax_item['label'] : $tax_label;
24
  ?>
25
  <th class="align-left">
26
  <?php echo $column_label; ?>
@@ -120,7 +120,7 @@
120
  $tax_data = maybe_unserialize( $line_tax_data );
121
 
122
  foreach ( $this->get_taxes() as $tax_item ) :
123
- $tax_item_id = $tax_item['rate_id'];
124
  $tax_item_total = isset( $tax_data['total'][ $tax_item_id ] ) ? $tax_data['total'][ $tax_item_id ] : '';
125
  $tax_item_subtotal = isset( $tax_data['subtotal'][ $tax_item_id ] ) ? $tax_data['subtotal'][ $tax_item_id ] : '';
126
  ?>
@@ -177,14 +177,6 @@
177
  <td colspan="<?php echo $this->columns_count; ?>"></td>
178
  </tr>
179
  <!-- Table footers -->
180
- <!-- Subtotal -->
181
- <?php if( $this->template_options['bewpi_show_subtotal'] && (bool)$this->template_options[ 'bewpi_display_prices_incl_tax' ] ) { ?>
182
- <tr class="subtotal after-products">
183
- <td colspan="<?php echo $this->colspan['left']; ?>"></td>
184
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Subtotal', $this->textdomain ); ?></td>
185
- <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_subtotal(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
186
- </tr>
187
- <?php } ?>
188
  <!-- Discount -->
189
  <?php if( $this->template_options['bewpi_show_discount'] && $this->get_total_discount() !== 0 ) { ?>
190
  <tr class="discount after-products">
@@ -193,8 +185,8 @@
193
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_total_discount(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
194
  </tr>
195
  <?php } ?>
196
- <!-- Shipping -->
197
- <?php if( $this->template_options['bewpi_show_shipping'] ) { ?>
198
  <tr class="shipping after-products">
199
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
200
  <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Shipping', $this->textdomain ); ?></td>
@@ -202,13 +194,21 @@
202
  </tr>
203
  <?php } ?>
204
  <!-- Subtotal -->
205
- <?php if( $this->template_options['bewpi_show_subtotal'] && ! (bool)$this->template_options[ 'bewpi_display_prices_incl_tax' ] ) { ?>
206
  <tr class="subtotal after-products">
207
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
208
  <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Subtotal', $this->textdomain ); ?></td>
209
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_subtotal(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
210
  </tr>
211
  <?php } ?>
 
 
 
 
 
 
 
 
212
  <!-- Fees -->
213
  <?php
214
  $line_items_fee = $this->order->get_fees();
@@ -233,8 +233,8 @@
233
  foreach ( $this->get_taxes() as $tax ) : ?>
234
  <tr class="after-products">
235
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
236
- <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php echo $tax['label']; ?></td>
237
- <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $tax['tax_amount'], array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
238
  </tr>
239
  <?php endforeach; ?>
240
  <?php endif; ?>
20
  if ( $this->template_options['bewpi_show_tax'] && wc_tax_enabled() && empty( $legacy_order ) && ! empty( $order_taxes ) ) :
21
  foreach ( $order_taxes as $tax_id => $tax_item ) :
22
  $tax_label = __( 'VAT', $this->textdomain );
23
+ $column_label = ! empty( $tax_item->label ) ? $tax_item->label : $tax_label;
24
  ?>
25
  <th class="align-left">
26
  <?php echo $column_label; ?>
120
  $tax_data = maybe_unserialize( $line_tax_data );
121
 
122
  foreach ( $this->get_taxes() as $tax_item ) :
123
+ $tax_item_id = $tax_item->rate_id;
124
  $tax_item_total = isset( $tax_data['total'][ $tax_item_id ] ) ? $tax_data['total'][ $tax_item_id ] : '';
125
  $tax_item_subtotal = isset( $tax_data['subtotal'][ $tax_item_id ] ) ? $tax_data['subtotal'][ $tax_item_id ] : '';
126
  ?>
177
  <td colspan="<?php echo $this->columns_count; ?>"></td>
178
  </tr>
179
  <!-- Table footers -->
 
 
 
 
 
 
 
 
180
  <!-- Discount -->
181
  <?php if( $this->template_options['bewpi_show_discount'] && $this->get_total_discount() !== 0 ) { ?>
182
  <tr class="discount after-products">
185
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_total_discount(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
186
  </tr>
187
  <?php } ?>
188
+ <!-- Shipping taxable -->
189
+ <?php if( $this->template_options['bewpi_show_shipping'] && (bool)$this->template_options["bewpi_shipping_taxable"] ) { ?>
190
  <tr class="shipping after-products">
191
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
192
  <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Shipping', $this->textdomain ); ?></td>
194
  </tr>
195
  <?php } ?>
196
  <!-- Subtotal -->
197
+ <?php if( $this->template_options['bewpi_show_subtotal'] ) { ?>
198
  <tr class="subtotal after-products">
199
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
200
  <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Subtotal', $this->textdomain ); ?></td>
201
  <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_subtotal(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
202
  </tr>
203
  <?php } ?>
204
+ <!-- Shipping not taxable -->
205
+ <?php if( $this->template_options['bewpi_show_shipping'] && ! (bool)$this->template_options["bewpi_shipping_taxable"] ) { ?>
206
+ <tr class="shipping after-products">
207
+ <td colspan="<?php echo $this->colspan['left']; ?>"></td>
208
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php _e( 'Shipping', $this->textdomain ); ?></td>
209
+ <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $this->get_total_shipping(), array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
210
+ </tr>
211
+ <?php } ?>
212
  <!-- Fees -->
213
  <?php
214
  $line_items_fee = $this->order->get_fees();
233
  foreach ( $this->get_taxes() as $tax ) : ?>
234
  <tr class="after-products">
235
  <td colspan="<?php echo $this->colspan['left']; ?>"></td>
236
+ <td colspan="<?php echo $this->colspan['right_left']; ?>"><?php echo $tax->label; ?></td>
237
+ <td colspan="<?php echo $this->colspan['right_right']; ?>" class="align-right"><?php echo wc_price( $tax->amount, array( 'currency' => $this->order->get_order_currency() ) ); ?></td>
238
  </tr>
239
  <?php endforeach; ?>
240
  <?php endif; ?>
includes/templates/invoices/global/micro/header.php CHANGED
@@ -12,7 +12,7 @@
12
  <td class="address small-font">
13
  <b><?php _e( 'Invoice to', $this->textdomain ); ?></b><br/>
14
  <?php echo $this->order->get_formatted_billing_address(); ?><br/>
15
- <?php echo $this->order->billing_phone; ?>
16
  </td>
17
  <td class="address small-font">
18
  <b><?php _e( 'Ship to', $this->textdomain ); ?></b><br/>
12
  <td class="address small-font">
13
  <b><?php _e( 'Invoice to', $this->textdomain ); ?></b><br/>
14
  <?php echo $this->order->get_formatted_billing_address(); ?><br/>
15
+ <?php printf( __( 'Phone: %s', $this->textdomain ), $this->billing_phone ); ?>
16
  </td>
17
  <td class="address small-font">
18
  <b><?php _e( 'Ship to', $this->textdomain ); ?></b><br/>
includes/templates/invoices/simple/micro/body.php CHANGED
@@ -2,15 +2,18 @@
2
  <table class="products small-font">
3
  <thead>
4
  <tr class="table-headers">
 
5
  <th class="align-left"><?php _e( 'Description', $this->textdomain ); ?></th>
 
6
  <?php
7
  if( $this->template_options['bewpi_show_sku'] ) {
8
  echo '<th class="align-left">' . __( "SKU", $this->textdomain ) . '</th>';
9
  }
10
  ?>
 
11
  <th class="align-left"><?php _e( 'Cost', $this->textdomain ); ?></th>
12
- <th class="align-left"><?php _e( 'Qty', $this->textdomain ); ?></th>
13
-
14
  <!-- Tax -->
15
  <?php
16
  $order_taxes = $this->order->get_taxes();
@@ -26,10 +29,11 @@
26
  endforeach;
27
  endif;
28
  ?>
29
-
30
  <th class="align-right"><?php _e( 'Total', $this->textdomain ); ?></th>
31
  </tr>
32
  </thead>
 
33
  <tbody>
34
  <?php foreach( $this->order->get_items( 'line_item' ) as $item_id => $item ) {
35
  $product = wc_get_product( $item['product_id'] ); ?>
2
  <table class="products small-font">
3
  <thead>
4
  <tr class="table-headers">
5
+ <!-- Description -->
6
  <th class="align-left"><?php _e( 'Description', $this->textdomain ); ?></th>
7
+ <!-- SKU -->
8
  <?php
9
  if( $this->template_options['bewpi_show_sku'] ) {
10
  echo '<th class="align-left">' . __( "SKU", $this->textdomain ) . '</th>';
11
  }
12
  ?>
13
+ <!-- Cost -->
14
  <th class="align-left"><?php _e( 'Cost', $this->textdomain ); ?></th>
15
+ <!-- Qty -->
16
+ <th class="align-left"><?php _e( 'Qty', $this->textdomain ); ?></th>
17
  <!-- Tax -->
18
  <?php
19
  $order_taxes = $this->order->get_taxes();
29
  endforeach;
30
  endif;
31
  ?>
32
+ <!-- Total -->
33
  <th class="align-right"><?php _e( 'Total', $this->textdomain ); ?></th>
34
  </tr>
35
  </thead>
36
+ <!-- Products -->
37
  <tbody>
38
  <?php foreach( $this->order->get_items( 'line_item' ) as $item_id => $item ) {
39
  $product = wc_get_product( $item['product_id'] ); ?>
includes/templates/invoices/simple/micro/header.php CHANGED
@@ -12,7 +12,7 @@
12
  <td class="address small-font">
13
  <b><?php _e( 'Invoice to', $this->textdomain ); ?></b><br/>
14
  <?php echo $this->order->get_formatted_billing_address(); ?><br/>
15
- <?php sprintf( __( 'Phone: %s', $this->textdomain ), $this->order->billing_phone ); ?>
16
  </td>
17
  <td class="address small-font">
18
  <b><?php _e( 'Ship to', $this->textdomain ); ?></b><br/>
12
  <td class="address small-font">
13
  <b><?php _e( 'Invoice to', $this->textdomain ); ?></b><br/>
14
  <?php echo $this->order->get_formatted_billing_address(); ?><br/>
15
+ <?php printf( __( 'Phone: %s', $this->textdomain ), $this->order->billing_phone ); ?>
16
  </td>
17
  <td class="address small-font">
18
  <b><?php _e( 'Ship to', $this->textdomain ); ?></b><br/>
lang/be-woocommerce-pdf-invoices-es_ES.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: 2015-10-03 19:33+0100\n"
6
- "PO-Revision-Date: 2015-10-03 19:33+0100\n"
7
  "Last-Translator: iduran <iduran@solucionesc2.com>\n"
8
  "Language-Team: \n"
9
  "Language: es_ES\n"
@@ -220,14 +220,13 @@ msgstr "Reiniciar el 1 de enero"
220
 
221
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:367
222
  #: ../includes/templates/invoices/global/micro/body.php:10
223
- #: ../includes/templates/invoices/simple/micro/body.php:8
224
  msgid "SKU"
225
  msgstr "Identificador"
226
 
227
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:379
228
- #: ../includes/templates/invoices/global/micro/body.php:184
229
- #: ../includes/templates/invoices/global/micro/body.php:208
230
- #: ../includes/templates/invoices/simple/micro/body.php:180
231
  msgid "Subtotal"
232
  msgstr "Subtotal"
233
 
@@ -236,15 +235,16 @@ msgid "Tax"
236
  msgstr "Impuesto"
237
 
238
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:403
239
- #: ../includes/templates/invoices/global/micro/body.php:192
240
- #: ../includes/templates/invoices/simple/micro/body.php:164
241
  msgid "Discount"
242
  msgstr "Descuento"
243
 
244
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:415
245
- #: ../includes/templates/invoices/global/micro/body.php:200
246
- #: ../includes/templates/invoices/simple/micro/body.php:172
247
- #: ../includes/templates/invoices/simple/micro/body.php:188
 
248
  msgid "Shipping"
249
  msgstr "Envío"
250
 
@@ -476,29 +476,29 @@ msgid ""
476
  msgstr ""
477
 
478
  #: ../includes/templates/invoices/global/micro/body.php:6
479
- #: ../includes/templates/invoices/simple/micro/body.php:5
480
  msgid "Description"
481
  msgstr "Descripción"
482
 
483
  #: ../includes/templates/invoices/global/micro/body.php:14
484
- #: ../includes/templates/invoices/simple/micro/body.php:11
485
  msgid "Cost"
486
  msgstr "Importe"
487
 
488
  #: ../includes/templates/invoices/global/micro/body.php:16
489
- #: ../includes/templates/invoices/simple/micro/body.php:12
490
  msgid "Qty"
491
  msgstr "Cant."
492
 
493
  #: ../includes/templates/invoices/global/micro/body.php:22
494
- #: ../includes/templates/invoices/simple/micro/body.php:19
495
  msgid "VAT"
496
  msgstr "Impuestos"
497
 
498
  #: ../includes/templates/invoices/global/micro/body.php:33
499
  #: ../includes/templates/invoices/global/micro/body.php:244
500
- #: ../includes/templates/invoices/simple/micro/body.php:30
501
- #: ../includes/templates/invoices/simple/micro/body.php:224
502
  msgid "Total"
503
  msgstr "Total"
504
 
@@ -508,12 +508,12 @@ msgid "Order #%d - %s"
508
  msgstr ""
509
 
510
  #: ../includes/templates/invoices/global/micro/body.php:219
511
- #: ../includes/templates/invoices/simple/micro/body.php:199
512
  msgid "Fee"
513
  msgstr "Cuota"
514
 
515
  #: ../includes/templates/invoices/global/micro/body.php:251
516
- #: ../includes/templates/invoices/simple/micro/body.php:231
517
  msgid "Refunded"
518
  msgstr "Rembolsado"
519
 
@@ -522,6 +522,12 @@ msgstr "Rembolsado"
522
  msgid "Invoice to"
523
  msgstr "Factura a"
524
 
 
 
 
 
 
 
525
  #: ../includes/templates/invoices/global/micro/header.php:18
526
  #: ../includes/templates/invoices/simple/micro/header.php:18
527
  msgid "Ship to"
@@ -541,11 +547,6 @@ msgstr "Nota del Cliente"
541
  msgid "%sPayment%s via"
542
  msgstr "%sPayment%s vía"
543
 
544
- #: ../includes/templates/invoices/simple/micro/header.php:15
545
- #, php-format
546
- msgid "Phone: %s"
547
- msgstr ""
548
-
549
  #: ../includes/templates/invoices/simple/micro/header.php:28
550
  msgid "Invoice"
551
  msgstr "Factura"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-10-06 08:26+0100\n"
6
+ "PO-Revision-Date: 2015-10-06 08:26+0100\n"
7
  "Last-Translator: iduran <iduran@solucionesc2.com>\n"
8
  "Language-Team: \n"
9
  "Language: es_ES\n"
220
 
221
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:367
222
  #: ../includes/templates/invoices/global/micro/body.php:10
223
+ #: ../includes/templates/invoices/simple/micro/body.php:10
224
  msgid "SKU"
225
  msgstr "Identificador"
226
 
227
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:379
228
+ #: ../includes/templates/invoices/global/micro/body.php:200
229
+ #: ../includes/templates/invoices/simple/micro/body.php:184
 
230
  msgid "Subtotal"
231
  msgstr "Subtotal"
232
 
235
  msgstr "Impuesto"
236
 
237
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:403
238
+ #: ../includes/templates/invoices/global/micro/body.php:184
239
+ #: ../includes/templates/invoices/simple/micro/body.php:168
240
  msgid "Discount"
241
  msgstr "Descuento"
242
 
243
  #: ../includes/admin/settings/class-bewpi-admin-settings-template.php:415
244
+ #: ../includes/templates/invoices/global/micro/body.php:192
245
+ #: ../includes/templates/invoices/global/micro/body.php:208
246
+ #: ../includes/templates/invoices/simple/micro/body.php:176
247
+ #: ../includes/templates/invoices/simple/micro/body.php:192
248
  msgid "Shipping"
249
  msgstr "Envío"
250
 
476
  msgstr ""
477
 
478
  #: ../includes/templates/invoices/global/micro/body.php:6
479
+ #: ../includes/templates/invoices/simple/micro/body.php:6
480
  msgid "Description"
481
  msgstr "Descripción"
482
 
483
  #: ../includes/templates/invoices/global/micro/body.php:14
484
+ #: ../includes/templates/invoices/simple/micro/body.php:14
485
  msgid "Cost"
486
  msgstr "Importe"
487
 
488
  #: ../includes/templates/invoices/global/micro/body.php:16
489
+ #: ../includes/templates/invoices/simple/micro/body.php:16
490
  msgid "Qty"
491
  msgstr "Cant."
492
 
493
  #: ../includes/templates/invoices/global/micro/body.php:22
494
+ #: ../includes/templates/invoices/simple/micro/body.php:22
495
  msgid "VAT"
496
  msgstr "Impuestos"
497
 
498
  #: ../includes/templates/invoices/global/micro/body.php:33
499
  #: ../includes/templates/invoices/global/micro/body.php:244
500
+ #: ../includes/templates/invoices/simple/micro/body.php:33
501
+ #: ../includes/templates/invoices/simple/micro/body.php:228
502
  msgid "Total"
503
  msgstr "Total"
504
 
508
  msgstr ""
509
 
510
  #: ../includes/templates/invoices/global/micro/body.php:219
511
+ #: ../includes/templates/invoices/simple/micro/body.php:203
512
  msgid "Fee"
513
  msgstr "Cuota"
514
 
515
  #: ../includes/templates/invoices/global/micro/body.php:251
516
+ #: ../includes/templates/invoices/simple/micro/body.php:235
517
  msgid "Refunded"
518
  msgstr "Rembolsado"
519
 
522
  msgid "Invoice to"
523
  msgstr "Factura a"
524
 
525
+ #: ../includes/templates/invoices/global/micro/header.php:15
526
+ #: ../includes/templates/invoices/simple/micro/header.php:15
527
+ #, php-format
528
+ msgid "Phone: %s"
529
+ msgstr ""
530
+
531
  #: ../includes/templates/invoices/global/micro/header.php:18
532
  #: ../includes/templates/invoices/simple/micro/header.php:18
533
  msgid "Ship to"
547
  msgid "%sPayment%s via"
548
  msgstr "%sPayment%s vía"
549
 
 
 
 
 
 
550
  #: ../includes/templates/invoices/simple/micro/header.php:28
551
  msgid "Invoice"
552
  msgstr "Factura"
lang/be-woocommerce-pdf-invoices-fr_FR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
- "POT-Creation-Date: 2015-10-03 19:33+0100\n"
5
- "PO-Revision-Date: 2015-10-03 19:33+0100\n"
6
  "Last-Translator: Mosaika.fr <bonjour@mosaika.fr>\n"
7
  "Language-Team: Pierre SAIKALI <pierre@mosaika.fr>\n"
8
  "Language: fr_FR\n"
@@ -220,14 +220,13 @@ msgstr "Réinitialiser le 1er janvier"
220
 
221
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:367
222
  #: includes/templates/invoices/global/micro/body.php:10
223
- #: includes/templates/invoices/simple/micro/body.php:8
224
  msgid "SKU"
225
  msgstr "UGS"
226
 
227
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:379
228
- #: includes/templates/invoices/global/micro/body.php:184
229
- #: includes/templates/invoices/global/micro/body.php:208
230
- #: includes/templates/invoices/simple/micro/body.php:180
231
  msgid "Subtotal"
232
  msgstr "Sous-total"
233
 
@@ -236,15 +235,16 @@ msgid "Tax"
236
  msgstr "TVA"
237
 
238
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:403
239
- #: includes/templates/invoices/global/micro/body.php:192
240
- #: includes/templates/invoices/simple/micro/body.php:164
241
  msgid "Discount"
242
  msgstr "Réduction"
243
 
244
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:415
245
- #: includes/templates/invoices/global/micro/body.php:200
246
- #: includes/templates/invoices/simple/micro/body.php:172
247
- #: includes/templates/invoices/simple/micro/body.php:188
 
248
  msgid "Shipping"
249
  msgstr "Livraison"
250
 
@@ -476,29 +476,29 @@ msgid ""
476
  msgstr ""
477
 
478
  #: includes/templates/invoices/global/micro/body.php:6
479
- #: includes/templates/invoices/simple/micro/body.php:5
480
  msgid "Description"
481
  msgstr "Description"
482
 
483
  #: includes/templates/invoices/global/micro/body.php:14
484
- #: includes/templates/invoices/simple/micro/body.php:11
485
  msgid "Cost"
486
  msgstr "Coût"
487
 
488
  #: includes/templates/invoices/global/micro/body.php:16
489
- #: includes/templates/invoices/simple/micro/body.php:12
490
  msgid "Qty"
491
  msgstr "Qté"
492
 
493
  #: includes/templates/invoices/global/micro/body.php:22
494
- #: includes/templates/invoices/simple/micro/body.php:19
495
  msgid "VAT"
496
  msgstr "TVA"
497
 
498
  #: includes/templates/invoices/global/micro/body.php:33
499
  #: includes/templates/invoices/global/micro/body.php:244
500
- #: includes/templates/invoices/simple/micro/body.php:30
501
- #: includes/templates/invoices/simple/micro/body.php:224
502
  msgid "Total"
503
  msgstr "Total"
504
 
@@ -508,12 +508,12 @@ msgid "Order #%d - %s"
508
  msgstr ""
509
 
510
  #: includes/templates/invoices/global/micro/body.php:219
511
- #: includes/templates/invoices/simple/micro/body.php:199
512
  msgid "Fee"
513
  msgstr ""
514
 
515
  #: includes/templates/invoices/global/micro/body.php:251
516
- #: includes/templates/invoices/simple/micro/body.php:231
517
  msgid "Refunded"
518
  msgstr "Remboursement"
519
 
@@ -522,6 +522,12 @@ msgstr "Remboursement"
522
  msgid "Invoice to"
523
  msgstr "Facture pour"
524
 
 
 
 
 
 
 
525
  #: includes/templates/invoices/global/micro/header.php:18
526
  #: includes/templates/invoices/simple/micro/header.php:18
527
  msgid "Ship to"
@@ -541,11 +547,6 @@ msgstr "Note du client"
541
  msgid "%sPayment%s via"
542
  msgstr "%sPaiement%s via"
543
 
544
- #: includes/templates/invoices/simple/micro/header.php:15
545
- #, php-format
546
- msgid "Phone: %s"
547
- msgstr ""
548
-
549
  #: includes/templates/invoices/simple/micro/header.php:28
550
  msgid "Invoice"
551
  msgstr "Facture"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
+ "POT-Creation-Date: 2015-10-06 08:27+0100\n"
5
+ "PO-Revision-Date: 2015-10-06 08:27+0100\n"
6
  "Last-Translator: Mosaika.fr <bonjour@mosaika.fr>\n"
7
  "Language-Team: Pierre SAIKALI <pierre@mosaika.fr>\n"
8
  "Language: fr_FR\n"
220
 
221
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:367
222
  #: includes/templates/invoices/global/micro/body.php:10
223
+ #: includes/templates/invoices/simple/micro/body.php:10
224
  msgid "SKU"
225
  msgstr "UGS"
226
 
227
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:379
228
+ #: includes/templates/invoices/global/micro/body.php:200
229
+ #: includes/templates/invoices/simple/micro/body.php:184
 
230
  msgid "Subtotal"
231
  msgstr "Sous-total"
232
 
235
  msgstr "TVA"
236
 
237
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:403
238
+ #: includes/templates/invoices/global/micro/body.php:184
239
+ #: includes/templates/invoices/simple/micro/body.php:168
240
  msgid "Discount"
241
  msgstr "Réduction"
242
 
243
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:415
244
+ #: includes/templates/invoices/global/micro/body.php:192
245
+ #: includes/templates/invoices/global/micro/body.php:208
246
+ #: includes/templates/invoices/simple/micro/body.php:176
247
+ #: includes/templates/invoices/simple/micro/body.php:192
248
  msgid "Shipping"
249
  msgstr "Livraison"
250
 
476
  msgstr ""
477
 
478
  #: includes/templates/invoices/global/micro/body.php:6
479
+ #: includes/templates/invoices/simple/micro/body.php:6
480
  msgid "Description"
481
  msgstr "Description"
482
 
483
  #: includes/templates/invoices/global/micro/body.php:14
484
+ #: includes/templates/invoices/simple/micro/body.php:14
485
  msgid "Cost"
486
  msgstr "Coût"
487
 
488
  #: includes/templates/invoices/global/micro/body.php:16
489
+ #: includes/templates/invoices/simple/micro/body.php:16
490
  msgid "Qty"
491
  msgstr "Qté"
492
 
493
  #: includes/templates/invoices/global/micro/body.php:22
494
+ #: includes/templates/invoices/simple/micro/body.php:22
495
  msgid "VAT"
496
  msgstr "TVA"
497
 
498
  #: includes/templates/invoices/global/micro/body.php:33
499
  #: includes/templates/invoices/global/micro/body.php:244
500
+ #: includes/templates/invoices/simple/micro/body.php:33
501
+ #: includes/templates/invoices/simple/micro/body.php:228
502
  msgid "Total"
503
  msgstr "Total"
504
 
508
  msgstr ""
509
 
510
  #: includes/templates/invoices/global/micro/body.php:219
511
+ #: includes/templates/invoices/simple/micro/body.php:203
512
  msgid "Fee"
513
  msgstr ""
514
 
515
  #: includes/templates/invoices/global/micro/body.php:251
516
+ #: includes/templates/invoices/simple/micro/body.php:235
517
  msgid "Refunded"
518
  msgstr "Remboursement"
519
 
522
  msgid "Invoice to"
523
  msgstr "Facture pour"
524
 
525
+ #: includes/templates/invoices/global/micro/header.php:15
526
+ #: includes/templates/invoices/simple/micro/header.php:15
527
+ #, php-format
528
+ msgid "Phone: %s"
529
+ msgstr ""
530
+
531
  #: includes/templates/invoices/global/micro/header.php:18
532
  #: includes/templates/invoices/simple/micro/header.php:18
533
  msgid "Ship to"
547
  msgid "%sPayment%s via"
548
  msgstr "%sPaiement%s via"
549
 
 
 
 
 
 
550
  #: includes/templates/invoices/simple/micro/header.php:28
551
  msgid "Invoice"
552
  msgstr "Facture"
lang/be-woocommerce-pdf-invoices-nb_NO.mo CHANGED
Binary file
lang/be-woocommerce-pdf-invoices-nb_NO.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
- "POT-Creation-Date: 2015-10-03 19:33+0100\n"
5
- "PO-Revision-Date: 2015-10-03 19:33+0100\n"
6
  "Last-Translator: Anders Sorensen <anders@zorensen.no>\n"
7
  "Language-Team: \n"
8
  "Language: nb\n"
@@ -21,7 +21,7 @@ msgstr ""
21
 
22
  #: includes/abstracts/abstract-bewpi-document.php:69
23
  msgid "Paid"
24
- msgstr ""
25
 
26
  #: includes/abstracts/abstract-bewpi-setting.php:87
27
  msgid "Feel free to use "
@@ -114,16 +114,17 @@ msgid "Shipping taxable"
114
  msgstr ""
115
 
116
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:146
 
117
  msgid "Enable to display subtotal including shipping."
118
- msgstr ""
119
 
120
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:158
121
  msgid "Mark invoice as paid"
122
- msgstr ""
123
 
124
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:159
125
  msgid "Invoice will be watermarked when order has been paid."
126
- msgstr ""
127
 
128
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:167
129
  msgid "Company name"
@@ -138,6 +139,8 @@ msgid ""
138
  "<b>Note</b>: If your logo doesn't show up, try to enable "
139
  "<code>allow_url_fopen</code>."
140
  msgstr ""
 
 
141
 
142
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:189
143
  msgid "Company address"
@@ -212,6 +215,8 @@ msgid ""
212
  "Feel free to use the placeholders %s %s %s %s %s and %s. %s %sNote:%s %s is "
213
  "required and slashes aren't supported."
214
  msgstr ""
 
 
215
 
216
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:354
217
  msgid "Reset on 1st of january"
@@ -219,14 +224,13 @@ msgstr "Tilbakestill 1. Januar"
219
 
220
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:367
221
  #: includes/templates/invoices/global/micro/body.php:10
222
- #: includes/templates/invoices/simple/micro/body.php:8
223
  msgid "SKU"
224
  msgstr "Prod.Nr."
225
 
226
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:379
227
- #: includes/templates/invoices/global/micro/body.php:184
228
- #: includes/templates/invoices/global/micro/body.php:208
229
- #: includes/templates/invoices/simple/micro/body.php:180
230
  msgid "Subtotal"
231
  msgstr "Delsum"
232
 
@@ -235,15 +239,16 @@ msgid "Tax"
235
  msgstr "MVA"
236
 
237
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:403
238
- #: includes/templates/invoices/global/micro/body.php:192
239
- #: includes/templates/invoices/simple/micro/body.php:164
240
  msgid "Discount"
241
  msgstr "Rabatt"
242
 
243
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:415
244
- #: includes/templates/invoices/global/micro/body.php:200
245
- #: includes/templates/invoices/simple/micro/body.php:172
246
- #: includes/templates/invoices/simple/micro/body.php:188
 
247
  msgid "Shipping"
248
  msgstr "Frakt"
249
 
@@ -475,29 +480,29 @@ msgid ""
475
  msgstr ""
476
 
477
  #: includes/templates/invoices/global/micro/body.php:6
478
- #: includes/templates/invoices/simple/micro/body.php:5
479
  msgid "Description"
480
  msgstr "Produkt"
481
 
482
  #: includes/templates/invoices/global/micro/body.php:14
483
- #: includes/templates/invoices/simple/micro/body.php:11
484
  msgid "Cost"
485
  msgstr "Pris"
486
 
487
  #: includes/templates/invoices/global/micro/body.php:16
488
- #: includes/templates/invoices/simple/micro/body.php:12
489
  msgid "Qty"
490
  msgstr "Ant"
491
 
492
  #: includes/templates/invoices/global/micro/body.php:22
493
- #: includes/templates/invoices/simple/micro/body.php:19
494
  msgid "VAT"
495
  msgstr "MVA"
496
 
497
  #: includes/templates/invoices/global/micro/body.php:33
498
  #: includes/templates/invoices/global/micro/body.php:244
499
- #: includes/templates/invoices/simple/micro/body.php:30
500
- #: includes/templates/invoices/simple/micro/body.php:224
501
  msgid "Total"
502
  msgstr "Totalt"
503
 
@@ -507,12 +512,12 @@ msgid "Order #%d - %s"
507
  msgstr "Ordre #%d - %s"
508
 
509
  #: includes/templates/invoices/global/micro/body.php:219
510
- #: includes/templates/invoices/simple/micro/body.php:199
511
  msgid "Fee"
512
  msgstr "Avgift"
513
 
514
  #: includes/templates/invoices/global/micro/body.php:251
515
- #: includes/templates/invoices/simple/micro/body.php:231
516
  msgid "Refunded"
517
  msgstr "Refundert"
518
 
@@ -521,6 +526,12 @@ msgstr "Refundert"
521
  msgid "Invoice to"
522
  msgstr "Kunde"
523
 
 
 
 
 
 
 
524
  #: includes/templates/invoices/global/micro/header.php:18
525
  #: includes/templates/invoices/simple/micro/header.php:18
526
  msgid "Ship to"
@@ -540,11 +551,6 @@ msgstr "Kundenotat"
540
  msgid "%sPayment%s via"
541
  msgstr "%sBetalt%s med"
542
 
543
- #: includes/templates/invoices/simple/micro/header.php:15
544
- #, php-format
545
- msgid "Phone: %s"
546
- msgstr ""
547
-
548
  #: includes/templates/invoices/simple/micro/header.php:28
549
  msgid "Invoice"
550
  msgstr "Faktura"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
+ "POT-Creation-Date: 2015-10-06 08:27+0100\n"
5
+ "PO-Revision-Date: 2015-10-06 08:27+0100\n"
6
  "Last-Translator: Anders Sorensen <anders@zorensen.no>\n"
7
  "Language-Team: \n"
8
  "Language: nb\n"
21
 
22
  #: includes/abstracts/abstract-bewpi-document.php:69
23
  msgid "Paid"
24
+ msgstr "Betalt"
25
 
26
  #: includes/abstracts/abstract-bewpi-setting.php:87
27
  msgid "Feel free to use "
114
  msgstr ""
115
 
116
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:146
117
+ #, fuzzy
118
  msgid "Enable to display subtotal including shipping."
119
+ msgstr "Enable to display subtotal including shipping."
120
 
121
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:158
122
  msgid "Mark invoice as paid"
123
+ msgstr "Marker faktura som betalt"
124
 
125
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:159
126
  msgid "Invoice will be watermarked when order has been paid."
127
+ msgstr "Fakturaen vil få et vannmerke når ordren har blitt betalt."
128
 
129
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:167
130
  msgid "Company name"
139
  "<b>Note</b>: If your logo doesn't show up, try to enable "
140
  "<code>allow_url_fopen</code>."
141
  msgstr ""
142
+ "<b>NB</b>: Om logoen din ikke vises, forsøk å aktivere "
143
+ "<code>allow_url_fopen</code>."
144
 
145
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:189
146
  msgid "Company address"
215
  "Feel free to use the placeholders %s %s %s %s %s and %s. %s %sNote:%s %s is "
216
  "required and slashes aren't supported."
217
  msgstr ""
218
+ "Bruk en av disse kortkodene; %s %s %s %s %s og %s. %s %sMerk:%s %s er "
219
+ "obligatorisk."
220
 
221
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:354
222
  msgid "Reset on 1st of january"
224
 
225
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:367
226
  #: includes/templates/invoices/global/micro/body.php:10
227
+ #: includes/templates/invoices/simple/micro/body.php:10
228
  msgid "SKU"
229
  msgstr "Prod.Nr."
230
 
231
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:379
232
+ #: includes/templates/invoices/global/micro/body.php:200
233
+ #: includes/templates/invoices/simple/micro/body.php:184
 
234
  msgid "Subtotal"
235
  msgstr "Delsum"
236
 
239
  msgstr "MVA"
240
 
241
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:403
242
+ #: includes/templates/invoices/global/micro/body.php:184
243
+ #: includes/templates/invoices/simple/micro/body.php:168
244
  msgid "Discount"
245
  msgstr "Rabatt"
246
 
247
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:415
248
+ #: includes/templates/invoices/global/micro/body.php:192
249
+ #: includes/templates/invoices/global/micro/body.php:208
250
+ #: includes/templates/invoices/simple/micro/body.php:176
251
+ #: includes/templates/invoices/simple/micro/body.php:192
252
  msgid "Shipping"
253
  msgstr "Frakt"
254
 
480
  msgstr ""
481
 
482
  #: includes/templates/invoices/global/micro/body.php:6
483
+ #: includes/templates/invoices/simple/micro/body.php:6
484
  msgid "Description"
485
  msgstr "Produkt"
486
 
487
  #: includes/templates/invoices/global/micro/body.php:14
488
+ #: includes/templates/invoices/simple/micro/body.php:14
489
  msgid "Cost"
490
  msgstr "Pris"
491
 
492
  #: includes/templates/invoices/global/micro/body.php:16
493
+ #: includes/templates/invoices/simple/micro/body.php:16
494
  msgid "Qty"
495
  msgstr "Ant"
496
 
497
  #: includes/templates/invoices/global/micro/body.php:22
498
+ #: includes/templates/invoices/simple/micro/body.php:22
499
  msgid "VAT"
500
  msgstr "MVA"
501
 
502
  #: includes/templates/invoices/global/micro/body.php:33
503
  #: includes/templates/invoices/global/micro/body.php:244
504
+ #: includes/templates/invoices/simple/micro/body.php:33
505
+ #: includes/templates/invoices/simple/micro/body.php:228
506
  msgid "Total"
507
  msgstr "Totalt"
508
 
512
  msgstr "Ordre #%d - %s"
513
 
514
  #: includes/templates/invoices/global/micro/body.php:219
515
+ #: includes/templates/invoices/simple/micro/body.php:203
516
  msgid "Fee"
517
  msgstr "Avgift"
518
 
519
  #: includes/templates/invoices/global/micro/body.php:251
520
+ #: includes/templates/invoices/simple/micro/body.php:235
521
  msgid "Refunded"
522
  msgstr "Refundert"
523
 
526
  msgid "Invoice to"
527
  msgstr "Kunde"
528
 
529
+ #: includes/templates/invoices/global/micro/header.php:15
530
+ #: includes/templates/invoices/simple/micro/header.php:15
531
+ #, php-format
532
+ msgid "Phone: %s"
533
+ msgstr ""
534
+
535
  #: includes/templates/invoices/global/micro/header.php:18
536
  #: includes/templates/invoices/simple/micro/header.php:18
537
  msgid "Ship to"
551
  msgid "%sPayment%s via"
552
  msgstr "%sBetalt%s med"
553
 
 
 
 
 
 
554
  #: includes/templates/invoices/simple/micro/header.php:28
555
  msgid "Invoice"
556
  msgstr "Faktura"
lang/be-woocommerce-pdf-invoices-nl_NL.mo CHANGED
Binary file
lang/be-woocommerce-pdf-invoices-nl_NL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
- "POT-Creation-Date: 2015-10-03 19:33+0100\n"
5
- "PO-Revision-Date: 2015-10-03 19:33+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
@@ -225,14 +225,13 @@ msgstr "Reset op 1 januari"
225
 
226
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:367
227
  #: includes/templates/invoices/global/micro/body.php:10
228
- #: includes/templates/invoices/simple/micro/body.php:8
229
  msgid "SKU"
230
  msgstr "Productcode"
231
 
232
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:379
233
- #: includes/templates/invoices/global/micro/body.php:184
234
- #: includes/templates/invoices/global/micro/body.php:208
235
- #: includes/templates/invoices/simple/micro/body.php:180
236
  msgid "Subtotal"
237
  msgstr "Subtotaal"
238
 
@@ -241,15 +240,16 @@ msgid "Tax"
241
  msgstr "BTW"
242
 
243
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:403
244
- #: includes/templates/invoices/global/micro/body.php:192
245
- #: includes/templates/invoices/simple/micro/body.php:164
246
  msgid "Discount"
247
  msgstr "Korting"
248
 
249
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:415
250
- #: includes/templates/invoices/global/micro/body.php:200
251
- #: includes/templates/invoices/simple/micro/body.php:172
252
- #: includes/templates/invoices/simple/micro/body.php:188
 
253
  msgid "Shipping"
254
  msgstr "Verzending"
255
 
@@ -493,29 +493,29 @@ msgid ""
493
  msgstr ""
494
 
495
  #: includes/templates/invoices/global/micro/body.php:6
496
- #: includes/templates/invoices/simple/micro/body.php:5
497
  msgid "Description"
498
  msgstr "Beschrijving"
499
 
500
  #: includes/templates/invoices/global/micro/body.php:14
501
- #: includes/templates/invoices/simple/micro/body.php:11
502
  msgid "Cost"
503
  msgstr "Kosten"
504
 
505
  #: includes/templates/invoices/global/micro/body.php:16
506
- #: includes/templates/invoices/simple/micro/body.php:12
507
  msgid "Qty"
508
  msgstr "Aantal"
509
 
510
  #: includes/templates/invoices/global/micro/body.php:22
511
- #: includes/templates/invoices/simple/micro/body.php:19
512
  msgid "VAT"
513
  msgstr "BTW"
514
 
515
  #: includes/templates/invoices/global/micro/body.php:33
516
  #: includes/templates/invoices/global/micro/body.php:244
517
- #: includes/templates/invoices/simple/micro/body.php:30
518
- #: includes/templates/invoices/simple/micro/body.php:224
519
  msgid "Total"
520
  msgstr "Totaal"
521
 
@@ -525,12 +525,12 @@ msgid "Order #%d - %s"
525
  msgstr "Bestelling #%d - %s"
526
 
527
  #: includes/templates/invoices/global/micro/body.php:219
528
- #: includes/templates/invoices/simple/micro/body.php:199
529
  msgid "Fee"
530
  msgstr "Handelingskosten"
531
 
532
  #: includes/templates/invoices/global/micro/body.php:251
533
- #: includes/templates/invoices/simple/micro/body.php:231
534
  msgid "Refunded"
535
  msgstr "Terugbetaald"
536
 
@@ -539,6 +539,12 @@ msgstr "Terugbetaald"
539
  msgid "Invoice to"
540
  msgstr "Facturatie aan"
541
 
 
 
 
 
 
 
542
  #: includes/templates/invoices/global/micro/header.php:18
543
  #: includes/templates/invoices/simple/micro/header.php:18
544
  msgid "Ship to"
@@ -558,11 +564,6 @@ msgstr "Opmerking klant"
558
  msgid "%sPayment%s via"
559
  msgstr "%sBetaling%s via"
560
 
561
- #: includes/templates/invoices/simple/micro/header.php:15
562
- #, php-format
563
- msgid "Phone: %s"
564
- msgstr ""
565
-
566
  #: includes/templates/invoices/simple/micro/header.php:28
567
  msgid "Invoice"
568
  msgstr "Factuur"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
+ "POT-Creation-Date: 2015-10-06 19:16+0100\n"
5
+ "PO-Revision-Date: 2015-10-06 19:16+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
225
 
226
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:367
227
  #: includes/templates/invoices/global/micro/body.php:10
228
+ #: includes/templates/invoices/simple/micro/body.php:10
229
  msgid "SKU"
230
  msgstr "Productcode"
231
 
232
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:379
233
+ #: includes/templates/invoices/global/micro/body.php:200
234
+ #: includes/templates/invoices/simple/micro/body.php:184
 
235
  msgid "Subtotal"
236
  msgstr "Subtotaal"
237
 
240
  msgstr "BTW"
241
 
242
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:403
243
+ #: includes/templates/invoices/global/micro/body.php:184
244
+ #: includes/templates/invoices/simple/micro/body.php:168
245
  msgid "Discount"
246
  msgstr "Korting"
247
 
248
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:415
249
+ #: includes/templates/invoices/global/micro/body.php:192
250
+ #: includes/templates/invoices/global/micro/body.php:208
251
+ #: includes/templates/invoices/simple/micro/body.php:176
252
+ #: includes/templates/invoices/simple/micro/body.php:192
253
  msgid "Shipping"
254
  msgstr "Verzending"
255
 
493
  msgstr ""
494
 
495
  #: includes/templates/invoices/global/micro/body.php:6
496
+ #: includes/templates/invoices/simple/micro/body.php:6
497
  msgid "Description"
498
  msgstr "Beschrijving"
499
 
500
  #: includes/templates/invoices/global/micro/body.php:14
501
+ #: includes/templates/invoices/simple/micro/body.php:14
502
  msgid "Cost"
503
  msgstr "Kosten"
504
 
505
  #: includes/templates/invoices/global/micro/body.php:16
506
+ #: includes/templates/invoices/simple/micro/body.php:16
507
  msgid "Qty"
508
  msgstr "Aantal"
509
 
510
  #: includes/templates/invoices/global/micro/body.php:22
511
+ #: includes/templates/invoices/simple/micro/body.php:22
512
  msgid "VAT"
513
  msgstr "BTW"
514
 
515
  #: includes/templates/invoices/global/micro/body.php:33
516
  #: includes/templates/invoices/global/micro/body.php:244
517
+ #: includes/templates/invoices/simple/micro/body.php:33
518
+ #: includes/templates/invoices/simple/micro/body.php:228
519
  msgid "Total"
520
  msgstr "Totaal"
521
 
525
  msgstr "Bestelling #%d - %s"
526
 
527
  #: includes/templates/invoices/global/micro/body.php:219
528
+ #: includes/templates/invoices/simple/micro/body.php:203
529
  msgid "Fee"
530
  msgstr "Handelingskosten"
531
 
532
  #: includes/templates/invoices/global/micro/body.php:251
533
+ #: includes/templates/invoices/simple/micro/body.php:235
534
  msgid "Refunded"
535
  msgstr "Terugbetaald"
536
 
539
  msgid "Invoice to"
540
  msgstr "Facturatie aan"
541
 
542
+ #: includes/templates/invoices/global/micro/header.php:15
543
+ #: includes/templates/invoices/simple/micro/header.php:15
544
+ #, php-format
545
+ msgid "Phone: %s"
546
+ msgstr "Tel: %s"
547
+
548
  #: includes/templates/invoices/global/micro/header.php:18
549
  #: includes/templates/invoices/simple/micro/header.php:18
550
  msgid "Ship to"
564
  msgid "%sPayment%s via"
565
  msgstr "%sBetaling%s via"
566
 
 
 
 
 
 
567
  #: includes/templates/invoices/simple/micro/header.php:28
568
  msgid "Invoice"
569
  msgstr "Factuur"
lang/be-woocommerce-pdf-invoices-sl_SI.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
- "POT-Creation-Date: 2015-10-03 19:33+0100\n"
5
- "PO-Revision-Date: 2015-10-03 19:33+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
@@ -214,14 +214,13 @@ msgstr ""
214
 
215
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:367
216
  #: includes/templates/invoices/global/micro/body.php:10
217
- #: includes/templates/invoices/simple/micro/body.php:8
218
  msgid "SKU"
219
  msgstr "Koda"
220
 
221
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:379
222
- #: includes/templates/invoices/global/micro/body.php:184
223
- #: includes/templates/invoices/global/micro/body.php:208
224
- #: includes/templates/invoices/simple/micro/body.php:180
225
  msgid "Subtotal"
226
  msgstr "Skupaj"
227
 
@@ -230,15 +229,16 @@ msgid "Tax"
230
  msgstr "DDV"
231
 
232
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:403
233
- #: includes/templates/invoices/global/micro/body.php:192
234
- #: includes/templates/invoices/simple/micro/body.php:164
235
  msgid "Discount"
236
  msgstr "Popust"
237
 
238
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:415
239
- #: includes/templates/invoices/global/micro/body.php:200
240
- #: includes/templates/invoices/simple/micro/body.php:172
241
- #: includes/templates/invoices/simple/micro/body.php:188
 
242
  msgid "Shipping"
243
  msgstr "Poštnina"
244
 
@@ -470,29 +470,29 @@ msgid ""
470
  msgstr ""
471
 
472
  #: includes/templates/invoices/global/micro/body.php:6
473
- #: includes/templates/invoices/simple/micro/body.php:5
474
  msgid "Description"
475
  msgstr "Opis"
476
 
477
  #: includes/templates/invoices/global/micro/body.php:14
478
- #: includes/templates/invoices/simple/micro/body.php:11
479
  msgid "Cost"
480
  msgstr ""
481
 
482
  #: includes/templates/invoices/global/micro/body.php:16
483
- #: includes/templates/invoices/simple/micro/body.php:12
484
  msgid "Qty"
485
  msgstr ""
486
 
487
  #: includes/templates/invoices/global/micro/body.php:22
488
- #: includes/templates/invoices/simple/micro/body.php:19
489
  msgid "VAT"
490
  msgstr ""
491
 
492
  #: includes/templates/invoices/global/micro/body.php:33
493
  #: includes/templates/invoices/global/micro/body.php:244
494
- #: includes/templates/invoices/simple/micro/body.php:30
495
- #: includes/templates/invoices/simple/micro/body.php:224
496
  msgid "Total"
497
  msgstr "Skupaj"
498
 
@@ -502,12 +502,12 @@ msgid "Order #%d - %s"
502
  msgstr ""
503
 
504
  #: includes/templates/invoices/global/micro/body.php:219
505
- #: includes/templates/invoices/simple/micro/body.php:199
506
  msgid "Fee"
507
  msgstr ""
508
 
509
  #: includes/templates/invoices/global/micro/body.php:251
510
- #: includes/templates/invoices/simple/micro/body.php:231
511
  msgid "Refunded"
512
  msgstr ""
513
 
@@ -516,6 +516,12 @@ msgstr ""
516
  msgid "Invoice to"
517
  msgstr ""
518
 
 
 
 
 
 
 
519
  #: includes/templates/invoices/global/micro/header.php:18
520
  #: includes/templates/invoices/simple/micro/header.php:18
521
  msgid "Ship to"
@@ -535,11 +541,6 @@ msgstr "Komentar kupca"
535
  msgid "%sPayment%s via"
536
  msgstr ""
537
 
538
- #: includes/templates/invoices/simple/micro/header.php:15
539
- #, php-format
540
- msgid "Phone: %s"
541
- msgstr ""
542
-
543
  #: includes/templates/invoices/simple/micro/header.php:28
544
  msgid "Invoice"
545
  msgstr "Račun"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce PDF Invoices\n"
4
+ "POT-Creation-Date: 2015-10-06 08:27+0100\n"
5
+ "PO-Revision-Date: 2015-10-06 08:27+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
214
 
215
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:367
216
  #: includes/templates/invoices/global/micro/body.php:10
217
+ #: includes/templates/invoices/simple/micro/body.php:10
218
  msgid "SKU"
219
  msgstr "Koda"
220
 
221
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:379
222
+ #: includes/templates/invoices/global/micro/body.php:200
223
+ #: includes/templates/invoices/simple/micro/body.php:184
 
224
  msgid "Subtotal"
225
  msgstr "Skupaj"
226
 
229
  msgstr "DDV"
230
 
231
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:403
232
+ #: includes/templates/invoices/global/micro/body.php:184
233
+ #: includes/templates/invoices/simple/micro/body.php:168
234
  msgid "Discount"
235
  msgstr "Popust"
236
 
237
  #: includes/admin/settings/class-bewpi-admin-settings-template.php:415
238
+ #: includes/templates/invoices/global/micro/body.php:192
239
+ #: includes/templates/invoices/global/micro/body.php:208
240
+ #: includes/templates/invoices/simple/micro/body.php:176
241
+ #: includes/templates/invoices/simple/micro/body.php:192
242
  msgid "Shipping"
243
  msgstr "Poštnina"
244
 
470
  msgstr ""
471
 
472
  #: includes/templates/invoices/global/micro/body.php:6
473
+ #: includes/templates/invoices/simple/micro/body.php:6
474
  msgid "Description"
475
  msgstr "Opis"
476
 
477
  #: includes/templates/invoices/global/micro/body.php:14
478
+ #: includes/templates/invoices/simple/micro/body.php:14
479
  msgid "Cost"
480
  msgstr ""
481
 
482
  #: includes/templates/invoices/global/micro/body.php:16
483
+ #: includes/templates/invoices/simple/micro/body.php:16
484
  msgid "Qty"
485
  msgstr ""
486
 
487
  #: includes/templates/invoices/global/micro/body.php:22
488
+ #: includes/templates/invoices/simple/micro/body.php:22
489
  msgid "VAT"
490
  msgstr ""
491
 
492
  #: includes/templates/invoices/global/micro/body.php:33
493
  #: includes/templates/invoices/global/micro/body.php:244
494
+ #: includes/templates/invoices/simple/micro/body.php:33
495
+ #: includes/templates/invoices/simple/micro/body.php:228
496
  msgid "Total"
497
  msgstr "Skupaj"
498
 
502
  msgstr ""
503
 
504
  #: includes/templates/invoices/global/micro/body.php:219
505
+ #: includes/templates/invoices/simple/micro/body.php:203
506
  msgid "Fee"
507
  msgstr ""
508
 
509
  #: includes/templates/invoices/global/micro/body.php:251
510
+ #: includes/templates/invoices/simple/micro/body.php:235
511
  msgid "Refunded"
512
  msgstr ""
513
 
516
  msgid "Invoice to"
517
  msgstr ""
518
 
519
+ #: includes/templates/invoices/global/micro/header.php:15
520
+ #: includes/templates/invoices/simple/micro/header.php:15
521
+ #, php-format
522
+ msgid "Phone: %s"
523
+ msgstr ""
524
+
525
  #: includes/templates/invoices/global/micro/header.php:18
526
  #: includes/templates/invoices/simple/micro/header.php:18
527
  msgid "Ship to"
541
  msgid "%sPayment%s via"
542
  msgstr ""
543
 
 
 
 
 
 
544
  #: includes/templates/invoices/simple/micro/header.php:28
545
  msgid "Invoice"
546
  msgstr "Račun"
lang/be-woocommerce-pdf-invoices.pot DELETED
@@ -1,536 +0,0 @@
1
- # Copyright (C) 2015 WooCommerce PDF Invoices
2
- # This file is distributed under the same license as the WooCommerce PDF Invoices package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: WooCommerce PDF Invoices 2.3.6\n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-pdf-"
7
- "invoices\n"
8
- "POT-Creation-Date: 2015-10-03 17:39:26+00:00\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
13
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
- "Language-Team: LANGUAGE <LL@li.org>\n"
15
-
16
- #: includes/abstracts/abstract-bewpi-document.php:69
17
- msgid "Paid"
18
- msgstr ""
19
-
20
- #: includes/abstracts/abstract-bewpi-setting.php:87
21
- msgid "Feel free to use "
22
- msgstr ""
23
-
24
- #: includes/abstracts/abstract-bewpi-setting.php:155
25
- msgid "Remove logo"
26
- msgstr ""
27
-
28
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:86
29
- msgid "Attach to Email"
30
- msgstr ""
31
-
32
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:94
33
- msgid "Processing order"
34
- msgstr ""
35
-
36
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:98
37
- msgid "Completed order"
38
- msgstr ""
39
-
40
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:102
41
- msgid "Customer invoice"
42
- msgstr ""
43
-
44
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:116
45
- msgid "Attach to New order Email"
46
- msgstr ""
47
-
48
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:128
49
- msgid "Enable Email It In"
50
- msgstr ""
51
-
52
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:136
53
- msgid "Email It In account"
54
- msgstr ""
55
-
56
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:141
57
- msgid "Get your account from your Email It In %suser account%s."
58
- msgstr ""
59
-
60
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:154
61
- msgid "Email Options"
62
- msgstr ""
63
-
64
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:160
65
- msgid "Cloud Storage Options"
66
- msgstr ""
67
-
68
- #: includes/admin/settings/class-bewpi-admin-settings-general.php:167
69
- msgid ""
70
- "Signup at %s to send invoices to your Dropbox, OneDrive, Google Drive or "
71
- "Egnyte and enter your account below."
72
- msgstr ""
73
-
74
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:89
75
- #: includes/be-woocommerce-pdf-invoices.php:200
76
- msgid "Template"
77
- msgstr ""
78
-
79
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:101
80
- msgid "Color theme"
81
- msgstr ""
82
-
83
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:112
84
- msgid "Date format"
85
- msgstr ""
86
-
87
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:117
88
- msgid "%sFormat%s of invoice date and order date."
89
- msgstr ""
90
-
91
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:132
92
- msgid "Display prices including tax"
93
- msgstr ""
94
-
95
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:133
96
- msgid ""
97
- "Line item totals will be including tax. <br/><b>Note</b>: Subtotal will "
98
- "still be excluding tax, so disable it within the visible columns section."
99
- msgstr ""
100
-
101
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:145
102
- msgid "Shipping taxable"
103
- msgstr ""
104
-
105
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:146
106
- msgid "Enable to display subtotal including shipping."
107
- msgstr ""
108
-
109
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:158
110
- msgid "Mark invoice as paid"
111
- msgstr ""
112
-
113
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:159
114
- msgid "Invoice will be watermarked when order has been paid."
115
- msgstr ""
116
-
117
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:167
118
- msgid "Company name"
119
- msgstr ""
120
-
121
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:178
122
- msgid "Company logo"
123
- msgstr ""
124
-
125
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:183
126
- msgid ""
127
- "<b>Note</b>: If your logo doesn't show up, try to enable "
128
- "<code>allow_url_fopen</code>."
129
- msgstr ""
130
-
131
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:189
132
- msgid "Company address"
133
- msgstr ""
134
-
135
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:200
136
- msgid "Company details"
137
- msgstr ""
138
-
139
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:211
140
- msgid "Intro text"
141
- msgstr ""
142
-
143
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:223
144
- msgid "Terms & conditions, policies etc."
145
- msgstr ""
146
-
147
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:239
148
- msgid "Show customer notes"
149
- msgstr ""
150
-
151
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:247
152
- msgid "Type"
153
- msgstr ""
154
-
155
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:255
156
- msgid "WooCommerce order number"
157
- msgstr ""
158
-
159
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:259
160
- msgid "Sequential number"
161
- msgstr ""
162
-
163
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:273
164
- msgid "Reset invoice counter"
165
- msgstr ""
166
-
167
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:283
168
- msgid "Next"
169
- msgstr ""
170
-
171
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:288
172
- msgid ""
173
- "Reset the invoice counter and start with next invoice number. %s %sNote:%s "
174
- "Only available with sequential numbering type and you need to check the "
175
- "checkbox to actually reset the value."
176
- msgstr ""
177
-
178
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:297
179
- msgid "Digits"
180
- msgstr ""
181
-
182
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:313
183
- msgid "[prefix]"
184
- msgstr ""
185
-
186
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:324
187
- msgid "[suffix]"
188
- msgstr ""
189
-
190
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:335
191
- msgid "Format"
192
- msgstr ""
193
-
194
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:340
195
- msgid ""
196
- "Feel free to use the placeholders %s %s %s %s %s and %s. %s %sNote:%s %s is "
197
- "required and slashes aren't supported."
198
- msgstr ""
199
-
200
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:354
201
- msgid "Reset on 1st of january"
202
- msgstr ""
203
-
204
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:367
205
- #: includes/templates/invoices/global/micro/body.php:10
206
- #: includes/templates/invoices/simple/micro/body.php:8
207
- msgid "SKU"
208
- msgstr ""
209
-
210
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:379
211
- #: includes/templates/invoices/global/micro/body.php:184
212
- #: includes/templates/invoices/global/micro/body.php:208
213
- #: includes/templates/invoices/simple/micro/body.php:180
214
- msgid "Subtotal"
215
- msgstr ""
216
-
217
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:391
218
- msgid "Tax"
219
- msgstr ""
220
-
221
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:403
222
- #: includes/templates/invoices/global/micro/body.php:192
223
- #: includes/templates/invoices/simple/micro/body.php:164
224
- msgid "Discount"
225
- msgstr ""
226
-
227
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:415
228
- #: includes/templates/invoices/global/micro/body.php:200
229
- #: includes/templates/invoices/simple/micro/body.php:172
230
- #: includes/templates/invoices/simple/micro/body.php:188
231
- msgid "Shipping"
232
- msgstr ""
233
-
234
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:429
235
- msgid "General Options"
236
- msgstr ""
237
-
238
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:435
239
- msgid "Invoice Number Options"
240
- msgstr ""
241
-
242
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:441
243
- msgid "Header Options"
244
- msgstr ""
245
-
246
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:447
247
- msgid "Footer Options"
248
- msgstr ""
249
-
250
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:453
251
- msgid "Visible Columns"
252
- msgstr ""
253
-
254
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:459
255
- msgid "These are the general template options."
256
- msgstr ""
257
-
258
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:460
259
- msgid "These are the invoice number options."
260
- msgstr ""
261
-
262
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:463
263
- msgid "Enable or disable the columns."
264
- msgstr ""
265
-
266
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:533
267
- msgid "File is invalid and contains either '..' or './'."
268
- msgstr ""
269
-
270
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:540
271
- msgid "File is invalid and contains ':' after the first character."
272
- msgstr ""
273
-
274
- #: includes/admin/settings/class-bewpi-admin-settings-template.php:549
275
- msgid "File should be less then 2MB."
276
- msgstr ""
277
-
278
- #: includes/be-woocommerce-pdf-invoices.php:119
279
- msgid "Settings"
280
- msgstr ""
281
-
282
- #: includes/be-woocommerce-pdf-invoices.php:120
283
- msgid "Premium"
284
- msgstr ""
285
-
286
- #: includes/be-woocommerce-pdf-invoices.php:140
287
- msgid ""
288
- "Alrighty then! <a href=\"%s\">Let's start configuring <strong>WooCommerce "
289
- "PDF Invoices</strong></a>."
290
- msgstr ""
291
-
292
- #: includes/be-woocommerce-pdf-invoices.php:199
293
- msgid "General"
294
- msgstr ""
295
-
296
- #: includes/be-woocommerce-pdf-invoices.php:223
297
- msgid "Invoices"
298
- msgstr ""
299
-
300
- #: includes/be-woocommerce-pdf-invoices.php:262
301
- msgid ""
302
- "If you like <strong>WooCommerce PDF Invoices</strong> please leave us a "
303
- "%s★★★★★%s rating. A huge thank you in advance!"
304
- msgstr ""
305
-
306
- #: includes/be-woocommerce-pdf-invoices.php:263
307
- msgid "Version %s"
308
- msgstr ""
309
-
310
- #: includes/be-woocommerce-pdf-invoices.php:276
311
- msgid "Invoicing on Steroids"
312
- msgstr ""
313
-
314
- #: includes/be-woocommerce-pdf-invoices.php:277
315
- msgid ""
316
- "We're working on a more powerful version of this invoicing plugin. Be the "
317
- "first to know when we're ready to launch and receive a unique one-time "
318
- "discount!"
319
- msgstr ""
320
-
321
- #: includes/be-woocommerce-pdf-invoices.php:291
322
- msgid "Your email address"
323
- msgstr ""
324
-
325
- #: includes/be-woocommerce-pdf-invoices.php:294
326
- msgid "Signup"
327
- msgstr ""
328
-
329
- #: includes/be-woocommerce-pdf-invoices.php:295
330
- msgid "No spam, ever. Unsubscribe at any time"
331
- msgstr ""
332
-
333
- #: includes/be-woocommerce-pdf-invoices.php:303
334
- msgid "About"
335
- msgstr ""
336
-
337
- #: includes/be-woocommerce-pdf-invoices.php:304
338
- msgid ""
339
- "This plugin is an open source project wich aims to fill the invoicing gap of "
340
- "<a href=\"http://www.woothemes.com/woocommerce\">WooCommerce</a>."
341
- msgstr ""
342
-
343
- #: includes/be-woocommerce-pdf-invoices.php:307
344
- msgid "<b>Author</b>: <a href=\"https://github.com/baselbers\">Bas Elbers</a>"
345
- msgstr ""
346
-
347
- #: includes/be-woocommerce-pdf-invoices.php:310
348
- msgid "Support"
349
- msgstr ""
350
-
351
- #: includes/be-woocommerce-pdf-invoices.php:311
352
- msgid ""
353
- "We will never ask for donations, but to garantee future development, we do "
354
- "need your support. Please show us your appreciation by leaving a <a href="
355
- "\"https://wordpress.org/support/view/plugin-reviews/woocommerce-pdf-invoices?"
356
- "rate=5#postform\">★★★★★</a> rating and vote for <a href=\"https://wordpress."
357
- "org/plugins/woocommerce-pdf-invoices/\">works</a>."
358
- msgstr ""
359
-
360
- #: includes/be-woocommerce-pdf-invoices.php:330
361
- msgid ""
362
- "Checkout this amazing free WooCommerce PDF Invoices plugin for WordPress!"
363
- msgstr ""
364
-
365
- #: includes/be-woocommerce-pdf-invoices.php:335
366
- msgid "Need Help?"
367
- msgstr ""
368
-
369
- #: includes/be-woocommerce-pdf-invoices.php:337
370
- msgid "Frequently Asked Questions"
371
- msgstr ""
372
-
373
- #: includes/be-woocommerce-pdf-invoices.php:338
374
- msgid "Support forum"
375
- msgstr ""
376
-
377
- #: includes/be-woocommerce-pdf-invoices.php:339
378
- msgid "Request a feature"
379
- msgstr ""
380
-
381
- #: includes/be-woocommerce-pdf-invoices.php:340
382
- msgid "Email us"
383
- msgstr ""
384
-
385
- #: includes/be-woocommerce-pdf-invoices.php:399
386
- msgid "PDF Invoice"
387
- msgstr ""
388
-
389
- #: includes/be-woocommerce-pdf-invoices.php:425
390
- msgid "Invoiced on:"
391
- msgstr ""
392
-
393
- #: includes/be-woocommerce-pdf-invoices.php:429
394
- msgid "Invoice number:"
395
- msgstr ""
396
-
397
- #: includes/be-woocommerce-pdf-invoices.php:467
398
- msgid "View invoice"
399
- msgstr ""
400
-
401
- #: includes/be-woocommerce-pdf-invoices.php:467
402
- msgid "View"
403
- msgstr ""
404
-
405
- #: includes/be-woocommerce-pdf-invoices.php:468
406
- msgid "Cancel invoice"
407
- msgstr ""
408
-
409
- #: includes/be-woocommerce-pdf-invoices.php:468
410
- msgid "Cancel"
411
- msgstr ""
412
-
413
- #: includes/be-woocommerce-pdf-invoices.php:470
414
- msgid "Are you sure to delete the invoice?"
415
- msgstr ""
416
-
417
- #: includes/be-woocommerce-pdf-invoices.php:473
418
- msgid "Create invoice"
419
- msgstr ""
420
-
421
- #: includes/be-woocommerce-pdf-invoices.php:473
422
- msgid "Create"
423
- msgstr ""
424
-
425
- #: includes/be-woocommerce-pdf-invoices.php:506
426
- msgid "Invoice %s (PDF)"
427
- msgstr ""
428
-
429
- #: includes/be-woocommerce-pdf-invoices.php:617
430
- msgid ""
431
- "You are working with <b>WooCommerce PDF Invoices</b> for some time now. We "
432
- "really need your ★★★★★ rating. It will support future development big-time. "
433
- "A huge thanks in advance and keep up the good work! <br /> <a href='%s' "
434
- "target='_blank'>Yes, will do it right away!</a> - <a href='%s'>No, already "
435
- "done it!</a>"
436
- msgstr ""
437
-
438
- #: includes/class-bewpi-invoice.php:48
439
- msgid ""
440
- "Whoops, no template found. Please select a template on the Template settings "
441
- "page first."
442
- msgstr ""
443
-
444
- #: includes/templates/invoices/global/micro/body.php:6
445
- #: includes/templates/invoices/simple/micro/body.php:5
446
- msgid "Description"
447
- msgstr ""
448
-
449
- #: includes/templates/invoices/global/micro/body.php:14
450
- #: includes/templates/invoices/simple/micro/body.php:11
451
- msgid "Cost"
452
- msgstr ""
453
-
454
- #: includes/templates/invoices/global/micro/body.php:16
455
- #: includes/templates/invoices/simple/micro/body.php:12
456
- msgid "Qty"
457
- msgstr ""
458
-
459
- #: includes/templates/invoices/global/micro/body.php:22
460
- #: includes/templates/invoices/simple/micro/body.php:19
461
- msgid "VAT"
462
- msgstr ""
463
-
464
- #: includes/templates/invoices/global/micro/body.php:33
465
- #: includes/templates/invoices/global/micro/body.php:244
466
- #: includes/templates/invoices/simple/micro/body.php:30
467
- #: includes/templates/invoices/simple/micro/body.php:224
468
- msgid "Total"
469
- msgstr ""
470
-
471
- #: includes/templates/invoices/global/micro/body.php:41
472
- msgid "Order #%d - %s"
473
- msgstr ""
474
-
475
- #: includes/templates/invoices/global/micro/body.php:219
476
- #: includes/templates/invoices/simple/micro/body.php:199
477
- msgid "Fee"
478
- msgstr ""
479
-
480
- #: includes/templates/invoices/global/micro/body.php:251
481
- #: includes/templates/invoices/simple/micro/body.php:231
482
- msgid "Refunded"
483
- msgstr ""
484
-
485
- #: includes/templates/invoices/global/micro/header.php:13
486
- #: includes/templates/invoices/simple/micro/header.php:13
487
- msgid "Invoice to"
488
- msgstr ""
489
-
490
- #: includes/templates/invoices/global/micro/header.php:18
491
- #: includes/templates/invoices/simple/micro/header.php:18
492
- msgid "Ship to"
493
- msgstr ""
494
-
495
- #: includes/templates/invoices/global/micro/header.php:28
496
- msgid "Global Invoice"
497
- msgstr ""
498
-
499
- #: includes/templates/invoices/simple/micro/footer.php:9
500
- #: includes/templates/invoices/simple/micro/footer.php:13
501
- msgid "Customer note"
502
- msgstr ""
503
-
504
- #: includes/templates/invoices/simple/micro/footer.php:21
505
- msgid "%sPayment%s via"
506
- msgstr ""
507
-
508
- #: includes/templates/invoices/simple/micro/header.php:15
509
- msgid "Phone: %s"
510
- msgstr ""
511
-
512
- #: includes/templates/invoices/simple/micro/header.php:28
513
- msgid "Invoice"
514
- msgstr ""
515
-
516
- #: includes/templates/invoices/simple/micro/header.php:31
517
- msgid "Order Number: %s"
518
- msgstr ""
519
-
520
- #: includes/templates/invoices/simple/micro/header.php:32
521
- msgid "Order Date: %s"
522
- msgstr ""
523
-
524
- #. Plugin Name of the plugin/theme
525
- msgid "WooCommerce PDF Invoices"
526
- msgstr ""
527
-
528
- #. Description of the plugin/theme
529
- msgid ""
530
- "Automatically generate and attach customizable PDF Invoices to WooCommerce "
531
- "emails and connect with Dropbox, Google Drive, OneDrive or Egnyte."
532
- msgstr ""
533
-
534
- #. Author of the plugin/theme
535
- msgid "baaaaas"
536
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/mpdf/config_fonts.php CHANGED
@@ -14,7 +14,7 @@
14
  // More than 1 font can be specified but each will add to the processing time of the script
15
 
16
  // $this->backupSubsFont = array('dejavusanscondensed','arialunicodems','sun-exta'); // this will recognise most scripts
17
- $this->backupSubsFont = array('simsun','garuda','rupeeforadian');
18
 
19
  // Optionally set a font (name as defined below in $this->fontdata) to use for CJK characters
20
  // in Plane 2 Unicode (> U+20000) when using useSubstitutions.
@@ -102,6 +102,9 @@ $this->fontdata = array(
102
  'B' => "OpenSans-Bold.ttf",
103
  'I' => "OpenSans-Italic.ttf",
104
  ),
 
 
 
105
  // "lato" => array(
106
  // 'R' => "Lato-Regular.ttf",
107
  // 'B' => "Lato-Bold.ttf",
14
  // More than 1 font can be specified but each will add to the processing time of the script
15
 
16
  // $this->backupSubsFont = array('dejavusanscondensed','arialunicodems','sun-exta'); // this will recognise most scripts
17
+ $this->backupSubsFont = array('simsun','garuda','rupeeforadian','amiri');
18
 
19
  // Optionally set a font (name as defined below in $this->fontdata) to use for CJK characters
20
  // in Plane 2 Unicode (> U+20000) when using useSubstitutions.
102
  'B' => "OpenSans-Bold.ttf",
103
  'I' => "OpenSans-Italic.ttf",
104
  ),
105
+ "amiri" => array(
106
+ 'R' => "Amiri.ttf"
107
+ )
108
  // "lato" => array(
109
  // 'R' => "Lato-Regular.ttf",
110
  // 'B' => "Lato-Bold.ttf",
lib/mpdf/ttfonts/Amiri.ttf ADDED
Binary file
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: woocommerce pdf invoices, invoice, generate, pdf, woocommerce, attachment, email, completed order, customer invoice, processing order, attach, automatic, vat, rate, sequential, number
5
  Requires at least: 3.5
6
  Tested up to: 4.3.1
7
- Stable tag: 2.3.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -101,6 +101,14 @@ function add_hidden_order_items( $order_items ) {
101
 
102
  == Changelog ==
103
 
 
 
 
 
 
 
 
 
104
  = 2.3.6 - Oktober 3, 2015 =
105
 
106
  - Fixed: Errors while activating plugin due to missing custom template dirs
4
  Tags: woocommerce pdf invoices, invoice, generate, pdf, woocommerce, attachment, email, completed order, customer invoice, processing order, attach, automatic, vat, rate, sequential, number
5
  Requires at least: 3.5
6
  Tested up to: 4.3.1
7
+ Stable tag: 2.3.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
101
 
102
  == Changelog ==
103
 
104
+ = 2.3.8 - Oktober 9, 2015 =
105
+
106
+ - Fixed: Losing settings.
107
+
108
+ = 2.3.7 - Oktober 6, 2015 =
109
+
110
+ - Added: Arabic font Amiri
111
+
112
  = 2.3.6 - Oktober 3, 2015 =
113
 
114
  - Fixed: Errors while activating plugin due to missing custom template dirs