diff --git a/templates/pdf/aomc/I18n/ar_SA.php b/templates/pdf/aomc/I18n/ar_SA.php new file mode 100644 index 00000000..81017f9c --- /dev/null +++ b/templates/pdf/aomc/I18n/ar_SA.php @@ -0,0 +1,18 @@ + 'التوصيل', + 'Delivery address' => 'عنوان التوصيل', + 'Delivery module' => 'طريقة التوصيل', + 'Discount' => 'خصم', + 'INVOICE' => 'الفاتورة', + 'Invoice REF' => 'مرجع الفاتورة', + 'Postage' => 'الارسالية', + 'Quantity' => 'الكمية', + 'Ref' => 'المرجع', + 'Total' => 'الإجمالي', + 'Total with tax' => 'الإجمالي مع الضريبة', + 'Total without tax' => 'المجموع بدون ضريبة', + 'page' => 'الصفحة', + 'product' => 'المنتج', +]; diff --git a/templates/pdf/aomc/I18n/cs_CZ.php b/templates/pdf/aomc/I18n/cs_CZ.php new file mode 100644 index 00000000..8b5ed6ac --- /dev/null +++ b/templates/pdf/aomc/I18n/cs_CZ.php @@ -0,0 +1,21 @@ + 'Čí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ží', +]; diff --git a/templates/pdf/aomc/I18n/de_DE.php b/templates/pdf/aomc/I18n/de_DE.php new file mode 100644 index 00000000..b35d4758 --- /dev/null +++ b/templates/pdf/aomc/I18n/de_DE.php @@ -0,0 +1,31 @@ + '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', +]; diff --git a/templates/pdf/aomc/I18n/el_GR.php b/templates/pdf/aomc/I18n/el_GR.php new file mode 100644 index 00000000..78b4f26b --- /dev/null +++ b/templates/pdf/aomc/I18n/el_GR.php @@ -0,0 +1,15 @@ + 'ΠΑΡΑΔΟΣΗ', + 'Delivery address' => 'Διεύθυνση παράδοσης', + 'INVOICE' => 'ΤΙΜΟΛΟΓΙΟ', + 'Invoice REF' => 'Αναφ Τιμολογίου', + 'Quantity' => 'Ποσότητα', + 'Ref' => 'Αναφ', + 'Total' => 'Σύνολο', + 'Total with tax' => 'Σύνολο με ΦΠΑ', + 'Total without tax' => 'Σύνολο χωρίς ΦΠΑ', + 'page' => 'σελίδα', + 'product' => 'προϊόν', +]; diff --git a/templates/pdf/aomc/I18n/en_US.php b/templates/pdf/aomc/I18n/en_US.php new file mode 100755 index 00000000..d7fda7e1 --- /dev/null +++ b/templates/pdf/aomc/I18n/en_US.php @@ -0,0 +1,33 @@ + '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', +); diff --git a/templates/pdf/aomc/I18n/es_ES.php b/templates/pdf/aomc/I18n/es_ES.php new file mode 100755 index 00000000..2281fe94 --- /dev/null +++ b/templates/pdf/aomc/I18n/es_ES.php @@ -0,0 +1,31 @@ + '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', +]; diff --git a/templates/pdf/aomc/I18n/fa_IR.php b/templates/pdf/aomc/I18n/fa_IR.php new file mode 100644 index 00000000..75fc532a --- /dev/null +++ b/templates/pdf/aomc/I18n/fa_IR.php @@ -0,0 +1,31 @@ + 'شماره مشتری', + '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' => 'محصول', +]; diff --git a/templates/pdf/aomc/I18n/fr_FR.php b/templates/pdf/aomc/I18n/fr_FR.php new file mode 100755 index 00000000..8a104cb6 --- /dev/null +++ b/templates/pdf/aomc/I18n/fr_FR.php @@ -0,0 +1,33 @@ + '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', +); diff --git a/templates/pdf/aomc/I18n/hu_HU.php b/templates/pdf/aomc/I18n/hu_HU.php new file mode 100644 index 00000000..fb2d0646 --- /dev/null +++ b/templates/pdf/aomc/I18n/hu_HU.php @@ -0,0 +1,18 @@ + 'Ü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', +]; diff --git a/templates/pdf/aomc/I18n/id_ID.php b/templates/pdf/aomc/I18n/id_ID.php new file mode 100644 index 00000000..5ffba332 --- /dev/null +++ b/templates/pdf/aomc/I18n/id_ID.php @@ -0,0 +1,17 @@ + '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', +]; diff --git a/templates/pdf/aomc/I18n/it_IT.php b/templates/pdf/aomc/I18n/it_IT.php new file mode 100755 index 00000000..e733fd21 --- /dev/null +++ b/templates/pdf/aomc/I18n/it_IT.php @@ -0,0 +1,17 @@ + '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', +]; diff --git a/templates/pdf/aomc/I18n/nl_NL.php b/templates/pdf/aomc/I18n/nl_NL.php new file mode 100644 index 00000000..4ded4adb --- /dev/null +++ b/templates/pdf/aomc/I18n/nl_NL.php @@ -0,0 +1,6 @@ + 'pagina', + 'product' => 'product', +]; diff --git a/templates/pdf/aomc/I18n/pl_PL.php b/templates/pdf/aomc/I18n/pl_PL.php new file mode 100644 index 00000000..6d3ea3ee --- /dev/null +++ b/templates/pdf/aomc/I18n/pl_PL.php @@ -0,0 +1,18 @@ + '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', +]; diff --git a/templates/pdf/aomc/I18n/pt_BR.php b/templates/pdf/aomc/I18n/pt_BR.php new file mode 100644 index 00000000..52f661c6 --- /dev/null +++ b/templates/pdf/aomc/I18n/pt_BR.php @@ -0,0 +1,21 @@ + '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', +]; diff --git a/templates/pdf/aomc/I18n/pt_PT.php b/templates/pdf/aomc/I18n/pt_PT.php new file mode 100644 index 00000000..9f07b493 --- /dev/null +++ b/templates/pdf/aomc/I18n/pt_PT.php @@ -0,0 +1,15 @@ + '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', +]; diff --git a/templates/pdf/aomc/I18n/ru_RU.php b/templates/pdf/aomc/I18n/ru_RU.php new file mode 100644 index 00000000..fb2f326c --- /dev/null +++ b/templates/pdf/aomc/I18n/ru_RU.php @@ -0,0 +1,29 @@ + 'Номер клиента', + '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' => 'товар', +); diff --git a/templates/pdf/aomc/I18n/sk_SK.php b/templates/pdf/aomc/I18n/sk_SK.php new file mode 100644 index 00000000..589b36d1 --- /dev/null +++ b/templates/pdf/aomc/I18n/sk_SK.php @@ -0,0 +1,24 @@ + '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', +]; diff --git a/templates/pdf/aomc/I18n/tr_TR.php b/templates/pdf/aomc/I18n/tr_TR.php new file mode 100644 index 00000000..6625cb69 --- /dev/null +++ b/templates/pdf/aomc/I18n/tr_TR.php @@ -0,0 +1,31 @@ + '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', +]; diff --git a/templates/pdf/aomc/LICENSE.txt b/templates/pdf/aomc/LICENSE.txt new file mode 100644 index 00000000..65c5ca88 --- /dev/null +++ b/templates/pdf/aomc/LICENSE.txt @@ -0,0 +1,165 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + 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. diff --git a/templates/pdf/aomc/Readme.md b/templates/pdf/aomc/Readme.md new file mode 100644 index 00000000..0433ebba --- /dev/null +++ b/templates/pdf/aomc/Readme.md @@ -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 +------ +[![Build Status](https://travis-ci.org/thelia/thelia.png?branch=master)](https://travis-ci.org/thelia/thelia) [![License](https://poser.pugx.org/thelia/thelia/license.png)](https://packagist.org/packages/thelia/thelia) [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/thelia/thelia/badges/quality-score.png?s=61e3e04a69bffd71c29b08e5392080317a546716)](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 diff --git a/templates/pdf/aomc/composer.json b/templates/pdf/aomc/composer.json new file mode 100644 index 00000000..721ce169 --- /dev/null +++ b/templates/pdf/aomc/composer.json @@ -0,0 +1,10 @@ +{ + "name": "thelia/pdf-default-template", + "type": "thelia-pdf-template", + "require": { + "thelia/installer": "~1.1" + }, + "extra": { + "installer-name": "default" + } +} diff --git a/templates/pdf/aomc/delivery.html b/templates/pdf/aomc/delivery.html new file mode 100644 index 00000000..bc5c0c73 --- /dev/null +++ b/templates/pdf/aomc/delivery.html @@ -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} + +{/literal} + + + {hook name="delivery.header" order=$order_id} + + + + {hook name="delivery.footer-top" order=$order_id} + + + + + + + + + +
+ {hook name="delivery.imprint" order=$order_id} + {elsehook rel="delivery.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} +
+ {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} +
{intl l="page"} [[page_cu]]/[[page_nb]]
+ {hook name="delivery.footer-bottom" order=$order_id} +
+ +{loop name="order.invoice" type="order" id=$order_id customer="*"} + + + + + + + + + + + + + + + + {hookblock name="delivery.information" order=$order_id fields="title,value"} + {forhook rel="delivery.information"} + + + + {/forhook} + {/hookblock} +
+

{intl l="DELIVERY"}

+

{intl l="Invoice date"} : {format_date date=$INVOICE_DATE output="date"}

{intl l="Invoice REF"} : {$REF}

{intl l="Customer Number"} : {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}

{$title} : {$value}

+ + {hook name="delivery.after-information" order=$order_id} + + + + + + + + +
+

{intl l="Delivery address"}

+ {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} +
+

{intl l="Invoice address"}

+ {format_address order_address=$INVOICE_ADDRESS locale=$locale} +
+ + {hook name="delivery.after-addresses" order=$order_id} + + + + + + + + + + + {loop type="order_product" name="order-products" order=$ID} + + + + + + + {hook name="delivery.order-product" order={$order_id} order_product={$ID}} + {/loop} +
+

{intl l="Ref"}

+
+

{intl l="product"}

+
+

{intl l="Quantity"}

+
+

{$REF}

+ {if $REF != $PRODUCT_SALE_ELEMENTS_REF}

{$PRODUCT_SALE_ELEMENTS_REF}

{/if} +
+

{$TITLE}

+ {ifloop rel="combinations"} + {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} + {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}
+ {/loop} + {/ifloop} + {hook name="delivery.product-list" order_product=$ID order=$order_id} +
+

{$QUANTITY}

+
+ + + + + + + + + +
+

{intl l="Delivery module"}

+

+ {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop} +

+ + {hook name="delivery.after-delivery-module" order=$order_id module_id=$DELIVERY_MODULE} +
+ +{hook name="delivery.after-summary" order=$order_id} + +{/loop} +
diff --git a/templates/pdf/aomc/invoice.html b/templates/pdf/aomc/invoice.html new file mode 100644 index 00000000..bac55829 --- /dev/null +++ b/templates/pdf/aomc/invoice.html @@ -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} + +{/literal} + + + {hook name="invoice.header" order=$order_id} + + + + {hook name="invoice.footer-top" order=$order_id} + + + + + + + + + +
+ {hook name="invoice.imprint" order=$order_id} + {elsehook rel="invoice.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} +
+ {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} +
{intl l="page"} [[page_cu]]/[[page_nb]]
+ {hook name="invoice.footer-bottom" order=$order_id} +
+ + {$taxes = []} + + {loop name="order.invoice" type="order" id=$order_id customer="*"} + + + + + + + + + + + + + + + {hookblock name="invoice.information" order=$order_id fields="title,value"} + {forhook rel="invoice.information"} + + + + {/forhook} + {/hookblock} +
+

{intl l="INVOICE"}

+

{intl l="Invoice date"} : {format_date date=$INVOICE_DATE output="date"}

{intl l="Invoice REF"} : {$REF}

{intl l="Customer Number"} : {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}

{$title} : {$value}

+ + {hook name="invoice.after-information" order=$order_id} + + + + + + + + +
+

{intl l="Delivery address"}

+ {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} +
+

{intl l="Invoice address"}

+ {format_address order_address=$INVOICE_ADDRESS locale=$locale} +
+ + {hook name="invoice.after-addresses" order=$order_id} + + + + + + + + + + + + + + + + + + {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} + + + + + + + + + + + {hook name="invoice.order-product" order={$order_id} order_product={$ID}} + {/loop} +

{intl l="Product"}

{intl l="Unit. price"}

{intl l="Tax"}

{intl l="Unit taxed price"}

{intl l="Quantity"}

{intl l="Taxed total"}

+

{$TITLE}

+

+ {intl l="Product ref : "}{$REF}
+ {intl l="Combination ref : "}{$PRODUCT_SALE_ELEMENTS_REF} +

+ {ifloop rel="combinations"} + {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} + {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}
+ {/loop} + {/ifloop} + {hook name="invoice.product-list" order_product=$ID order=$order_id} +

{format_money number=$realPrice currency_id=$CURRENCY}

{format_money number=$realTax currency_id=$CURRENCY}

{format_money number=$realTaxedPrice currency_id=$CURRENCY}

{$QUANTITY}

{format_money number=$realTotalPrice currency_id=$CURRENCY}

+ +{hook name="invoice.after-products" order=$order_id} + + + + + + + + +
+ +

{intl l="Payment module"}

+

+ {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop} +

+ + {hook name="invoice.after-payment-module" order=$order_id module_id=$PAYMENT_MODULE} + + +

{intl l="Delivery module"}

+

+ {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop} +

+ + {hook name="invoice.after-delivery-module" order=$order_id module_id=$DELIVERY_MODULE} + +
+ + + + + + + + + {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} + + + + + {/if} + {/foreach} + {/strip}{/capture} + + {if $smarty.capture.tax ne ""} + {$smarty.capture.tax nofilter} + {/if} + + + + + {if $DISCOUNT > 0} + + + + + {/if} + + + + + + + + +

{intl l="Total without tax"}

{format_money number={$TOTAL_ITEMS_AMOUNT} currency_id=$CURRENCY}

{$name}

{format_money number=$_price_taxe_ currency_id=$CURRENCY}

{intl l="Total with tax"}

{format_money number={$TOTAL_TAXED_ITEMS_AMOUNT} currency_id=$CURRENCY}

+

+ {intl l="Discount with tax"} +
{intl l="Tax: %tax" tax={format_money number=$DISCOUNT_TAX currency_id=$CURRENCY}} +

+

-{format_money number=$DISCOUNT currency_id=$CURRENCY}

+

+ {intl l="Postage"} + {if $POSTAGE_TAX != 0} +
{intl l="Tax %name: %tax" name=$POSTAGE_TAX_RULE_TITLE tax={format_money number=$POSTAGE_TAX currency_id=$CURRENCY}} + {/if} +

+

{format_money number=$POSTAGE currency_id=$CURRENCY}

{intl l="Total"}

{format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}

+
+ +{hook name="invoice.after-summary" order=$order_id} + +{/loop} +
diff --git a/templates/pdf/aomc/template.xml b/templates/pdf/aomc/template.xml new file mode 100644 index 00000000..13c4576b --- /dev/null +++ b/templates/pdf/aomc/template.xml @@ -0,0 +1,43 @@ + +