WooCommerce Germanized - Version 3.1.6

Version Description

  • Feature: WC 4.1 support
  • Improvement: Removed default shipping costs hiding option within checkout
  • Improvement: Order by order id within shipments table
  • Improvement: Added new columns to shipment table (hidden by default)
  • Improvement: By default do not create shipments to orders containing local pickup method
  • Fix: Removed DHL Wunschzeit - service was terminated on 2020/05/01
Download this release

Release Info

Developer vendidero
Plugin Icon 128x128 WooCommerce Germanized
Version 3.1.6
Comparing to
See all releases

Code changes from version 3.1.5 to 3.1.6

Files changed (41) hide show
  1. assets/js/force-pay-order.js +1 -1
  2. assets/js/force-pay-order.min.js +1 -1
  3. includes/admin/settings/class-wc-gzd-settings-tab-button-solution.php +1 -1
  4. includes/class-wc-gzd-emails.php +11 -0
  5. includes/class-wc-gzd-install.php +2 -1
  6. includes/class-wc-gzd-legal-checkbox.php +13 -2
  7. includes/updates/woocommerce-gzd-update-3.1.6.php +21 -0
  8. includes/wc-gzd-cart-functions.php +45 -42
  9. packages/woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php +15 -14
  10. packages/woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php +1 -1
  11. packages/woocommerce-germanized-dhl/src/Admin/Importer.php +0 -3
  12. packages/woocommerce-germanized-dhl/src/Admin/Settings.php +0 -32
  13. packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php +4 -3
  14. packages/woocommerce-germanized-dhl/src/Api/Paket.php +6 -28
  15. packages/woocommerce-germanized-dhl/src/Label.php +4 -5
  16. packages/woocommerce-germanized-dhl/src/Order.php +19 -1
  17. packages/woocommerce-germanized-dhl/src/Package.php +1 -1
  18. packages/woocommerce-germanized-dhl/src/ParcelServices.php +15 -75
  19. packages/woocommerce-germanized-dhl/templates/checkout/dhl/preferred-services.php +2 -34
  20. packages/woocommerce-germanized-dhl/woocommerce-germanized-dhl.php +1 -1
  21. packages/woocommerce-germanized-shipments/assets/css/admin.css +2 -0
  22. packages/woocommerce-germanized-shipments/assets/css/admin.min.css +1 -1
  23. packages/woocommerce-germanized-shipments/assets/css/admin.scss +4 -0
  24. packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php +2 -0
  25. packages/woocommerce-germanized-shipments/src/Admin/Table.php +24 -1
  26. packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php +12 -1
  27. packages/woocommerce-germanized-shipments/src/Order.php +39 -12
  28. packages/woocommerce-germanized-shipments/src/Package.php +1 -1
  29. packages/woocommerce-germanized-shipments/src/Shipment.php +2 -2
  30. packages/woocommerce-germanized-shipments/src/ShipmentQuery.php +21 -3
  31. packages/woocommerce-germanized-shipments/src/ShippingProvider.php +2 -2
  32. packages/woocommerce-germanized-shipments/woocommerce-germanized-shipments.php +1 -1
  33. readme.txt +9 -2
  34. vendor/autoload.php +1 -1
  35. vendor/autoload_packages.php +2 -2
  36. vendor/composer/autoload_classmap_package.php +114 -114
  37. vendor/composer/autoload_real.php +4 -4
  38. vendor/composer/autoload_static.php +4 -4
  39. vendor/composer/installed.json +20 -20
  40. vendor/setasign/fpdi/src/PdfParser/Type/PdfStream.php +7 -0
  41. woocommerce-germanized.php +12 -11
assets/js/force-pay-order.js CHANGED
@@ -2,7 +2,7 @@ jQuery( function( $ ) {
2
  if ( $( '#order_review' ).length > 0 && $( 'input#payment_method_' + wc_gzd_force_pay_order_params.gateway ).length > 0 ) {
3
 
4
  $payment_box = $( 'div.payment_method_' + wc_gzd_force_pay_order_params.gateway );
5
- do_submit = true;
6
 
7
  if ( $payment_box.length > 0 ) {
8
  if ( $payment_box.find( ':input' ).length > 0 ) {
2
  if ( $( '#order_review' ).length > 0 && $( 'input#payment_method_' + wc_gzd_force_pay_order_params.gateway ).length > 0 ) {
3
 
4
  $payment_box = $( 'div.payment_method_' + wc_gzd_force_pay_order_params.gateway );
5
+ do_submit = wc_gzd_force_pay_order_params.auto_submit;
6
 
7
  if ( $payment_box.length > 0 ) {
8
  if ( $payment_box.find( ':input' ).length > 0 ) {
assets/js/force-pay-order.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(e){0<e("#order_review").length&&0<e("input#payment_method_"+wc_gzd_force_pay_order_params.gateway).length&&($payment_box=e("div.payment_method_"+wc_gzd_force_pay_order_params.gateway),do_submit=!0,0<$payment_box.length&&0<$payment_box.find(":input").length&&(do_submit=!1),e("input#payment_method_"+wc_gzd_force_pay_order_params.gateway).prop("checked",!0).trigger("click"),do_submit&&(e("#order_review").block({message:wc_gzd_force_pay_order_params.block_message,overlayCSS:{background:"#fff",opacity:.6}}),e("#order_review").trigger("submit")))});
1
+ jQuery(function(e){0<e("#order_review").length&&0<e("input#payment_method_"+wc_gzd_force_pay_order_params.gateway).length&&($payment_box=e("div.payment_method_"+wc_gzd_force_pay_order_params.gateway),do_submit=wc_gzd_force_pay_order_params.auto_submit,0<$payment_box.length&&0<$payment_box.find(":input").length&&(do_submit=!1),e("input#payment_method_"+wc_gzd_force_pay_order_params.gateway).prop("checked",!0).trigger("click"),do_submit&&(e("#order_review").block({message:wc_gzd_force_pay_order_params.block_message,overlayCSS:{background:"#fff",opacity:.6}}),e("#order_review").trigger("submit")))});
includes/admin/settings/class-wc-gzd-settings-tab-button-solution.php CHANGED
@@ -120,7 +120,7 @@ class WC_GZD_Settings_Tab_Button_Solution extends WC_GZD_Settings_Tab {
120
  'title' => __( 'Hide Shipping Select', 'woocommerce-germanized' ),
121
  'desc' => __( 'Hide shipping rate selection from checkout.', 'woocommerce-germanized' ),
122
  'id' => 'woocommerce_gzd_display_checkout_shipping_rate_select',
123
- 'default' => 'yes',
124
  'type' => 'gzd_toggle',
125
  'desc_tip' => __( 'This option will hide shipping rate selection from checkout. By then customers will only be able to change their shipping rate on cart page.', 'woocommerce-germanized' ),
126
  ),
120
  'title' => __( 'Hide Shipping Select', 'woocommerce-germanized' ),
121
  'desc' => __( 'Hide shipping rate selection from checkout.', 'woocommerce-germanized' ),
122
  'id' => 'woocommerce_gzd_display_checkout_shipping_rate_select',
123
+ 'default' => 'no',
124
  'type' => 'gzd_toggle',
125
  'desc_tip' => __( 'This option will hide shipping rate selection from checkout. By then customers will only be able to change their shipping rate on cart page.', 'woocommerce-germanized' ),
126
  ),
includes/class-wc-gzd-emails.php CHANGED
@@ -511,6 +511,17 @@ class WC_GZD_Emails {
511
  $order = wc_get_order( $order );
512
  }
513
 
 
 
 
 
 
 
 
 
 
 
 
514
  /**
515
  * Last chance to force disabling the order confirmation for a certain order object.
516
  *
511
  $order = wc_get_order( $order );
512
  }
513
 
514
+ /**
515
+ * Triggers after WooCommerce has processed the order via checkout and payment gateway has been processed.
516
+ *
517
+ * This hook may be used to find a uniform way to process orders after the payment method has been triggered.
518
+ *
519
+ * @param WC_Order $order The order object.
520
+ *
521
+ * @since 3.1.6
522
+ */
523
+ do_action( 'woocommerce_gzd_checkout_order_before_confirmation', $order );
524
+
525
  /**
526
  * Last chance to force disabling the order confirmation for a certain order object.
527
  *
includes/class-wc-gzd-install.php CHANGED
@@ -34,7 +34,8 @@ if ( ! class_exists( 'WC_GZD_Install' ) ) :
34
  '3.0.0' => 'updates/woocommerce-gzd-update-3.0.0.php',
35
  '3.0.1' => 'updates/woocommerce-gzd-update-3.0.1.php',
36
  '3.0.6' => 'updates/woocommerce-gzd-update-3.0.6.php',
37
- '3.0.8' => 'updates/woocommerce-gzd-update-3.0.8.php'
 
38
  );
39
 
40
  /**
34
  '3.0.0' => 'updates/woocommerce-gzd-update-3.0.0.php',
35
  '3.0.1' => 'updates/woocommerce-gzd-update-3.0.1.php',
36
  '3.0.6' => 'updates/woocommerce-gzd-update-3.0.6.php',
37
+ '3.0.8' => 'updates/woocommerce-gzd-update-3.0.8.php',
38
+ '3.1.6' => 'updates/woocommerce-gzd-update-3.1.6.php'
39
  );
40
 
41
  /**
includes/class-wc-gzd-legal-checkbox.php CHANGED
@@ -295,8 +295,19 @@ class WC_GZD_Legal_Checkbox {
295
  *
296
  * @return array
297
  */
298
- public function get_Label_args() {
299
- return $this->settings['label_args'];
 
 
 
 
 
 
 
 
 
 
 
300
  }
301
 
302
  /**
295
  *
296
  * @return array
297
  */
298
+ public function get_label_args() {
299
+ $id = $this->get_id();
300
+
301
+ /**
302
+ * Filter available label arguments for a legal checkbox.
303
+ * `$id` equals the checkbox id.
304
+ *
305
+ * @param string[] $label_args Label arguments as key => value.
306
+ * @param WC_GZD_Legal_Checkbox $checkbox The checkbox instance.
307
+ *
308
+ * @since 3.1.6
309
+ */
310
+ return apply_filters( "woocommerce_gzd_legal_checkbox_{$id}_label_args", $this->settings['label_args'], $this );
311
  }
312
 
313
  /**
includes/updates/woocommerce-gzd-update-3.1.6.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit;
5
+ }
6
+
7
+ $option_names = array(
8
+ 'managewoocommerce_page_wc-gzd-shipmentscolumnshidden',
9
+ 'managewoocommerce_page_wc-gzd-return-shipmentscolumnshidden'
10
+ );
11
+
12
+ /**
13
+ * Hide weight + dimensions columns by default
14
+ */
15
+ foreach( $option_names as $option_name ) {
16
+ $hidden_columns = get_user_option( $option_name );
17
+
18
+ if ( $hidden_columns && is_array( $hidden_columns ) ) {
19
+ update_user_option( get_current_user_id(), $option_name, array_merge( $hidden_columns, array( 'weight', 'dimensions' ) ) );
20
+ }
21
+ }
includes/wc-gzd-cart-functions.php CHANGED
@@ -28,10 +28,10 @@ function wc_gzd_cart_product_differential_taxation_mark( $title, $cart_item, $ca
28
  $product = false;
29
  $product_mark = '';
30
 
31
- if ( isset( $cart_item['data'] ) ) {
32
- $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
33
- } elseif ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
34
  $product = $cart_item->get_product();
 
 
35
  }
36
 
37
  if ( $product ) {
@@ -101,20 +101,20 @@ function wc_gzd_cart_product_item_desc( $title, $cart_item, $cart_item_key = ''
101
  $echo = true;
102
  }
103
 
104
- if ( isset( $cart_item['data'] ) ) {
 
 
 
 
 
 
105
  $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
106
 
107
- if ( wc_gzd_get_product( $product )->get_cart_description() ) {
108
  $product_desc = wc_gzd_get_product( $product )->get_formatted_cart_description();
109
  }
110
  } elseif ( isset( $cart_item['item_desc'] ) ) {
111
  $product_desc = $cart_item['item_desc'];
112
- } elseif ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
113
- $product = $cart_item->get_product();
114
-
115
- if ( $product && wc_gzd_get_gzd_product( $product )->get_mini_desc() ) {
116
- $product_desc = wc_gzd_get_gzd_product( $product )->get_formatted_cart_description();
117
- }
118
  }
119
 
120
  if ( ! empty( $product_desc ) ) {
@@ -131,13 +131,16 @@ function wc_gzd_cart_product_item_desc( $title, $cart_item, $cart_item_key = ''
131
  function wc_gzd_cart_product_attributes( $title, $cart_item, $cart_item_key = '' ) {
132
  $item_data = array();
133
 
134
- if ( isset( $cart_item['data'] ) ) {
135
- $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
136
- $item_data = wc_gzd_get_gzd_product( $product )->get_checkout_attributes( array(), isset( $cart_item['variation'] ) ? $cart_item['variation'] : array() );
137
- } elseif ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
138
  if ( $product = $cart_item->get_product() ) {
139
  $item_data = wc_gzd_get_product( $product )->get_checkout_attributes();
140
  }
 
 
 
 
 
 
141
  }
142
 
143
  // Format item data ready to display.
@@ -188,21 +191,21 @@ function wc_gzd_cart_product_delivery_time( $title, $cart_item, $cart_item_key =
188
  $echo = true;
189
  }
190
 
191
- if ( isset( $cart_item['data'] ) ) {
 
 
 
 
 
 
192
  $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
193
 
194
- if ( wc_gzd_get_product( $product )->get_delivery_time_term() ) {
195
  $delivery_time = wc_gzd_get_product( $product )->get_delivery_time_html();
196
  }
197
 
198
  } elseif ( isset( $cart_item['delivery_time'] ) ) {
199
  $delivery_time = $cart_item['delivery_time'];
200
- } elseif ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
201
- $product = $cart_item->get_product();
202
-
203
- if ( $product && wc_gzd_get_product( $product )->get_delivery_time_term() ) {
204
- $delivery_time = wc_gzd_get_product( $product )->get_delivery_time_html();
205
- }
206
  }
207
 
208
  if ( ! empty( $delivery_time ) ) {
@@ -235,20 +238,20 @@ function wc_gzd_cart_product_unit_price( $price, $cart_item, $cart_item_key = ''
235
  $echo = true;
236
  }
237
 
238
- if ( isset( $cart_item['data'] ) ) {
239
- $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
240
 
241
- if ( wc_gzd_get_product( $product )->has_unit() ) {
242
  $unit_price = wc_gzd_get_product( $product )->get_unit_price_html( false );
243
  }
244
- } elseif ( isset( $cart_item['unit_price'] ) ) {
245
- $unit_price = $cart_item['unit_price'];
246
- } elseif ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
247
- $product = $cart_item->get_product();
248
 
249
- if ( $product && wc_gzd_get_product( $product )->has_unit() ) {
250
  $unit_price = wc_gzd_get_product( $product )->get_unit_price_html( false );
251
  }
 
 
252
  }
253
 
254
  if ( ! empty( $unit_price ) ) {
@@ -281,20 +284,20 @@ function wc_gzd_cart_product_units( $title, $cart_item, $cart_item_key = '' ) {
281
  $echo = true;
282
  }
283
 
284
- if ( isset( $cart_item['data'] ) ) {
 
 
 
 
 
 
285
  $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
286
 
287
- if ( wc_gzd_get_product( $product )->has_unit_product() ) {
288
  $units = wc_gzd_get_gzd_product( $product )->get_unit_product_html();
289
  }
290
  } elseif ( isset( $cart_item['units'] ) ) {
291
  $units = $cart_item['units'];
292
- } elseif ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
293
- $product = $cart_item->get_product();
294
-
295
- if ( $product && wc_gzd_get_product( $product )->has_unit_product() ) {
296
- $units = wc_gzd_get_product( $product )->get_unit_product_html();
297
- }
298
  }
299
 
300
  if ( ! empty( $units ) ) {
@@ -326,7 +329,7 @@ function wc_gzd_cart_needs_age_verification( $items = false ) {
326
  $_product = apply_filters( 'woocommerce_cart_item_product', $values['data'], $values, $cart_item_key );
327
  }
328
 
329
- if ( $_product && wc_gzd_needs_age_verification( $_product ) ) {
330
  $needs_age_verification = true;
331
  }
332
  }
@@ -378,7 +381,7 @@ function wc_gzd_cart_get_age_verification_min_age( $items = false ) {
378
  $_product = apply_filters( 'woocommerce_cart_item_product', $values['data'], $values, $cart_item_key );
379
  }
380
 
381
- if ( $_product ) {
382
  $_gzd_product = wc_gzd_get_gzd_product( $_product );
383
 
384
  if ( wc_gzd_needs_age_verification( $_product ) ) {
@@ -435,7 +438,7 @@ function wc_gzd_item_is_tax_share_exempt( $item, $type = 'shipping', $key = fals
435
  $is_cart = true;
436
  }
437
 
438
- if ( $_product ) {
439
 
440
  if ( 'shipping' === $type ) {
441
  if ( $_product->is_virtual() || wc_gzd_get_product( $_product )->is_virtual_vat_exception() ) {
28
  $product = false;
29
  $product_mark = '';
30
 
31
+ if ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
 
 
32
  $product = $cart_item->get_product();
33
+ } elseif ( isset( $cart_item['data'] ) ) {
34
+ $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
35
  }
36
 
37
  if ( $product ) {
101
  $echo = true;
102
  }
103
 
104
+ if ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
105
+ $product = $cart_item->get_product();
106
+
107
+ if ( is_a( $product, 'WC_Product' ) && wc_gzd_get_gzd_product( $product )->get_mini_desc() ) {
108
+ $product_desc = wc_gzd_get_gzd_product( $product )->get_formatted_cart_description();
109
+ }
110
+ } elseif ( isset( $cart_item['data'] ) ) {
111
  $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
112
 
113
+ if ( is_a( $product, 'WC_Product' ) && wc_gzd_get_product( $product )->get_cart_description() ) {
114
  $product_desc = wc_gzd_get_product( $product )->get_formatted_cart_description();
115
  }
116
  } elseif ( isset( $cart_item['item_desc'] ) ) {
117
  $product_desc = $cart_item['item_desc'];
 
 
 
 
 
 
118
  }
119
 
120
  if ( ! empty( $product_desc ) ) {
131
  function wc_gzd_cart_product_attributes( $title, $cart_item, $cart_item_key = '' ) {
132
  $item_data = array();
133
 
134
+ if ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
 
 
 
135
  if ( $product = $cart_item->get_product() ) {
136
  $item_data = wc_gzd_get_product( $product )->get_checkout_attributes();
137
  }
138
+ } elseif ( isset( $cart_item['data'] ) ) {
139
+ $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
140
+
141
+ if ( is_a( $product, 'WC_Product' ) ) {
142
+ $item_data = wc_gzd_get_gzd_product( $product )->get_checkout_attributes( array(), isset( $cart_item['variation'] ) ? $cart_item['variation'] : array() );
143
+ }
144
  }
145
 
146
  // Format item data ready to display.
191
  $echo = true;
192
  }
193
 
194
+ if ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
195
+ $product = $cart_item->get_product();
196
+
197
+ if ( $product && wc_gzd_get_product( $product )->get_delivery_time_term() ) {
198
+ $delivery_time = wc_gzd_get_product( $product )->get_delivery_time_html();
199
+ }
200
+ } elseif ( isset( $cart_item['data'] ) ) {
201
  $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
202
 
203
+ if ( is_a( $product, 'WC_Product' ) && wc_gzd_get_product( $product )->get_delivery_time_term() ) {
204
  $delivery_time = wc_gzd_get_product( $product )->get_delivery_time_html();
205
  }
206
 
207
  } elseif ( isset( $cart_item['delivery_time'] ) ) {
208
  $delivery_time = $cart_item['delivery_time'];
 
 
 
 
 
 
209
  }
210
 
211
  if ( ! empty( $delivery_time ) ) {
238
  $echo = true;
239
  }
240
 
241
+ if ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
242
+ $product = $cart_item->get_product();
243
 
244
+ if ( $product && wc_gzd_get_product( $product )->has_unit() ) {
245
  $unit_price = wc_gzd_get_product( $product )->get_unit_price_html( false );
246
  }
247
+ } elseif ( isset( $cart_item['data'] ) ) {
248
+ $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
 
 
249
 
250
+ if ( is_a( $product, 'WC_Product' ) && wc_gzd_get_product( $product )->has_unit() ) {
251
  $unit_price = wc_gzd_get_product( $product )->get_unit_price_html( false );
252
  }
253
+ } elseif ( isset( $cart_item['unit_price'] ) ) {
254
+ $unit_price = $cart_item['unit_price'];
255
  }
256
 
257
  if ( ! empty( $unit_price ) ) {
284
  $echo = true;
285
  }
286
 
287
+ if ( is_a( $cart_item, 'WC_Order_Item_Product' ) ) {
288
+ $product = $cart_item->get_product();
289
+
290
+ if ( $product && wc_gzd_get_product( $product )->has_unit_product() ) {
291
+ $units = wc_gzd_get_product( $product )->get_unit_product_html();
292
+ }
293
+ } elseif ( isset( $cart_item['data'] ) ) {
294
  $product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
295
 
296
+ if ( is_a( $product, 'WC_Product' ) && wc_gzd_get_product( $product )->has_unit_product() ) {
297
  $units = wc_gzd_get_gzd_product( $product )->get_unit_product_html();
298
  }
299
  } elseif ( isset( $cart_item['units'] ) ) {
300
  $units = $cart_item['units'];
 
 
 
 
 
 
301
  }
302
 
303
  if ( ! empty( $units ) ) {
329
  $_product = apply_filters( 'woocommerce_cart_item_product', $values['data'], $values, $cart_item_key );
330
  }
331
 
332
+ if ( is_a( $_product, 'WC_Product' ) && wc_gzd_needs_age_verification( $_product ) ) {
333
  $needs_age_verification = true;
334
  }
335
  }
381
  $_product = apply_filters( 'woocommerce_cart_item_product', $values['data'], $values, $cart_item_key );
382
  }
383
 
384
+ if ( is_a( $_product, 'WC_Product' ) ) {
385
  $_gzd_product = wc_gzd_get_gzd_product( $_product );
386
 
387
  if ( wc_gzd_needs_age_verification( $_product ) ) {
438
  $is_cart = true;
439
  }
440
 
441
+ if ( is_a( $_product, 'WC_Product' ) ) {
442
 
443
  if ( 'shipping' === $type ) {
444
  if ( $_product->is_virtual() || wc_gzd_get_product( $_product )->is_virtual_vat_exception() ) {
packages/woocommerce-germanized-dhl/includes/admin/views/html-shipment-label-backbone-form.php CHANGED
@@ -50,17 +50,16 @@ $default_args = wc_gzd_dhl_get_label_default_args( $dhl_order, $shipment );
50
  $preferred_times = array();
51
 
52
  try {
53
- $preferred_day_time = Package::get_api()->get_preferred_day_time( $shipment->get_postcode() );
54
 
55
- if ( $preferred_day_time ) {
56
- $preferred_days = $preferred_day_time['preferred_day'];
57
- $preferred_times = $preferred_day_time['preferred_time'];
58
  }
59
  } catch( Exception $e ) {}
60
  ?>
61
 
62
  <div class="columns">
63
- <div class="column col-6">
64
  <?php woocommerce_wp_select( array(
65
  'id' => 'dhl_label_preferred_day',
66
  'label' => _x( 'Preferred Day', 'dhl', 'woocommerce-germanized' ),
@@ -69,15 +68,17 @@ $default_args = wc_gzd_dhl_get_label_default_args( $dhl_order, $shipment );
69
  'options' => wc_gzd_dhl_get_preferred_days_select_options( $preferred_days, ( isset( $default_args['preferred_day'] ) ? $default_args['preferred_day'] : '' ) ),
70
  ) ); ?>
71
  </div>
72
- <div class="column col-6">
73
- <?php woocommerce_wp_select( array(
74
- 'id' => 'dhl_label_preferred_time',
75
- 'label' => _x( 'Preferred Time', 'dhl', 'woocommerce-germanized' ),
76
- 'description' => '',
77
- 'value' => isset( $default_args['preferred_time'] ) ? $default_args['preferred_time'] : '',
78
- 'options' => wc_gzd_dhl_get_preferred_times_select_options( $preferred_times ),
79
- ) ); ?>
80
- </div>
 
 
81
  </div>
82
 
83
  <?php if ( $dhl_order->has_preferred_location() ) : ?>
50
  $preferred_times = array();
51
 
52
  try {
53
+ $preferred_day_options = Package::get_api()->get_preferred_available_days( $shipment->get_postcode() );
54
 
55
+ if ( $preferred_day_options ) {
56
+ $preferred_days = $preferred_day_options;
 
57
  }
58
  } catch( Exception $e ) {}
59
  ?>
60
 
61
  <div class="columns">
62
+ <div class="column <?php echo ( isset( $default_args['preferred_time'] ) ) ? 'col-6' : 'col-12'; ?>">
63
  <?php woocommerce_wp_select( array(
64
  'id' => 'dhl_label_preferred_day',
65
  'label' => _x( 'Preferred Day', 'dhl', 'woocommerce-germanized' ),
68
  'options' => wc_gzd_dhl_get_preferred_days_select_options( $preferred_days, ( isset( $default_args['preferred_day'] ) ? $default_args['preferred_day'] : '' ) ),
69
  ) ); ?>
70
  </div>
71
+ <?php if ( isset( $default_args['preferred_time'] ) ) : ?>
72
+ <div class="column col-6">
73
+ <?php woocommerce_wp_select( array(
74
+ 'id' => 'dhl_label_preferred_time',
75
+ 'label' => _x( 'Preferred Time', 'dhl', 'woocommerce-germanized' ),
76
+ 'description' => '',
77
+ 'value' => $default_args['preferred_time'],
78
+ 'options' => wc_gzd_dhl_get_preferred_times_select_options( array( $default_args['preferred_time'] => $default_args['preferred_time'] ) ),
79
+ ) ); ?>
80
+ </div>
81
+ <?php endif; ?>
82
  </div>
83
 
84
  <?php if ( $dhl_order->has_preferred_location() ) : ?>
packages/woocommerce-germanized-dhl/includes/wc-gzd-dhl-core-functions.php CHANGED
@@ -27,7 +27,7 @@ use Vendidero\Germanized\Shipments\ShipmentFactory;
27
 
28
  defined( 'ABSPATH' ) || exit;
29
 
30
- function wc_gzd_dhl_aformat_preferred_api_time( $time ) {
31
  return str_replace( array( ':', '-' ), '', $time );
32
  }
33
 
27
 
28
  defined( 'ABSPATH' ) || exit;
29
 
30
+ function wc_gzd_dhl_format_preferred_api_time( $time ) {
31
  return str_replace( array( ':', '-' ), '', $time );
32
  }
33
 
packages/woocommerce-germanized-dhl/src/Admin/Importer.php CHANGED
@@ -69,9 +69,6 @@ class Importer {
69
  'preferred_exclusion_thu' => 'PreferredDay_exclusion_thu',
70
  'preferred_exclusion_fri' => 'PreferredDay_exclusion_fri',
71
  'preferred_exclusion_sat' => 'PreferredDay_exclusion_sat',
72
- 'preferred_time' => 'PreferredTime_enable',
73
- 'preferred_time_cost' => 'PreferredTime_cost',
74
- 'preferred_day_time_cost' => 'PreferredDay_combined_cost',
75
  'preferred_location' => 'PreferredLocation_enable',
76
  'preferred_neighbour' => 'PreferredNeighbour_enable',
77
  'payment_gateway' => 'preferred_payment_gateways_excluded',
69
  'preferred_exclusion_thu' => 'PreferredDay_exclusion_thu',
70
  'preferred_exclusion_fri' => 'PreferredDay_exclusion_fri',
71
  'preferred_exclusion_sat' => 'PreferredDay_exclusion_sat',
 
 
 
72
  'preferred_location' => 'PreferredLocation_enable',
73
  'preferred_neighbour' => 'PreferredNeighbour_enable',
74
  'payment_gateway' => 'preferred_payment_gateways_excluded',
packages/woocommerce-germanized-dhl/src/Admin/Settings.php CHANGED
@@ -962,38 +962,6 @@ class Settings {
962
  'custom_attributes' => array( 'data-show_if_woocommerce_gzd_dhl_PreferredDay_enable' => '' )
963
  ),
964
 
965
- array(
966
- 'title' => _x( 'Preferred Time', 'dhl', 'woocommerce-germanized' ),
967
- 'desc' => _x( 'Enable preferred time delivery.', 'dhl', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . _x( 'Enabling this option will display options for the user to select their preferred time of delivery during the checkout.', 'dhl', 'woocommerce-germanized' ) . '</div>',
968
- 'id' => 'woocommerce_gzd_dhl_PreferredTime_enable',
969
- 'default' => 'yes',
970
- 'type' => 'gzd_toggle',
971
- ),
972
-
973
- array(
974
- 'title' => _x( 'Fee', 'dhl', 'woocommerce-germanized' ),
975
- 'type' => 'text',
976
- 'desc' => _x( 'Insert gross value as surcharge for preferred time delivery. Insert 0 to offer service for free.', 'dhl', 'woocommerce-germanized' ),
977
- 'desc_tip' => true,
978
- 'id' => 'woocommerce_gzd_dhl_PreferredTime_cost',
979
- 'default' => '4.8',
980
- 'css' => 'max-width: 60px;',
981
- 'class' => 'wc_input_decimal',
982
- 'custom_attributes' => array( 'data-show_if_woocommerce_gzd_dhl_PreferredTime_enable' => '' )
983
- ),
984
-
985
- array(
986
- 'title' => _x( 'Combined Fee', 'dhl', 'woocommerce-germanized' ),
987
- 'type' => 'text',
988
- 'desc' => _x( 'Insert gross value as surcharge for the combination of preferred day and time. Insert 0 to offer service for free.', 'dhl', 'woocommerce-germanized' ),
989
- 'desc_tip' => true,
990
- 'id' => 'woocommerce_gzd_dhl_PreferredDay_combined_cost',
991
- 'default' => '4.8',
992
- 'css' => 'max-width: 60px;',
993
- 'class' => 'wc_input_decimal',
994
- 'custom_attributes' => array( 'data-show_if_woocommerce_gzd_dhl_PreferredTime_enable' => '', 'data-show_if_woocommerce_gzd_dhl_PreferredDay_enable' => '' )
995
- ),
996
-
997
  array(
998
  'title' => _x( 'Preferred Location', 'dhl', 'woocommerce-germanized' ),
999
  'desc' => _x( 'Enable preferred location delivery.', 'dhl', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . _x( 'Enabling this option will display options for the user to select their preferred delivery location during the checkout.', 'dhl', 'woocommerce-germanized' ) . '</div>',
962
  'custom_attributes' => array( 'data-show_if_woocommerce_gzd_dhl_PreferredDay_enable' => '' )
963
  ),
964
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
965
  array(
966
  'title' => _x( 'Preferred Location', 'dhl', 'woocommerce-germanized' ),
967
  'desc' => _x( 'Enable preferred location delivery.', 'dhl', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . _x( 'Enabling this option will display options for the user to select their preferred delivery location during the checkout.', 'dhl', 'woocommerce-germanized' ) . '</div>',
packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php CHANGED
@@ -416,7 +416,7 @@ class LabelSoap extends Soap {
416
  $services[ $service ]['details'] = $label->get_preferred_day() ? $label->get_preferred_day()->date( 'Y-m-d' ) : '';
417
  break;
418
  case 'PreferredTime':
419
- $services[ $service ]['type'] = wc_gzd_dhl_aformat_preferred_api_time( $label->get_preferred_time() );
420
  break;
421
  case 'VisualCheckOfAge':
422
  $services[ $service ]['type'] = $label->get_visual_min_age();
@@ -652,7 +652,8 @@ class LabelSoap extends Soap {
652
  $item_description .= ! empty( $item_description ) ? ', ' : '';
653
  $item_description .= $item->get_name();
654
 
655
- $dhl_product = false;
 
656
 
657
  if ( $product = $item->get_product() ) {
658
  $dhl_product = wc_gzd_dhl_get_product( $product );
@@ -664,7 +665,7 @@ class LabelSoap extends Soap {
664
  'customsTariffNumber' => $dhl_product ? $dhl_product->get_hs_code() : '',
665
  'amount' => intval( $item->get_quantity() ),
666
  'netWeightInKG' => wc_format_decimal( floatval( wc_get_weight( ( $item->get_weight() / $item->get_quantity() ), 'kg', $shipment->get_weight_unit() ) ), 2 ),
667
- 'customsValue' => wc_format_decimal( floatval( ( $item->get_total() / $item->get_quantity() ) ), 2 ),
668
  );
669
 
670
  array_push($customsDetails, $json_item );
416
  $services[ $service ]['details'] = $label->get_preferred_day() ? $label->get_preferred_day()->date( 'Y-m-d' ) : '';
417
  break;
418
  case 'PreferredTime':
419
+ $services[ $service ]['type'] = wc_gzd_dhl_format_preferred_api_time( $label->get_preferred_time() );
420
  break;
421
  case 'VisualCheckOfAge':
422
  $services[ $service ]['type'] = $label->get_visual_min_age();
652
  $item_description .= ! empty( $item_description ) ? ', ' : '';
653
  $item_description .= $item->get_name();
654
 
655
+ $product_total = floatval( ( $item->get_total() / $item->get_quantity() ) );
656
+ $dhl_product = false;
657
 
658
  if ( $product = $item->get_product() ) {
659
  $dhl_product = wc_gzd_dhl_get_product( $product );
665
  'customsTariffNumber' => $dhl_product ? $dhl_product->get_hs_code() : '',
666
  'amount' => intval( $item->get_quantity() ),
667
  'netWeightInKG' => wc_format_decimal( floatval( wc_get_weight( ( $item->get_weight() / $item->get_quantity() ), 'kg', $shipment->get_weight_unit() ) ), 2 ),
668
+ 'customsValue' => wc_format_decimal( $product_total ),
669
  );
670
 
671
  array_push($customsDetails, $json_item );
packages/woocommerce-germanized-dhl/src/Api/Paket.php CHANGED
@@ -170,7 +170,7 @@ class Paket {
170
  * @return array
171
  * @throws Exception
172
  */
173
- public function get_preferred_day_time( $postcode, $cutoff_time = '' ) {
174
  $exclude_working_days = wc_gzd_dhl_get_excluded_working_days();
175
 
176
  // Always exclude Sunday
@@ -229,12 +229,11 @@ class Paket {
229
  $args['account_num'] = $account_num;
230
  $args['start_date'] = $starting_date->format( 'Y-m-d' );
231
 
232
- $preferred_day_time = array();
233
 
234
  try {
235
- $preferred_services = $this->get_parcel_api()->get_services( $args );
236
- $preferred_day_time['preferred_day'] = $this->get_preferred_day( $preferred_services );
237
- $preferred_day_time['preferred_time'] = $this->get_preferred_time( $preferred_services );
238
  } catch( Exception $e ) {
239
  throw $e;
240
  }
@@ -242,10 +241,10 @@ class Paket {
242
  // Reset timezone to not affect any other plugins
243
  date_default_timezone_set( $current_timzone );
244
 
245
- return $preferred_day_time;
246
  }
247
 
248
- protected function get_preferred_day( $preferred_services ) {
249
 
250
  $day_of_week_arr = array(
251
  '1' => _x( 'Mon', 'dhl', 'woocommerce-germanized' ),
@@ -275,25 +274,4 @@ class Paket {
275
 
276
  return $preferred_days;
277
  }
278
-
279
- protected function get_preferred_time( $preferred_services ) {
280
- $preferred_times = array();
281
-
282
- if ( isset( $preferred_services->preferredTime->available ) && $preferred_services->preferredTime->available && isset( $preferred_services->preferredTime->timeframes ) ) {
283
-
284
- // Add none option
285
- $preferred_times[0] = _x( 'None', 'dhl time context', 'woocommerce-germanized' );
286
-
287
- foreach ( $preferred_services->preferredTime->timeframes as $time_key => $time_value ) {
288
- $temp_day_time = str_replace( ':00', '', $time_value->start );
289
- $temp_day_time .= '-';
290
- $temp_day_time .= str_replace( ':00', '', $time_value->end );
291
- $temp_day_time_key = $time_value->start . '-' . $time_value->end;
292
-
293
- $preferred_times[ $temp_day_time_key ] = $temp_day_time;
294
- }
295
- }
296
-
297
- return $preferred_times;
298
- }
299
  }
170
  * @return array
171
  * @throws Exception
172
  */
173
+ public function get_preferred_available_days( $postcode, $cutoff_time = '' ) {
174
  $exclude_working_days = wc_gzd_dhl_get_excluded_working_days();
175
 
176
  // Always exclude Sunday
229
  $args['account_num'] = $account_num;
230
  $args['start_date'] = $starting_date->format( 'Y-m-d' );
231
 
232
+ $preferred_days = array();
233
 
234
  try {
235
+ $preferred_services = $this->get_parcel_api()->get_services( $args );
236
+ $preferred_days = $this->get_preferred_days( $preferred_services );
 
237
  } catch( Exception $e ) {
238
  throw $e;
239
  }
241
  // Reset timezone to not affect any other plugins
242
  date_default_timezone_set( $current_timzone );
243
 
244
+ return $preferred_days;
245
  }
246
 
247
+ protected function get_preferred_days( $preferred_services ) {
248
 
249
  $day_of_week_arr = array(
250
  '1' => _x( 'Mon', 'dhl', 'woocommerce-germanized' ),
274
 
275
  return $preferred_days;
276
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
  }
packages/woocommerce-germanized-dhl/src/Label.php CHANGED
@@ -27,12 +27,11 @@ abstract class Label extends WC_Data implements ShipmentLabel {
27
  protected $object_type = 'dhl_label';
28
 
29
  /**
30
- * Contains a reference to the data store for this class.
31
  *
32
- * @since 3.0.0
33
- * @var object
34
  */
35
- protected $data_store = 'dhl-label';
36
 
37
  /**
38
  * Stores meta in cache for future reads.
@@ -75,7 +74,7 @@ abstract class Label extends WC_Data implements ShipmentLabel {
75
  $this->set_id( $data );
76
  }
77
 
78
- $this->data_store = WC_Data_Store::load( 'dhl-label' );
79
 
80
  // If we have an ID, load the user from the DB.
81
  if ( $this->get_id() ) {
27
  protected $object_type = 'dhl_label';
28
 
29
  /**
30
+ * Contains the data store name.
31
  *
32
+ * @var string
 
33
  */
34
+ protected $data_store_name = 'dhl-label';
35
 
36
  /**
37
  * Stores meta in cache for future reads.
74
  $this->set_id( $data );
75
  }
76
 
77
+ $this->data_store = WC_Data_Store::load( $this->data_store_name );
78
 
79
  // If we have an ID, load the user from the DB.
80
  if ( $this->get_id() ) {
packages/woocommerce-germanized-dhl/src/Order.php CHANGED
@@ -155,8 +155,26 @@ class Order {
155
  return $prop_data;
156
  }
157
 
 
 
 
 
 
158
  public function supports_email_notification() {
159
- return wc_gzd_order_supports_parcel_delivery_reminder( $this->get_order() );
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  }
161
 
162
  public function get_min_age() {
155
  return $prop_data;
156
  }
157
 
158
+ /**
159
+ * @TODO: Add setting to override checkbox check.
160
+ *
161
+ * @return bool
162
+ */
163
  public function supports_email_notification() {
164
+ $has_email_notification = wc_gzd_order_supports_parcel_delivery_reminder( $this->get_order() );
165
+
166
+ /**
167
+ * Filter to adjust whether customer data (email address) should be handed over to DHL to provide
168
+ * with services such as email notification or parcel outlet routing. By default this may only work
169
+ * if the customer has opted-in via checkbox during checkout.
170
+ *
171
+ * @param boolean $has_email_notification Whether the order supports email notification (handing over customer data to DHL).
172
+ * @param Order $order The order instance.
173
+ *
174
+ * @since 3.1.6
175
+ * @package Vendidero/Germanized/DHL
176
+ */
177
+ return apply_filters( 'woocommerce_gzd_dhl_order_supports_email_notification', $has_email_notification, $this );
178
  }
179
 
180
  public function get_min_age() {
packages/woocommerce-germanized-dhl/src/Package.php CHANGED
@@ -20,7 +20,7 @@ class Package {
20
  *
21
  * @var string
22
  */
23
- const VERSION = '1.2.4';
24
 
25
  public static $upload_dir_suffix = '';
26
 
20
  *
21
  * @var string
22
  */
23
+ const VERSION = '1.2.5';
24
 
25
  public static $upload_dir_suffix = '';
26
 
packages/woocommerce-germanized-dhl/src/ParcelServices.php CHANGED
@@ -130,15 +130,7 @@ class ParcelServices {
130
  $data = self::get_data( $post_data );
131
 
132
  try {
133
- if ( ! empty( $data['preferred_time'] ) && ! empty( $data['preferred_day'] ) ) {
134
- if ( ! empty( $data['preferred_day_time_cost'] ) ) {
135
- $cart->add_fee( _x( 'DHL Preferred Day & Time', 'dhl', 'woocommerce-germanized' ), $data['preferred_day_time_cost'] );
136
- }
137
- } elseif ( ! empty( $data['preferred_time'] ) ) {
138
- if ( ! empty( $data['preferred_time_cost'] ) ) {
139
- $cart->add_fee( _x( 'DHL Preferred Time', 'dhl', 'woocommerce-germanized' ), $data['preferred_time_cost'] );
140
- }
141
- } elseif ( ! empty( $data['preferred_day'] ) ) {
142
  if ( ! empty( $data['preferred_day_cost'] ) ) {
143
  $cart->add_fee( _x( 'DHL Preferred Day', 'dhl', 'woocommerce-germanized' ), $data['preferred_day_cost'] );
144
  }
@@ -219,28 +211,8 @@ class ParcelServices {
219
  return $days;
220
  }
221
 
222
- protected static function get_preferred_time_cost() {
223
- $cost = self::get_setting( 'PreferredTime_cost' );
224
-
225
- if ( empty( $cost ) ) {
226
- $cost = 0;
227
- }
228
-
229
- return $cost;
230
- }
231
-
232
- protected static function get_preferred_day_time_cost() {
233
- $cost = self::get_setting( 'PreferredDay_combined_cost' );
234
-
235
- if ( empty( $cost ) ) {
236
- $cost = 0;
237
- }
238
-
239
- return $cost;
240
- }
241
-
242
  protected static function is_preferred_enabled() {
243
- return self::is_preferred_day_enabled() || self::is_preferred_time_enabled() || self::is_preferred_location_enabled() || self::is_preferred_neighbor_enabled();
244
  }
245
 
246
  protected static function is_preferred_available( $check_day_transfer = false ) {
@@ -269,26 +241,22 @@ class ParcelServices {
269
  protected static function get_data( $post_data ) {
270
  $data = array(
271
  'preferred_day_enabled' => false,
272
- 'preferred_time_enabled' => false,
273
  'preferred_location_enabled' => false,
274
  'preferred_neighbor_enabled' => false,
275
  'preferred_day' => '',
276
- 'preferred_time' => '',
277
  'preferred_location_type' => 'none',
278
  'preferred_location' => '',
279
  'preferred_location_neighbor_name' => '',
280
  'preferred_location_neighbor_address' => '',
281
- 'preferred_day_time_options' => WC()->session->get( 'dhl_preferred_day_time_options' ),
282
  'preferred_day_cost' => self::get_preferred_day_cost(),
283
- 'preferred_time_cost' => self::get_preferred_time_cost(),
284
- 'preferred_day_time_cost' => self::get_preferred_day_time_cost(),
285
  );
286
 
287
  $data['errors'] = new WP_Error();
288
 
289
- if ( is_null( $data['preferred_day_time_options'] ) ) {
290
- self::refresh_day_time_session();
291
- $data['preferred_day_time_options'] = WC()->session->get( 'dhl_preferred_day_time_options' );
292
  }
293
 
294
  try {
@@ -299,8 +267,8 @@ class ParcelServices {
299
  $day = wc_clean( $post_data['dhl_preferred_day'] );
300
 
301
  if ( wc_gzd_dhl_is_valid_datetime( $day, 'Y-m-d' ) ) {
302
- if ( ! empty( $data['preferred_day_time_options']['preferred_day'] ) ) {
303
- if ( array_key_exists( $day, $data['preferred_day_time_options']['preferred_day'] ) ) {
304
  $data['preferred_day'] = $day;
305
  }
306
  }
@@ -312,34 +280,6 @@ class ParcelServices {
312
  }
313
  }
314
 
315
- if ( self::is_preferred_time_enabled() ) {
316
- $data['preferred_time_enabled'] = true;
317
-
318
- if ( isset( $post_data['dhl_preferred_time'] ) && ! empty( $post_data['dhl_preferred_time'] ) ) {
319
- $preferred_org_time = wc_clean( $post_data['dhl_preferred_time'] );
320
- $preferred_time = explode( '-', $preferred_org_time );
321
-
322
- if ( sizeof( $preferred_time ) === 2 ) {
323
- $time_start = $preferred_time[0];
324
- $time_end = $preferred_time[1];
325
-
326
- if ( wc_gzd_dhl_is_valid_datetime( $time_start, 'H:i' ) && wc_gzd_dhl_is_valid_datetime( $time_end, 'H:i' ) ) {
327
- if ( ! empty( $data['preferred_day_time_options']['preferred_time'] ) ) {
328
- if ( array_key_exists( $preferred_org_time, $data['preferred_day_time_options']['preferred_time'] ) ) {
329
- $data['preferred_time'] = $preferred_org_time;
330
- $data['preferred_time_start'] = $time_start;
331
- $data['preferred_time_end'] = $time_end;
332
- }
333
- }
334
- }
335
- }
336
-
337
- if ( empty( $data['preferred_time'] ) ) {
338
- $data['errors']->add( 'validation', _x( 'Sorry, but the preferred time you have chosen is no longer available.', 'dhl', 'woocommerce-germanized' ) );
339
- }
340
- }
341
- }
342
-
343
  if ( self::is_preferred_neighbor_enabled() ) {
344
  $data['preferred_neighbor_enabled'] = true;
345
  }
@@ -382,15 +322,15 @@ class ParcelServices {
382
  }
383
  }
384
 
385
- protected static function refresh_day_time_session() {
386
- WC()->session->set( 'dhl_preferred_day_time_options', array() );
387
 
388
- if ( self::is_preferred_day_enabled() || self::is_preferred_time_enabled() ) {
389
  $shipping_postcode = WC()->customer->get_shipping_postcode();
390
 
391
  try {
392
  if ( ! empty( $shipping_postcode ) ) {
393
- WC()->session->set( 'dhl_preferred_day_time_options', Package::get_api()->get_preferred_day_time( $shipping_postcode ) );
394
  }
395
 
396
  } catch( Exception $e ) {}
@@ -407,10 +347,10 @@ class ParcelServices {
407
  if ( self::is_preferred_available( true ) ) {
408
  $data = self::get_data( $post_data );
409
 
410
- self::refresh_day_time_session();
411
 
412
- $data['preferred_day_time_options'] = WC()->session->get( 'dhl_preferred_day_time_options' );
413
- $data['logo_url'] = Package::get_assets_url() . '/img/dhl-official.png';
414
 
415
  wc_get_template( 'checkout/dhl/preferred-services.php', $data, Package::get_template_path(), Package::get_path() . '/templates/' );
416
  }
130
  $data = self::get_data( $post_data );
131
 
132
  try {
133
+ if ( ! empty( $data['preferred_day'] ) ) {
 
 
 
 
 
 
 
 
134
  if ( ! empty( $data['preferred_day_cost'] ) ) {
135
  $cart->add_fee( _x( 'DHL Preferred Day', 'dhl', 'woocommerce-germanized' ), $data['preferred_day_cost'] );
136
  }
211
  return $days;
212
  }
213
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
  protected static function is_preferred_enabled() {
215
+ return self::is_preferred_day_enabled() || self::is_preferred_location_enabled() || self::is_preferred_neighbor_enabled();
216
  }
217
 
218
  protected static function is_preferred_available( $check_day_transfer = false ) {
241
  protected static function get_data( $post_data ) {
242
  $data = array(
243
  'preferred_day_enabled' => false,
 
244
  'preferred_location_enabled' => false,
245
  'preferred_neighbor_enabled' => false,
246
  'preferred_day' => '',
 
247
  'preferred_location_type' => 'none',
248
  'preferred_location' => '',
249
  'preferred_location_neighbor_name' => '',
250
  'preferred_location_neighbor_address' => '',
251
+ 'preferred_day_options' => WC()->session->get( 'dhl_preferred_day_options' ),
252
  'preferred_day_cost' => self::get_preferred_day_cost(),
 
 
253
  );
254
 
255
  $data['errors'] = new WP_Error();
256
 
257
+ if ( is_null( $data['preferred_day_options'] ) ) {
258
+ self::refresh_day_session();
259
+ $data['preferred_day_options'] = WC()->session->get( 'dhl_preferred_day_options' );
260
  }
261
 
262
  try {
267
  $day = wc_clean( $post_data['dhl_preferred_day'] );
268
 
269
  if ( wc_gzd_dhl_is_valid_datetime( $day, 'Y-m-d' ) ) {
270
+ if ( ! empty( $data['preferred_day_options'] ) ) {
271
+ if ( array_key_exists( $day, $data['preferred_day_options'] ) ) {
272
  $data['preferred_day'] = $day;
273
  }
274
  }
280
  }
281
  }
282
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
  if ( self::is_preferred_neighbor_enabled() ) {
284
  $data['preferred_neighbor_enabled'] = true;
285
  }
322
  }
323
  }
324
 
325
+ protected static function refresh_day_session() {
326
+ WC()->session->set( 'dhl_preferred_day_options', array() );
327
 
328
+ if ( self::is_preferred_day_enabled() ) {
329
  $shipping_postcode = WC()->customer->get_shipping_postcode();
330
 
331
  try {
332
  if ( ! empty( $shipping_postcode ) ) {
333
+ WC()->session->set( 'dhl_preferred_day_options', Package::get_api()->get_preferred_available_days( $shipping_postcode ) );
334
  }
335
 
336
  } catch( Exception $e ) {}
347
  if ( self::is_preferred_available( true ) ) {
348
  $data = self::get_data( $post_data );
349
 
350
+ self::refresh_day_session();
351
 
352
+ $data['preferred_day_options'] = WC()->session->get( 'dhl_preferred_day_options' );
353
+ $data['logo_url'] = Package::get_assets_url() . '/img/dhl-official.png';
354
 
355
  wc_get_template( 'checkout/dhl/preferred-services.php', $data, Package::get_template_path(), Package::get_path() . '/templates/' );
356
  }
packages/woocommerce-germanized-dhl/templates/checkout/dhl/preferred-services.php CHANGED
@@ -33,7 +33,7 @@ Please choose your preferred delivery option.', 'dhl', 'woocommerce-germanized'
33
  </div>
34
  </div>
35
 
36
- <?php if ( ! empty( $preferred_day_time_options ) && isset( $preferred_day_time_options['preferred_day'] ) && ! empty( $preferred_day_time_options['preferred_day'] ) && $preferred_day_enabled ) : ?>
37
  <div class="dhl-preferred-service-item dhl-preferred-service-day">
38
  <div class="dhl-preferred-service-title"><?php _ex( 'Preferred day: Delivery at your preferred day.', 'dhl', 'woocommerce-germanized' ); ?> <?php echo wc_help_tip( _x( 'Choose one of the displayed days as your preferred day for your parcel delivery. Other days are not possible due to delivery processes.', 'dhl', 'woocommerce-germanized' ) ); ?></div>
39
 
@@ -45,7 +45,7 @@ Please choose your preferred delivery option.', 'dhl', 'woocommerce-germanized'
45
 
46
  <div class="dhl-preferred-service-data">
47
  <ul class="dhl-preferred-service-times dhl-preferred-service-days">
48
- <?php foreach( $preferred_day_time_options['preferred_day'] as $key => $value ) :
49
  $key = empty( $key ) ? '' : $key;
50
  $week_day_num = empty( $key ) ? '-' : date('j', strtotime( $key ) );
51
  $is_selected = $preferred_day === $key ? 'checked="checked"' : '';
@@ -60,32 +60,6 @@ Please choose your preferred delivery option.', 'dhl', 'woocommerce-germanized'
60
  </div>
61
  <?php endif; ?>
62
 
63
- <?php if ( ! empty( $preferred_day_time_options ) && isset( $preferred_day_time_options['preferred_time'] ) && ! empty( $preferred_day_time_options['preferred_time'] ) && $preferred_time_enabled ) : ?>
64
- <div class="dhl-preferred-service-item dhl-preferred-service-time">
65
- <div class="dhl-preferred-service-title"><?php _ex( 'Preferred time: Delivery during your preferred time slot.', 'dhl', 'woocommerce-germanized' ); ?> <?php echo wc_help_tip( _x( 'Indicate a preferred time, which suits you best for your parcel delivery by choosing one of the displayed time windows.', 'dhl', 'woocommerce-germanized' ) ); ?></div>
66
-
67
- <?php if ( ! empty( $preferred_time_cost ) ) : ?>
68
- <div class="dhl-preferred-service-cost">
69
- <?php printf( _x( 'There is a surcharge of %s incl. VAT for this service.*', 'dhl', 'woocommerce-germanized' ), wc_price( $preferred_time_cost ) ); ?>
70
- </div>
71
- <?php endif; ?>
72
-
73
- <div class="dhl-preferred-service-data">
74
- <ul class="dhl-preferred-service-times dhl-preferred-service-time">
75
- <?php foreach( $preferred_day_time_options['preferred_time'] as $key => $value ) :
76
- $key = empty( $key ) ? '' : $key;
77
- $is_selected = $preferred_time === $key ? 'checked="checked"' : '';
78
- ?>
79
- <li>
80
- <input type="radio" name="dhl_preferred_time" class="dhl-preferred-time-option" id="dhl-preferred-time-<?php echo esc_attr( $key ); ?>" value="<?php echo esc_attr( $key ); ?>" <?php echo $is_selected; ?> />
81
- <label for="dhl-preferred-time-<?php echo $key; ?>"><span class="dhl-preferred-time-title"><?php echo ( empty( $key ) ? _x( 'None', 'dhl time context', 'woocommerce-germanized' ) : $key ); ?></span></label>
82
- </li>
83
- <?php endforeach; ?>
84
- </ul>
85
- </div>
86
- </div>
87
- <?php endif; ?>
88
-
89
  <?php if ( $preferred_location_enabled || $preferred_neighbor_enabled ) : ?>
90
  <div class="dhl-preferred-service-item dhl-preferred-service-location">
91
  <div class="dhl-preferred-service-title"><?php _ex( 'Preferred location or neighbor', 'dhl', 'woocommerce-germanized' ); ?></div>
@@ -131,11 +105,5 @@ Please choose your preferred delivery option.', 'dhl', 'woocommerce-germanized'
131
  </div>
132
  </div>
133
  <?php endif; ?>
134
-
135
- <?php if ( $preferred_day_enabled && $preferred_time_enabled && ! empty( $preferred_day_time_cost ) ) : ?>
136
- <div class="dhl-preferred-service-cost">
137
- <?php printf( _x( '* For a booking of preferred day and preferred time in combination there is a surcharge of %s incl. VAT', 'dhl', 'woocommerce-germanized' ), wc_price( $preferred_day_time_cost ) ); ?>
138
- </div>
139
- <?php endif; ?>
140
  </td>
141
  </tr>
33
  </div>
34
  </div>
35
 
36
+ <?php if ( ! empty( $preferred_day_options ) && $preferred_day_enabled ) : ?>
37
  <div class="dhl-preferred-service-item dhl-preferred-service-day">
38
  <div class="dhl-preferred-service-title"><?php _ex( 'Preferred day: Delivery at your preferred day.', 'dhl', 'woocommerce-germanized' ); ?> <?php echo wc_help_tip( _x( 'Choose one of the displayed days as your preferred day for your parcel delivery. Other days are not possible due to delivery processes.', 'dhl', 'woocommerce-germanized' ) ); ?></div>
39
 
45
 
46
  <div class="dhl-preferred-service-data">
47
  <ul class="dhl-preferred-service-times dhl-preferred-service-days">
48
+ <?php foreach( $preferred_day_options as $key => $value ) :
49
  $key = empty( $key ) ? '' : $key;
50
  $week_day_num = empty( $key ) ? '-' : date('j', strtotime( $key ) );
51
  $is_selected = $preferred_day === $key ? 'checked="checked"' : '';
60
  </div>
61
  <?php endif; ?>
62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  <?php if ( $preferred_location_enabled || $preferred_neighbor_enabled ) : ?>
64
  <div class="dhl-preferred-service-item dhl-preferred-service-location">
65
  <div class="dhl-preferred-service-title"><?php _ex( 'Preferred location or neighbor', 'dhl', 'woocommerce-germanized' ); ?></div>
105
  </div>
106
  </div>
107
  <?php endif; ?>
 
 
 
 
 
 
108
  </td>
109
  </tr>
packages/woocommerce-germanized-dhl/woocommerce-germanized-dhl.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The Germanized DHL integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
- * Version: 1.2.4
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
5
  * Description: The Germanized DHL integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
+ * Version: 1.2.5
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
packages/woocommerce-germanized-shipments/assets/css/admin.css CHANGED
@@ -216,6 +216,8 @@ table.wc-gzd-shipping-providers {
216
  line-height: 26px; }
217
  .woocommerce_page_wc-gzd-shipments .wp-list-table thead th, .woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th {
218
  padding: .5em 1em; }
 
 
219
  .woocommerce_page_wc-gzd-shipments .wp-list-table thead th:last-child, .woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th:last-child {
220
  padding-right: 2em; }
221
  .woocommerce_page_wc-gzd-shipments .wp-list-table .check-column, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .check-column {
216
  line-height: 26px; }
217
  .woocommerce_page_wc-gzd-shipments .wp-list-table thead th, .woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th {
218
  padding: .5em 1em; }
219
+ .woocommerce_page_wc-gzd-shipments .wp-list-table thead th.sortable a, .woocommerce_page_wc-gzd-shipments .wp-list-table thead th.sorted a, .woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th.sortable a, .woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th.sorted a {
220
+ padding: 0; }
221
  .woocommerce_page_wc-gzd-shipments .wp-list-table thead th:last-child, .woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th:last-child {
222
  padding-right: 2em; }
223
  .woocommerce_page_wc-gzd-shipments .wp-list-table .check-column, .woocommerce_page_wc-gzd-return-shipments .wp-list-table .check-column {
packages/woocommerce-germanized-shipments/assets/css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .germanized-create-label .notice-wrapper .notice{margin:0;margin-bottom:1em}.germanized-create-label .notice-wrapper .notice p{margin:.5em 0!important;padding:2px!important;font-size:13px;line-height:1.5}.germanized-create-label p.form-field{display:inline-block;width:100%;margin-bottom:5px!important;margin-top:5px!important}.germanized-create-label p.form-field:first-child,.germanized-create-label p.form-field:last-child{margin-bottom:5px!important;margin-top:5px!important}.germanized-create-label .columns{margin-left:-.5rem!important;margin-right:-.5rem!important}.germanized-create-label .column{padding-left:.5rem!important;padding-right:.5rem!important}.germanized-create-label .hide-default,.germanized-create-label .show-if{display:none}.germanized-create-label .show-if label{color:#777}.germanized-create-label p.form-field label{width:100%;display:block;margin-bottom:5px}.germanized-create-label p.form-field input[type=email],.germanized-create-label p.form-field input[type=text],.germanized-create-label p.form-field select{width:100%;max-width:100%}.germanized-create-label p.form-field.form-field-checkbox{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-pack:start;justify-content:flex-start;margin-top:10px!important;margin-bottom:10px!important;-webkit-box-align:center;align-items:center}.germanized-create-label p.form-field.form-field-checkbox label{width:auto;margin-left:.5em;-webkit-box-ordinal-group:3;order:2;margin-bottom:0}.germanized-create-label p.form-field.form-field-checkbox input[type=checkbox]{-webkit-box-ordinal-group:2;order:1}.germanized-create-label p.form-field.form-field-checkbox .woocommerce-help-tip{-webkit-box-ordinal-group:4;order:3;margin-left:3px}.germanized-create-label p.form-field.form-field-checkbox .description{width:100%;margin-top:5px;color:#777;-webkit-box-ordinal-group:5;order:4;font-style:normal}table.wc-gzd-shipping-providers{margin-top:1.5em}table.wc-gzd-shipping-providers td,table.wc-gzd-shipping-providers th{display:table-cell!important;padding:1em!important;vertical-align:top;line-height:1.75em;font-size:14px}table.wc-gzd-shipping-providers th{font-weight:600}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated{width:1%;text-align:center}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated .status-disabled,table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated .status-enabled,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated .status-disabled,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated .status-enabled{display:inline-block;margin-top:3px}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-actions{width:15%;text-align:right}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions{display:-webkit-box;display:flex;-webkit-box-pack:end;justify-content:flex-end;flex-wrap:wrap}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions .button{margin-right:5px}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions .button:last-child{margin-right:0}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-title,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-title{width:30ch}table.wc-gzd-shipping-providers tr:nth-child(odd) td{background:#f9f9f9}.order-return-status,.order-shipping-status,.shipment-status{background:#eee;padding:.2em .5em;font-size:.9em;border-radius:3px;display:-webkit-inline-box;display:inline-flex;white-space:nowrap}.order-return-status.status-draft,.order-return-status.status-open,.order-return-status.status-partially-returned,.order-return-status.status-partially-shipped,.order-return-status.status-processing,.order-return-status.status-requested,.order-shipping-status.status-draft,.order-shipping-status.status-open,.order-shipping-status.status-partially-returned,.order-shipping-status.status-partially-shipped,.order-shipping-status.status-processing,.order-shipping-status.status-requested,.shipment-status.status-draft,.shipment-status.status-open,.shipment-status.status-partially-returned,.shipment-status.status-partially-shipped,.shipment-status.status-processing,.shipment-status.status-requested{background:#f8dda7;color:#94660c}.order-return-status.status-not-shipped,.order-shipping-status.status-not-shipped,.shipment-status.status-not-shipped{background:#eba3a3;color:#761919}.order-return-status.status-delivered,.order-return-status.status-returned,.order-return-status.status-shipped,.order-shipping-status.status-delivered,.order-shipping-status.status-returned,.order-shipping-status.status-shipped,.shipment-status.status-delivered,.shipment-status.status-returned,.shipment-status.status-shipped{background:#c6e1c6;color:#5b841b}.order-return-status.shipment-type-return-status.status-shipped,.order-shipping-status.shipment-type-return-status.status-shipped,.shipment-status.shipment-type-return-status.status-shipped{background:#f8dda7;color:#94660c}.woocommerce_page_wc-gzd-return-shipments .tablenav .actions,.woocommerce_page_wc-gzd-shipments .tablenav .actions{overflow:visible}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container{float:left;width:240px!important;font-size:14px;vertical-align:middle;margin:1px 6px 4px 1px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single{height:32px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single .select2-selection__rendered,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single .select2-selection__rendered{line-height:29px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single .select2-selection__arrow,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single .select2-selection__arrow{height:30px}.woocommerce_page_wc-gzd-return-shipments .tablenav input,.woocommerce_page_wc-gzd-return-shipments .tablenav select,.woocommerce_page_wc-gzd-shipments .tablenav input,.woocommerce_page_wc-gzd-shipments .tablenav select{line-height:1;height:32px}.woocommerce_page_wc-gzd-return-shipments .tablenav input,.woocommerce_page_wc-gzd-shipments .tablenav input{height:31px}.woocommerce_page_wc-gzd-return-shipments .tablenav #shipment-query-submit,.woocommerce_page_wc-gzd-shipments .tablenav #shipment-query-submit{margin:1px 8px 0 0}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper{display:none;clear:both;margin:1em 0;float:left;width:50%}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper h4,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper h4{margin-top:0}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress{width:100%;height:42px;margin:0 auto;display:block;-webkit-appearance:none;border:none;background:#f5f5f5;border:2px solid #eee;border-radius:4px;padding:0;box-shadow:0 1px 0 0 rgba(255,255,255,.2)}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-bar,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-bar{background:transparent none;border:0;border-radius:4px;padding:0;box-shadow:none}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-value,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-value{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:-webkit-gradient(linear,left top,left bottom,from(#a46497),to(#66405f)),#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;-webkit-transition:width 1s ease;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;-webkit-transition:width 1s ease;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;-webkit-transition:width 1s ease;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper,.woocommerce_page_wc-gzd-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper{display:block}.woocommerce_page_wc-gzd-return-shipments .wp-list-table,.woocommerce_page_wc-gzd-shipments .wp-list-table{margin-top:1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td,.woocommerce_page_wc-gzd-return-shipments .wp-list-table th,.woocommerce_page_wc-gzd-shipments .wp-list-table td,.woocommerce_page_wc-gzd-shipments .wp-list-table th{padding:.5em 1em;width:10ch;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table tbody th,.woocommerce_page_wc-gzd-return-shipments .wp-list-table td,.woocommerce_page_wc-gzd-shipments .wp-list-table tbody th,.woocommerce_page_wc-gzd-shipments .wp-list-table td{line-height:26px}.woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th,.woocommerce_page_wc-gzd-shipments .wp-list-table thead th{padding:.5em 1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th:last-child,.woocommerce_page_wc-gzd-shipments .wp-list-table thead th:last-child{padding-right:2em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .check-column,.woocommerce_page_wc-gzd-shipments .wp-list-table .check-column{width:16px;white-space:nowrap;padding:1em 1em 1em 1em!important;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .check-column input,.woocommerce_page_wc-gzd-shipments .wp-list-table .check-column input{vertical-align:text-top;margin:1px 0}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title,.woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title{font-weight:700}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title .shipment-title-meta,.woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title .shipment-title-meta{margin-top:0;font-weight:400;color:#999;font-style:italic}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title .shipment-title-meta .shipment-tracking-id,.woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title .shipment-title-meta .shipment-tracking-id{color:#999;display:block}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-title,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-title{width:20ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions{width:10ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-order,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-order{width:10ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-address a,.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-sender a,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-address a,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-sender a{color:#32373c}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .shipment-status,.woocommerce_page_wc-gzd-shipments .wp-list-table .shipment-status{font-size:1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions{text-align:right}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button{text-indent:9999px;margin:2px 0 2px 4px;position:relative;display:inline-block;padding:0;height:2em;width:2em;overflow:hidden;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button::after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;line-height:1.85}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.processing::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.processing::after{font-family:WooCommerce;content:"\e00f"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.shipped::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.shipped::after{content:"\f147"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.delivered::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.delivered::after{content:"\f147"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.confirm::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.confirm::after{content:"\f147"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.generate::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.generate::after{content:"\f502"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.download::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.download::after{content:"\f103"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-address,.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-sender,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-address,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-sender{width:20ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-items,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-items{width:20ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview{font-size:.9em;border-spacing:0}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview thead th,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview thead th{color:#adadad;padding-top:0;font-size:1.1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr td{border-bottom:1px solid #ccc!important}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr:last-child td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr:last-child td{border-bottom:none!important}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th{padding:.3em 0;vertical-align:top;line-height:20px}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-name{width:70%}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-quantity{text-align:right;padding-right:.5em}#woocommerce-gzd-order-shipments .inside{margin:0;padding:0;display:block!important}#woocommerce-gzd-order-shipments .handlediv,#woocommerce-gzd-order-shipments .hndle{display:none}#woocommerce-gzd-order-shipments .hide-default{display:none}.germanized-shipments *{box-sizing:border-box}.germanized-shipments #panel-order-shipments{padding:23px 0 0}.germanized-shipments #panel-order-shipments .panel-inner{padding:0 24px}.germanized-shipments #panel-order-shipments .panel-title-inner{padding-left:0;margin-top:1em;padding-right:0}.germanized-shipments #panel-order-shipments .panel-title{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .panel-title h2{margin:0;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;font-size:21px;font-weight:400;line-height:1.2;text-shadow:1px 1px 1px #fff;padding:0}.germanized-shipments #panel-order-shipments .panel-footer{background:#f8f8f8;padding-top:1em;padding-bottom:1em;border-top:1px solid #dfdfdf;display:none}.germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions{display:-webkit-box;display:flex;flex-wrap:nowrap;-webkit-box-pack:justify;justify-content:space-between}.germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions .shipment-actions-left{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-pack:start;justify-content:flex-start}.germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions .shipment-actions-left .button{margin-right:1em}.germanized-shipments #panel-order-shipments .panel-footer #order-shipments-save{display:none}.germanized-shipments #panel-order-shipments #order-return-shipment-add,.germanized-shipments #panel-order-shipments #order-shipment-add{display:none}.germanized-shipments #panel-order-shipments.needs-shipments .panel-footer{display:block}.germanized-shipments #panel-order-shipments.needs-shipments #order-shipment-add{display:block}.germanized-shipments #panel-order-shipments.needs-returns .panel-footer{display:block}.germanized-shipments #panel-order-shipments.needs-returns #order-return-shipment-add{display:block}.germanized-shipments #panel-order-shipments #order-shipments-list{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .delete{color:#a00}.germanized-shipments #panel-order-shipments .delete:hover{color:#dc3232;border:none}.germanized-shipments #panel-order-shipments .order-shipment a .woocommerce-help-tip{margin-right:3px}.germanized-shipments #panel-order-shipments .order-shipment .handlediv{display:inline-block;float:none;width:auto;height:auto}.germanized-shipments #panel-order-shipments .order-shipment .handlediv .toggle-indicator::before{content:"\f140"}.germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label h4{margin-top:0}.germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label .shipment-label-actions .shipment-label-actions-wrapper{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-pack:start;justify-content:flex-start;margin-bottom:1em;-webkit-box-align:center;align-items:center}.germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label .shipment-label-actions .shipment-label-actions-wrapper a{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .show-if{display:none}.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-content-wrapper{display:block}.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-header>.right>.handlediv .toggle-indicator::before{content:"\f142"}.germanized-shipments #panel-order-shipments .order-shipment .item-count{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer{margin-top:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner{display:-webkit-box;display:flex;flex-wrap:nowrap;-webkit-box-pack:end;justify-content:flex-end;padding:0 .5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner a.shipment-footer-action{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner a.shipment-footer-action:last-child{margin-right:0}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header{color:#999;background:#f8f8f8;margin:1.5em 0;padding:.5em 1em;cursor:pointer}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header .shipment-status{margin-left:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header h3{margin:0}.germanized-shipments #panel-order-shipments .order-shipment:first-child .shipment-header{margin-top:0}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header:hover,.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-header{background:#f3f3f3}.germanized-shipments #panel-order-shipments .order-shipment .shipment-content-wrapper{display:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-content{padding:1em;margin-top:-2.5em;padding-bottom:0}.germanized-shipments #panel-order-shipments .order-shipment .add-shipment-return{display:none}.germanized-shipments #panel-order-shipments .order-shipment.is-returnable .add-shipment-return{display:block}.germanized-shipments #panel-order-shipments .order-shipment p.form-row{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=email],.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=number],.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=text]{height:30px}.germanized-shipments #panel-order-shipments .order-shipment p.form-row select{line-height:30px;height:30px;padding-top:0;padding-bottom:0}.germanized-shipments #panel-order-shipments .order-shipment p.form-row label{color:#999;font-weight:600}.germanized-shipments #panel-order-shipments .order-shipment p.form-row label .woocommerce-help-tip{float:none}.germanized-shipments #panel-order-shipments .order-shipment .columns .column.column-spaced{margin:5px 0}.germanized-shipments #panel-order-shipments .order-shipment .columns .column h4{margin-bottom:.7em;color:#999}.germanized-shipments #panel-order-shipments .order-shipment .columns .column h4 a{color:#999;text-decoration:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-action{text-align:right}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-quantity input{width:50px;text-align:center}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-name p.form-row{margin-bottom:0;margin-top:.5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-heading{padding:.5em;color:#999;background:#f8f8f8;font-weight:600}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item{padding:.5em;border-bottom:1px solid #dfdfdf}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item:last-child{border-bottom:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item:nth-child(2n){background:#f8f8f8}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item .columns{-webkit-box-align:center;align-items:center}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions{display:-webkit-box;display:flex;padding:.7em .5em;flex-wrap:nowrap;-webkit-box-pack:end;justify-content:flex-end;border-top:1px solid #dfdfdf}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions .add-items{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions .woocommerce-help-tip{margin-left:0}.germanized-shipments #panel-order-shipments .order-shipment .add-items{display:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns{margin-top:.5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-header{background:0 0;border-bottom:1px solid #dfdfdf;padding-left:0;padding-right:0}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-header h3{font-size:1.1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-content{padding:1em 0}.germanized-shipments #panel-order-shipments .order-shipment.needs-items .add-items{display:block}.germanized-shipments #panel-order-shipments .form-row .wrap{margin:0;display:-webkit-box;display:flex;flex-wrap:nowrap}.germanized-shipments #panel-order-shipments .form-row .wrap input{margin-right:1em}.germanized-shipments #panel-order-shipments .form-row .wrap input:last-child{margin-right:0}.germanized-shipments .title-spread{display:-webkit-box;display:flex;flex-wrap:nowrap;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center}.germanized-shipments .title-spread .left,.germanized-shipments .title-spread .right{display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center}.germanized-shipments .show-lg,.germanized-shipments .show-md,.germanized-shipments .show-sm,.germanized-shipments .show-xl,.germanized-shipments .show-xs{display:none!important}.germanized-shipments .columns{display:-webkit-box;display:flex;flex-wrap:wrap;margin-left:-1rem;margin-right:-1rem}.germanized-shipments .columns.col-gapless{margin-left:0;margin-right:0}.germanized-shipments .columns.col-gapless>.column{padding-left:0;padding-right:0}.germanized-shipments .columns.col-oneline{flex-wrap:nowrap;overflow-x:auto}.germanized-shipments .column{-webkit-box-flex:1;flex:1;max-width:100%;padding-left:1rem;padding-right:1rem}.germanized-shipments .column.col-1,.germanized-shipments .column.col-10,.germanized-shipments .column.col-11,.germanized-shipments .column.col-12,.germanized-shipments .column.col-2,.germanized-shipments .column.col-3,.germanized-shipments .column.col-4,.germanized-shipments .column.col-5,.germanized-shipments .column.col-6,.germanized-shipments .column.col-7,.germanized-shipments .column.col-8,.germanized-shipments .column.col-9,.germanized-shipments .column.col-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-12{width:100%}.germanized-shipments .col-11{width:91.66666667%}.germanized-shipments .col-10{width:83.33333333%}.germanized-shipments .col-9{width:75%}.germanized-shipments .col-8{width:66.66666667%}.germanized-shipments .col-7{width:58.33333333%}.germanized-shipments .col-6{width:50%}.germanized-shipments .col-5{width:41.66666667%}.germanized-shipments .col-4{width:33.33333333%}.germanized-shipments .col-3{width:25%}.germanized-shipments .col-2{width:16.66666667%}.germanized-shipments .col-1{width:8.33333333%}.germanized-shipments .col-auto{-webkit-box-flex:0;flex:0 0 auto;max-width:none;width:auto}.germanized-shipments .col-mx-auto{margin-left:auto;margin-right:auto}.germanized-shipments .col-ml-auto{margin-left:auto}.germanized-shipments .col-mr-auto{margin-right:auto}@media (max-width:1280px){.germanized-shipments .col-xl-1,.germanized-shipments .col-xl-10,.germanized-shipments .col-xl-11,.germanized-shipments .col-xl-12,.germanized-shipments .col-xl-2,.germanized-shipments .col-xl-3,.germanized-shipments .col-xl-4,.germanized-shipments .col-xl-5,.germanized-shipments .col-xl-6,.germanized-shipments .col-xl-7,.germanized-shipments .col-xl-8,.germanized-shipments .col-xl-9,.germanized-shipments .col-xl-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-xl-12{width:100%}.germanized-shipments .col-xl-11{width:91.66666667%}.germanized-shipments .col-xl-10{width:83.33333333%}.germanized-shipments .col-xl-9{width:75%}.germanized-shipments .col-xl-8{width:66.66666667%}.germanized-shipments .col-xl-7{width:58.33333333%}.germanized-shipments .col-xl-6{width:50%}.germanized-shipments .col-xl-5{width:41.66666667%}.germanized-shipments .col-xl-4{width:33.33333333%}.germanized-shipments .col-xl-3{width:25%}.germanized-shipments .col-xl-2{width:16.66666667%}.germanized-shipments .col-xl-1{width:8.33333333%}.germanized-shipments .col-xl-auto{width:auto}.germanized-shipments .hide-xl{display:none!important}.germanized-shipments .show-xl{display:block!important}}@media (max-width:960px){.germanized-shipments .col-lg-1,.germanized-shipments .col-lg-10,.germanized-shipments .col-lg-11,.germanized-shipments .col-lg-12,.germanized-shipments .col-lg-2,.germanized-shipments .col-lg-3,.germanized-shipments .col-lg-4,.germanized-shipments .col-lg-5,.germanized-shipments .col-lg-6,.germanized-shipments .col-lg-7,.germanized-shipments .col-lg-8,.germanized-shipments .col-lg-9,.germanized-shipments .col-lg-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-lg-12{width:100%}.germanized-shipments .col-lg-11{width:91.66666667%}.germanized-shipments .col-lg-10{width:83.33333333%}.germanized-shipments .col-lg-9{width:75%}.germanized-shipments .col-lg-8{width:66.66666667%}.germanized-shipments .col-lg-7{width:58.33333333%}.germanized-shipments .col-lg-6{width:50%}.germanized-shipments .col-lg-5{width:41.66666667%}.germanized-shipments .col-lg-4{width:33.33333333%}.germanized-shipments .col-lg-3{width:25%}.germanized-shipments .col-lg-2{width:16.66666667%}.germanized-shipments .col-lg-1{width:8.33333333%}.germanized-shipments .col-lg-auto{width:auto}.germanized-shipments .hide-lg{display:none!important}.germanized-shipments .show-lg{display:block!important}}@media (max-width:840px){.germanized-shipments .col-md-1,.germanized-shipments .col-md-10,.germanized-shipments .col-md-11,.germanized-shipments .col-md-12,.germanized-shipments .col-md-2,.germanized-shipments .col-md-3,.germanized-shipments .col-md-4,.germanized-shipments .col-md-5,.germanized-shipments .col-md-6,.germanized-shipments .col-md-7,.germanized-shipments .col-md-8,.germanized-shipments .col-md-9,.germanized-shipments .col-md-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-md-12{width:100%}.germanized-shipments .col-md-11{width:91.66666667%}.germanized-shipments .col-md-10{width:83.33333333%}.germanized-shipments .col-md-9{width:75%}.germanized-shipments .col-md-8{width:66.66666667%}.germanized-shipments .col-md-7{width:58.33333333%}.germanized-shipments .col-md-6{width:50%}.germanized-shipments .col-md-5{width:41.66666667%}.germanized-shipments .col-md-4{width:33.33333333%}.germanized-shipments .col-md-3{width:25%}.germanized-shipments .col-md-2{width:16.66666667%}.germanized-shipments .col-md-1{width:8.33333333%}.germanized-shipments .col-md-auto{width:auto}.germanized-shipments .hide-md{display:none!important}.germanized-shipments .show-md{display:block!important}}@media (max-width:600px){.germanized-shipments .col-sm-1,.germanized-shipments .col-sm-10,.germanized-shipments .col-sm-11,.germanized-shipments .col-sm-12,.germanized-shipments .col-sm-2,.germanized-shipments .col-sm-3,.germanized-shipments .col-sm-4,.germanized-shipments .col-sm-5,.germanized-shipments .col-sm-6,.germanized-shipments .col-sm-7,.germanized-shipments .col-sm-8,.germanized-shipments .col-sm-9,.germanized-shipments .col-sm-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-sm-12{width:100%}.germanized-shipments .col-sm-11{width:91.66666667%}.germanized-shipments .col-sm-10{width:83.33333333%}.germanized-shipments .col-sm-9{width:75%}.germanized-shipments .col-sm-8{width:66.66666667%}.germanized-shipments .col-sm-7{width:58.33333333%}.germanized-shipments .col-sm-6{width:50%}.germanized-shipments .col-sm-5{width:41.66666667%}.germanized-shipments .col-sm-4{width:33.33333333%}.germanized-shipments .col-sm-3{width:25%}.germanized-shipments .col-sm-2{width:16.66666667%}.germanized-shipments .col-sm-1{width:8.33333333%}.germanized-shipments .col-sm-auto{width:auto}.germanized-shipments .hide-sm{display:none!important}.germanized-shipments .show-sm{display:block!important}}@media (max-width:480px){.germanized-shipments .col-xs-1,.germanized-shipments .col-xs-10,.germanized-shipments .col-xs-11,.germanized-shipments .col-xs-12,.germanized-shipments .col-xs-2,.germanized-shipments .col-xs-3,.germanized-shipments .col-xs-4,.germanized-shipments .col-xs-5,.germanized-shipments .col-xs-6,.germanized-shipments .col-xs-7,.germanized-shipments .col-xs-8,.germanized-shipments .col-xs-9,.germanized-shipments .col-xs-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-xs-12{width:100%}.germanized-shipments .col-xs-11{width:91.66666667%}.germanized-shipments .col-xs-10{width:83.33333333%}.germanized-shipments .col-xs-9{width:75%}.germanized-shipments .col-xs-8{width:66.66666667%}.germanized-shipments .col-xs-7{width:58.33333333%}.germanized-shipments .col-xs-6{width:50%}.germanized-shipments .col-xs-5{width:41.66666667%}.germanized-shipments .col-xs-4{width:33.33333333%}.germanized-shipments .col-xs-3{width:25%}.germanized-shipments .col-xs-2{width:16.66666667%}.germanized-shipments .col-xs-1{width:8.33333333%}.germanized-shipments .col-xs-auto{width:auto}.germanized-shipments .hide-xs{display:none!important}.germanized-shipments .show-xs{display:block!important}}
1
+ .germanized-create-label .notice-wrapper .notice{margin:0;margin-bottom:1em}.germanized-create-label .notice-wrapper .notice p{margin:.5em 0!important;padding:2px!important;font-size:13px;line-height:1.5}.germanized-create-label p.form-field{display:inline-block;width:100%;margin-bottom:5px!important;margin-top:5px!important}.germanized-create-label p.form-field:first-child,.germanized-create-label p.form-field:last-child{margin-bottom:5px!important;margin-top:5px!important}.germanized-create-label .columns{margin-left:-.5rem!important;margin-right:-.5rem!important}.germanized-create-label .column{padding-left:.5rem!important;padding-right:.5rem!important}.germanized-create-label .hide-default,.germanized-create-label .show-if{display:none}.germanized-create-label .show-if label{color:#777}.germanized-create-label p.form-field label{width:100%;display:block;margin-bottom:5px}.germanized-create-label p.form-field input[type=email],.germanized-create-label p.form-field input[type=text],.germanized-create-label p.form-field select{width:100%;max-width:100%}.germanized-create-label p.form-field.form-field-checkbox{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-pack:start;justify-content:flex-start;margin-top:10px!important;margin-bottom:10px!important;-webkit-box-align:center;align-items:center}.germanized-create-label p.form-field.form-field-checkbox label{width:auto;margin-left:.5em;-webkit-box-ordinal-group:3;order:2;margin-bottom:0}.germanized-create-label p.form-field.form-field-checkbox input[type=checkbox]{-webkit-box-ordinal-group:2;order:1}.germanized-create-label p.form-field.form-field-checkbox .woocommerce-help-tip{-webkit-box-ordinal-group:4;order:3;margin-left:3px}.germanized-create-label p.form-field.form-field-checkbox .description{width:100%;margin-top:5px;color:#777;-webkit-box-ordinal-group:5;order:4;font-style:normal}table.wc-gzd-shipping-providers{margin-top:1.5em}table.wc-gzd-shipping-providers td,table.wc-gzd-shipping-providers th{display:table-cell!important;padding:1em!important;vertical-align:top;line-height:1.75em;font-size:14px}table.wc-gzd-shipping-providers th{font-weight:600}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated{width:1%;text-align:center}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated .status-disabled,table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-activated .status-enabled,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated .status-disabled,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-activated .status-enabled{display:inline-block;margin-top:3px}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-actions{width:15%;text-align:right}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions{display:-webkit-box;display:flex;-webkit-box-pack:end;justify-content:flex-end;flex-wrap:wrap}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions .button{margin-right:5px}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-actions .button:last-child{margin-right:0}table.wc-gzd-shipping-providers td.wc-gzd-shipping-provider-title,table.wc-gzd-shipping-providers th.wc-gzd-shipping-provider-title{width:30ch}table.wc-gzd-shipping-providers tr:nth-child(odd) td{background:#f9f9f9}.order-return-status,.order-shipping-status,.shipment-status{background:#eee;padding:.2em .5em;font-size:.9em;border-radius:3px;display:-webkit-inline-box;display:inline-flex;white-space:nowrap}.order-return-status.status-draft,.order-return-status.status-open,.order-return-status.status-partially-returned,.order-return-status.status-partially-shipped,.order-return-status.status-processing,.order-return-status.status-requested,.order-shipping-status.status-draft,.order-shipping-status.status-open,.order-shipping-status.status-partially-returned,.order-shipping-status.status-partially-shipped,.order-shipping-status.status-processing,.order-shipping-status.status-requested,.shipment-status.status-draft,.shipment-status.status-open,.shipment-status.status-partially-returned,.shipment-status.status-partially-shipped,.shipment-status.status-processing,.shipment-status.status-requested{background:#f8dda7;color:#94660c}.order-return-status.status-not-shipped,.order-shipping-status.status-not-shipped,.shipment-status.status-not-shipped{background:#eba3a3;color:#761919}.order-return-status.status-delivered,.order-return-status.status-returned,.order-return-status.status-shipped,.order-shipping-status.status-delivered,.order-shipping-status.status-returned,.order-shipping-status.status-shipped,.shipment-status.status-delivered,.shipment-status.status-returned,.shipment-status.status-shipped{background:#c6e1c6;color:#5b841b}.order-return-status.shipment-type-return-status.status-shipped,.order-shipping-status.shipment-type-return-status.status-shipped,.shipment-status.shipment-type-return-status.status-shipped{background:#f8dda7;color:#94660c}.woocommerce_page_wc-gzd-return-shipments .tablenav .actions,.woocommerce_page_wc-gzd-shipments .tablenav .actions{overflow:visible}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container{float:left;width:240px!important;font-size:14px;vertical-align:middle;margin:1px 6px 4px 1px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single{height:32px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single .select2-selection__rendered,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single .select2-selection__rendered{line-height:29px}.woocommerce_page_wc-gzd-return-shipments .tablenav .select2-container .select2-selection--single .select2-selection__arrow,.woocommerce_page_wc-gzd-shipments .tablenav .select2-container .select2-selection--single .select2-selection__arrow{height:30px}.woocommerce_page_wc-gzd-return-shipments .tablenav input,.woocommerce_page_wc-gzd-return-shipments .tablenav select,.woocommerce_page_wc-gzd-shipments .tablenav input,.woocommerce_page_wc-gzd-shipments .tablenav select{line-height:1;height:32px}.woocommerce_page_wc-gzd-return-shipments .tablenav input,.woocommerce_page_wc-gzd-shipments .tablenav input{height:31px}.woocommerce_page_wc-gzd-return-shipments .tablenav #shipment-query-submit,.woocommerce_page_wc-gzd-shipments .tablenav #shipment-query-submit{margin:1px 8px 0 0}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper{display:none;clear:both;margin:1em 0;float:left;width:50%}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper h4,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper h4{margin-top:0}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress{width:100%;height:42px;margin:0 auto;display:block;-webkit-appearance:none;border:none;background:#f5f5f5;border:2px solid #eee;border-radius:4px;padding:0;box-shadow:0 1px 0 0 rgba(255,255,255,.2)}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-bar,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-bar{background:transparent none;border:0;border-radius:4px;padding:0;box-shadow:none}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-value,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-webkit-progress-value{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:-webkit-gradient(linear,left top,left bottom,from(#a46497),to(#66405f)),#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;-webkit-transition:width 1s ease;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-moz-progress-bar{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;-webkit-transition:width 1s ease;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill,.woocommerce_page_wc-gzd-shipments #posts-filter .bulk-action-wrapper progress::-ms-fill{border-radius:3px;box-shadow:inset 0 1px 1px 0 rgba(255,255,255,.4);background:#a46497;background:linear-gradient(to bottom,#a46497,#66405f),#a46497;-webkit-transition:width 1s ease;transition:width 1s ease}.woocommerce_page_wc-gzd-return-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper,.woocommerce_page_wc-gzd-shipments #posts-filter.bulk-action-processing .bulk-action-wrapper{display:block}.woocommerce_page_wc-gzd-return-shipments .wp-list-table,.woocommerce_page_wc-gzd-shipments .wp-list-table{margin-top:1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td,.woocommerce_page_wc-gzd-return-shipments .wp-list-table th,.woocommerce_page_wc-gzd-shipments .wp-list-table td,.woocommerce_page_wc-gzd-shipments .wp-list-table th{padding:.5em 1em;width:10ch;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table tbody th,.woocommerce_page_wc-gzd-return-shipments .wp-list-table td,.woocommerce_page_wc-gzd-shipments .wp-list-table tbody th,.woocommerce_page_wc-gzd-shipments .wp-list-table td{line-height:26px}.woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th,.woocommerce_page_wc-gzd-shipments .wp-list-table thead th{padding:.5em 1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th.sortable a,.woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th.sorted a,.woocommerce_page_wc-gzd-shipments .wp-list-table thead th.sortable a,.woocommerce_page_wc-gzd-shipments .wp-list-table thead th.sorted a{padding:0}.woocommerce_page_wc-gzd-return-shipments .wp-list-table thead th:last-child,.woocommerce_page_wc-gzd-shipments .wp-list-table thead th:last-child{padding-right:2em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .check-column,.woocommerce_page_wc-gzd-shipments .wp-list-table .check-column{width:16px;white-space:nowrap;padding:1em 1em 1em 1em!important;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .check-column input,.woocommerce_page_wc-gzd-shipments .wp-list-table .check-column input{vertical-align:text-top;margin:1px 0}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title,.woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title{font-weight:700}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title .shipment-title-meta,.woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title .shipment-title-meta{margin-top:0;font-weight:400;color:#999;font-style:italic}.woocommerce_page_wc-gzd-return-shipments .wp-list-table td.column-title .shipment-title-meta .shipment-tracking-id,.woocommerce_page_wc-gzd-shipments .wp-list-table td.column-title .shipment-title-meta .shipment-tracking-id{color:#999;display:block}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-title,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-title{width:20ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions{width:10ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-order,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-order{width:10ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-address a,.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-sender a,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-address a,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-sender a{color:#32373c}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .shipment-status,.woocommerce_page_wc-gzd-shipments .wp-list-table .shipment-status{font-size:1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions{text-align:right}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button{text-indent:9999px;margin:2px 0 2px 4px;position:relative;display:inline-block;padding:0;height:2em;width:2em;overflow:hidden;vertical-align:middle}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button::after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;line-height:1.85}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.processing::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.processing::after{font-family:WooCommerce;content:"\e00f"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.shipped::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.shipped::after{content:"\f147"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.delivered::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.delivered::after{content:"\f147"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.confirm::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.confirm::after{content:"\f147"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.generate::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.generate::after{content:"\f502"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-actions a.button.download::after,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-actions a.button.download::after{content:"\f103"}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-address,.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-sender,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-address,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-sender{width:20ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table .column-items,.woocommerce_page_wc-gzd-shipments .wp-list-table .column-items{width:20ch}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview{font-size:.9em;border-spacing:0}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview thead th,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview thead th{color:#adadad;padding-top:0;font-size:1.1em}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr td{border-bottom:1px solid #ccc!important}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr:last-child td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview tr:last-child td{border-bottom:none!important}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th{padding:.3em 0;vertical-align:top;line-height:20px}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-name,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-name{width:70%}.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-return-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview td.wc-gzd-shipment-item-column-quantity,.woocommerce_page_wc-gzd-shipments .wp-list-table #the-list .column-items table.wc-gzd-shipments-preview th.wc-gzd-shipment-item-column-quantity{text-align:right;padding-right:.5em}#woocommerce-gzd-order-shipments .inside{margin:0;padding:0;display:block!important}#woocommerce-gzd-order-shipments .handlediv,#woocommerce-gzd-order-shipments .hndle{display:none}#woocommerce-gzd-order-shipments .hide-default{display:none}.germanized-shipments *{box-sizing:border-box}.germanized-shipments #panel-order-shipments{padding:23px 0 0}.germanized-shipments #panel-order-shipments .panel-inner{padding:0 24px}.germanized-shipments #panel-order-shipments .panel-title-inner{padding-left:0;margin-top:1em;padding-right:0}.germanized-shipments #panel-order-shipments .panel-title{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .panel-title h2{margin:0;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;font-size:21px;font-weight:400;line-height:1.2;text-shadow:1px 1px 1px #fff;padding:0}.germanized-shipments #panel-order-shipments .panel-footer{background:#f8f8f8;padding-top:1em;padding-bottom:1em;border-top:1px solid #dfdfdf;display:none}.germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions{display:-webkit-box;display:flex;flex-wrap:nowrap;-webkit-box-pack:justify;justify-content:space-between}.germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions .shipment-actions-left{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-pack:start;justify-content:flex-start}.germanized-shipments #panel-order-shipments .panel-footer .order-shipments-actions .shipment-actions-left .button{margin-right:1em}.germanized-shipments #panel-order-shipments .panel-footer #order-shipments-save{display:none}.germanized-shipments #panel-order-shipments #order-return-shipment-add,.germanized-shipments #panel-order-shipments #order-shipment-add{display:none}.germanized-shipments #panel-order-shipments.needs-shipments .panel-footer{display:block}.germanized-shipments #panel-order-shipments.needs-shipments #order-shipment-add{display:block}.germanized-shipments #panel-order-shipments.needs-returns .panel-footer{display:block}.germanized-shipments #panel-order-shipments.needs-returns #order-return-shipment-add{display:block}.germanized-shipments #panel-order-shipments #order-shipments-list{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .delete{color:#a00}.germanized-shipments #panel-order-shipments .delete:hover{color:#dc3232;border:none}.germanized-shipments #panel-order-shipments .order-shipment a .woocommerce-help-tip{margin-right:3px}.germanized-shipments #panel-order-shipments .order-shipment .handlediv{display:inline-block;float:none;width:auto;height:auto}.germanized-shipments #panel-order-shipments .order-shipment .handlediv .toggle-indicator::before{content:"\f140"}.germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label h4{margin-top:0}.germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label .shipment-label-actions .shipment-label-actions-wrapper{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-pack:start;justify-content:flex-start;margin-bottom:1em;-webkit-box-align:center;align-items:center}.germanized-shipments #panel-order-shipments .order-shipment .wc-gzd-shipment-label .shipment-label-actions .shipment-label-actions-wrapper a{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .show-if{display:none}.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-content-wrapper{display:block}.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-header>.right>.handlediv .toggle-indicator::before{content:"\f142"}.germanized-shipments #panel-order-shipments .order-shipment .item-count{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer{margin-top:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner{display:-webkit-box;display:flex;flex-wrap:nowrap;-webkit-box-pack:end;justify-content:flex-end;padding:0 .5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner a.shipment-footer-action{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-footer .shipment-footer-inner a.shipment-footer-action:last-child{margin-right:0}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header{color:#999;background:#f8f8f8;margin:1.5em 0;padding:.5em 1em;cursor:pointer}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header .shipment-status{margin-left:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header h3{margin:0}.germanized-shipments #panel-order-shipments .order-shipment:first-child .shipment-header{margin-top:0}.germanized-shipments #panel-order-shipments .order-shipment .shipment-header:hover,.germanized-shipments #panel-order-shipments .order-shipment.active>.shipment-header{background:#f3f3f3}.germanized-shipments #panel-order-shipments .order-shipment .shipment-content-wrapper{display:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-content{padding:1em;margin-top:-2.5em;padding-bottom:0}.germanized-shipments #panel-order-shipments .order-shipment .add-shipment-return{display:none}.germanized-shipments #panel-order-shipments .order-shipment.is-returnable .add-shipment-return{display:block}.germanized-shipments #panel-order-shipments .order-shipment p.form-row{margin-bottom:1.5em}.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=email],.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=number],.germanized-shipments #panel-order-shipments .order-shipment p.form-row input[type=text]{height:30px}.germanized-shipments #panel-order-shipments .order-shipment p.form-row select{line-height:30px;height:30px;padding-top:0;padding-bottom:0}.germanized-shipments #panel-order-shipments .order-shipment p.form-row label{color:#999;font-weight:600}.germanized-shipments #panel-order-shipments .order-shipment p.form-row label .woocommerce-help-tip{float:none}.germanized-shipments #panel-order-shipments .order-shipment .columns .column.column-spaced{margin:5px 0}.germanized-shipments #panel-order-shipments .order-shipment .columns .column h4{margin-bottom:.7em;color:#999}.germanized-shipments #panel-order-shipments .order-shipment .columns .column h4 a{color:#999;text-decoration:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-action{text-align:right}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-quantity input{width:50px;text-align:center}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-name p.form-row{margin-bottom:0;margin-top:.5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item-heading{padding:.5em;color:#999;background:#f8f8f8;font-weight:600}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item{padding:.5em;border-bottom:1px solid #dfdfdf}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item:last-child{border-bottom:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item:nth-child(2n){background:#f8f8f8}.germanized-shipments #panel-order-shipments .order-shipment .shipment-items .shipment-item-list-wrapper .shipment-item .columns{-webkit-box-align:center;align-items:center}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions{display:-webkit-box;display:flex;padding:.7em .5em;flex-wrap:nowrap;-webkit-box-pack:end;justify-content:flex-end;border-top:1px solid #dfdfdf}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions .add-items{margin-right:1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-item-actions .woocommerce-help-tip{margin-left:0}.germanized-shipments #panel-order-shipments .order-shipment .add-items{display:none}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns{margin-top:.5em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-header{background:0 0;border-bottom:1px solid #dfdfdf;padding-left:0;padding-right:0}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-header h3{font-size:1.1em}.germanized-shipments #panel-order-shipments .order-shipment .shipment-returns .shipment-return .shipment-content{padding:1em 0}.germanized-shipments #panel-order-shipments .order-shipment.needs-items .add-items{display:block}.germanized-shipments #panel-order-shipments .form-row .wrap{margin:0;display:-webkit-box;display:flex;flex-wrap:nowrap}.germanized-shipments #panel-order-shipments .form-row .wrap input{margin-right:1em}.germanized-shipments #panel-order-shipments .form-row .wrap input:last-child{margin-right:0}.germanized-shipments .title-spread{display:-webkit-box;display:flex;flex-wrap:nowrap;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center}.germanized-shipments .title-spread .left,.germanized-shipments .title-spread .right{display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center}.germanized-shipments .show-lg,.germanized-shipments .show-md,.germanized-shipments .show-sm,.germanized-shipments .show-xl,.germanized-shipments .show-xs{display:none!important}.germanized-shipments .columns{display:-webkit-box;display:flex;flex-wrap:wrap;margin-left:-1rem;margin-right:-1rem}.germanized-shipments .columns.col-gapless{margin-left:0;margin-right:0}.germanized-shipments .columns.col-gapless>.column{padding-left:0;padding-right:0}.germanized-shipments .columns.col-oneline{flex-wrap:nowrap;overflow-x:auto}.germanized-shipments .column{-webkit-box-flex:1;flex:1;max-width:100%;padding-left:1rem;padding-right:1rem}.germanized-shipments .column.col-1,.germanized-shipments .column.col-10,.germanized-shipments .column.col-11,.germanized-shipments .column.col-12,.germanized-shipments .column.col-2,.germanized-shipments .column.col-3,.germanized-shipments .column.col-4,.germanized-shipments .column.col-5,.germanized-shipments .column.col-6,.germanized-shipments .column.col-7,.germanized-shipments .column.col-8,.germanized-shipments .column.col-9,.germanized-shipments .column.col-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-12{width:100%}.germanized-shipments .col-11{width:91.66666667%}.germanized-shipments .col-10{width:83.33333333%}.germanized-shipments .col-9{width:75%}.germanized-shipments .col-8{width:66.66666667%}.germanized-shipments .col-7{width:58.33333333%}.germanized-shipments .col-6{width:50%}.germanized-shipments .col-5{width:41.66666667%}.germanized-shipments .col-4{width:33.33333333%}.germanized-shipments .col-3{width:25%}.germanized-shipments .col-2{width:16.66666667%}.germanized-shipments .col-1{width:8.33333333%}.germanized-shipments .col-auto{-webkit-box-flex:0;flex:0 0 auto;max-width:none;width:auto}.germanized-shipments .col-mx-auto{margin-left:auto;margin-right:auto}.germanized-shipments .col-ml-auto{margin-left:auto}.germanized-shipments .col-mr-auto{margin-right:auto}@media (max-width:1280px){.germanized-shipments .col-xl-1,.germanized-shipments .col-xl-10,.germanized-shipments .col-xl-11,.germanized-shipments .col-xl-12,.germanized-shipments .col-xl-2,.germanized-shipments .col-xl-3,.germanized-shipments .col-xl-4,.germanized-shipments .col-xl-5,.germanized-shipments .col-xl-6,.germanized-shipments .col-xl-7,.germanized-shipments .col-xl-8,.germanized-shipments .col-xl-9,.germanized-shipments .col-xl-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-xl-12{width:100%}.germanized-shipments .col-xl-11{width:91.66666667%}.germanized-shipments .col-xl-10{width:83.33333333%}.germanized-shipments .col-xl-9{width:75%}.germanized-shipments .col-xl-8{width:66.66666667%}.germanized-shipments .col-xl-7{width:58.33333333%}.germanized-shipments .col-xl-6{width:50%}.germanized-shipments .col-xl-5{width:41.66666667%}.germanized-shipments .col-xl-4{width:33.33333333%}.germanized-shipments .col-xl-3{width:25%}.germanized-shipments .col-xl-2{width:16.66666667%}.germanized-shipments .col-xl-1{width:8.33333333%}.germanized-shipments .col-xl-auto{width:auto}.germanized-shipments .hide-xl{display:none!important}.germanized-shipments .show-xl{display:block!important}}@media (max-width:960px){.germanized-shipments .col-lg-1,.germanized-shipments .col-lg-10,.germanized-shipments .col-lg-11,.germanized-shipments .col-lg-12,.germanized-shipments .col-lg-2,.germanized-shipments .col-lg-3,.germanized-shipments .col-lg-4,.germanized-shipments .col-lg-5,.germanized-shipments .col-lg-6,.germanized-shipments .col-lg-7,.germanized-shipments .col-lg-8,.germanized-shipments .col-lg-9,.germanized-shipments .col-lg-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-lg-12{width:100%}.germanized-shipments .col-lg-11{width:91.66666667%}.germanized-shipments .col-lg-10{width:83.33333333%}.germanized-shipments .col-lg-9{width:75%}.germanized-shipments .col-lg-8{width:66.66666667%}.germanized-shipments .col-lg-7{width:58.33333333%}.germanized-shipments .col-lg-6{width:50%}.germanized-shipments .col-lg-5{width:41.66666667%}.germanized-shipments .col-lg-4{width:33.33333333%}.germanized-shipments .col-lg-3{width:25%}.germanized-shipments .col-lg-2{width:16.66666667%}.germanized-shipments .col-lg-1{width:8.33333333%}.germanized-shipments .col-lg-auto{width:auto}.germanized-shipments .hide-lg{display:none!important}.germanized-shipments .show-lg{display:block!important}}@media (max-width:840px){.germanized-shipments .col-md-1,.germanized-shipments .col-md-10,.germanized-shipments .col-md-11,.germanized-shipments .col-md-12,.germanized-shipments .col-md-2,.germanized-shipments .col-md-3,.germanized-shipments .col-md-4,.germanized-shipments .col-md-5,.germanized-shipments .col-md-6,.germanized-shipments .col-md-7,.germanized-shipments .col-md-8,.germanized-shipments .col-md-9,.germanized-shipments .col-md-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-md-12{width:100%}.germanized-shipments .col-md-11{width:91.66666667%}.germanized-shipments .col-md-10{width:83.33333333%}.germanized-shipments .col-md-9{width:75%}.germanized-shipments .col-md-8{width:66.66666667%}.germanized-shipments .col-md-7{width:58.33333333%}.germanized-shipments .col-md-6{width:50%}.germanized-shipments .col-md-5{width:41.66666667%}.germanized-shipments .col-md-4{width:33.33333333%}.germanized-shipments .col-md-3{width:25%}.germanized-shipments .col-md-2{width:16.66666667%}.germanized-shipments .col-md-1{width:8.33333333%}.germanized-shipments .col-md-auto{width:auto}.germanized-shipments .hide-md{display:none!important}.germanized-shipments .show-md{display:block!important}}@media (max-width:600px){.germanized-shipments .col-sm-1,.germanized-shipments .col-sm-10,.germanized-shipments .col-sm-11,.germanized-shipments .col-sm-12,.germanized-shipments .col-sm-2,.germanized-shipments .col-sm-3,.germanized-shipments .col-sm-4,.germanized-shipments .col-sm-5,.germanized-shipments .col-sm-6,.germanized-shipments .col-sm-7,.germanized-shipments .col-sm-8,.germanized-shipments .col-sm-9,.germanized-shipments .col-sm-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-sm-12{width:100%}.germanized-shipments .col-sm-11{width:91.66666667%}.germanized-shipments .col-sm-10{width:83.33333333%}.germanized-shipments .col-sm-9{width:75%}.germanized-shipments .col-sm-8{width:66.66666667%}.germanized-shipments .col-sm-7{width:58.33333333%}.germanized-shipments .col-sm-6{width:50%}.germanized-shipments .col-sm-5{width:41.66666667%}.germanized-shipments .col-sm-4{width:33.33333333%}.germanized-shipments .col-sm-3{width:25%}.germanized-shipments .col-sm-2{width:16.66666667%}.germanized-shipments .col-sm-1{width:8.33333333%}.germanized-shipments .col-sm-auto{width:auto}.germanized-shipments .hide-sm{display:none!important}.germanized-shipments .show-sm{display:block!important}}@media (max-width:480px){.germanized-shipments .col-xs-1,.germanized-shipments .col-xs-10,.germanized-shipments .col-xs-11,.germanized-shipments .col-xs-12,.germanized-shipments .col-xs-2,.germanized-shipments .col-xs-3,.germanized-shipments .col-xs-4,.germanized-shipments .col-xs-5,.germanized-shipments .col-xs-6,.germanized-shipments .col-xs-7,.germanized-shipments .col-xs-8,.germanized-shipments .col-xs-9,.germanized-shipments .col-xs-auto{-webkit-box-flex:0;flex:none}.germanized-shipments .col-xs-12{width:100%}.germanized-shipments .col-xs-11{width:91.66666667%}.germanized-shipments .col-xs-10{width:83.33333333%}.germanized-shipments .col-xs-9{width:75%}.germanized-shipments .col-xs-8{width:66.66666667%}.germanized-shipments .col-xs-7{width:58.33333333%}.germanized-shipments .col-xs-6{width:50%}.germanized-shipments .col-xs-5{width:41.66666667%}.germanized-shipments .col-xs-4{width:33.33333333%}.germanized-shipments .col-xs-3{width:25%}.germanized-shipments .col-xs-2{width:16.66666667%}.germanized-shipments .col-xs-1{width:8.33333333%}.germanized-shipments .col-xs-auto{width:auto}.germanized-shipments .hide-xs{display:none!important}.germanized-shipments .show-xs{display:block!important}}
packages/woocommerce-germanized-shipments/assets/css/admin.scss CHANGED
@@ -301,6 +301,10 @@ table.wc-gzd-shipping-providers {
301
  th {
302
  padding: .5em 1em;
303
 
 
 
 
 
304
  &:last-child {
305
  padding-right: 2em;
306
  }
301
  th {
302
  padding: .5em 1em;
303
 
304
+ &.sortable a, &.sorted a {
305
+ padding: 0;
306
+ }
307
+
308
  &:last-child {
309
  padding-right: 2em;
310
  }
packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php CHANGED
@@ -24,6 +24,8 @@ class ReturnTable extends Table {
24
  $columns['status'] = _x( 'Status', 'shipments', 'woocommerce-germanized' );
25
  $columns['items'] = _x( 'Items', 'shipments', 'woocommerce-germanized' );
26
  $columns['sender'] = _x( 'Sender', 'shipments', 'woocommerce-germanized' );
 
 
27
  $columns['order'] = _x( 'Order', 'shipments', 'woocommerce-germanized' );
28
  $columns['actions'] = _x( 'Actions', 'shipments', 'woocommerce-germanized' );
29
 
24
  $columns['status'] = _x( 'Status', 'shipments', 'woocommerce-germanized' );
25
  $columns['items'] = _x( 'Items', 'shipments', 'woocommerce-germanized' );
26
  $columns['sender'] = _x( 'Sender', 'shipments', 'woocommerce-germanized' );
27
+ $columns['weight'] = _x( 'Weight', 'shipments', 'woocommerce-germanized' );
28
+ $columns['dimensions'] = _x( 'Dimensions', 'shipments', 'woocommerce-germanized' );
29
  $columns['order'] = _x( 'Order', 'shipments', 'woocommerce-germanized' );
30
  $columns['actions'] = _x( 'Actions', 'shipments', 'woocommerce-germanized' );
31
 
packages/woocommerce-germanized-shipments/src/Admin/Table.php CHANGED
@@ -41,6 +41,7 @@ class Table extends WP_List_Table {
41
  */
42
  public function __construct( $args = array() ) {
43
  add_filter( 'removable_query_args', array( $this, 'enable_query_removing' ) );
 
44
 
45
  $args = wp_parse_args( $args, array(
46
  'type' => 'simple',
@@ -56,6 +57,21 @@ class Table extends WP_List_Table {
56
  );
57
  }
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  public function enable_query_removing( $args ) {
60
  $args = array_merge( $args, array(
61
  'changed',
@@ -272,7 +288,11 @@ class Table extends WP_List_Table {
272
  }
273
 
274
  if ( isset( $_REQUEST['orderby'] ) ) {
275
- $args['orderby'] = wc_clean( wp_unslash( $_REQUEST['orderby'] ) );
 
 
 
 
276
  }
277
 
278
  if ( isset( $_REQUEST['order'] ) ) {
@@ -668,6 +688,8 @@ class Table extends WP_List_Table {
668
  $columns['status'] = _x( 'Status', 'shipments', 'woocommerce-germanized' );
669
  $columns['items'] = _x( 'Items', 'shipments', 'woocommerce-germanized' );
670
  $columns['address'] = _x( 'Address', 'shipments', 'woocommerce-germanized' );
 
 
671
  $columns['order'] = _x( 'Order', 'shipments', 'woocommerce-germanized' );
672
  $columns['actions'] = _x( 'Actions', 'shipments', 'woocommerce-germanized' );
673
 
@@ -705,6 +727,7 @@ class Table extends WP_List_Table {
705
  return array(
706
  'date' => array( 'date_created', false ),
707
  'weight' => 'weight',
 
708
  );
709
  }
710
 
41
  */
42
  public function __construct( $args = array() ) {
43
  add_filter( 'removable_query_args', array( $this, 'enable_query_removing' ) );
44
+ add_filter( 'default_hidden_columns', array( $this, 'set_default_hidden_columns' ), 10, 2 );
45
 
46
  $args = wp_parse_args( $args, array(
47
  'type' => 'simple',
57
  );
58
  }
59
 
60
+ public function set_default_hidden_columns( $columns, $screen ) {
61
+ if ( $this->screen->id === $screen->id ) {
62
+ $columns = array_merge( $columns, $this->get_default_hidden_columns() );
63
+ }
64
+
65
+ return $columns;
66
+ }
67
+
68
+ protected function get_default_hidden_columns() {
69
+ return array(
70
+ 'weight',
71
+ 'dimensions'
72
+ );
73
+ }
74
+
75
  public function enable_query_removing( $args ) {
76
  $args = array_merge( $args, array(
77
  'changed',
288
  }
289
 
290
  if ( isset( $_REQUEST['orderby'] ) ) {
291
+ if ( 'weight' === $_REQUEST['orderby'] ) {
292
+ $args['orderby'] = 'weight';
293
+ } else {
294
+ $args['orderby'] = wc_clean( wp_unslash( $_REQUEST['orderby'] ) );
295
+ }
296
  }
297
 
298
  if ( isset( $_REQUEST['order'] ) ) {
688
  $columns['status'] = _x( 'Status', 'shipments', 'woocommerce-germanized' );
689
  $columns['items'] = _x( 'Items', 'shipments', 'woocommerce-germanized' );
690
  $columns['address'] = _x( 'Address', 'shipments', 'woocommerce-germanized' );
691
+ $columns['weight'] = _x( 'Weight', 'shipments', 'woocommerce-germanized' );
692
+ $columns['dimensions'] = _x( 'Dimensions', 'shipments', 'woocommerce-germanized' );
693
  $columns['order'] = _x( 'Order', 'shipments', 'woocommerce-germanized' );
694
  $columns['actions'] = _x( 'Actions', 'shipments', 'woocommerce-germanized' );
695
 
727
  return array(
728
  'date' => array( 'date_created', false ),
729
  'weight' => 'weight',
730
+ 'order' => 'order_id'
731
  );
732
  }
733
 
packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php CHANGED
@@ -427,6 +427,9 @@ class Shipment extends WC_Data_Store_WP implements WC_Object_Data_Store_Interfac
427
  $shipment->set_props( $props );
428
  }
429
 
 
 
 
430
  protected function save_shipment_data( &$shipment ) {
431
  $updated_props = array();
432
  $meta_key_to_props = array();
@@ -458,7 +461,15 @@ class Shipment extends WC_Data_Store_WP implements WC_Object_Data_Store_Interfac
458
  break;
459
  }
460
 
461
- $updated = $this->update_or_delete_meta( $shipment, $meta_key, $value );
 
 
 
 
 
 
 
 
462
 
463
  if ( $updated ) {
464
  $updated_props[] = $prop;
427
  $shipment->set_props( $props );
428
  }
429
 
430
+ /**
431
+ * @param \Vendidero\Germanized\Shipments\Shipment $shipment
432
+ */
433
  protected function save_shipment_data( &$shipment ) {
434
  $updated_props = array();
435
  $meta_key_to_props = array();
461
  break;
462
  }
463
 
464
+ // Force updating props that are dependent on inner content data (weight, dimensions)
465
+ if ( in_array( $prop, array( 'weight', 'width', 'length', 'height' ) ) && ! $shipment->is_editable() ) {
466
+
467
+ // Get weight in view context to maybe allow calculating inner content props.
468
+ $value = $shipment->{"get_$prop"}( 'view' );
469
+ $updated = update_metadata( 'gzd_shipment', $shipment->get_id(), $meta_key, $value );
470
+ } else {
471
+ $updated = $this->update_or_delete_meta( $shipment, $meta_key, $value );
472
+ }
473
 
474
  if ( $updated ) {
475
  $updated_props[] = $prop;
packages/woocommerce-germanized-shipments/src/Order.php CHANGED
@@ -721,6 +721,31 @@ class Order {
721
  return apply_filters( 'woocommerce_gzd_shipment_order_returnable_item_count', $count, $this );
722
  }
723
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
724
  /**
725
  * Checks whether the order needs shipping or not by checking quantity
726
  * for every line item.
@@ -734,23 +759,25 @@ class Order {
734
  'sent_only' => false
735
  ) );
736
 
737
- $order_items = $this->get_shippable_items();
738
- $needs_shipping = false;
739
-
740
- foreach( $order_items as $order_item ) {
741
-
742
- if ( $this->item_needs_shipping( $order_item, $args ) ) {
743
- $needs_shipping = true;
744
- break;
745
- }
 
 
746
  }
747
 
748
  /**
749
  * Filter to decide whether an order needs shipping or not.
750
  *
751
- * @param boolean $needs_shipping Whether the order needs shipping or not.
752
- * @param WC_Order $order The order object.
753
- * @param Order $order The shipment order object.
754
  *
755
  * @since 3.0.0
756
  * @package Vendidero/Germanized/Shipments
721
  return apply_filters( 'woocommerce_gzd_shipment_order_returnable_item_count', $count, $this );
722
  }
723
 
724
+ protected function has_local_pickup() {
725
+ $shipping_methods = $this->get_order()->get_shipping_methods();
726
+ $has_pickup = false;
727
+
728
+ /**
729
+ * Filters which shipping methods are considered local pickup method
730
+ * which by default do not require shipment.
731
+ *
732
+ * @param string[] $pickup_methods Array of local pickup shipping method ids.
733
+ *
734
+ * @since 3.1.6
735
+ * @package Vendidero/Germanized/Shipments
736
+ */
737
+ $pickup_methods = apply_filters( 'woocommerce_gzd_shipment_local_pickup_shipping_methods', array( 'local_pickup' ) );
738
+
739
+ foreach( $shipping_methods as $shipping_method ) {
740
+ if ( in_array( $shipping_method->get_method_id(), $pickup_methods ) ) {
741
+ $has_pickup = true;
742
+ break;
743
+ }
744
+ }
745
+
746
+ return $has_pickup;
747
+ }
748
+
749
  /**
750
  * Checks whether the order needs shipping or not by checking quantity
751
  * for every line item.
759
  'sent_only' => false
760
  ) );
761
 
762
+ $order_items = $this->get_shippable_items();
763
+ $needs_shipping = false;
764
+ $has_pickup = $this->has_local_pickup();
765
+
766
+ if ( ! $has_pickup ) {
767
+ foreach( $order_items as $order_item ) {
768
+ if ( $this->item_needs_shipping( $order_item, $args ) ) {
769
+ $needs_shipping = true;
770
+ break;
771
+ }
772
+ }
773
  }
774
 
775
  /**
776
  * Filter to decide whether an order needs shipping or not.
777
  *
778
+ * @param boolean $needs_shipping Whether the order needs shipping or not.
779
+ * @param WC_Order $order The order object.
780
+ * @param Order $order The shipment order object.
781
  *
782
  * @since 3.0.0
783
  * @package Vendidero/Germanized/Shipments
packages/woocommerce-germanized-shipments/src/Package.php CHANGED
@@ -17,7 +17,7 @@ class Package {
17
  *
18
  * @var string
19
  */
20
- const VERSION = '1.2.5';
21
 
22
  public static $upload_dir_suffix = '';
23
 
17
  *
18
  * @var string
19
  */
20
+ const VERSION = '1.2.6';
21
 
22
  public static $upload_dir_suffix = '';
23
 
packages/woocommerce-germanized-shipments/src/Shipment.php CHANGED
@@ -44,7 +44,7 @@ abstract class Shipment extends WC_Data {
44
  * @since 1.0.0
45
  * @var object
46
  */
47
- protected $data_store = 'shipment';
48
 
49
  /**
50
  * Stores meta in cache for future reads.
@@ -137,7 +137,7 @@ abstract class Shipment extends WC_Data {
137
  $this->set_id( $data );
138
  }
139
 
140
- $this->data_store = WC_Data_Store::load( 'shipment' );
141
 
142
  // If we have an ID, load the user from the DB.
143
  if ( $this->get_id() ) {
44
  * @since 1.0.0
45
  * @var object
46
  */
47
+ protected $data_store_name = 'shipment';
48
 
49
  /**
50
  * Stores meta in cache for future reads.
137
  $this->set_id( $data );
138
  }
139
 
140
+ $this->data_store = WC_Data_Store::load( $this->data_store_name );
141
 
142
  // If we have an ID, load the user from the DB.
143
  if ( $this->get_id() ) {
packages/woocommerce-germanized-shipments/src/ShipmentQuery.php CHANGED
@@ -189,6 +189,25 @@ class ShipmentQuery extends WC_Object_Query {
189
  $this->args['search_columns'] = array();
190
  }
191
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  }
193
 
194
  /**
@@ -469,10 +488,9 @@ class ShipmentQuery extends WC_Object_Query {
469
  global $wpdb;
470
 
471
  $meta_query_clauses = $this->meta_query->get_clauses();
 
472
 
473
- $_orderby = '';
474
-
475
- if ( in_array( $orderby, array( 'country', 'status', 'tracking_id', 'date_created' ) ) ) {
476
  $_orderby = 'shipment_' . $orderby;
477
  } elseif( 'date' == $orderby ) {
478
  $_orderby = 'shipment_date_created';
189
  $this->args['search_columns'] = array();
190
  }
191
  }
192
+
193
+ if ( isset( $this->args['orderby'] ) ) {
194
+ if ( 'weight' === $this->args['orderby'] ) {
195
+ $this->args['meta_query'][] = array(
196
+ 'relation' => 'OR',
197
+ array(
198
+ 'key' => '_weight',
199
+ 'compare' => 'NOT EXISTS',
200
+ ),
201
+ array(
202
+ 'key' => '_weight',
203
+ 'compare' => '>=',
204
+ 'value' => 0,
205
+ ),
206
+ );
207
+
208
+ $this->args['orderby'] = 'meta_value_num';
209
+ }
210
+ }
211
  }
212
 
213
  /**
488
  global $wpdb;
489
 
490
  $meta_query_clauses = $this->meta_query->get_clauses();
491
+ $_orderby = '';
492
 
493
+ if ( in_array( $orderby, array( 'country', 'status', 'tracking_id', 'date_created', 'order_id' ) ) ) {
 
 
494
  $_orderby = 'shipment_' . $orderby;
495
  } elseif( 'date' == $orderby ) {
496
  $_orderby = 'shipment_date_created';
packages/woocommerce-germanized-shipments/src/ShippingProvider.php CHANGED
@@ -28,7 +28,7 @@ class ShippingProvider extends WC_Data {
28
  * @since 1.0.0
29
  * @var object
30
  */
31
- protected $data_store = 'shipping-provider';
32
 
33
  /**
34
  * Stores meta in cache for future reads.
@@ -74,7 +74,7 @@ class ShippingProvider extends WC_Data {
74
  $this->set_id( $data->shipping_provider_id );
75
  }
76
 
77
- $this->data_store = WC_Data_Store::load( 'shipping-provider' );
78
 
79
  // If we have an ID, load the user from the DB.
80
  if ( $this->get_id() ) {
28
  * @since 1.0.0
29
  * @var object
30
  */
31
+ protected $data_store_name = 'shipping-provider';
32
 
33
  /**
34
  * Stores meta in cache for future reads.
74
  $this->set_id( $data->shipping_provider_id );
75
  }
76
 
77
+ $this->data_store = WC_Data_Store::load( $this->data_store_name );
78
 
79
  // If we have an ID, load the user from the DB.
80
  if ( $this->get_id() ) {
packages/woocommerce-germanized-shipments/woocommerce-germanized-shipments.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The Germanized Shipments integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
- * Version: 1.2.5
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
5
  * Description: The Germanized Shipments integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
+ * Version: 1.2.6
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
readme.txt CHANGED
@@ -4,8 +4,8 @@ Tags: woocommerce, woocommerce german, woocommerce DE, woocommerce germany, wooc
4
  Requires at least: 4.9
5
  Tested up to: 5.4
6
  WC requires at least: 3.4
7
- WC tested up to: 4.0
8
- Stable tag: 3.1.5
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -189,6 +189,13 @@ Bug reports may be filed via our [GitHub repository](https://github.com/vendider
189
  5. Manage shipments for orders
190
 
191
  == Changelog ==
 
 
 
 
 
 
 
192
 
193
  = 3.1.5 =
194
  * Improvement: By default disable DOI feature to make sure admins receive warning upon activation
4
  Requires at least: 4.9
5
  Tested up to: 5.4
6
  WC requires at least: 3.4
7
+ WC tested up to: 4.1
8
+ Stable tag: 3.1.6
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
189
  5. Manage shipments for orders
190
 
191
  == Changelog ==
192
+ = 3.1.6 =
193
+ * Feature: WC 4.1 support
194
+ * Improvement: Removed default shipping costs hiding option within checkout
195
+ * Improvement: Order by order id within shipments table
196
+ * Improvement: Added new columns to shipment table (hidden by default)
197
+ * Improvement: By default do not create shipments to orders containing local pickup method
198
+ * Fix: Removed DHL Wunschzeit - service was terminated on 2020/05/01
199
 
200
  = 3.1.5 =
201
  * Improvement: By default disable DOI feature to make sure admins receive warning upon activation
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitdbf000798e9958c4d57ebd74d951178a::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit183e367326e090aa10c224a37fdd7173::getLoader();
vendor/autoload_packages.php CHANGED
@@ -120,10 +120,10 @@ if ( ! function_exists( __NAMESPACE__ . '\autoloader' ) ) {
120
  /**
121
  * Prepare all the classes for autoloading.
122
  */
123
- function enqueue_packages_a39eaebdbf1b21749663d856199fcf89() {
124
  $class_map = require_once dirname( __FILE__ ) . '/composer/autoload_classmap_package.php';
125
  foreach ( $class_map as $class_name => $class_info ) {
126
  enqueue_package_class( $class_name, $class_info['version'], $class_info['path'] );
127
  }
128
  }
129
- enqueue_packages_a39eaebdbf1b21749663d856199fcf89();
120
  /**
121
  * Prepare all the classes for autoloading.
122
  */
123
+ function enqueue_packages_5613d7af897e15135e5882c7542dd2f3() {
124
  $class_map = require_once dirname( __FILE__ ) . '/composer/autoload_classmap_package.php';
125
  foreach ( $class_map as $class_name => $class_info ) {
126
  enqueue_package_class( $class_name, $class_info['version'], $class_info['path'] );
127
  }
128
  }
129
+ enqueue_packages_5613d7af897e15135e5882c7542dd2f3();
vendor/composer/autoload_classmap_package.php CHANGED
@@ -7,191 +7,191 @@ $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
  'setasign\\Fpdi\\Tcpdf\\Fpdi' => array(
10
- 'version' => '2.3.2.0',
11
  'path' => $vendorDir . '/setasign/fpdi/src/Tcpdf/Fpdi.php'
12
  ),
13
  'setasign\\Fpdi\\Tfpdf\\Fpdi' => array(
14
- 'version' => '2.3.2.0',
15
  'path' => $vendorDir . '/setasign/fpdi/src/Tfpdf/Fpdi.php'
16
  ),
17
  'setasign\\Fpdi\\Tfpdf\\FpdfTpl' => array(
18
- 'version' => '2.3.2.0',
19
  'path' => $vendorDir . '/setasign/fpdi/src/Tfpdf/FpdfTpl.php'
20
  ),
21
  'setasign\\Fpdi\\Fpdi' => array(
22
- 'version' => '2.3.2.0',
23
  'path' => $vendorDir . '/setasign/fpdi/src/Fpdi.php'
24
  ),
25
  'setasign\\Fpdi\\FpdfTplTrait' => array(
26
- 'version' => '2.3.2.0',
27
  'path' => $vendorDir . '/setasign/fpdi/src/FpdfTplTrait.php'
28
  ),
29
  'setasign\\Fpdi\\FpdiTrait' => array(
30
- 'version' => '2.3.2.0',
31
  'path' => $vendorDir . '/setasign/fpdi/src/FpdiTrait.php'
32
  ),
33
  'setasign\\Fpdi\\TcpdfFpdi' => array(
34
- 'version' => '2.3.2.0',
35
  'path' => $vendorDir . '/setasign/fpdi/src/TcpdfFpdi.php'
36
  ),
37
  'setasign\\Fpdi\\PdfParser\\StreamReader' => array(
38
- 'version' => '2.3.2.0',
39
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/StreamReader.php'
40
  ),
41
  'setasign\\Fpdi\\PdfParser\\PdfParserException' => array(
42
- 'version' => '2.3.2.0',
43
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/PdfParserException.php'
44
  ),
45
  'setasign\\Fpdi\\PdfParser\\CrossReference\\ReaderInterface' => array(
46
- 'version' => '2.3.2.0',
47
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/ReaderInterface.php'
48
  ),
49
  'setasign\\Fpdi\\PdfParser\\CrossReference\\CrossReferenceException' => array(
50
- 'version' => '2.3.2.0',
51
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/CrossReferenceException.php'
52
  ),
53
  'setasign\\Fpdi\\PdfParser\\CrossReference\\LineReader' => array(
54
- 'version' => '2.3.2.0',
55
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/LineReader.php'
56
  ),
57
  'setasign\\Fpdi\\PdfParser\\CrossReference\\AbstractReader' => array(
58
- 'version' => '2.3.2.0',
59
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/AbstractReader.php'
60
  ),
61
  'setasign\\Fpdi\\PdfParser\\CrossReference\\CrossReference' => array(
62
- 'version' => '2.3.2.0',
63
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/CrossReference.php'
64
  ),
65
  'setasign\\Fpdi\\PdfParser\\CrossReference\\FixedReader' => array(
66
- 'version' => '2.3.2.0',
67
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/FixedReader.php'
68
  ),
69
  'setasign\\Fpdi\\PdfParser\\PdfParser' => array(
70
- 'version' => '2.3.2.0',
71
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/PdfParser.php'
72
  ),
73
  'setasign\\Fpdi\\PdfParser\\Type\\PdfStream' => array(
74
- 'version' => '2.3.2.0',
75
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfStream.php'
76
  ),
77
  'setasign\\Fpdi\\PdfParser\\Type\\PdfIndirectObjectReference' => array(
78
- 'version' => '2.3.2.0',
79
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfIndirectObjectReference.php'
80
  ),
81
  'setasign\\Fpdi\\PdfParser\\Type\\PdfHexString' => array(
82
- 'version' => '2.3.2.0',
83
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfHexString.php'
84
  ),
85
  'setasign\\Fpdi\\PdfParser\\Type\\PdfBoolean' => array(
86
- 'version' => '2.3.2.0',
87
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfBoolean.php'
88
  ),
89
  'setasign\\Fpdi\\PdfParser\\Type\\PdfType' => array(
90
- 'version' => '2.3.2.0',
91
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfType.php'
92
  ),
93
  'setasign\\Fpdi\\PdfParser\\Type\\PdfNumeric' => array(
94
- 'version' => '2.3.2.0',
95
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfNumeric.php'
96
  ),
97
  'setasign\\Fpdi\\PdfParser\\Type\\PdfArray' => array(
98
- 'version' => '2.3.2.0',
99
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfArray.php'
100
  ),
101
  'setasign\\Fpdi\\PdfParser\\Type\\PdfName' => array(
102
- 'version' => '2.3.2.0',
103
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfName.php'
104
  ),
105
  'setasign\\Fpdi\\PdfParser\\Type\\PdfTypeException' => array(
106
- 'version' => '2.3.2.0',
107
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfTypeException.php'
108
  ),
109
  'setasign\\Fpdi\\PdfParser\\Type\\PdfString' => array(
110
- 'version' => '2.3.2.0',
111
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfString.php'
112
  ),
113
  'setasign\\Fpdi\\PdfParser\\Type\\PdfNull' => array(
114
- 'version' => '2.3.2.0',
115
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfNull.php'
116
  ),
117
  'setasign\\Fpdi\\PdfParser\\Type\\PdfToken' => array(
118
- 'version' => '2.3.2.0',
119
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfToken.php'
120
  ),
121
  'setasign\\Fpdi\\PdfParser\\Type\\PdfDictionary' => array(
122
- 'version' => '2.3.2.0',
123
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfDictionary.php'
124
  ),
125
  'setasign\\Fpdi\\PdfParser\\Type\\PdfIndirectObject' => array(
126
- 'version' => '2.3.2.0',
127
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfIndirectObject.php'
128
  ),
129
  'setasign\\Fpdi\\PdfParser\\Tokenizer' => array(
130
- 'version' => '2.3.2.0',
131
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Tokenizer.php'
132
  ),
133
  'setasign\\Fpdi\\PdfParser\\Filter\\FilterInterface' => array(
134
- 'version' => '2.3.2.0',
135
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FilterInterface.php'
136
  ),
137
  'setasign\\Fpdi\\PdfParser\\Filter\\Ascii85Exception' => array(
138
- 'version' => '2.3.2.0',
139
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Ascii85Exception.php'
140
  ),
141
  'setasign\\Fpdi\\PdfParser\\Filter\\FlateException' => array(
142
- 'version' => '2.3.2.0',
143
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FlateException.php'
144
  ),
145
  'setasign\\Fpdi\\PdfParser\\Filter\\Flate' => array(
146
- 'version' => '2.3.2.0',
147
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Flate.php'
148
  ),
149
  'setasign\\Fpdi\\PdfParser\\Filter\\FilterException' => array(
150
- 'version' => '2.3.2.0',
151
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FilterException.php'
152
  ),
153
  'setasign\\Fpdi\\PdfParser\\Filter\\Ascii85' => array(
154
- 'version' => '2.3.2.0',
155
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Ascii85.php'
156
  ),
157
  'setasign\\Fpdi\\PdfParser\\Filter\\LzwException' => array(
158
- 'version' => '2.3.2.0',
159
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/LzwException.php'
160
  ),
161
  'setasign\\Fpdi\\PdfParser\\Filter\\AsciiHex' => array(
162
- 'version' => '2.3.2.0',
163
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/AsciiHex.php'
164
  ),
165
  'setasign\\Fpdi\\PdfParser\\Filter\\Lzw' => array(
166
- 'version' => '2.3.2.0',
167
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Lzw.php'
168
  ),
169
  'setasign\\Fpdi\\FpdiException' => array(
170
- 'version' => '2.3.2.0',
171
  'path' => $vendorDir . '/setasign/fpdi/src/FpdiException.php'
172
  ),
173
  'setasign\\Fpdi\\PdfReader\\PdfReader' => array(
174
- 'version' => '2.3.2.0',
175
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PdfReader.php'
176
  ),
177
  'setasign\\Fpdi\\PdfReader\\PageBoundaries' => array(
178
- 'version' => '2.3.2.0',
179
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PageBoundaries.php'
180
  ),
181
  'setasign\\Fpdi\\PdfReader\\DataStructure\\Rectangle' => array(
182
- 'version' => '2.3.2.0',
183
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/DataStructure/Rectangle.php'
184
  ),
185
  'setasign\\Fpdi\\PdfReader\\PdfReaderException' => array(
186
- 'version' => '2.3.2.0',
187
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PdfReaderException.php'
188
  ),
189
  'setasign\\Fpdi\\PdfReader\\Page' => array(
190
- 'version' => '2.3.2.0',
191
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/Page.php'
192
  ),
193
  'setasign\\Fpdi\\FpdfTpl' => array(
194
- 'version' => '2.3.2.0',
195
  'path' => $vendorDir . '/setasign/fpdi/src/FpdfTpl.php'
196
  ),
197
  'Vendidero\\TrustedShops\\Package' => array(
@@ -199,271 +199,271 @@ return array(
199
  'path' => $baseDir . '/packages/woocommerce-trusted-shops/src/Package.php'
200
  ),
201
  'Vendidero\\Germanized\\Shipments\\Shipment' => array(
202
- 'version' => '1.2.5.0',
203
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Shipment.php'
204
  ),
205
  'Vendidero\\Germanized\\Shipments\\Install' => array(
206
- 'version' => '1.2.5.0',
207
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Install.php'
208
  ),
209
  'Vendidero\\Germanized\\Shipments\\SimpleShipment' => array(
210
- 'version' => '1.2.5.0',
211
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/SimpleShipment.php'
212
  ),
213
  'Vendidero\\Germanized\\Shipments\\ShippingProviderMethod' => array(
214
- 'version' => '1.2.5.0',
215
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviderMethod.php'
216
  ),
217
  'Vendidero\\Germanized\\Shipments\\Package' => array(
218
- 'version' => '1.2.5.0',
219
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Package.php'
220
  ),
221
  'Vendidero\\Germanized\\Shipments\\Order' => array(
222
- 'version' => '1.2.5.0',
223
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Order.php'
224
  ),
225
  'Vendidero\\Germanized\\Shipments\\DataStores\\Shipment' => array(
226
- 'version' => '1.2.5.0',
227
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php'
228
  ),
229
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShippingProvider' => array(
230
- 'version' => '1.2.5.0',
231
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php'
232
  ),
233
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShipmentItem' => array(
234
- 'version' => '1.2.5.0',
235
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php'
236
  ),
237
  'Vendidero\\Germanized\\Shipments\\Ajax' => array(
238
- 'version' => '1.2.5.0',
239
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Ajax.php'
240
  ),
241
  'Vendidero\\Germanized\\Shipments\\ReturnShipment' => array(
242
- 'version' => '1.2.5.0',
243
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnShipment.php'
244
  ),
245
  'Vendidero\\Germanized\\Shipments\\ShippingProvider' => array(
246
- 'version' => '1.2.5.0',
247
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider.php'
248
  ),
249
  'Vendidero\\Germanized\\Shipments\\AddressSplitter' => array(
250
- 'version' => '1.2.5.0',
251
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/AddressSplitter.php'
252
  ),
253
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkLabel' => array(
254
- 'version' => '1.2.5.0',
255
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkLabel.php'
256
  ),
257
  'Vendidero\\Germanized\\Shipments\\Admin\\Settings' => array(
258
- 'version' => '1.2.5.0',
259
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Settings.php'
260
  ),
261
  'Vendidero\\Germanized\\Shipments\\Admin\\MetaBox' => array(
262
- 'version' => '1.2.5.0',
263
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php'
264
  ),
265
  'Vendidero\\Germanized\\Shipments\\Admin\\DownloadHandler' => array(
266
- 'version' => '1.2.5.0',
267
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/DownloadHandler.php'
268
  ),
269
  'Vendidero\\Germanized\\Shipments\\Admin\\ReturnTable' => array(
270
- 'version' => '1.2.5.0',
271
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php'
272
  ),
273
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkActionHandler' => array(
274
- 'version' => '1.2.5.0',
275
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php'
276
  ),
277
  'Vendidero\\Germanized\\Shipments\\Admin\\Admin' => array(
278
- 'version' => '1.2.5.0',
279
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Admin.php'
280
  ),
281
  'Vendidero\\Germanized\\Shipments\\Admin\\Table' => array(
282
- 'version' => '1.2.5.0',
283
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Table.php'
284
  ),
285
  'Vendidero\\Germanized\\Shipments\\ShipmentQuery' => array(
286
- 'version' => '1.2.5.0',
287
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentQuery.php'
288
  ),
289
  'Vendidero\\Germanized\\Shipments\\WPMLHelper' => array(
290
- 'version' => '1.2.5.0',
291
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/WPMLHelper.php'
292
  ),
293
  'Vendidero\\Germanized\\Shipments\\ShipmentReturnItem' => array(
294
- 'version' => '1.2.5.0',
295
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentReturnItem.php'
296
  ),
297
  'Vendidero\\Germanized\\Shipments\\FormHandler' => array(
298
- 'version' => '1.2.5.0',
299
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/FormHandler.php'
300
  ),
301
  'Vendidero\\Germanized\\Shipments\\PDFMerger' => array(
302
- 'version' => '1.2.5.0',
303
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFMerger.php'
304
  ),
305
  'Vendidero\\Germanized\\Shipments\\ShipmentFactory' => array(
306
- 'version' => '1.2.5.0',
307
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentFactory.php'
308
  ),
309
  'Vendidero\\Germanized\\Shipments\\ShippingProviderMethodPlaceholder' => array(
310
- 'version' => '1.2.5.0',
311
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviderMethodPlaceholder.php'
312
  ),
313
  'Vendidero\\Germanized\\Shipments\\Automation' => array(
314
- 'version' => '1.2.5.0',
315
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Automation.php'
316
  ),
317
  'Vendidero\\Germanized\\Shipments\\ShippingProviders' => array(
318
- 'version' => '1.2.5.0',
319
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviders.php'
320
  ),
321
  'Vendidero\\Germanized\\Shipments\\Api' => array(
322
- 'version' => '1.2.5.0',
323
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Api.php'
324
  ),
325
  'Vendidero\\Germanized\\Shipments\\ShipmentItem' => array(
326
- 'version' => '1.2.5.0',
327
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentItem.php'
328
  ),
329
  'Vendidero\\Germanized\\Shipments\\Validation' => array(
330
- 'version' => '1.2.5.0',
331
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Validation.php'
332
  ),
333
  'Vendidero\\Germanized\\Shipments\\Emails' => array(
334
- 'version' => '1.2.5.0',
335
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Emails.php'
336
  ),
337
  'Vendidero\\Germanized\\Shipments\\PDFSplitter' => array(
338
- 'version' => '1.2.5.0',
339
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFSplitter.php'
340
  ),
341
  'Vendidero\\Germanized\\Shipments\\ReturnReason' => array(
342
- 'version' => '1.2.5.0',
343
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnReason.php'
344
  ),
345
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentReturnLabel' => array(
346
- 'version' => '1.2.5.0',
347
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmenReturnLabel.php'
348
  ),
349
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentLabel' => array(
350
- 'version' => '1.2.5.0',
351
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentLabel.php'
352
  ),
353
  'Vendidero\\Germanized\\DHL\\ShippingProviderDHL' => array(
354
- 'version' => '1.2.4.0',
355
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProviderDHL.php'
356
  ),
357
  'Vendidero\\Germanized\\DHL\\ShippingProviderMethodDHL' => array(
358
- 'version' => '1.2.4.0',
359
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProviderMethodDHL.php'
360
  ),
361
  'Vendidero\\Germanized\\DHL\\Install' => array(
362
- 'version' => '1.2.4.0',
363
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Install.php'
364
  ),
365
  'Vendidero\\Germanized\\DHL\\LabelQuery' => array(
366
- 'version' => '1.2.4.0',
367
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelQuery.php'
368
  ),
369
  'Vendidero\\Germanized\\DHL\\ShipmentLabelWatcher' => array(
370
- 'version' => '1.2.4.0',
371
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShipmentLabelWatcher.php'
372
  ),
373
  'Vendidero\\Germanized\\DHL\\Package' => array(
374
- 'version' => '1.2.4.0',
375
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Package.php'
376
  ),
377
  'Vendidero\\Germanized\\DHL\\Product' => array(
378
- 'version' => '1.2.4.0',
379
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Product.php'
380
  ),
381
  'Vendidero\\Germanized\\DHL\\Order' => array(
382
- 'version' => '1.2.4.0',
383
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Order.php'
384
  ),
385
  'Vendidero\\Germanized\\DHL\\DataStores\\Label' => array(
386
- 'version' => '1.2.4.0',
387
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DataStores/Label.php'
388
  ),
389
  'Vendidero\\Germanized\\DHL\\Label' => array(
390
- 'version' => '1.2.4.0',
391
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label.php'
392
  ),
393
  'Vendidero\\Germanized\\DHL\\ParcelServices' => array(
394
- 'version' => '1.2.4.0',
395
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelServices.php'
396
  ),
397
  'Vendidero\\Germanized\\DHL\\Admin\\Importer' => array(
398
- 'version' => '1.2.4.0',
399
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Importer.php'
400
  ),
401
  'Vendidero\\Germanized\\DHL\\Admin\\Settings' => array(
402
- 'version' => '1.2.4.0',
403
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Settings.php'
404
  ),
405
  'Vendidero\\Germanized\\DHL\\Admin\\Admin' => array(
406
- 'version' => '1.2.4.0',
407
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Admin.php'
408
  ),
409
  'Vendidero\\Germanized\\DHL\\ReturnLabel' => array(
410
- 'version' => '1.2.4.0',
411
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ReturnLabel.php'
412
  ),
413
  'Vendidero\\Germanized\\DHL\\ParcelLocator' => array(
414
- 'version' => '1.2.4.0',
415
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelLocator.php'
416
  ),
417
  'Vendidero\\Germanized\\DHL\\SimpleLabel' => array(
418
- 'version' => '1.2.4.0',
419
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/SimpleLabel.php'
420
  ),
421
  'Vendidero\\Germanized\\DHL\\Admin\\DownloadHandler' => array(
422
- 'version' => '1.2.4.0',
423
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DownloadHandler.php'
424
  ),
425
  'Vendidero\\Germanized\\DHL\\Api\\ReturnRest' => array(
426
- 'version' => '1.2.4.0',
427
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php'
428
  ),
429
  'Vendidero\\Germanized\\DHL\\Api\\Paket' => array(
430
- 'version' => '1.2.4.0',
431
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Paket.php'
432
  ),
433
  'Vendidero\\Germanized\\DHL\\Api\\LabelSoap' => array(
434
- 'version' => '1.2.4.0',
435
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php'
436
  ),
437
  'Vendidero\\Germanized\\DHL\\Api\\AuthSoap' => array(
438
- 'version' => '1.2.4.0',
439
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/AuthSoap.php'
440
  ),
441
  'Vendidero\\Germanized\\DHL\\Api\\ParcelRest' => array(
442
- 'version' => '1.2.4.0',
443
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ParcelRest.php'
444
  ),
445
  'Vendidero\\Germanized\\DHL\\Api\\Soap' => array(
446
- 'version' => '1.2.4.0',
447
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Soap.php'
448
  ),
449
  'Vendidero\\Germanized\\DHL\\Api\\Rest' => array(
450
- 'version' => '1.2.4.0',
451
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Rest.php'
452
  ),
453
  'Vendidero\\Germanized\\DHL\\Api\\FinderSoap' => array(
454
- 'version' => '1.2.4.0',
455
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/FinderSoap.php'
456
  ),
457
  'Vendidero\\Germanized\\DHL\\Automation' => array(
458
- 'version' => '1.2.4.0',
459
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Automation.php'
460
  ),
461
  'Vendidero\\Germanized\\DHL\\LabelFactory' => array(
462
- 'version' => '1.2.4.0',
463
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelFactory.php'
464
  ),
465
  'Vendidero\\Germanized\\DHL\\LabelWatcher' => array(
466
- 'version' => '1.2.4.0',
467
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelWatcher.php'
468
  ),
469
  'Vendidero\\Germanized\\Shopmark' => array(
7
 
8
  return array(
9
  'setasign\\Fpdi\\Tcpdf\\Fpdi' => array(
10
+ 'version' => '2.3.3.0',
11
  'path' => $vendorDir . '/setasign/fpdi/src/Tcpdf/Fpdi.php'
12
  ),
13
  'setasign\\Fpdi\\Tfpdf\\Fpdi' => array(
14
+ 'version' => '2.3.3.0',
15
  'path' => $vendorDir . '/setasign/fpdi/src/Tfpdf/Fpdi.php'
16
  ),
17
  'setasign\\Fpdi\\Tfpdf\\FpdfTpl' => array(
18
+ 'version' => '2.3.3.0',
19
  'path' => $vendorDir . '/setasign/fpdi/src/Tfpdf/FpdfTpl.php'
20
  ),
21
  'setasign\\Fpdi\\Fpdi' => array(
22
+ 'version' => '2.3.3.0',
23
  'path' => $vendorDir . '/setasign/fpdi/src/Fpdi.php'
24
  ),
25
  'setasign\\Fpdi\\FpdfTplTrait' => array(
26
+ 'version' => '2.3.3.0',
27
  'path' => $vendorDir . '/setasign/fpdi/src/FpdfTplTrait.php'
28
  ),
29
  'setasign\\Fpdi\\FpdiTrait' => array(
30
+ 'version' => '2.3.3.0',
31
  'path' => $vendorDir . '/setasign/fpdi/src/FpdiTrait.php'
32
  ),
33
  'setasign\\Fpdi\\TcpdfFpdi' => array(
34
+ 'version' => '2.3.3.0',
35
  'path' => $vendorDir . '/setasign/fpdi/src/TcpdfFpdi.php'
36
  ),
37
  'setasign\\Fpdi\\PdfParser\\StreamReader' => array(
38
+ 'version' => '2.3.3.0',
39
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/StreamReader.php'
40
  ),
41
  'setasign\\Fpdi\\PdfParser\\PdfParserException' => array(
42
+ 'version' => '2.3.3.0',
43
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/PdfParserException.php'
44
  ),
45
  'setasign\\Fpdi\\PdfParser\\CrossReference\\ReaderInterface' => array(
46
+ 'version' => '2.3.3.0',
47
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/ReaderInterface.php'
48
  ),
49
  'setasign\\Fpdi\\PdfParser\\CrossReference\\CrossReferenceException' => array(
50
+ 'version' => '2.3.3.0',
51
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/CrossReferenceException.php'
52
  ),
53
  'setasign\\Fpdi\\PdfParser\\CrossReference\\LineReader' => array(
54
+ 'version' => '2.3.3.0',
55
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/LineReader.php'
56
  ),
57
  'setasign\\Fpdi\\PdfParser\\CrossReference\\AbstractReader' => array(
58
+ 'version' => '2.3.3.0',
59
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/AbstractReader.php'
60
  ),
61
  'setasign\\Fpdi\\PdfParser\\CrossReference\\CrossReference' => array(
62
+ 'version' => '2.3.3.0',
63
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/CrossReference.php'
64
  ),
65
  'setasign\\Fpdi\\PdfParser\\CrossReference\\FixedReader' => array(
66
+ 'version' => '2.3.3.0',
67
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/CrossReference/FixedReader.php'
68
  ),
69
  'setasign\\Fpdi\\PdfParser\\PdfParser' => array(
70
+ 'version' => '2.3.3.0',
71
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/PdfParser.php'
72
  ),
73
  'setasign\\Fpdi\\PdfParser\\Type\\PdfStream' => array(
74
+ 'version' => '2.3.3.0',
75
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfStream.php'
76
  ),
77
  'setasign\\Fpdi\\PdfParser\\Type\\PdfIndirectObjectReference' => array(
78
+ 'version' => '2.3.3.0',
79
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfIndirectObjectReference.php'
80
  ),
81
  'setasign\\Fpdi\\PdfParser\\Type\\PdfHexString' => array(
82
+ 'version' => '2.3.3.0',
83
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfHexString.php'
84
  ),
85
  'setasign\\Fpdi\\PdfParser\\Type\\PdfBoolean' => array(
86
+ 'version' => '2.3.3.0',
87
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfBoolean.php'
88
  ),
89
  'setasign\\Fpdi\\PdfParser\\Type\\PdfType' => array(
90
+ 'version' => '2.3.3.0',
91
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfType.php'
92
  ),
93
  'setasign\\Fpdi\\PdfParser\\Type\\PdfNumeric' => array(
94
+ 'version' => '2.3.3.0',
95
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfNumeric.php'
96
  ),
97
  'setasign\\Fpdi\\PdfParser\\Type\\PdfArray' => array(
98
+ 'version' => '2.3.3.0',
99
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfArray.php'
100
  ),
101
  'setasign\\Fpdi\\PdfParser\\Type\\PdfName' => array(
102
+ 'version' => '2.3.3.0',
103
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfName.php'
104
  ),
105
  'setasign\\Fpdi\\PdfParser\\Type\\PdfTypeException' => array(
106
+ 'version' => '2.3.3.0',
107
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfTypeException.php'
108
  ),
109
  'setasign\\Fpdi\\PdfParser\\Type\\PdfString' => array(
110
+ 'version' => '2.3.3.0',
111
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfString.php'
112
  ),
113
  'setasign\\Fpdi\\PdfParser\\Type\\PdfNull' => array(
114
+ 'version' => '2.3.3.0',
115
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfNull.php'
116
  ),
117
  'setasign\\Fpdi\\PdfParser\\Type\\PdfToken' => array(
118
+ 'version' => '2.3.3.0',
119
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfToken.php'
120
  ),
121
  'setasign\\Fpdi\\PdfParser\\Type\\PdfDictionary' => array(
122
+ 'version' => '2.3.3.0',
123
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfDictionary.php'
124
  ),
125
  'setasign\\Fpdi\\PdfParser\\Type\\PdfIndirectObject' => array(
126
+ 'version' => '2.3.3.0',
127
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Type/PdfIndirectObject.php'
128
  ),
129
  'setasign\\Fpdi\\PdfParser\\Tokenizer' => array(
130
+ 'version' => '2.3.3.0',
131
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Tokenizer.php'
132
  ),
133
  'setasign\\Fpdi\\PdfParser\\Filter\\FilterInterface' => array(
134
+ 'version' => '2.3.3.0',
135
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FilterInterface.php'
136
  ),
137
  'setasign\\Fpdi\\PdfParser\\Filter\\Ascii85Exception' => array(
138
+ 'version' => '2.3.3.0',
139
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Ascii85Exception.php'
140
  ),
141
  'setasign\\Fpdi\\PdfParser\\Filter\\FlateException' => array(
142
+ 'version' => '2.3.3.0',
143
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FlateException.php'
144
  ),
145
  'setasign\\Fpdi\\PdfParser\\Filter\\Flate' => array(
146
+ 'version' => '2.3.3.0',
147
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Flate.php'
148
  ),
149
  'setasign\\Fpdi\\PdfParser\\Filter\\FilterException' => array(
150
+ 'version' => '2.3.3.0',
151
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/FilterException.php'
152
  ),
153
  'setasign\\Fpdi\\PdfParser\\Filter\\Ascii85' => array(
154
+ 'version' => '2.3.3.0',
155
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Ascii85.php'
156
  ),
157
  'setasign\\Fpdi\\PdfParser\\Filter\\LzwException' => array(
158
+ 'version' => '2.3.3.0',
159
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/LzwException.php'
160
  ),
161
  'setasign\\Fpdi\\PdfParser\\Filter\\AsciiHex' => array(
162
+ 'version' => '2.3.3.0',
163
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/AsciiHex.php'
164
  ),
165
  'setasign\\Fpdi\\PdfParser\\Filter\\Lzw' => array(
166
+ 'version' => '2.3.3.0',
167
  'path' => $vendorDir . '/setasign/fpdi/src/PdfParser/Filter/Lzw.php'
168
  ),
169
  'setasign\\Fpdi\\FpdiException' => array(
170
+ 'version' => '2.3.3.0',
171
  'path' => $vendorDir . '/setasign/fpdi/src/FpdiException.php'
172
  ),
173
  'setasign\\Fpdi\\PdfReader\\PdfReader' => array(
174
+ 'version' => '2.3.3.0',
175
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PdfReader.php'
176
  ),
177
  'setasign\\Fpdi\\PdfReader\\PageBoundaries' => array(
178
+ 'version' => '2.3.3.0',
179
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PageBoundaries.php'
180
  ),
181
  'setasign\\Fpdi\\PdfReader\\DataStructure\\Rectangle' => array(
182
+ 'version' => '2.3.3.0',
183
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/DataStructure/Rectangle.php'
184
  ),
185
  'setasign\\Fpdi\\PdfReader\\PdfReaderException' => array(
186
+ 'version' => '2.3.3.0',
187
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/PdfReaderException.php'
188
  ),
189
  'setasign\\Fpdi\\PdfReader\\Page' => array(
190
+ 'version' => '2.3.3.0',
191
  'path' => $vendorDir . '/setasign/fpdi/src/PdfReader/Page.php'
192
  ),
193
  'setasign\\Fpdi\\FpdfTpl' => array(
194
+ 'version' => '2.3.3.0',
195
  'path' => $vendorDir . '/setasign/fpdi/src/FpdfTpl.php'
196
  ),
197
  'Vendidero\\TrustedShops\\Package' => array(
199
  'path' => $baseDir . '/packages/woocommerce-trusted-shops/src/Package.php'
200
  ),
201
  'Vendidero\\Germanized\\Shipments\\Shipment' => array(
202
+ 'version' => '1.2.6.0',
203
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Shipment.php'
204
  ),
205
  'Vendidero\\Germanized\\Shipments\\Install' => array(
206
+ 'version' => '1.2.6.0',
207
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Install.php'
208
  ),
209
  'Vendidero\\Germanized\\Shipments\\SimpleShipment' => array(
210
+ 'version' => '1.2.6.0',
211
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/SimpleShipment.php'
212
  ),
213
  'Vendidero\\Germanized\\Shipments\\ShippingProviderMethod' => array(
214
+ 'version' => '1.2.6.0',
215
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviderMethod.php'
216
  ),
217
  'Vendidero\\Germanized\\Shipments\\Package' => array(
218
+ 'version' => '1.2.6.0',
219
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Package.php'
220
  ),
221
  'Vendidero\\Germanized\\Shipments\\Order' => array(
222
+ 'version' => '1.2.6.0',
223
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Order.php'
224
  ),
225
  'Vendidero\\Germanized\\Shipments\\DataStores\\Shipment' => array(
226
+ 'version' => '1.2.6.0',
227
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php'
228
  ),
229
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShippingProvider' => array(
230
+ 'version' => '1.2.6.0',
231
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php'
232
  ),
233
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShipmentItem' => array(
234
+ 'version' => '1.2.6.0',
235
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php'
236
  ),
237
  'Vendidero\\Germanized\\Shipments\\Ajax' => array(
238
+ 'version' => '1.2.6.0',
239
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Ajax.php'
240
  ),
241
  'Vendidero\\Germanized\\Shipments\\ReturnShipment' => array(
242
+ 'version' => '1.2.6.0',
243
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnShipment.php'
244
  ),
245
  'Vendidero\\Germanized\\Shipments\\ShippingProvider' => array(
246
+ 'version' => '1.2.6.0',
247
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider.php'
248
  ),
249
  'Vendidero\\Germanized\\Shipments\\AddressSplitter' => array(
250
+ 'version' => '1.2.6.0',
251
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/AddressSplitter.php'
252
  ),
253
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkLabel' => array(
254
+ 'version' => '1.2.6.0',
255
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkLabel.php'
256
  ),
257
  'Vendidero\\Germanized\\Shipments\\Admin\\Settings' => array(
258
+ 'version' => '1.2.6.0',
259
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Settings.php'
260
  ),
261
  'Vendidero\\Germanized\\Shipments\\Admin\\MetaBox' => array(
262
+ 'version' => '1.2.6.0',
263
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php'
264
  ),
265
  'Vendidero\\Germanized\\Shipments\\Admin\\DownloadHandler' => array(
266
+ 'version' => '1.2.6.0',
267
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/DownloadHandler.php'
268
  ),
269
  'Vendidero\\Germanized\\Shipments\\Admin\\ReturnTable' => array(
270
+ 'version' => '1.2.6.0',
271
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php'
272
  ),
273
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkActionHandler' => array(
274
+ 'version' => '1.2.6.0',
275
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php'
276
  ),
277
  'Vendidero\\Germanized\\Shipments\\Admin\\Admin' => array(
278
+ 'version' => '1.2.6.0',
279
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Admin.php'
280
  ),
281
  'Vendidero\\Germanized\\Shipments\\Admin\\Table' => array(
282
+ 'version' => '1.2.6.0',
283
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Table.php'
284
  ),
285
  'Vendidero\\Germanized\\Shipments\\ShipmentQuery' => array(
286
+ 'version' => '1.2.6.0',
287
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentQuery.php'
288
  ),
289
  'Vendidero\\Germanized\\Shipments\\WPMLHelper' => array(
290
+ 'version' => '1.2.6.0',
291
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/WPMLHelper.php'
292
  ),
293
  'Vendidero\\Germanized\\Shipments\\ShipmentReturnItem' => array(
294
+ 'version' => '1.2.6.0',
295
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentReturnItem.php'
296
  ),
297
  'Vendidero\\Germanized\\Shipments\\FormHandler' => array(
298
+ 'version' => '1.2.6.0',
299
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/FormHandler.php'
300
  ),
301
  'Vendidero\\Germanized\\Shipments\\PDFMerger' => array(
302
+ 'version' => '1.2.6.0',
303
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFMerger.php'
304
  ),
305
  'Vendidero\\Germanized\\Shipments\\ShipmentFactory' => array(
306
+ 'version' => '1.2.6.0',
307
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentFactory.php'
308
  ),
309
  'Vendidero\\Germanized\\Shipments\\ShippingProviderMethodPlaceholder' => array(
310
+ 'version' => '1.2.6.0',
311
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviderMethodPlaceholder.php'
312
  ),
313
  'Vendidero\\Germanized\\Shipments\\Automation' => array(
314
+ 'version' => '1.2.6.0',
315
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Automation.php'
316
  ),
317
  'Vendidero\\Germanized\\Shipments\\ShippingProviders' => array(
318
+ 'version' => '1.2.6.0',
319
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProviders.php'
320
  ),
321
  'Vendidero\\Germanized\\Shipments\\Api' => array(
322
+ 'version' => '1.2.6.0',
323
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Api.php'
324
  ),
325
  'Vendidero\\Germanized\\Shipments\\ShipmentItem' => array(
326
+ 'version' => '1.2.6.0',
327
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentItem.php'
328
  ),
329
  'Vendidero\\Germanized\\Shipments\\Validation' => array(
330
+ 'version' => '1.2.6.0',
331
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Validation.php'
332
  ),
333
  'Vendidero\\Germanized\\Shipments\\Emails' => array(
334
+ 'version' => '1.2.6.0',
335
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Emails.php'
336
  ),
337
  'Vendidero\\Germanized\\Shipments\\PDFSplitter' => array(
338
+ 'version' => '1.2.6.0',
339
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFSplitter.php'
340
  ),
341
  'Vendidero\\Germanized\\Shipments\\ReturnReason' => array(
342
+ 'version' => '1.2.6.0',
343
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnReason.php'
344
  ),
345
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentReturnLabel' => array(
346
+ 'version' => '1.2.6.0',
347
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmenReturnLabel.php'
348
  ),
349
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentLabel' => array(
350
+ 'version' => '1.2.6.0',
351
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentLabel.php'
352
  ),
353
  'Vendidero\\Germanized\\DHL\\ShippingProviderDHL' => array(
354
+ 'version' => '1.2.5.0',
355
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProviderDHL.php'
356
  ),
357
  'Vendidero\\Germanized\\DHL\\ShippingProviderMethodDHL' => array(
358
+ 'version' => '1.2.5.0',
359
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProviderMethodDHL.php'
360
  ),
361
  'Vendidero\\Germanized\\DHL\\Install' => array(
362
+ 'version' => '1.2.5.0',
363
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Install.php'
364
  ),
365
  'Vendidero\\Germanized\\DHL\\LabelQuery' => array(
366
+ 'version' => '1.2.5.0',
367
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelQuery.php'
368
  ),
369
  'Vendidero\\Germanized\\DHL\\ShipmentLabelWatcher' => array(
370
+ 'version' => '1.2.5.0',
371
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShipmentLabelWatcher.php'
372
  ),
373
  'Vendidero\\Germanized\\DHL\\Package' => array(
374
+ 'version' => '1.2.5.0',
375
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Package.php'
376
  ),
377
  'Vendidero\\Germanized\\DHL\\Product' => array(
378
+ 'version' => '1.2.5.0',
379
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Product.php'
380
  ),
381
  'Vendidero\\Germanized\\DHL\\Order' => array(
382
+ 'version' => '1.2.5.0',
383
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Order.php'
384
  ),
385
  'Vendidero\\Germanized\\DHL\\DataStores\\Label' => array(
386
+ 'version' => '1.2.5.0',
387
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DataStores/Label.php'
388
  ),
389
  'Vendidero\\Germanized\\DHL\\Label' => array(
390
+ 'version' => '1.2.5.0',
391
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label.php'
392
  ),
393
  'Vendidero\\Germanized\\DHL\\ParcelServices' => array(
394
+ 'version' => '1.2.5.0',
395
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelServices.php'
396
  ),
397
  'Vendidero\\Germanized\\DHL\\Admin\\Importer' => array(
398
+ 'version' => '1.2.5.0',
399
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Importer.php'
400
  ),
401
  'Vendidero\\Germanized\\DHL\\Admin\\Settings' => array(
402
+ 'version' => '1.2.5.0',
403
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Settings.php'
404
  ),
405
  'Vendidero\\Germanized\\DHL\\Admin\\Admin' => array(
406
+ 'version' => '1.2.5.0',
407
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Admin.php'
408
  ),
409
  'Vendidero\\Germanized\\DHL\\ReturnLabel' => array(
410
+ 'version' => '1.2.5.0',
411
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ReturnLabel.php'
412
  ),
413
  'Vendidero\\Germanized\\DHL\\ParcelLocator' => array(
414
+ 'version' => '1.2.5.0',
415
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelLocator.php'
416
  ),
417
  'Vendidero\\Germanized\\DHL\\SimpleLabel' => array(
418
+ 'version' => '1.2.5.0',
419
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/SimpleLabel.php'
420
  ),
421
  'Vendidero\\Germanized\\DHL\\Admin\\DownloadHandler' => array(
422
+ 'version' => '1.2.5.0',
423
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/DownloadHandler.php'
424
  ),
425
  'Vendidero\\Germanized\\DHL\\Api\\ReturnRest' => array(
426
+ 'version' => '1.2.5.0',
427
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php'
428
  ),
429
  'Vendidero\\Germanized\\DHL\\Api\\Paket' => array(
430
+ 'version' => '1.2.5.0',
431
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Paket.php'
432
  ),
433
  'Vendidero\\Germanized\\DHL\\Api\\LabelSoap' => array(
434
+ 'version' => '1.2.5.0',
435
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php'
436
  ),
437
  'Vendidero\\Germanized\\DHL\\Api\\AuthSoap' => array(
438
+ 'version' => '1.2.5.0',
439
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/AuthSoap.php'
440
  ),
441
  'Vendidero\\Germanized\\DHL\\Api\\ParcelRest' => array(
442
+ 'version' => '1.2.5.0',
443
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ParcelRest.php'
444
  ),
445
  'Vendidero\\Germanized\\DHL\\Api\\Soap' => array(
446
+ 'version' => '1.2.5.0',
447
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Soap.php'
448
  ),
449
  'Vendidero\\Germanized\\DHL\\Api\\Rest' => array(
450
+ 'version' => '1.2.5.0',
451
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Rest.php'
452
  ),
453
  'Vendidero\\Germanized\\DHL\\Api\\FinderSoap' => array(
454
+ 'version' => '1.2.5.0',
455
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/FinderSoap.php'
456
  ),
457
  'Vendidero\\Germanized\\DHL\\Automation' => array(
458
+ 'version' => '1.2.5.0',
459
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Automation.php'
460
  ),
461
  'Vendidero\\Germanized\\DHL\\LabelFactory' => array(
462
+ 'version' => '1.2.5.0',
463
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelFactory.php'
464
  ),
465
  'Vendidero\\Germanized\\DHL\\LabelWatcher' => array(
466
+ 'version' => '1.2.5.0',
467
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/LabelWatcher.php'
468
  ),
469
  'Vendidero\\Germanized\\Shopmark' => array(
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitdbf000798e9958c4d57ebd74d951178a
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitdbf000798e9958c4d57ebd74d951178a
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitdbf000798e9958c4d57ebd74d951178a', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitdbf000798e9958c4d57ebd74d951178a', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitdbf000798e9958c4d57ebd74d951178a::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit183e367326e090aa10c224a37fdd7173
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit183e367326e090aa10c224a37fdd7173', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit183e367326e090aa10c224a37fdd7173', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit183e367326e090aa10c224a37fdd7173::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitdbf000798e9958c4d57ebd74d951178a
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  's' =>
@@ -66,9 +66,9 @@ class ComposerStaticInitdbf000798e9958c4d57ebd74d951178a
66
  public static function getInitializer(ClassLoader $loader)
67
  {
68
  return \Closure::bind(function () use ($loader) {
69
- $loader->prefixLengthsPsr4 = ComposerStaticInitdbf000798e9958c4d57ebd74d951178a::$prefixLengthsPsr4;
70
- $loader->prefixDirsPsr4 = ComposerStaticInitdbf000798e9958c4d57ebd74d951178a::$prefixDirsPsr4;
71
- $loader->classMap = ComposerStaticInitdbf000798e9958c4d57ebd74d951178a::$classMap;
72
 
73
  }, null, ClassLoader::class);
74
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit183e367326e090aa10c224a37fdd7173
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  's' =>
66
  public static function getInitializer(ClassLoader $loader)
67
  {
68
  return \Closure::bind(function () use ($loader) {
69
+ $loader->prefixLengthsPsr4 = ComposerStaticInit183e367326e090aa10c224a37fdd7173::$prefixLengthsPsr4;
70
+ $loader->prefixDirsPsr4 = ComposerStaticInit183e367326e090aa10c224a37fdd7173::$prefixDirsPsr4;
71
+ $loader->classMap = ComposerStaticInit183e367326e090aa10c224a37fdd7173::$classMap;
72
 
73
  }, null, ClassLoader::class);
74
  }
vendor/composer/installed.json CHANGED
@@ -204,17 +204,17 @@
204
  },
205
  {
206
  "name": "setasign/fpdi",
207
- "version": "v2.3.2",
208
- "version_normalized": "2.3.2.0",
209
  "source": {
210
  "type": "git",
211
  "url": "https://github.com/Setasign/FPDI.git",
212
- "reference": "527761458f504882ab844f15754523825647f291"
213
  },
214
  "dist": {
215
  "type": "zip",
216
- "url": "https://api.github.com/repos/Setasign/FPDI/zipball/527761458f504882ab844f15754523825647f291",
217
- "reference": "527761458f504882ab844f15754523825647f291",
218
  "shasum": ""
219
  },
220
  "require": {
@@ -233,7 +233,7 @@
233
  "suggest": {
234
  "setasign/fpdf": "FPDI will extend this class but as it is also possible to use TCPDF or tFPDF as an alternative. There's no fixed dependency configured."
235
  },
236
- "time": "2020-03-23T15:53:59+00:00",
237
  "type": "library",
238
  "installation-source": "dist",
239
  "autoload": {
@@ -309,17 +309,17 @@
309
  },
310
  {
311
  "name": "vendidero/woocommerce-germanized-dhl",
312
- "version": "v1.2.4",
313
- "version_normalized": "1.2.4.0",
314
  "source": {
315
  "type": "git",
316
  "url": "https://github.com/vendidero/woocommerce-germanized-dhl.git",
317
- "reference": "49f0f1dc82db0d674cef9077f86a0830cde18f92"
318
  },
319
  "dist": {
320
  "type": "zip",
321
- "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-dhl/zipball/49f0f1dc82db0d674cef9077f86a0830cde18f92",
322
- "reference": "49f0f1dc82db0d674cef9077f86a0830cde18f92",
323
  "shasum": ""
324
  },
325
  "require": {
@@ -329,7 +329,7 @@
329
  "phpunit/phpunit": "6.5.14",
330
  "woocommerce/woocommerce-sniffs": "0.0.6"
331
  },
332
- "time": "2020-04-09T13:49:21+00:00",
333
  "type": "wordpress-plugin",
334
  "installation-source": "dist",
335
  "autoload": {
@@ -353,23 +353,23 @@
353
  "description": "The Germanized DHL implementation.",
354
  "homepage": "https://github.com/vendidero/woocommerce-germanized-dhl",
355
  "support": {
356
- "source": "https://github.com/vendidero/woocommerce-germanized-dhl/tree/v1.2.4",
357
  "issues": "https://github.com/vendidero/woocommerce-germanized-dhl/issues"
358
  }
359
  },
360
  {
361
  "name": "vendidero/woocommerce-germanized-shipments",
362
- "version": "v1.2.5",
363
- "version_normalized": "1.2.5.0",
364
  "source": {
365
  "type": "git",
366
  "url": "https://github.com/vendidero/woocommerce-germanized-shipments.git",
367
- "reference": "8a738e5fe374448c044aeef69936b65340894be2"
368
  },
369
  "dist": {
370
  "type": "zip",
371
- "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-shipments/zipball/8a738e5fe374448c044aeef69936b65340894be2",
372
- "reference": "8a738e5fe374448c044aeef69936b65340894be2",
373
  "shasum": ""
374
  },
375
  "require": {
@@ -380,7 +380,7 @@
380
  "phpunit/phpunit": "6.5.14",
381
  "woocommerce/woocommerce-sniffs": "0.0.6"
382
  },
383
- "time": "2020-04-09T13:48:13+00:00",
384
  "type": "wordpress-plugin",
385
  "installation-source": "dist",
386
  "autoload": {
@@ -402,7 +402,7 @@
402
  "description": "The Germanized Shipments implementation.",
403
  "homepage": "https://github.com/vendidero/woocommerce-germanized-shipments",
404
  "support": {
405
- "source": "https://github.com/vendidero/woocommerce-germanized-shipments/tree/v1.2.5",
406
  "issues": "https://github.com/vendidero/woocommerce-germanized-shipments/issues"
407
  }
408
  },
204
  },
205
  {
206
  "name": "setasign/fpdi",
207
+ "version": "v2.3.3",
208
+ "version_normalized": "2.3.3.0",
209
  "source": {
210
  "type": "git",
211
  "url": "https://github.com/Setasign/FPDI.git",
212
+ "reference": "50c388860a73191e010810ed57dbed795578e867"
213
  },
214
  "dist": {
215
  "type": "zip",
216
+ "url": "https://api.github.com/repos/Setasign/FPDI/zipball/50c388860a73191e010810ed57dbed795578e867",
217
+ "reference": "50c388860a73191e010810ed57dbed795578e867",
218
  "shasum": ""
219
  },
220
  "require": {
233
  "suggest": {
234
  "setasign/fpdf": "FPDI will extend this class but as it is also possible to use TCPDF or tFPDF as an alternative. There's no fixed dependency configured."
235
  },
236
+ "time": "2020-04-28T12:40:35+00:00",
237
  "type": "library",
238
  "installation-source": "dist",
239
  "autoload": {
309
  },
310
  {
311
  "name": "vendidero/woocommerce-germanized-dhl",
312
+ "version": "v1.2.5",
313
+ "version_normalized": "1.2.5.0",
314
  "source": {
315
  "type": "git",
316
  "url": "https://github.com/vendidero/woocommerce-germanized-dhl.git",
317
+ "reference": "379f41f5046a68679fd76f7460ea78fcdfa14f9e"
318
  },
319
  "dist": {
320
  "type": "zip",
321
+ "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-dhl/zipball/379f41f5046a68679fd76f7460ea78fcdfa14f9e",
322
+ "reference": "379f41f5046a68679fd76f7460ea78fcdfa14f9e",
323
  "shasum": ""
324
  },
325
  "require": {
329
  "phpunit/phpunit": "6.5.14",
330
  "woocommerce/woocommerce-sniffs": "0.0.6"
331
  },
332
+ "time": "2020-05-01T09:15:31+00:00",
333
  "type": "wordpress-plugin",
334
  "installation-source": "dist",
335
  "autoload": {
353
  "description": "The Germanized DHL implementation.",
354
  "homepage": "https://github.com/vendidero/woocommerce-germanized-dhl",
355
  "support": {
356
+ "source": "https://github.com/vendidero/woocommerce-germanized-dhl/tree/v1.2.5",
357
  "issues": "https://github.com/vendidero/woocommerce-germanized-dhl/issues"
358
  }
359
  },
360
  {
361
  "name": "vendidero/woocommerce-germanized-shipments",
362
+ "version": "v1.2.6",
363
+ "version_normalized": "1.2.6.0",
364
  "source": {
365
  "type": "git",
366
  "url": "https://github.com/vendidero/woocommerce-germanized-shipments.git",
367
+ "reference": "cdc46ea7aa47365a938727f5e8515dba4ba39774"
368
  },
369
  "dist": {
370
  "type": "zip",
371
+ "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-shipments/zipball/cdc46ea7aa47365a938727f5e8515dba4ba39774",
372
+ "reference": "cdc46ea7aa47365a938727f5e8515dba4ba39774",
373
  "shasum": ""
374
  },
375
  "require": {
380
  "phpunit/phpunit": "6.5.14",
381
  "woocommerce/woocommerce-sniffs": "0.0.6"
382
  },
383
+ "time": "2020-05-01T09:17:32+00:00",
384
  "type": "wordpress-plugin",
385
  "installation-source": "dist",
386
  "autoload": {
402
  "description": "The Germanized Shipments implementation.",
403
  "homepage": "https://github.com/vendidero/woocommerce-germanized-shipments",
404
  "support": {
405
+ "source": "https://github.com/vendidero/woocommerce-germanized-shipments/tree/v1.2.6",
406
  "issues": "https://github.com/vendidero/woocommerce-germanized-shipments/issues"
407
  }
408
  },
vendor/setasign/fpdi/src/PdfParser/Type/PdfStream.php CHANGED
@@ -208,6 +208,13 @@ class PdfStream extends PdfType
208
  }
209
  }
210
 
 
 
 
 
 
 
 
211
  return $buffer;
212
  }
213
 
208
  }
209
  }
210
 
211
+ // There are streams in the wild, which have only white signs in them but need to be parsed manually due
212
+ // to a problem encountered before (e.g. Length === 0). We should set them to empty streams to avoid problems
213
+ // in further processing (e.g. applying of filters).
214
+ if (trim($buffer) === '') {
215
+ $buffer = '';
216
+ }
217
+
218
  return $buffer;
219
  }
220
 
woocommerce-germanized.php CHANGED
@@ -3,20 +3,20 @@
3
  * Plugin Name: Germanized for WooCommerce
4
  * Plugin URI: https://www.vendidero.de/woocommerce-germanized
5
  * Description: Germanized for WooCommerce extends WooCommerce to become a legally compliant store in the german market.
6
- * Version: 3.1.5
7
- * Author: Vendidero
8
  * Author URI: https://vendidero.de
9
  * Requires at least: 4.9
10
  * Tested up to: 5.4
11
  * WC requires at least: 3.4
12
- * WC tested up to: 4.0
13
  * Requires at least WooCommerce: 3.4
14
- * Tested up to WooCommerce: 4.0
15
  *
16
  * Text Domain: woocommerce-germanized
17
  * Domain Path: /i18n/languages/
18
  *
19
- * @author Vendidero
20
  */
21
 
22
  use Vendidero\Germanized\Autoloader;
@@ -71,7 +71,7 @@ if ( ! class_exists( 'WooCommerce_Germanized' ) ) :
71
  *
72
  * @var string
73
  */
74
- public $version = '3.1.5';
75
 
76
  /**
77
  * @var WooCommerce_Germanized $instance of the plugin
@@ -447,7 +447,10 @@ if ( ! class_exists( 'WooCommerce_Germanized' ) ) :
447
  private function includes() {
448
 
449
  include_once WC_GERMANIZED_ABSPATH . 'includes/wc-gzd-core-functions.php';
 
 
450
  include_once WC_GERMANIZED_ABSPATH . 'includes/wc-gzd-legacy-functions.php';
 
451
  include_once WC_GERMANIZED_ABSPATH . 'includes/class-wc-gzd-install.php';
452
 
453
  if ( is_admin() ) {
@@ -509,9 +512,6 @@ if ( ! class_exists( 'WooCommerce_Germanized' ) ) :
509
  // API
510
  include_once WC_GERMANIZED_ABSPATH . 'includes/api/class-wc-gzd-rest-api.php';
511
 
512
- include_once WC_GERMANIZED_ABSPATH . 'includes/wc-gzd-cart-functions.php';
513
- include_once WC_GERMANIZED_ABSPATH . 'includes/wc-gzd-order-functions.php';
514
-
515
  include_once WC_GERMANIZED_ABSPATH . 'includes/emails/class-wc-gzd-email-helper.php';
516
  include_once WC_GERMANIZED_ABSPATH . 'includes/class-wc-gzd-ajax.php';
517
  include_once WC_GERMANIZED_ABSPATH . 'includes/class-wc-gzd-checkout.php';
@@ -969,6 +969,7 @@ if ( ! class_exists( 'WooCommerce_Germanized' ) ) :
969
  $order = wc_get_order( $order_id );
970
 
971
  $this->localized_scripts[] = 'wc-gzd-force-pay-order';
 
972
 
973
  /**
974
  * Filters script localization paramaters for the `wc-gzd-force-pay-order` script.
@@ -976,11 +977,11 @@ if ( ! class_exists( 'WooCommerce_Germanized' ) ) :
976
  * @param array $params Key => value array containing parameter name and value.
977
  *
978
  * @since 1.0.0
979
- *
980
  */
981
  wp_localize_script( 'wc-gzd-force-pay-order', 'wc_gzd_force_pay_order_params', apply_filters( 'wc_gzd_force_pay_order_params', array(
982
  'order_id' => $order_id,
983
- 'gateway' => $order->get_payment_method(),
 
984
  'block_message' => __( 'Pease wait while we are trying to redirect you to the payment provider.', 'woocommerce-germanized' ),
985
  ) ) );
986
  }
3
  * Plugin Name: Germanized for WooCommerce
4
  * Plugin URI: https://www.vendidero.de/woocommerce-germanized
5
  * Description: Germanized for WooCommerce extends WooCommerce to become a legally compliant store in the german market.
6
+ * Version: 3.1.6
7
+ * Author: vendidero
8
  * Author URI: https://vendidero.de
9
  * Requires at least: 4.9
10
  * Tested up to: 5.4
11
  * WC requires at least: 3.4
12
+ * WC tested up to: 4.1
13
  * Requires at least WooCommerce: 3.4
14
+ * Tested up to WooCommerce: 4.1
15
  *
16
  * Text Domain: woocommerce-germanized
17
  * Domain Path: /i18n/languages/
18
  *
19
+ * @author vendidero
20
  */
21
 
22
  use Vendidero\Germanized\Autoloader;
71
  *
72
  * @var string
73
  */
74
+ public $version = '3.1.6';
75
 
76
  /**
77
  * @var WooCommerce_Germanized $instance of the plugin
447
  private function includes() {
448
 
449
  include_once WC_GERMANIZED_ABSPATH . 'includes/wc-gzd-core-functions.php';
450
+ include_once WC_GERMANIZED_ABSPATH . 'includes/wc-gzd-cart-functions.php';
451
+ include_once WC_GERMANIZED_ABSPATH . 'includes/wc-gzd-order-functions.php';
452
  include_once WC_GERMANIZED_ABSPATH . 'includes/wc-gzd-legacy-functions.php';
453
+
454
  include_once WC_GERMANIZED_ABSPATH . 'includes/class-wc-gzd-install.php';
455
 
456
  if ( is_admin() ) {
512
  // API
513
  include_once WC_GERMANIZED_ABSPATH . 'includes/api/class-wc-gzd-rest-api.php';
514
 
 
 
 
515
  include_once WC_GERMANIZED_ABSPATH . 'includes/emails/class-wc-gzd-email-helper.php';
516
  include_once WC_GERMANIZED_ABSPATH . 'includes/class-wc-gzd-ajax.php';
517
  include_once WC_GERMANIZED_ABSPATH . 'includes/class-wc-gzd-checkout.php';
969
  $order = wc_get_order( $order_id );
970
 
971
  $this->localized_scripts[] = 'wc-gzd-force-pay-order';
972
+ $auto_submit = true;
973
 
974
  /**
975
  * Filters script localization paramaters for the `wc-gzd-force-pay-order` script.
977
  * @param array $params Key => value array containing parameter name and value.
978
  *
979
  * @since 1.0.0
 
980
  */
981
  wp_localize_script( 'wc-gzd-force-pay-order', 'wc_gzd_force_pay_order_params', apply_filters( 'wc_gzd_force_pay_order_params', array(
982
  'order_id' => $order_id,
983
+ 'gateway' => $order ? $order->get_payment_method() : '',
984
+ 'auto_submit' => $auto_submit,
985
  'block_message' => __( 'Pease wait while we are trying to redirect you to the payment provider.', 'woocommerce-germanized' ),
986
  ) ) );
987
  }