first commit

This commit is contained in:
2025-08-02 16:30:27 +02:00
commit 23646bfcee
14851 changed files with 1750626 additions and 0 deletions

View File

@@ -0,0 +1,102 @@
{strip}
"";
"Jmeno Prijmeni (nazev firmy)";
"";
"DIC";
"Stat (CZ/SK)";
"Ulice";
"C.p.";
"Mesto";
"PSC";
"Telefon";
"Email";
"";
"";
"";
"";
"Produkt";
"";
"Kód objednávky";
"Dobírka";
"CZK";
"Typ platby";
"Poznámka";
{/strip}
{foreach $orders as $order}
{strip}
"";
"{$order.delivery_name} {$order.delivery_surname}{if $order.delivery_firm} {$order.delivery_firm}{/if}";
"";
"";
"{if $order.delivery_country|mb_stristr:"Česk" || $order.delivery_country|stristr:"CZ" || $order.delivery_country|stristr:"ČR" || empty($order.delivery_country)}CZ
{elseif $order.delivery_country|stristr:"Slovensk" || $order.delivery_country|strstr:"SK"}SK{/if}";
"{$order.delivery_street}";
"{$order.delivery_suburb}";
"{$order.delivery_city}";
"{$order.delivery_zip|replace:" ":""}";
"{$order.invoice_phone|replace:'+420':''|replace:' ': ''}";
"{$order.invoice_email}";
"";
"";
"";
"";
"40054";
"";
"{$order.order_no}";
"{round($order.to_pay)}";
"CZK";
"1";
"{$order.comment|html_entity_decode}"
{/strip}
{/foreach}
{* Šablona Standardní II
"{$order.delivery_name} {$order.delivery_surname}{if $order.delivery_firm} {$order.delivery_firm}{/if}";
"{if $order.delivery_country|mb_stristr:"Česk" || $order.delivery_country|stristr:"CZ" || $order.delivery_country|stristr:"ČR" || empty($order.delivery_country)}CZ
{elseif $order.delivery_country|stristr:"Slovensk" || $order.delivery_country|strstr:"SK"}SK{/if}";
"{$order.delivery_city}";
"{$order.delivery_street}";
"{$order.delivery_suburb}";
"{$order.delivery_zip|replace:" ":""}";
"{$order.invoice_phone}";
"{$order.invoice_email}";
"1";
"{$order.to_pay|round:$dbcfg.price_round}";
"CZK";
"1";
" ";
" " *}
{*
generuje se csv, pak se v php konvertuje do xls
Format dat pro DPD formát "Import zasilek standardni II xls":
Jméno příjemce;
Země příjemce musí se nakonfigorovat jako: mezinárodní kód CZ, SK, PL, DE, … nebo id IT4EM 605, … (POVINNÉ POLE);
Město příjemce(POVINNÉ POLE);
Ulice příjemce(POVINNÉ POLE);
Č. p. příjemce;
PSČ příjemce bez mezer(POVINNÉ POLE);
Telefon příjemce;
Email příjemce;
Produkt
40066 / DPD 10:00
40067 / DPD 12:00
1 / DPD CLASSIC
40042 / DPD CLASSIC Intercontinental
40043 / DPD GUARANTEE
50101 / DPD ParcelShop
40054 / DPD Private
40040 / DPDBox
40048 / DPDPack
40041 / Guarantee DPDBox
40049 / Guarantee DPDPack
40060 / Výměnná zásilka (POVINNÉ POLE)
;
COD částka používat pouze s desetinou tečkou;
COD Měna;
COD typ platby 1 = hotovost 2 = platební kartou, 0=bez platby;
COD variabilní symbol;
Hmotnost;
*}