Modif du template de mail
This commit is contained in:
18
templates/pdf/aomc/I18n/ar_SA.php
Normal file
18
templates/pdf/aomc/I18n/ar_SA.php
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'DELIVERY' => 'التوصيل',
|
||||||
|
'Delivery address' => 'عنوان التوصيل',
|
||||||
|
'Delivery module' => 'طريقة التوصيل',
|
||||||
|
'Discount' => 'خصم',
|
||||||
|
'INVOICE' => 'الفاتورة',
|
||||||
|
'Invoice REF' => 'مرجع الفاتورة',
|
||||||
|
'Postage' => 'الارسالية',
|
||||||
|
'Quantity' => 'الكمية',
|
||||||
|
'Ref' => 'المرجع',
|
||||||
|
'Total' => 'الإجمالي',
|
||||||
|
'Total with tax' => 'الإجمالي مع الضريبة',
|
||||||
|
'Total without tax' => 'المجموع بدون ضريبة',
|
||||||
|
'page' => 'الصفحة',
|
||||||
|
'product' => 'المنتج',
|
||||||
|
];
|
||||||
21
templates/pdf/aomc/I18n/cs_CZ.php
Normal file
21
templates/pdf/aomc/I18n/cs_CZ.php
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'Customer Number' => 'Číslo zákazníka',
|
||||||
|
'DELIVERY' => 'DODÁNÍ',
|
||||||
|
'Delivery address' => 'Doručovací adresa',
|
||||||
|
'Email: ' => 'Email: ',
|
||||||
|
'INVOICE' => 'FAKTURA',
|
||||||
|
'Invoice REF' => 'Faktura číslo',
|
||||||
|
'Invoice address' => 'Fakturační adresa',
|
||||||
|
'Phone: ' => 'Tel.: ',
|
||||||
|
'Quantity' => 'Množství',
|
||||||
|
'Ref' => 'Číslo',
|
||||||
|
'Total' => 'Celkem',
|
||||||
|
'Total with tax' => 'Celkem včetně daně',
|
||||||
|
'Total without tax' => 'Celkem bez daně',
|
||||||
|
'delivery.imprint' => 'delivery.imprint',
|
||||||
|
'invoice.imprint' => 'invoice.imprint',
|
||||||
|
'page' => 'stránka',
|
||||||
|
'product' => 'zboží',
|
||||||
|
];
|
||||||
31
templates/pdf/aomc/I18n/de_DE.php
Normal file
31
templates/pdf/aomc/I18n/de_DE.php
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'Customer Number' => 'Kundennummer',
|
||||||
|
'DELIVERY' => 'LIEFERUNG',
|
||||||
|
'Delivery address' => 'Lieferadresse',
|
||||||
|
'Delivery module' => 'Liefermodul',
|
||||||
|
'Discount' => 'Rabatt',
|
||||||
|
'Email: ' => 'E-Mail-Adresse: ',
|
||||||
|
'INVOICE' => 'RECHNUNG',
|
||||||
|
'Invoice REF' => 'Rechnungs REF',
|
||||||
|
'Invoice address' => 'Rechungsadresse',
|
||||||
|
'Invoice date' => 'Rechnungsdatum',
|
||||||
|
'Payment module' => 'Zahlungsmodul',
|
||||||
|
'Phone: ' => 'Telefonnummer: ',
|
||||||
|
'Postage' => 'Porto',
|
||||||
|
'Product' => 'Produkt',
|
||||||
|
'Quantity' => 'Menge',
|
||||||
|
'Ref' => 'REF',
|
||||||
|
'Tax' => 'Taxe',
|
||||||
|
'Taxed total' => 'Gesamtsumme',
|
||||||
|
'Total' => 'Gesamtsumme',
|
||||||
|
'Total with tax' => 'Gesamtpreis inkl. Steuern',
|
||||||
|
'Total without tax' => 'Gesamtpreis exkl. Steuern',
|
||||||
|
'Unit taxed price' => 'Besteuert Einzelpreis',
|
||||||
|
'Unit. price' => 'Einzelpreis',
|
||||||
|
'delivery.imprint' => 'delivery.imprint',
|
||||||
|
'invoice.imprint' => 'invoice.imprint',
|
||||||
|
'page' => 'Seite',
|
||||||
|
'product' => 'Produkt',
|
||||||
|
];
|
||||||
15
templates/pdf/aomc/I18n/el_GR.php
Normal file
15
templates/pdf/aomc/I18n/el_GR.php
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'DELIVERY' => 'ΠΑΡΑΔΟΣΗ',
|
||||||
|
'Delivery address' => 'Διεύθυνση παράδοσης',
|
||||||
|
'INVOICE' => 'ΤΙΜΟΛΟΓΙΟ',
|
||||||
|
'Invoice REF' => 'Αναφ Τιμολογίου',
|
||||||
|
'Quantity' => 'Ποσότητα',
|
||||||
|
'Ref' => 'Αναφ',
|
||||||
|
'Total' => 'Σύνολο',
|
||||||
|
'Total with tax' => 'Σύνολο με ΦΠΑ',
|
||||||
|
'Total without tax' => 'Σύνολο χωρίς ΦΠΑ',
|
||||||
|
'page' => 'σελίδα',
|
||||||
|
'product' => 'προϊόν',
|
||||||
|
];
|
||||||
33
templates/pdf/aomc/I18n/en_US.php
Executable file
33
templates/pdf/aomc/I18n/en_US.php
Executable file
@@ -0,0 +1,33 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'Combination ref : ' => 'Combination ref : ',
|
||||||
|
'Customer Number' => 'Customer Number',
|
||||||
|
'DELIVERY' => 'DELIVERY',
|
||||||
|
'Delivery address' => 'Delivery address',
|
||||||
|
'Delivery module' => 'Delivery module',
|
||||||
|
'Discount tax' => 'Discount tax',
|
||||||
|
'Discount with tax' => 'Discount with tax',
|
||||||
|
'Email: ' => 'Email: ',
|
||||||
|
'INVOICE' => 'INVOICE',
|
||||||
|
'Invoice REF' => 'Invoice REF',
|
||||||
|
'Invoice address' => 'Invoice address',
|
||||||
|
'Invoice date' => 'Invoice date',
|
||||||
|
'Payment module' => 'Payment module',
|
||||||
|
'Phone: ' => 'Phone: ',
|
||||||
|
'Postage' => 'Postage',
|
||||||
|
'Product' => 'Product',
|
||||||
|
'Product ref : ' => 'Product ref : ',
|
||||||
|
'Quantity' => 'Quantity',
|
||||||
|
'Ref' => 'Ref',
|
||||||
|
'Shipping tax' => 'Shipping tax',
|
||||||
|
'Tax' => 'Tax',
|
||||||
|
'Taxed total' => 'Taxed total',
|
||||||
|
'Total' => 'Total',
|
||||||
|
'Total with tax' => 'Total incl. tax',
|
||||||
|
'Total without tax' => 'Total without tax',
|
||||||
|
'Unit taxed price' => 'Unit taxed price',
|
||||||
|
'Unit. price' => 'Unit. price',
|
||||||
|
'page' => 'page',
|
||||||
|
'product' => 'product',
|
||||||
|
);
|
||||||
31
templates/pdf/aomc/I18n/es_ES.php
Executable file
31
templates/pdf/aomc/I18n/es_ES.php
Executable file
@@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'Customer Number' => 'Número de cliente',
|
||||||
|
'DELIVERY' => 'ENTREGA',
|
||||||
|
'Delivery address' => 'Dirección de entrega',
|
||||||
|
'Delivery module' => 'Módulo de entrega',
|
||||||
|
'Discount' => 'Descuento',
|
||||||
|
'Email: ' => 'Correo electrónico: ',
|
||||||
|
'INVOICE' => 'FACTURA',
|
||||||
|
'Invoice REF' => 'REF de factura ',
|
||||||
|
'Invoice address' => 'Dirección de facturación',
|
||||||
|
'Invoice date' => 'Fecha factura',
|
||||||
|
'Payment module' => 'Módulo de pago',
|
||||||
|
'Phone: ' => 'Teléfono: ',
|
||||||
|
'Postage' => 'Gastos de envío',
|
||||||
|
'Product' => 'Producto',
|
||||||
|
'Quantity' => 'Cantidad',
|
||||||
|
'Ref' => 'Ref',
|
||||||
|
'Tax' => 'Impuestos',
|
||||||
|
'Taxed total' => 'Total impuesto',
|
||||||
|
'Total' => 'Total',
|
||||||
|
'Total with tax' => 'Total IVA inc.',
|
||||||
|
'Total without tax' => 'Total sin impuestos',
|
||||||
|
'Unit taxed price' => 'Precio unitario IVA incluido',
|
||||||
|
'Unit. price' => 'Precio unitario',
|
||||||
|
'delivery.imprint' => 'delivery.imprint',
|
||||||
|
'invoice.imprint' => 'invoice.Imprint',
|
||||||
|
'page' => 'Página',
|
||||||
|
'product' => 'producto',
|
||||||
|
];
|
||||||
31
templates/pdf/aomc/I18n/fa_IR.php
Normal file
31
templates/pdf/aomc/I18n/fa_IR.php
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'Customer Number' => 'شماره مشتری',
|
||||||
|
'DELIVERY' => 'تحویل',
|
||||||
|
'Delivery address' => 'آدرس تحویل',
|
||||||
|
'Delivery module' => 'ماژول تحویل',
|
||||||
|
'Discount' => 'تخفیف',
|
||||||
|
'Email: ' => 'ایمیل: ',
|
||||||
|
'INVOICE' => 'فاکتور',
|
||||||
|
'Invoice REF' => 'شماره صورت حساب',
|
||||||
|
'Invoice address' => 'آدرس صورتحساب',
|
||||||
|
'Invoice date' => 'تاریخ فاکتور',
|
||||||
|
'Payment module' => 'ماژول پرداخت',
|
||||||
|
'Phone: ' => 'شماره تماس: ',
|
||||||
|
'Postage' => 'هزینه پست',
|
||||||
|
'Product' => 'محصول',
|
||||||
|
'Quantity' => 'تعداد',
|
||||||
|
'Ref' => 'شماره',
|
||||||
|
'Tax' => 'مالیات',
|
||||||
|
'Taxed total' => 'مجموع (با مالیات)',
|
||||||
|
'Total' => 'مجموع',
|
||||||
|
'Total with tax' => 'مجموع (با مالیات)',
|
||||||
|
'Total without tax' => 'مجموع (بدون مالیات)',
|
||||||
|
'Unit taxed price' => 'قیمت واحد مالیات خورده',
|
||||||
|
'Unit. price' => 'قیمت واحد',
|
||||||
|
'delivery.imprint' => 'delivery.imprint',
|
||||||
|
'invoice.imprint' => 'invoice.imprint',
|
||||||
|
'page' => 'صفحه',
|
||||||
|
'product' => 'محصول',
|
||||||
|
];
|
||||||
33
templates/pdf/aomc/I18n/fr_FR.php
Executable file
33
templates/pdf/aomc/I18n/fr_FR.php
Executable file
@@ -0,0 +1,33 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'Combination ref : ' => 'Réf. déclinaison',
|
||||||
|
'Customer Number' => 'Numéro de client',
|
||||||
|
'DELIVERY' => 'LIVRAISON',
|
||||||
|
'Delivery address' => 'Adresse de livraison',
|
||||||
|
'Delivery module' => 'Module de livraison',
|
||||||
|
'Discount with tax' => 'Remise TTC',
|
||||||
|
'Email: ' => 'Email :',
|
||||||
|
'INVOICE' => 'FACTURE',
|
||||||
|
'Invoice REF' => 'Numéro de facture',
|
||||||
|
'Invoice address' => 'Adresse de facturation',
|
||||||
|
'Invoice date' => 'Date de facturation',
|
||||||
|
'Payment module' => 'Module de paiement',
|
||||||
|
'Phone: ' => 'Tél.: ',
|
||||||
|
'Postage' => 'Frais de livraison TTC',
|
||||||
|
'Product' => 'Produit',
|
||||||
|
'Product ref : ' => 'Réf. produit',
|
||||||
|
'Quantity' => 'Quantité',
|
||||||
|
'Ref' => 'Réf.',
|
||||||
|
'Tax' => 'Taxe',
|
||||||
|
'Tax %name: %tax' => 'Dont %name: %tax',
|
||||||
|
'Tax: %tax' => 'Dont taxe %tax',
|
||||||
|
'Taxed total' => 'Total TTC',
|
||||||
|
'Total' => 'Total',
|
||||||
|
'Total with tax' => 'Total TTC',
|
||||||
|
'Total without tax' => 'Total HT',
|
||||||
|
'Unit taxed price' => 'Prix unitaire TTC',
|
||||||
|
'Unit. price' => 'Prix unitaire',
|
||||||
|
'page' => 'page',
|
||||||
|
'product' => 'Produit',
|
||||||
|
);
|
||||||
18
templates/pdf/aomc/I18n/hu_HU.php
Normal file
18
templates/pdf/aomc/I18n/hu_HU.php
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'Customer Number' => 'Ügyfélszám',
|
||||||
|
'Delivery address' => 'Szállítáci cím',
|
||||||
|
'Delivery module' => 'Szállítási modul',
|
||||||
|
'Discount' => 'Kedvezmény',
|
||||||
|
'Invoice date' => 'Számla kelte',
|
||||||
|
'Payment module' => 'Fizetési modul',
|
||||||
|
'Postage' => 'Szállítási költség',
|
||||||
|
'Product' => 'Termék',
|
||||||
|
'Quantity' => 'Mennyiség',
|
||||||
|
'Tax' => 'Adó',
|
||||||
|
'Taxed total' => 'Összesen (Bruttó)',
|
||||||
|
'Total' => 'Összesen',
|
||||||
|
'Unit taxed price' => 'Egységár (Bruttó)',
|
||||||
|
'Unit. price' => 'Egységár',
|
||||||
|
];
|
||||||
17
templates/pdf/aomc/I18n/id_ID.php
Normal file
17
templates/pdf/aomc/I18n/id_ID.php
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'DELIVERY' => 'PENGIRIMAN',
|
||||||
|
'Email: ' => 'E-mail: ',
|
||||||
|
'INVOICE' => 'FAKTUR',
|
||||||
|
'Invoice REF' => 'REF Faktur',
|
||||||
|
'Invoice address' => 'Alamat untuk faktur',
|
||||||
|
'Phone: ' => 'Telepon: ',
|
||||||
|
'Ref' => 'Ref',
|
||||||
|
'Total with tax' => 'Total termasuk pajak',
|
||||||
|
'Total without tax' => 'Total tanpa pajak',
|
||||||
|
'delivery.imprint' => 'jejak Pengiriman',
|
||||||
|
'invoice.imprint' => 'jejak Faktur',
|
||||||
|
'page' => 'halaman',
|
||||||
|
'product' => 'produk',
|
||||||
|
];
|
||||||
17
templates/pdf/aomc/I18n/it_IT.php
Executable file
17
templates/pdf/aomc/I18n/it_IT.php
Executable file
@@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'Delivery address' => 'Indirizzo di consegna',
|
||||||
|
'Delivery module' => 'Modulo di consegna',
|
||||||
|
'Discount' => 'Sconto',
|
||||||
|
'Invoice date' => 'Data della fattura',
|
||||||
|
'Payment module' => 'Modulo di pagamento',
|
||||||
|
'Postage' => 'Spese di spedizione',
|
||||||
|
'Product' => 'Prodotto',
|
||||||
|
'Quantity' => 'Quantità',
|
||||||
|
'Tax' => 'Tassa',
|
||||||
|
'Taxed total' => 'Totale tassato',
|
||||||
|
'Total' => 'Totale',
|
||||||
|
'Unit taxed price' => 'Prezzo unitario tassato',
|
||||||
|
'Unit. price' => 'Prezzo unitario',
|
||||||
|
];
|
||||||
6
templates/pdf/aomc/I18n/nl_NL.php
Normal file
6
templates/pdf/aomc/I18n/nl_NL.php
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'page' => 'pagina',
|
||||||
|
'product' => 'product',
|
||||||
|
];
|
||||||
18
templates/pdf/aomc/I18n/pl_PL.php
Normal file
18
templates/pdf/aomc/I18n/pl_PL.php
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'Customer Number' => 'Numer klienta',
|
||||||
|
'DELIVERY' => 'DOSTAWA',
|
||||||
|
'Delivery address' => 'Adres dostawy',
|
||||||
|
'Email: ' => 'Email: ',
|
||||||
|
'INVOICE' => 'FAKTURA',
|
||||||
|
'Invoice REF' => 'Numer faktury',
|
||||||
|
'Invoice address' => 'Adres rozliczeniowy (do faktury)',
|
||||||
|
'Phone: ' => 'Telefon: ',
|
||||||
|
'Total with tax' => 'Suma brutto',
|
||||||
|
'Total without tax' => 'Suma netto',
|
||||||
|
'delivery.imprint' => 'delivery.imprint',
|
||||||
|
'invoice.imprint' => 'invoice.imprint',
|
||||||
|
'page' => 'strona',
|
||||||
|
'product' => 'produkt',
|
||||||
|
];
|
||||||
21
templates/pdf/aomc/I18n/pt_BR.php
Normal file
21
templates/pdf/aomc/I18n/pt_BR.php
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'Customer Number' => 'Número do cliente',
|
||||||
|
'DELIVERY' => 'ENTREGA',
|
||||||
|
'Delivery address' => 'Endereço de entrega',
|
||||||
|
'Email: ' => 'Email',
|
||||||
|
'INVOICE' => 'Fatura',
|
||||||
|
'Invoice REF' => 'Ref de fatura',
|
||||||
|
'Invoice address' => 'Endereço de fatura',
|
||||||
|
'Phone: ' => 'Telefone',
|
||||||
|
'Quantity' => 'Quantidade',
|
||||||
|
'Ref' => 'Ref',
|
||||||
|
'Total' => 'Total',
|
||||||
|
'Total with tax' => 'Preço Final c/ impostos',
|
||||||
|
'Total without tax' => 'Preço final s/ impostos',
|
||||||
|
'delivery.imprint' => 'delivery.imprint',
|
||||||
|
'invoice.imprint' => 'invoice.imprint',
|
||||||
|
'page' => 'página',
|
||||||
|
'product' => 'produto',
|
||||||
|
];
|
||||||
15
templates/pdf/aomc/I18n/pt_PT.php
Normal file
15
templates/pdf/aomc/I18n/pt_PT.php
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'DELIVERY' => 'ENTREGA',
|
||||||
|
'Email: ' => 'Email: ',
|
||||||
|
'INVOICE' => 'FATURA',
|
||||||
|
'Invoice REF' => 'Referencia da factura',
|
||||||
|
'Invoice address' => 'Morada de facturação',
|
||||||
|
'Phone: ' => 'Telefone: ',
|
||||||
|
'Ref' => 'Ref',
|
||||||
|
'Total with tax' => 'Total (com IVA)',
|
||||||
|
'Total without tax' => 'Total (sem IVA)',
|
||||||
|
'page' => 'página',
|
||||||
|
'product' => 'produto',
|
||||||
|
];
|
||||||
29
templates/pdf/aomc/I18n/ru_RU.php
Normal file
29
templates/pdf/aomc/I18n/ru_RU.php
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'Customer Number' => 'Номер клиента',
|
||||||
|
'DELIVERY' => 'ДОСТАВКА',
|
||||||
|
'Delivery address' => 'Адрес доставки',
|
||||||
|
'Delivery module' => 'Модуль доставки',
|
||||||
|
'Discount' => 'Скидка',
|
||||||
|
'Email: ' => 'Эл.почта: ',
|
||||||
|
'INVOICE' => 'СЧЕТ-ФАКТУРА',
|
||||||
|
'Invoice REF' => 'Счет-фактура номер',
|
||||||
|
'Invoice address' => 'Адрес плательщика',
|
||||||
|
'Invoice date' => 'Дата счет-фактуры',
|
||||||
|
'Payment module' => 'Модуль оплаты',
|
||||||
|
'Phone: ' => 'Телефон: ',
|
||||||
|
'Postage' => 'Почтовые расходы',
|
||||||
|
'Product' => 'Товар',
|
||||||
|
'Quantity' => 'Количество',
|
||||||
|
'Ref' => 'Номер',
|
||||||
|
'Tax' => 'Налог',
|
||||||
|
'Taxed total' => 'Цена с налогом',
|
||||||
|
'Total' => 'Итого',
|
||||||
|
'Total with tax' => 'Итого с налогом',
|
||||||
|
'Total without tax' => 'Итого без налога',
|
||||||
|
'Unit taxed price' => 'Цена с налогом ед.',
|
||||||
|
'Unit. price' => 'Цена ед.',
|
||||||
|
'page' => 'страница',
|
||||||
|
'product' => 'товар',
|
||||||
|
);
|
||||||
24
templates/pdf/aomc/I18n/sk_SK.php
Normal file
24
templates/pdf/aomc/I18n/sk_SK.php
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'Customer Number' => 'Zákaznícke číslo',
|
||||||
|
'DELIVERY' => 'DODANIE',
|
||||||
|
'Delivery address' => 'Adresa doručenia',
|
||||||
|
'Email: ' => 'E-mail: ',
|
||||||
|
'INVOICE' => 'FAKTÚRA',
|
||||||
|
'Invoice REF' => 'Číslo Faktúry',
|
||||||
|
'Invoice address' => 'Fakturačná adresa',
|
||||||
|
'Phone: ' => 'Telefón: ',
|
||||||
|
'Quantity' => 'Množstvo',
|
||||||
|
'Ref' => 'Kód',
|
||||||
|
'Tax' => 'Daň',
|
||||||
|
'Total' => 'Celkom',
|
||||||
|
'Total with tax' => 'Celkom vrátane dane',
|
||||||
|
'Total without tax' => 'Celkom bez dane',
|
||||||
|
'Unit taxed price' => 'Jednotková cena s daňou',
|
||||||
|
'Unit. price' => 'Jednotková cena',
|
||||||
|
'delivery.imprint' => 'delivery.imprint',
|
||||||
|
'invoice.imprint' => 'invoice.imprint',
|
||||||
|
'page' => 'stránka',
|
||||||
|
'product' => 'produkt',
|
||||||
|
];
|
||||||
31
templates/pdf/aomc/I18n/tr_TR.php
Normal file
31
templates/pdf/aomc/I18n/tr_TR.php
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'Customer Number' => 'Müşteri numarası',
|
||||||
|
'DELIVERY' => 'TESLİMAT',
|
||||||
|
'Delivery address' => 'Teslimat adresi',
|
||||||
|
'Delivery module' => 'Teslimat modülü',
|
||||||
|
'Discount' => 'İndirim',
|
||||||
|
'Email: ' => 'Eposta: ',
|
||||||
|
'INVOICE' => 'FATURA',
|
||||||
|
'Invoice REF' => 'Fatura ürün kodu',
|
||||||
|
'Invoice address' => 'Fatura Adresi',
|
||||||
|
'Invoice date' => 'Fatura tarihi',
|
||||||
|
'Payment module' => 'Ödeme modülü',
|
||||||
|
'Phone: ' => 'Telefon: ',
|
||||||
|
'Postage' => 'Posta',
|
||||||
|
'Product' => 'ürün',
|
||||||
|
'Quantity' => 'Adet',
|
||||||
|
'Ref' => 'Referans',
|
||||||
|
'Tax' => 'Kdv',
|
||||||
|
'Taxed total' => 'Genel Toplam [Kdv dahil]',
|
||||||
|
'Total' => 'Toplam',
|
||||||
|
'Total with tax' => 'Genel Toplam [Kdv dahil]',
|
||||||
|
'Total without tax' => 'Kdv toplam',
|
||||||
|
'Unit taxed price' => 'Birim kdv fiyatı',
|
||||||
|
'Unit. price' => 'Birim Fiyatı',
|
||||||
|
'delivery.imprint' => 'Teslimat Şekli',
|
||||||
|
'invoice.imprint' => 'Fatura Şekli',
|
||||||
|
'page' => 'sayfa',
|
||||||
|
'product' => 'Ürün',
|
||||||
|
];
|
||||||
165
templates/pdf/aomc/LICENSE.txt
Normal file
165
templates/pdf/aomc/LICENSE.txt
Normal file
@@ -0,0 +1,165 @@
|
|||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
|
||||||
|
This version of the GNU Lesser General Public License incorporates
|
||||||
|
the terms and conditions of version 3 of the GNU General Public
|
||||||
|
License, supplemented by the additional permissions listed below.
|
||||||
|
|
||||||
|
0. Additional Definitions.
|
||||||
|
|
||||||
|
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||||
|
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||||
|
General Public License.
|
||||||
|
|
||||||
|
"The Library" refers to a covered work governed by this License,
|
||||||
|
other than an Application or a Combined Work as defined below.
|
||||||
|
|
||||||
|
An "Application" is any work that makes use of an interface provided
|
||||||
|
by the Library, but which is not otherwise based on the Library.
|
||||||
|
Defining a subclass of a class defined by the Library is deemed a mode
|
||||||
|
of using an interface provided by the Library.
|
||||||
|
|
||||||
|
A "Combined Work" is a work produced by combining or linking an
|
||||||
|
Application with the Library. The particular version of the Library
|
||||||
|
with which the Combined Work was made is also called the "Linked
|
||||||
|
Version".
|
||||||
|
|
||||||
|
The "Minimal Corresponding Source" for a Combined Work means the
|
||||||
|
Corresponding Source for the Combined Work, excluding any source code
|
||||||
|
for portions of the Combined Work that, considered in isolation, are
|
||||||
|
based on the Application, and not on the Linked Version.
|
||||||
|
|
||||||
|
The "Corresponding Application Code" for a Combined Work means the
|
||||||
|
object code and/or source code for the Application, including any data
|
||||||
|
and utility programs needed for reproducing the Combined Work from the
|
||||||
|
Application, but excluding the System Libraries of the Combined Work.
|
||||||
|
|
||||||
|
1. Exception to Section 3 of the GNU GPL.
|
||||||
|
|
||||||
|
You may convey a covered work under sections 3 and 4 of this License
|
||||||
|
without being bound by section 3 of the GNU GPL.
|
||||||
|
|
||||||
|
2. Conveying Modified Versions.
|
||||||
|
|
||||||
|
If you modify a copy of the Library, and, in your modifications, a
|
||||||
|
facility refers to a function or data to be supplied by an Application
|
||||||
|
that uses the facility (other than as an argument passed when the
|
||||||
|
facility is invoked), then you may convey a copy of the modified
|
||||||
|
version:
|
||||||
|
|
||||||
|
a) under this License, provided that you make a good faith effort to
|
||||||
|
ensure that, in the event an Application does not supply the
|
||||||
|
function or data, the facility still operates, and performs
|
||||||
|
whatever part of its purpose remains meaningful, or
|
||||||
|
|
||||||
|
b) under the GNU GPL, with none of the additional permissions of
|
||||||
|
this License applicable to that copy.
|
||||||
|
|
||||||
|
3. Object Code Incorporating Material from Library Header Files.
|
||||||
|
|
||||||
|
The object code form of an Application may incorporate material from
|
||||||
|
a header file that is part of the Library. You may convey such object
|
||||||
|
code under terms of your choice, provided that, if the incorporated
|
||||||
|
material is not limited to numerical parameters, data structure
|
||||||
|
layouts and accessors, or small macros, inline functions and templates
|
||||||
|
(ten or fewer lines in length), you do both of the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the object code that the
|
||||||
|
Library is used in it and that the Library and its use are
|
||||||
|
covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||||
|
document.
|
||||||
|
|
||||||
|
4. Combined Works.
|
||||||
|
|
||||||
|
You may convey a Combined Work under terms of your choice that,
|
||||||
|
taken together, effectively do not restrict modification of the
|
||||||
|
portions of the Library contained in the Combined Work and reverse
|
||||||
|
engineering for debugging such modifications, if you also do each of
|
||||||
|
the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the Combined Work that
|
||||||
|
the Library is used in it and that the Library and its use are
|
||||||
|
covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||||
|
document.
|
||||||
|
|
||||||
|
c) For a Combined Work that displays copyright notices during
|
||||||
|
execution, include the copyright notice for the Library among
|
||||||
|
these notices, as well as a reference directing the user to the
|
||||||
|
copies of the GNU GPL and this license document.
|
||||||
|
|
||||||
|
d) Do one of the following:
|
||||||
|
|
||||||
|
0) Convey the Minimal Corresponding Source under the terms of this
|
||||||
|
License, and the Corresponding Application Code in a form
|
||||||
|
suitable for, and under terms that permit, the user to
|
||||||
|
recombine or relink the Application with a modified version of
|
||||||
|
the Linked Version to produce a modified Combined Work, in the
|
||||||
|
manner specified by section 6 of the GNU GPL for conveying
|
||||||
|
Corresponding Source.
|
||||||
|
|
||||||
|
1) Use a suitable shared library mechanism for linking with the
|
||||||
|
Library. A suitable mechanism is one that (a) uses at run time
|
||||||
|
a copy of the Library already present on the user's computer
|
||||||
|
system, and (b) will operate properly with a modified version
|
||||||
|
of the Library that is interface-compatible with the Linked
|
||||||
|
Version.
|
||||||
|
|
||||||
|
e) Provide Installation Information, but only if you would otherwise
|
||||||
|
be required to provide such information under section 6 of the
|
||||||
|
GNU GPL, and only to the extent that such information is
|
||||||
|
necessary to install and execute a modified version of the
|
||||||
|
Combined Work produced by recombining or relinking the
|
||||||
|
Application with a modified version of the Linked Version. (If
|
||||||
|
you use option 4d0, the Installation Information must accompany
|
||||||
|
the Minimal Corresponding Source and Corresponding Application
|
||||||
|
Code. If you use option 4d1, you must provide the Installation
|
||||||
|
Information in the manner specified by section 6 of the GNU GPL
|
||||||
|
for conveying Corresponding Source.)
|
||||||
|
|
||||||
|
5. Combined Libraries.
|
||||||
|
|
||||||
|
You may place library facilities that are a work based on the
|
||||||
|
Library side by side in a single library together with other library
|
||||||
|
facilities that are not Applications and are not covered by this
|
||||||
|
License, and convey such a combined library under terms of your
|
||||||
|
choice, if you do both of the following:
|
||||||
|
|
||||||
|
a) Accompany the combined library with a copy of the same work based
|
||||||
|
on the Library, uncombined with any other library facilities,
|
||||||
|
conveyed under the terms of this License.
|
||||||
|
|
||||||
|
b) Give prominent notice with the combined library that part of it
|
||||||
|
is a work based on the Library, and explaining where to find the
|
||||||
|
accompanying uncombined form of the same work.
|
||||||
|
|
||||||
|
6. Revised Versions of the GNU Lesser General Public License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the GNU Lesser General Public License from time to time. Such new
|
||||||
|
versions will be similar in spirit to the present version, but may
|
||||||
|
differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Library as you received it specifies that a certain numbered version
|
||||||
|
of the GNU Lesser General Public License "or any later version"
|
||||||
|
applies to it, you have the option of following the terms and
|
||||||
|
conditions either of that published version or of any later version
|
||||||
|
published by the Free Software Foundation. If the Library as you
|
||||||
|
received it does not specify a version number of the GNU Lesser
|
||||||
|
General Public License, you may choose any version of the GNU Lesser
|
||||||
|
General Public License ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Library as you received it specifies that a proxy can decide
|
||||||
|
whether future versions of the GNU Lesser General Public License shall
|
||||||
|
apply, that proxy's public statement of acceptance of any version is
|
||||||
|
permanent authorization for you to choose that version for the
|
||||||
|
Library.
|
||||||
18
templates/pdf/aomc/Readme.md
Normal file
18
templates/pdf/aomc/Readme.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
Readme
|
||||||
|
======
|
||||||
|
|
||||||
|
## This is the repository of Thelia default pdf template. All the pull requests on this repo will be ignored.
|
||||||
|
### If you want to create a project, please take a look at [thelia/thelia-project](https://github.com/thelia/thelia-project)
|
||||||
|
### If you want to contribute to Thelia, please take a look at [thelia/thelia](https://github.com/thelia/thelia)
|
||||||
|
|
||||||
|
Thelia
|
||||||
|
------
|
||||||
|
[](https://travis-ci.org/thelia/thelia) [](https://packagist.org/packages/thelia/thelia) [](https://scrutinizer-ci.com/g/thelia/thelia/)
|
||||||
|
|
||||||
|
[Thelia](http://thelia.net/) is an open source tool for creating e-business websites and managing online content. This software is published under LGPL.
|
||||||
|
|
||||||
|
This is the new major version of Thelia.
|
||||||
|
|
||||||
|
You can download this version and have a try or take a look at the source code (or anything you wish, respecting LGPL). See http://thelia.net/ web site for more information.
|
||||||
|
|
||||||
|
A repository containing all thelia modules is available at this address : https://github.com/thelia-modules
|
||||||
10
templates/pdf/aomc/composer.json
Normal file
10
templates/pdf/aomc/composer.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"name": "thelia/pdf-default-template",
|
||||||
|
"type": "thelia-pdf-template",
|
||||||
|
"require": {
|
||||||
|
"thelia/installer": "~1.1"
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"installer-name": "default"
|
||||||
|
}
|
||||||
|
}
|
||||||
281
templates/pdf/aomc/delivery.html
Normal file
281
templates/pdf/aomc/delivery.html
Normal file
@@ -0,0 +1,281 @@
|
|||||||
|
{*************************************************************************************/
|
||||||
|
/* This file is part of the Thelia package. */
|
||||||
|
/* */
|
||||||
|
/* Copyright (c) OpenStudio */
|
||||||
|
/* email : dev@thelia.net */
|
||||||
|
/* web : http://www.thelia.net */
|
||||||
|
/* */
|
||||||
|
/* For the full copyright and license information, please view the LICENSE.txt */
|
||||||
|
/* file that was distributed with this source code. */
|
||||||
|
/*************************************************************************************}
|
||||||
|
|
||||||
|
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
|
||||||
|
{default_translation_domain domain='pdf.default'}
|
||||||
|
{literal}
|
||||||
|
<style>
|
||||||
|
h1, h2, h3, h4 {
|
||||||
|
color:#f6993c;
|
||||||
|
margin: .5em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
color:#58585a;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p, td {
|
||||||
|
color:#58585a;
|
||||||
|
font-size: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: .5em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
font-size: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-info h3 {
|
||||||
|
font-size: 18px;
|
||||||
|
color: #58585a;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-info h3 span {
|
||||||
|
font-size: 18px;
|
||||||
|
color: #f6993c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-1 td {
|
||||||
|
background: #f1f3f4;
|
||||||
|
border:solid 1px #bcbdc0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-2 td {
|
||||||
|
border:solid 1px #bcbdc0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.table-3-1, .table-3-2 {
|
||||||
|
border: solid 1px #bcbdc0;
|
||||||
|
}
|
||||||
|
.table-3-1 p {
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
.table-3-2 p {
|
||||||
|
font-size: 9px;
|
||||||
|
color: #747475;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-3-module h3 {
|
||||||
|
margin-top: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-3-module span {
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.align-left {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.align-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.align-right{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.clear {
|
||||||
|
padding: 0.5%;
|
||||||
|
border-bottom:solid 1px #dddddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.clear-none {
|
||||||
|
padding: 0.5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
{hook name="delivery.css"}
|
||||||
|
</style>
|
||||||
|
{/literal}
|
||||||
|
<page backtop="10mm" backleft="10mm" backright="10mm" backbottom="10mm">
|
||||||
|
<page_header>
|
||||||
|
{hook name="delivery.header" order=$order_id}
|
||||||
|
</page_header>
|
||||||
|
|
||||||
|
<page_footer>
|
||||||
|
{hook name="delivery.footer-top" order=$order_id}
|
||||||
|
<table>
|
||||||
|
<col style="width: 80%; padding: 1mm; border: none; text-align: left;" />
|
||||||
|
<col style="width: 20%; padding: 1mm; border: none; text-align: right;" />
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
{hook name="delivery.imprint" order=$order_id}
|
||||||
|
{elsehook rel="delivery.imprint"}
|
||||||
|
<!-- Imprint -->
|
||||||
|
{config key="store_name"}
|
||||||
|
{$addresses="{config key='store_address1'} {config key='store_address2'} {config key='store_address3'}"}
|
||||||
|
{$city="{config key='store_zipcode'} {config key='store_city'}"}
|
||||||
|
{if $addresses != " "}- {$addresses}{/if}
|
||||||
|
{if $city != " " }- {$city}{/if}
|
||||||
|
{if {config key="store_country"} }
|
||||||
|
{loop type="country" visible="*" name="address.country.title" id={config key="store_country"}} - {$TITLE}{/loop}
|
||||||
|
{/if}
|
||||||
|
{if {config key="store_business_id"} }
|
||||||
|
- {config key="store_business_id"}
|
||||||
|
{/if}
|
||||||
|
<br>
|
||||||
|
{if {config key="store_phone"} }
|
||||||
|
{intl l="Phone: "}{config key="store_phone"}
|
||||||
|
{/if}
|
||||||
|
{if {config key="store_email"} }
|
||||||
|
{intl l="Email: "}{config key="store_email"}
|
||||||
|
{/if}
|
||||||
|
{/elsehook}
|
||||||
|
</td>
|
||||||
|
<td>{intl l="page"} [[page_cu]]/[[page_nb]]</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
{hook name="delivery.footer-bottom" order=$order_id}
|
||||||
|
</page_footer>
|
||||||
|
|
||||||
|
{loop name="order.invoice" type="order" id=$order_id customer="*"}
|
||||||
|
|
||||||
|
<table class="table-info">
|
||||||
|
<col style="width: 100%; padding: 0mm;" />
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<h1>{intl l="DELIVERY"}</h1>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><h3>{intl l="Invoice date"} : <span>{format_date date=$INVOICE_DATE output="date"}</span></h3></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><h3>{intl l="Invoice REF"} : <span>{$REF}</span></h3></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><h3>{intl l="Customer Number"} : <span>{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}</span></h3></td>
|
||||||
|
</tr>
|
||||||
|
{hookblock name="delivery.information" order=$order_id fields="title,value"}
|
||||||
|
{forhook rel="delivery.information"}
|
||||||
|
<tr>
|
||||||
|
<td><h3>{$title} : <span>{$value}</span></h3></td>
|
||||||
|
</tr>
|
||||||
|
{/forhook}
|
||||||
|
{/hookblock}
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{hook name="delivery.after-information" order=$order_id}
|
||||||
|
|
||||||
|
<table class="table-address">
|
||||||
|
<col style="width: 50%; padding: 3mm;" />
|
||||||
|
<col style="padding: 3mm;" />
|
||||||
|
<tr>
|
||||||
|
<td style="border-left: solid 1mm #f6993c;" >
|
||||||
|
<h3>{intl l="Delivery address"}</h3>
|
||||||
|
{ifhook rel="delivery.delivery-address"}
|
||||||
|
{* delivery module can customize the delivery address *}
|
||||||
|
{hook name="delivery.delivery-address" module={$DELIVERY_MODULE} order=$order_id}
|
||||||
|
{/ifhook}
|
||||||
|
{elsehook rel="delivery.delivery-address"}
|
||||||
|
{format_address order_address=$DELIVERY_ADDRESS locale=$locale}
|
||||||
|
{/elsehook}
|
||||||
|
</td>
|
||||||
|
<td style="border-left: solid 1mm #f6993c;">
|
||||||
|
<h3>{intl l="Invoice address"}</h3>
|
||||||
|
{format_address order_address=$INVOICE_ADDRESS locale=$locale}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{hook name="delivery.after-addresses" order=$order_id}
|
||||||
|
|
||||||
|
<table style="padding-top: 5mm;">
|
||||||
|
<col style="width: 23%; padding: 3mm;" />
|
||||||
|
<col style="width: 65%; padding: 3mm;" />
|
||||||
|
<col style="width: 12%; padding: 3mm;" />
|
||||||
|
<tr>
|
||||||
|
<td style="border:solid 1px #dddddd;background:#f1f3f4;" >
|
||||||
|
<h3 style="color:#58585a;">{intl l="Ref"}</h3>
|
||||||
|
</td>
|
||||||
|
<td style="border:solid 1px #dddddd;background:#f1f3f4;">
|
||||||
|
<h3 style="color:#58585a;">{intl l="product"}</h3>
|
||||||
|
</td>
|
||||||
|
<td style="border:solid 1px #dddddd;background-color:#f6993c;">
|
||||||
|
<h3 style="color:white; text-align:center;">{intl l="Quantity"}</h3>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{loop type="order_product" name="order-products" order=$ID}
|
||||||
|
<tr>
|
||||||
|
<td style="border:solid 1px #dddddd;">
|
||||||
|
<p>{$REF}</p>
|
||||||
|
{if $REF != $PRODUCT_SALE_ELEMENTS_REF}<p>{$PRODUCT_SALE_ELEMENTS_REF}</p>{/if}
|
||||||
|
</td>
|
||||||
|
<td style="border:solid 1px #dddddd;">
|
||||||
|
<p>{$TITLE}</p>
|
||||||
|
{ifloop rel="combinations"}
|
||||||
|
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
|
||||||
|
{$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}<br>
|
||||||
|
{/loop}
|
||||||
|
{/ifloop}
|
||||||
|
{hook name="delivery.product-list" order_product=$ID order=$order_id}
|
||||||
|
</td>
|
||||||
|
<td style="border:solid 1px #dddddd; text-align:center;">
|
||||||
|
<p>{$QUANTITY}</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
{hook name="delivery.order-product" order={$order_id} order_product={$ID}}
|
||||||
|
{/loop}
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table style="padding-top: 5mm;">
|
||||||
|
<col style="width: 40%; padding: 3mm;" />
|
||||||
|
<tr>
|
||||||
|
<td class="table-3-module" style="border-left:solid 3px #f6993c; padding-top: 2mm">
|
||||||
|
<h3>{intl l="Delivery module"}</h3>
|
||||||
|
<p>
|
||||||
|
<span>{loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}</span>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{hook name="delivery.after-delivery-module" order=$order_id module_id=$DELIVERY_MODULE}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="clear-none"></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{hook name="delivery.after-summary" order=$order_id}
|
||||||
|
|
||||||
|
{/loop}
|
||||||
|
</page>
|
||||||
369
templates/pdf/aomc/invoice.html
Normal file
369
templates/pdf/aomc/invoice.html
Normal file
@@ -0,0 +1,369 @@
|
|||||||
|
{*************************************************************************************/
|
||||||
|
/* This file is part of the Thelia package. */
|
||||||
|
/* */
|
||||||
|
/* Copyright (c) OpenStudio */
|
||||||
|
/* email : dev@thelia.net */
|
||||||
|
/* web : http://www.thelia.net */
|
||||||
|
/* */
|
||||||
|
/* For the full copyright and license information, please view the LICENSE.txt */
|
||||||
|
/* file that was distributed with this source code. */
|
||||||
|
/*************************************************************************************}
|
||||||
|
|
||||||
|
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
|
||||||
|
{default_translation_domain domain='pdf.default'}
|
||||||
|
{literal}
|
||||||
|
<style>
|
||||||
|
h1, h2, h3, h4 {
|
||||||
|
color:#545776;
|
||||||
|
margin: .5em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
color:#58585a;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p, td {
|
||||||
|
color:#58585a;
|
||||||
|
font-size: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: .5em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
font-size: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-info h3 {
|
||||||
|
font-size: 18px;
|
||||||
|
color: #58585a;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-info h3 span {
|
||||||
|
font-size: 18px;
|
||||||
|
color: #00b3ee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-1 td {
|
||||||
|
background: #f1f3f4;
|
||||||
|
border:solid 1px #bcbdc0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-2 td {
|
||||||
|
border:solid 1px #bcbdc0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.table-3-1, .table-3-2 {
|
||||||
|
border: solid 1px #bcbdc0;
|
||||||
|
}
|
||||||
|
.table-3-1 p {
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
.table-3-2 p {
|
||||||
|
font-size: 9px;
|
||||||
|
color: #747475;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-3-module h3 {
|
||||||
|
margin-top: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-3-module span {
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.align-left {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.align-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.align-right{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.clear {
|
||||||
|
padding: 0.5%;
|
||||||
|
border-bottom:solid 1px #dddddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.clear-none {
|
||||||
|
padding: 0.5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
{hook name="invoice.css"}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
{/literal}
|
||||||
|
<page backtop="10mm" backleft="10mm" backright="10mm" backbottom="10mm">
|
||||||
|
<page_header>
|
||||||
|
{hook name="invoice.header" order=$order_id}
|
||||||
|
</page_header>
|
||||||
|
|
||||||
|
<page_footer>
|
||||||
|
{hook name="invoice.footer-top" order=$order_id}
|
||||||
|
<table>
|
||||||
|
<col style="width: 80%; padding: 1mm; border: none; text-align: left;" />
|
||||||
|
<col style="width: 20%; padding: 1mm; border: none; text-align: right;" />
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
{hook name="invoice.imprint" order=$order_id}
|
||||||
|
{elsehook rel="invoice.imprint"}
|
||||||
|
<!-- Imprint -->
|
||||||
|
{config key="store_name"}
|
||||||
|
{$addresses="{config key="store_address1"} {config key="store_address2"} {config key="store_address3"}"}
|
||||||
|
{$city="{config key="store_zipcode"} {config key="store_city"}"}
|
||||||
|
{if $addresses != " "}- {$addresses}{/if}
|
||||||
|
{if $city != " " }- {$city}{/if}
|
||||||
|
{if {config key="store_country"} }
|
||||||
|
{loop type="country" visible="*" name="address.country.title" id={config key="store_country"}} - {$TITLE}{/loop}
|
||||||
|
{/if}
|
||||||
|
{if {config key="store_business_id"} }
|
||||||
|
- {config key="store_business_id"}
|
||||||
|
{/if}
|
||||||
|
<br>
|
||||||
|
{if {config key="store_phone"} }
|
||||||
|
{intl l="Phone: "}{config key="store_phone"}
|
||||||
|
{/if}
|
||||||
|
{if {config key="store_email"} }
|
||||||
|
{intl l="Email: "}{config key="store_email"}
|
||||||
|
{/if}
|
||||||
|
{/elsehook}
|
||||||
|
</td>
|
||||||
|
<td>{intl l="page"} [[page_cu]]/[[page_nb]]</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
{hook name="invoice.footer-bottom" order=$order_id}
|
||||||
|
</page_footer>
|
||||||
|
|
||||||
|
{$taxes = []}
|
||||||
|
|
||||||
|
{loop name="order.invoice" type="order" id=$order_id customer="*"}
|
||||||
|
<table class="table-info">
|
||||||
|
<col style="width: 100%; padding: 0mm;" />
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<h1>{intl l="INVOICE"}</h1>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><h3>{intl l="Invoice date"} : <span>{format_date date=$INVOICE_DATE output="date"}</span></h3></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><h3>{intl l="Invoice REF"} : <span>{$REF}</span></h3></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><h3>{intl l="Customer Number"} : <span>{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}</span></h3></td>
|
||||||
|
</tr>
|
||||||
|
{hookblock name="invoice.information" order=$order_id fields="title,value"}
|
||||||
|
{forhook rel="invoice.information"}
|
||||||
|
<tr>
|
||||||
|
<td><h3>{$title} : <span>{$value}</span></h3></td>
|
||||||
|
</tr>
|
||||||
|
{/forhook}
|
||||||
|
{/hookblock}
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{hook name="invoice.after-information" order=$order_id}
|
||||||
|
|
||||||
|
<table class="table-address">
|
||||||
|
<col style="width: 50%; padding: 3mm;" />
|
||||||
|
<col style="padding: 3mm;" />
|
||||||
|
<tr>
|
||||||
|
<td style="border-left: solid 1mm #545776;" >
|
||||||
|
<h3>{intl l="Delivery address"}</h3>
|
||||||
|
{ifhook rel="invoice.delivery-address"}
|
||||||
|
{* delivery module can customize the delivery address *}
|
||||||
|
{hook name="invoice.delivery-address" module={$DELIVERY_MODULE} order=$order_id}
|
||||||
|
{/ifhook}
|
||||||
|
{elsehook rel="invoice.delivery-address"}
|
||||||
|
{format_address order_address=$DELIVERY_ADDRESS locale=$locale}
|
||||||
|
{/elsehook}
|
||||||
|
</td>
|
||||||
|
<td style="border-left: solid 1mm #f6993c;">
|
||||||
|
<h3>{intl l="Invoice address"}</h3>
|
||||||
|
{format_address order_address=$INVOICE_ADDRESS locale=$locale}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{hook name="invoice.after-addresses" order=$order_id}
|
||||||
|
|
||||||
|
<table cellspacing="0" cellpadding="0" style="padding-top: 5mm;">
|
||||||
|
<col style="width: 40%; padding: 1mm;" />
|
||||||
|
<col style="width: 12%; padding: 1mm;" />
|
||||||
|
<col style="width: 12%; padding: 1mm;" />
|
||||||
|
<col style="width: 12%; padding: 1mm;" />
|
||||||
|
<col style="width: 12%; padding: 1mm;" />
|
||||||
|
<col style="width: 12%; padding: 1mm;" />
|
||||||
|
|
||||||
|
<tr class="table-1">
|
||||||
|
<td><h4>{intl l="Product"}</h4></td>
|
||||||
|
<td><h4 class="align-center">{intl l="Unit. price"}</h4></td>
|
||||||
|
<td><h4 class="align-center">{intl l="Tax"}</h4></td>
|
||||||
|
<td><h4 class="align-center">{intl l="Unit taxed price"}</h4></td>
|
||||||
|
<td><h4 class="align-center">{intl l="Quantity"}</h4></td>
|
||||||
|
<td style="background:#545776"><h4 style="color:white;" class="align-center">{intl l="Taxed total"}</h4></td>
|
||||||
|
</tr>
|
||||||
|
{loop type="order_product" name="order-products" order=$ID}
|
||||||
|
{if $WAS_IN_PROMO == 1}
|
||||||
|
{assign "realPrice" $PROMO_PRICE}
|
||||||
|
{assign "realTax" $PROMO_PRICE_TAX}
|
||||||
|
{assign "realTaxedPrice" $TAXED_PROMO_PRICE}
|
||||||
|
{assign "realTotalPrice" $TOTAL_TAXED_PROMO_PRICE}
|
||||||
|
{else}
|
||||||
|
{assign "realPrice" $PRICE}
|
||||||
|
{assign "realTax" $PRICE_TAX}
|
||||||
|
{assign "realTaxedPrice" $TAXED_PRICE}
|
||||||
|
{assign "realTotalPrice" $TOTAL_TAXED_PRICE}
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
{$taxes[{$TAX_RULE_TITLE}][] = floatval($realTax) * $QUANTITY}
|
||||||
|
|
||||||
|
<tr class="table-2">
|
||||||
|
<td>
|
||||||
|
<p>{$TITLE}</p>
|
||||||
|
<p>
|
||||||
|
{intl l="Product ref : "}{$REF}<br>
|
||||||
|
{intl l="Combination ref : "}{$PRODUCT_SALE_ELEMENTS_REF}
|
||||||
|
</p>
|
||||||
|
{ifloop rel="combinations"}
|
||||||
|
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
|
||||||
|
{$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}<br>
|
||||||
|
{/loop}
|
||||||
|
{/ifloop}
|
||||||
|
{hook name="invoice.product-list" order_product=$ID order=$order_id}
|
||||||
|
</td>
|
||||||
|
<td><p class="align-right">{format_money number=$realPrice currency_id=$CURRENCY}</p></td>
|
||||||
|
<td><p class="align-right">{format_money number=$realTax currency_id=$CURRENCY}</p></td>
|
||||||
|
<td><p class="align-right">{format_money number=$realTaxedPrice currency_id=$CURRENCY}</p></td>
|
||||||
|
<td><p class="align-center">{$QUANTITY}</p></td>
|
||||||
|
<td><p class="align-right">{format_money number=$realTotalPrice currency_id=$CURRENCY}</p></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
{hook name="invoice.order-product" order={$order_id} order_product={$ID}}
|
||||||
|
{/loop}
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{hook name="invoice.after-products" order=$order_id}
|
||||||
|
|
||||||
|
<table cellspacing="0" cellpadding="0" style="padding-top: 5mm;">
|
||||||
|
<col style="width: 60%; padding: 1mm;" />
|
||||||
|
<col style="width: 40%; padding: 1mm;" />
|
||||||
|
<tr>
|
||||||
|
<td class="table-3-module">
|
||||||
|
|
||||||
|
<h3>{intl l="Payment module"}</h3>
|
||||||
|
<p>
|
||||||
|
<span>{loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}</span>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{hook name="invoice.after-payment-module" order=$order_id module_id=$PAYMENT_MODULE}
|
||||||
|
|
||||||
|
|
||||||
|
<h3>{intl l="Delivery module"}</h3>
|
||||||
|
<p>
|
||||||
|
<span>{loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}</span>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{hook name="invoice.after-delivery-module" order=$order_id module_id=$DELIVERY_MODULE}
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<table class="table-3">
|
||||||
|
<col style="width: 50%; padding: 1mm;">
|
||||||
|
<col style="width: 50%; padding: 1mm;">
|
||||||
|
<tr>
|
||||||
|
<td class="table-3-1"><p>{intl l="Total without tax"}</p></td>
|
||||||
|
<td class="table-3-1 align-right"><p>{format_money number={$TOTAL_ITEMS_AMOUNT} currency_id=$CURRENCY}</p></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
{capture name="tax"}{strip}
|
||||||
|
{foreach $taxes as $name=>$prices}
|
||||||
|
{assign var="_price_taxe_" value="0"}
|
||||||
|
{foreach $prices as $price}
|
||||||
|
{$_price_taxe_= $_price_taxe_ + $price}
|
||||||
|
{/foreach}
|
||||||
|
{if $_price_taxe_ != 0}
|
||||||
|
<tr>
|
||||||
|
<td class="table-3-2"><p>{$name}</p></td>
|
||||||
|
<td class="table-3-2 align-right"><p>{format_money number=$_price_taxe_ currency_id=$CURRENCY}</p></td>
|
||||||
|
</tr>
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
|
{/strip}{/capture}
|
||||||
|
|
||||||
|
{if $smarty.capture.tax ne ""}
|
||||||
|
{$smarty.capture.tax nofilter}
|
||||||
|
{/if}
|
||||||
|
<tr>
|
||||||
|
<td class="table-3-1"><p>{intl l="Total with tax"}</p></td>
|
||||||
|
<td class="table-3-1 align-right"><p>{format_money number={$TOTAL_TAXED_ITEMS_AMOUNT} currency_id=$CURRENCY}</p></td>
|
||||||
|
</tr>
|
||||||
|
{if $DISCOUNT > 0}
|
||||||
|
<tr>
|
||||||
|
<td class="table-3-1">
|
||||||
|
<p>
|
||||||
|
{intl l="Discount with tax"}
|
||||||
|
<br>{intl l="Tax: %tax" tax={format_money number=$DISCOUNT_TAX currency_id=$CURRENCY}}
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td class="table-3-1 align-right"><p>-{format_money number=$DISCOUNT currency_id=$CURRENCY}</p></td>
|
||||||
|
</tr>
|
||||||
|
{/if}
|
||||||
|
<tr>
|
||||||
|
<td class="table-3-1">
|
||||||
|
<p>
|
||||||
|
{intl l="Postage"}
|
||||||
|
{if $POSTAGE_TAX != 0}
|
||||||
|
<br>{intl l="Tax %name: %tax" name=$POSTAGE_TAX_RULE_TITLE tax={format_money number=$POSTAGE_TAX currency_id=$CURRENCY}}
|
||||||
|
{/if}
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td class="table-3-1 align-right"><p>{format_money number=$POSTAGE currency_id=$CURRENCY}</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="table-3-1" style="background:#545776;"><h3 style="color:white;">{intl l="Total"}</h3></td>
|
||||||
|
<td class="table-3-1 align-right" style="background:#545776;"><h3 style="color:white;">{format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}</h3></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{hook name="invoice.after-summary" order=$order_id}
|
||||||
|
|
||||||
|
{/loop}
|
||||||
|
</page>
|
||||||
43
templates/pdf/aomc/template.xml
Normal file
43
templates/pdf/aomc/template.xml
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<template xmlns="http://thelia.net/schema/dic/template"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://thelia.net/schema/dic/template http://thelia.net/schema/dic/template/template-1_0.xsd">
|
||||||
|
<descriptive locale="fr">
|
||||||
|
<title>Template PDF par défaut</title>
|
||||||
|
</descriptive>
|
||||||
|
<descriptive locale="en">
|
||||||
|
<title>Default PDF template</title>
|
||||||
|
</descriptive>
|
||||||
|
<languages>
|
||||||
|
<language>ar_SA</language>
|
||||||
|
<language>cs_CZ</language>
|
||||||
|
<language>de_DE</language>
|
||||||
|
<language>el_GR</language>
|
||||||
|
<language>en_US</language>
|
||||||
|
<language>es_ES</language>
|
||||||
|
<language>fa_IR</language>
|
||||||
|
<language>fr_FR</language>
|
||||||
|
<language>hu_HU</language>
|
||||||
|
<language>id_ID</language>
|
||||||
|
<language>it_IT</language>
|
||||||
|
<language>nl_NL</language>
|
||||||
|
<language>pl_PL</language>
|
||||||
|
<language>pt_BR</language>
|
||||||
|
<language>pt_PT</language>
|
||||||
|
<language>ru_RU</language>
|
||||||
|
<language>sk_SK</language>
|
||||||
|
<language>tr_TR</language>
|
||||||
|
<language>uk_UA</language>
|
||||||
|
</languages>
|
||||||
|
<version>1.0.0</version>
|
||||||
|
<authors>
|
||||||
|
<author>
|
||||||
|
<name>Thelia team</name>
|
||||||
|
<company>thelia.net</company>
|
||||||
|
<email>contact@thelia.net</email>
|
||||||
|
<website>thelia.net</website>
|
||||||
|
</author>
|
||||||
|
</authors>
|
||||||
|
<thelia>2.4.3</thelia>
|
||||||
|
<stability>prod</stability>
|
||||||
|
</template>
|
||||||
Reference in New Issue
Block a user