Changed DHL CSV format
This commit is contained in:
@@ -3,5 +3,5 @@ foreach($shippings as $ship):
|
||||
$order = $ship->order;
|
||||
$owner = $order->owner;
|
||||
?>
|
||||
"<?=$me->name?>";"XINON GmbH";"Fladnitz 150";"8322";"Studenzen";"AT";"office@xinon.at";"43";"311540800";"<?=$owner->getFullName()?>";"<?=($owner->company) ? $owner->company : $owner->getFullName()?>";"<?=($ship->termination_id) ? $ship->termination->building->street : $owner->street?>";"<?=($ship->termination_id) ? $ship->termination->building->zip : $owner->zip?>";"<?=($ship->termination_id) ? $ship->termination->building->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?>"
|
||||
"<?=$me->name?>";"XINON GmbH";"Fladnitz 150";"8322";"Studenzen";"AT";"office@xinon.at";"43";"311540800";"<?=$owner->getFullName()?>";"<?=($owner->company) ? $owner->company : $owner->getFullName()?>";"<?=($ship->termination_id) ? $ship->termination->building->street : $owner->street?>";"<?=($ship->termination_id) ? $ship->termination->building->zip : $owner->zip?>";"<?=($ship->termination_id) ? $ship->termination->building->city : $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;?>
|
||||
Reference in New Issue
Block a user