From c4cbe24bb5ff9791a4dd4bc59027a135e95e7983 Mon Sep 17 00:00:00 2001
From: Marion Muszynski
Unicité du numéro d\'expédition non respecté
SITE DE PRISE EN CHARGE : {$site_code} | +BORDEREAU DE REMISE Offre Entreprises So Colissimo | +
LIBELLE SITE DE PRISE EN CHARGE : {$site} | +
N° CLIENT | : | {$contract} | +EDITE LE {$date} | +
LIBELLE CLIENT | : | +{foreach $sender_lines as $line}{$line} {/foreach} + {$sender_postal} {$sender_city} |
+ |
N° BORDEREAU | : | {$summary_number} du {$date} | +|
{$title} - Compte de facturation : {$contract} |
+
Ref exped | Adresse destinataire | N° colis | CPOST | CPAYS | Poids | N | CRBT | VA | + +
---|---|---|---|---|---|---|---|---|
+ + NOMBRE DES COLIS DE LA PAGE : {if $count_orders <= 46} + {$count_orders} + {else} + 46 + {/if} + + POIDS DES COLIS DE LA PAGE : {if $count_orders <= 46} + {$total_weight|number_format:2:',':''} + {else} + {(0.24*46)|number_format:2:',':''} + {/if} KG + TOTAL CRBT DE LA PAGE : 0,00 EUR + |
+ ||||||||
EXP{$order.id_order} | +{$order.lastname|cat:' - '|cat:$order.address1|truncate:60:''} | +{$order.shipping_number} | +{$order.postcode} | +FR | +0,24 | +0 | +000.00 | +00 | +
Ref exped | Adresse destinataire | N° colis | CPOST | CPAYS | Poids | N | CRBT | VA | + +
---|---|---|---|---|---|---|---|---|
+ + NOMBRE DES COLIS DE LA PAGE : {if $smarty.foreach.orders.iteration + 46 > $smarty.foreach.orders.total} + {$smarty.foreach.orders.total - $smarty.foreach.orders.iteration} + {else} + 46 + {/if} + POIDS DES COLIS DE LA PAGE : {if $smarty.foreach.orders.iteration + 46 > $smarty.foreach.orders.total} + {(($smarty.foreach.orders.total - $smarty.foreach.orders.iteration)*0.24)|number_format:2:',':''} + {else} + {(46*0.24)|number_format:2:',':''} + {/if} KG + TOTAL CRBT DE LA PAGE : 0,00 EUR + |
+
+ + NOMBRE TOTAL DE COLIS : {$count_orders} + POIDS TOTAL DE COLIS : {$total_weight|number_format:2:',':''} KG + TOTAL CRBT : 0,00 EUR + + Nombre de pages : {literal} {/literal} + |
+
+
+ * Cette signature ne vaut pas validation des données indiquées par le client + |
+
uf^M4|GNZkK+;6H(2
z5Xb)_{(I#QzyFbwhmfTnM6|Ufl)&B)U$BFUw};ywiSe}chJt@PDGmI)mw!e52L2JI
z1jHQ*vvs!zt1HPoF!4el4iZ8tg35yYV!|RKBJ%wF%0dc)$|A~w;-X?g!Xm=T!lF{3
ze}n!@{{Lil@UZuB1G~fiWOn!`^8@k!X8sHGpUhIAe+%`G4fePD{`WlmS5dM5F8U|$
zKcRmS{o9)Qf6bEU|3~{5=)clRD0+i!VIJN_9v-eT^1q7?py%uX^ME>gcmfm+MF1Sy
zw)PPB-xHjF#QraUzi|ED7ZSSOkcV8`{;mueekstu&HZUF1^Qh!e<`EC)#x9y4@D}2
z^Pu$if|tQLeZKF5ghX|%t|V{dk34OOo%RY55PXN=g*vq~bm0LO-r?~LhRTtX(RogA
z*a>+}6`6fd&t!vWE(obV#fgXPL)OHHAX=Gy#gN20Vp^k4ba^#9J8Tpb>P}l5Qw&G@
z^L^g?FI%^F*MxpHj!9yvsn0#{5f;k_K`RGK?FdHvp5pkq@^Qrvo0N?586#2yAst^n
zwN^j!Z|{&+j8*E+bc2&7kctRPmp@fOYJJ)&g7+CF92*K-@Df^jPd}$l@7^7r>WL@q
zI529;M|W@_MHavGQv3YXRhl;?V2t*IHl*3aHnm5K!YUU7>oit`BoE)%II|J*gP %Y)M4g!3vu&9Ml)=Ca#}b_A25mJ42us1~7R;8wFJcnWX(`v#FCy^9b9^A_
zY!YXuKDym%S_<4Pjhf3gQl6RkBTZvY`u4}l=bQ6jXMOjY3l`#*Eea|l!EI4%D8>0V
zo#_Fvd{+0^$2KkuXES-0l}gp0f#!ROvY~V&G^4``Pc*p*ZXO<*fmf;=SHmi!{)ec8
z+%yMnzF$H!q|hc8<|3P9PDLk*h`9rA4u-Oy)7^ign0hQd%GVNpCrM!6+O%Eq7!LWc
zKOd+S;>fHqvs6o^cYh+PXLx2jXH~|3q)AwCTJQ)Sv=0Rp{#2y3A=8rcyfjLaJ>u{#
z)9r!V3yYl&sjiCj=D&fzDm&cMp+Qs(th$97<#VO!Yqa}Nh=(-dAQEc_em&h{qC?d3
zHZ=hk=Y3Nt>VF0!o!qaH4i@nc^`kj|Q~V~BF7%xG@^V-q)*BA>f1bXJ>c|rD7SCHr
zmin&sR$X|7#{Ub8O2iwM*gb
zPWw%qO(754vNI1WauboJ4SghlYD5EPq*aZN_5=|rkBrnHoMU=B-q;%}m&S9PF-`)*
zMG`k-p37E>3Hh(pCFOk7X7cQ5X{nod
+
diff --git a/override/classes/Country.php b/override/classes/Country.php
new file mode 100644
index 00000000..14e61a88
--- /dev/null
+++ b/override/classes/Country.php
@@ -0,0 +1,11 @@
+ 40, 'AE' => 217, 'AF' => 231, 'AG' => 43, 'AI' => 42, 'AL' => 230, 'AM' => 45, 'AN' => 157, 'AO' => 41, 'AQ' => 232, 'AR' => 44, 'AS' => 39, 'AT' => 2, 'AU' => 24, 'AW' => 46, 'AX' => 244, 'AZ' => 47, 'BA' => 233, 'BB' => 51, 'BD' => 50, 'BE' => 3, 'BF' => 60, 'BG' => 236, 'BH' => 49, 'BI' => 62, 'BJ' => 54, 'BL' => 179, 'BM' => 55, 'BN' => 59, 'BO' => 34, 'BR' => 58, 'BS' => 48, 'BT' => 56, 'BV' => 234, 'BW' => 57, 'BY' => 52, 'BZ' => 53, 'CA' => 4, 'CC' => 239, 'CD' => 71, 'CF' => 66, 'CG' => 72, 'CH' => 19, 'CI' => 32, 'CK' => 240, 'CL' => 68, 'CM' => 64, 'CN' => 5, 'CO' => 69, 'CR' => 73, 'CU' => 75, 'CV' => 65, 'CX' => 238, 'CY' => 76, 'CZ' => 16, 'DE' => 1, 'DJ' => 77, 'DK' => 20, 'DM' => 78, 'DO' => 79, 'DZ' => 38, 'EC' => 81, 'EE' => 86, 'EG' => 82, 'EH' => 226, 'ER' => 85, 'ES' => 6, 'ET' => 87, 'FI' => 7, 'FJ' => 90, 'FK' => 88, 'FM' => 146, 'FO' => 89, 'FR' => 8, 'FR' => 245, 'GA' => 91, 'GB' => 17, 'GD' => 95, 'GE' => 93, 'GF' => 241, 'GG' => 101, 'GH' => 94, 'GI' => 97, 'GL' => 96, 'GM' => 92, 'GN' => 102, 'GP' => 98, 'GQ' => 84, 'GR' => 9, 'GS' => 196, 'GT' => 100, 'GU' => 99, 'GW' => 103, 'GY' => 104, 'HK' => 22, 'HM' => 106, 'HN' => 108, 'HR' => 74, 'HT' => 105, 'HU' => 143, 'ID' => 111, 'IE' => 26, 'IL' => 29, 'IM' => 114, 'IN' => 110, 'IO' => 235, 'IQ' => 113, 'IR' => 112, 'IS' => 109, 'IT' => 10, 'JE' => 116, 'JM' => 115, 'JO' => 117, 'JP' => 11, 'KE' => 119, 'KG' => 123, 'KH' => 63, 'KI' => 120, 'KM' => 70, 'KN' => 180, 'KP' => 121, 'KR' => 28, 'KW' => 122, 'KY' => 237, 'KZ' => 118, 'LA' => 124, 'LB' => 126, 'LC' => 181, 'LI' => 130, 'LK' => 197, 'LR' => 128, 'LS' => 127, 'LT' => 131, 'LU' => 12, 'LV' => 125, 'LY' => 129, 'MA' => 152, 'MC' => 148, 'MD' => 147, 'ME' => 150, 'MF' => 182, 'MG' => 134, 'MH' => 140, 'MK' => 133, 'ML' => 138, 'MM' => 61, 'MN' => 149, 'MO' => 132, 'MP' => 163, 'MQ' => 141, 'MR' => 142, 'MS' => 151, 'MT' => 139, 'MU' => 35, 'MV' => 137, 'MW' => 135, 'MX' => 145, 'MY' => 136, 'MZ' => 153, 'NA' => 154, 'NC' => 158, 'NE' => 160, 'NF' => 162, 'NG' => 31, 'NI' => 159, 'NL' => 13, 'NO' => 23, 'NP' => 156, 'NR' => 155, 'NU' => 161, 'NZ' => 27, 'OM' => 164, 'PA' => 168, 'PE' => 171, 'PF' => 242, 'PG' => 169, 'PH' => 172, 'PK' => 165, 'PL' => 14, 'PM' => 183, 'PN' => 173, 'PR' => 174, 'PS' => 167, 'PT' => 15, 'PW' => 166, 'PY' => 170, 'QA' => 175, 'RE' => 176, 'RO' => 36, 'RS' => 190, 'RU' => 177, 'RW' => 178, 'SA' => 188, 'SB' => 194, 'SC' => 191, 'SD' => 198, 'SE' => 18, 'SG' => 25, 'SI' => 193, 'SJ' => 200, 'SK' => 37, 'SL' => 192, 'SM' => 186, 'SN' => 189, 'SO' => 195, 'SR' => 199, 'ST' => 187, 'SV' => 83, 'SY' => 202, 'SZ' => 201, 'TC' => 213, 'TD' => 67, 'TF' => 243, 'TG' => 33, 'TH' => 206, 'TJ' => 204, 'TK' => 207, 'TL' => 80, 'TM' => 212, 'TN' => 210, 'TO' => 208, 'TR' => 211, 'TT' => 209, 'TV' => 214, 'TW' => 203, 'TZ' => 205, 'UA' => 216, 'UG' => 215, 'US' => 21, 'UY' => 218, 'UZ' => 219, 'VA' => 107, 'VC' => 184, 'VE' => 221, 'VG' => 223, 'VI' => 224, 'VN' => 222, 'VU' => 220, 'WF' => 225, 'WS' => 185, 'YE' => 227, 'YT' => 144, 'ZA' => 30, 'ZM' => 228, 'ZW' => 229,
+ );
+ return isset($isos[strtoupper($iso_code)])? $isos[strtoupper($iso_code)]: 0;
+ }
+
+}
\ No newline at end of file