Changed DHL CSV format

This commit is contained in:
Frank Schubert
2021-10-28 22:49:08 +02:00
parent fe91991d7f
commit eefd129b94

View File

@@ -3,5 +3,5 @@ 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?>"
"<?=$me->name?>";"XINON GmbH";"Fladnitz 150";"8322";"Studenzen";"AT";"office@xinon.at";"43";"311540800";"<?=$owner->getFullName()?>";"<?=$owner->company?>";"<?=($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]?>";"170863186";"<?=$ship->ship_weight?>";EUR;100;"DOM";"Elektronik";"1";"1";"<?=$ship->ship_length?>";"<?=$ship->ship_width?>";"<?=$ship->ship_height?>";"<?=$owner->customer_number?>";"<?=$owner->email?>"
<?php endforeach;?>