This commit is contained in:
Michael RICOIS 2018-01-12 12:19:23 +01:00
parent ee7ec89a87
commit f32ca94f43

View File

@ -623,7 +623,8 @@ $laposte_formats = array(
);
class LaposteCarrier {
class LaposteCarrier
{
public $displayName = 'La Poste';
public function l($string, $specific = false, $id_lang = null) {
@ -658,7 +659,8 @@ class LaposteCarrier {
);
}
public function registerParcel($order, $products, $weight) {
public function registerParcel($order, $products, $weight)
{
global $cookie;
$html = '';
@ -734,7 +736,8 @@ class LaposteCarrier {
return array($html, $result);
}
public function renderLabel($order, $weight, $shipping_data) {
public function renderLabel($order, $weight, $shipping_data)
{
global $cookie, $laposte_formats;
/**