postnl/postnl-magento1

Packing slip pdf print: Dupps of labels when more than 2 parcels to ship

OneDonnie opened this issue · 1 comments

TIG_PostNL_Model_Core_Label::_addPdfTemplate

case TIG_PostNL_Model_Core_Shipment_Label::LABEL_TYPE_LABEL: case TIG_PostNL_Model_Core_Shipment_Label::LABEL_TYPE_BUSPAKJE: case TIG_PostNL_Model_Core_Shipment_Label::LABEL_TYPE_BUSPAKJEEXTRA: case TIG_PostNL_Model_Core_Shipment_Label::LABEL_TYPE_RETURN_LABEL: $position = $this->_getLabelPosition($labelType, $this->getLabelCounter()); $this->increaseLabelCounter(); break;

Default behavior we faced that for (LABEL_TYPE_LABEL:) parcel count >= 3 it creates dupps for labels on second page instead adding new pages for new labels.

Workaround thats working for our side is:
$this->increaseLabelCounter(5);
Which adds new page for next labels(>=3) w/o dupps.

Hi @OneDonnie,

Is this workaround still necessary with the latest release? If so, please let me know.

Kind regards,

Jasper Smits
TIG