This repository has been archived on 2026-11-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
thetool/Layout/default/Cpeshipping/csv/dhl.csv.php
T

7 lines
674 B
PHP

<?php
foreach($shippings as $ship):
$order = $ship->order;
$owner = $order->owner;
?>
<?=date('Ymd')?>;XINON GmbH;"<?=$me->name?>";Fladnitz 150;8322;Studenzen;AT;43;311540800;office@xinon.at;"<?=$owner->company?>";"<?=$owner->getFullName()?>";"<?=($ship->termination_id) ? $ship->termination->building->street : $owner->street?>";<?=($ship->termination_id) ? $ship->termination->building->zip : $owner->zip?>;"<?=$owner->city?>";AT;<?=$owner->splitPhoneNumber()[0]?>;<?=$owner->splitPhoneNumber()[1]?>;Elektronik;1;DOM;<?=$ship->ship_weight?>;170863186;1;<?=$ship->ship_length?>;<?=$ship->ship_width?>;<?=$ship->ship_height?>;<?=$owner->customer_number?>
<?php endforeach;?>