You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- use common\logic\Distribution\Distribution\Export\DistributionShoppingCartLabelsPdfGenerator;
-
- $distributionShoppingCartLabelsPdfGenerator = DistributionShoppingCartLabelsPdfGenerator::getInstance();
- $index = 0;
- $i = 0;
- foreach($ordersArray as $key => $order) {
- $index ++;
-
- echo $distributionShoppingCartLabelsPdfGenerator->getShoppingCartLabelAsHtml($order, $index);
-
- if($index == $shoppingCartLabelsPerColumn) {
- $index = 0;
- }
- if(!$isSpecificFormat && $index == 0 && $key !== array_key_last($ordersArray)) {
- echo '<columnbreak />';
- }
- }
- ?>
|