@@ -92,7 +92,7 @@ public function __construct()
92
92
$ this ->author = 'Invertus ' ;
93
93
$ this ->tab = 'shipping_logistics ' ;
94
94
$ this ->description = 'DPD Baltics shipping integration ' ;
95
- $ this ->version = '3.2.18 ' ;
95
+ $ this ->version = '3.2.19 ' ;
96
96
$ this ->ps_versions_compliancy = ['min ' => '1.7.1.0 ' , 'max ' => _PS_VERSION_ ];
97
97
$ this ->need_instance = 0 ;
98
98
parent ::__construct ();
@@ -203,7 +203,6 @@ public function hookActionFrontControllerSetMedia()
203
203
'priority ' => 130
204
204
]
205
205
);
206
-
207
206
}
208
207
209
208
/** @var \Invertus\dpdBaltics\Provider\CurrentCountryProvider $currentCountryProvider */
@@ -278,7 +277,8 @@ public function hookActionFrontControllerSetMedia()
278
277
$ googleApiService = $ this ->getModuleContainer ('invertus.dpdbaltics.service.google_api_service ' );
279
278
$ this ->context ->controller ->registerJavascript (
280
279
'dpdbaltics-google-api ' ,
281
- $ googleApiService ->getFormattedGoogleMapsUrl (), [
280
+ $ googleApiService ->getFormattedGoogleMapsUrl (),
281
+ [
282
282
'server ' => 'remote '
283
283
]
284
284
);
@@ -507,7 +507,7 @@ public function getOrderShippingCostExternal($cart)
507
507
$ parcelDistribution = \Configuration::get (Config::PARCEL_DISTRIBUTION );
508
508
$ maxAllowedWeight = Config::getDefaultServiceWeights ($ countryCode , $ serviceCarrier ['product_reference ' ]);
509
509
510
- if (!$ cartWeightValidator ->validate ($ cart , $ parcelDistribution , $ maxAllowedWeight )) {
510
+ if (!$ cartWeightValidator ->validate ($ cart , $ parcelDistribution, $ maxAllowedWeight )) {
511
511
return false ;
512
512
}
513
513
@@ -1150,7 +1150,6 @@ private function updateOrderCarrier($shipmentId)
1150
1150
1151
1151
public function hookDisplayOrderDetail ($ params )
1152
1152
{
1153
-
1154
1153
$ isReturnServiceEnabled = Configuration::get (Config::PARCEL_RETURN );
1155
1154
if (!$ isReturnServiceEnabled ) {
1156
1155
return ;
@@ -1279,7 +1278,7 @@ public function hookActionOrderGridDefinitionModifier(array $params)
1279
1278
$ definition = $ params ['definition ' ];
1280
1279
1281
1280
if (!(bool ) Configuration::get (Config::HIDE_ORDERS_LABEL_PRINT_BUTTON )) {
1282
- $ definition ->getColumns ()
1281
+ $ definition ->getColumns ()
1283
1282
->addAfter (
1284
1283
'date_add ' ,
1285
1284
(new ActionColumn ('dpd_print_label ' ))
0 commit comments