Skip to content
Snippets Groups Projects
Commit f14ecef6 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

V1.9: Update for Joomla 3.x; Dropped support for Joomla 1.x

parent 5b2f363a
No related branches found
No related tags found
No related merge requests found
BASE=ordernumber
PLUGINTYPE=vmshopper
VERSION=1.8.2
VERSION=1.9
PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html
......
; VM2 Customize Order/Invoice numbers plugin
; Copyright (C) 2012 Reinhold Kainhofer. All rights reserved.
; Copyright (C) 2012-2014 Reinhold Kainhofer. All rights reserved.
; License http://www.gnu.org/licenses/gpl.html GNU/GPL
; Note : All ini files need to be saved as UTF-8 - No BOM
VMSHOPPER_ORDERNUMBER="VM2 - Plugin zur Anpassung von Auftrags-, Rechnungs- und Kundennummern"
VMSHOPPER_ORDERNUMBER_DESC="Dieses Plugin erlaubt es Ihnen, das Format von Auftrags-, Rechnungs- und Kundennummern in VirtueMart 2 anzupassen.<br/><br/> <div style='font-weight: normal'> <p style='font-weight: normal'> Das Format der Auftrags-, Rechnungs- und Kundennummern ist ein einfacher Text, wobei <tt>#</tt> die laufende Nummer anzeigt und <tt>[variable]</tt> als Variable interpretiert und durch deren Wert ersetzt wird. Aktuell sind folgende Variablen möglich (Groß-/Kleinschreibung ist egal):<table border=1> <tr><td>year</td><td>Aktuelles Jahr (4 Ziffern)</td></tr> <tr><td>year2</td><td>Aktuelles Jahr (2 Ziffern)</td></tr> <tr><td>month</td><td>Aktuelles Monat (2 Ziffern); mit führenden Nullen wenn nötig</td></tr> <tr><td>day</td><td>Aktueller Tar (2 Ziffern); mit führenden Nullen wenn nötig</td></tr> <tr><td>hour</td><td>Aktuelle Stunde im 24-Stunden Format; mit führenden Nullen wenn nötig</td></tr> <tr><td>hour12</td><td>Aktuelles Stunde in 12-Stunden Format; mit führenden Nullen wenn nötig</td></tr> <tr><td>ampm</td><td>Aktuelles am-pm (für 12-Stunden Format) in Kleinschreibung</td></tr> <tr><td>minute</td><td>Aktuelle Minute; mit führenden Nullen wenn nötig</td></tr> <tr><td>second</td><td>Aktuelle Sekunde; mit führenden Nullen wenn nötig</td></tr> <tr><td>randomDigit<em>[n]</em></td><td>Zufallsfolge von n Dezimalziffern (n=1 wenn nicht angegeben).</td></tr> <tr><td>randomHex<em>[n]</em></td><td>Zufallsfolge von n Hexadezimalziffern (n=1 wenn nicht angegeben).</td></tr> <tr><td>randomLetter<em>[n]</em></td><td>Zufallsfolge von n Groß- und Kleinbuchstaben (Groß- und Kleinschreibung) (n=1 wenn nicht angegeben).</td></tr> <tr><td>randomULetter<em>[n]</em></td><td>Zufallsfolge von n Großbuchstaben (n=1 wenn nicht angegeben).</td></tr> <tr><td>randomLLetter<em>[n]</em></td><td>Zufallsfolge von n Kleinbuchstaben (n=1 wenn nicht angegeben).</td></tr> <tr><td>randomAlphanum<em>[n]</em></td><td>Zufallsfolge von n allgemeinen alphanumerischen Zeichen (A-Z, a-z, 0-9) (n=1 wenn nicht angegeben).</td></tr> <tr><td>vendorID</td><td>(Interne) VirtueMart Verkäufer ID</td></tr> <tr><td>userID</td><td>(Interne) VirtueMart Benutzer ID</td></tr> <tr><td>IPaddress</td><td>IP-Addresse des Käufers</td></tr> <tr><th colspan=2><em>Nur für Rechnungsnummern:</em></td></tr> <tr><td>orderNumber</td><td>Auftragsnummer, für die die Rechnung erstellt wird</td></tr> <tr><td>orderID</td><td>(Interne) Auftrags-ID, für die die Rechnung erstellt wird</td></tr> <tr><td>Lastname</td><td>Nachname des Käufers (Rechnungsadresse)</td></tr> <tr><td>Firstname</td><td>Vorname des Käufers (Rechnungsadresse)</td></tr> <tr><td>Company</td><td>Unternehmen des Käufers (Rechnungsadresse)</td></tr> <tr><td>City</td><td>Ort des Käufers (Rechnungsadresse)</td></tr> <tr><td>zip</td><td>Postleitzahl des Käufers (Rechnungsadresse)</td></tr> <tr><td>orderStatus</td><td>Status der Bestellung (Kürzel: S, R, X, C, U, P)</td></tr> </table> <p>Die gesamte Dokumentation findet sich auf der Homepage des Plugins: <a href='http://www.kainhofer.com/virtuemart-2-extensions/40-vm2-ordernumber.html'>http://www.kainhofer.com/virtuemart-2-extensions/40-vm2-ordernumber.html</a></p> </div>"
PLG_ORDERNUMBER_YES="Ja"
PLG_ORDERNUMBER_NO="Nein"
VMSHOPPER_ORDERNUMBER_DESC=" <div style='font-weight: normal; text-align:left; background: #EEEEEE;'><h2>Ordernumber plugin für Virtuemart (2.x und 3.x)</h2><p style='font-weight: normal'>Dieses Plugin erlaubt die Anpassung des Formats von Auftrags-, Rechnungs- und Kundennummern in VirtueMart 2.x und 3.0.</p><p>Das Format der Auftrags-, Rechnungs- und Kundennummern ist ein einfacher Text, wobei <tt>#</tt> die laufende Nummer anzeigt und <tt>[variable]</tt> als Variable interpretiert und durch deren Wert ersetzt wird.</p><p>Die vollständige Dokumentation ist zu finden auf: <a href='http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html'>http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html</a></p> </div>"
PLG_ORDERNUMBER_COUNTER_GLOBAL="Global"
PLG_ORDERNUMBER_COUNTER_PERFORMAT="Eigener Zähler pro Formatwert"
......
; VM2 Customize Order/Invoice numbers plugin
; Copyright (C) 2012 Reinhold Kainhofer. All rights reserved.
; Copyright (C) 2012-2014 Reinhold Kainhofer. All rights reserved.
; License http://www.gnu.org/licenses/gpl.html GNU/GPL
; Note : All ini files need to be saved as UTF-8 - No BOM
VMSHOPPER_ORDERNUMBER="VM2 - Plugin zur Anpassung von Auftrags-, Rechnungs- und Kundennummern"
VMSHOPPER_ORDERNUMBER_DESC="Dieses Plugin erlaubt es Ihnen, das Format von Auftrags-, Rechnungs- und Kundennummern in VirtueMart 2 anzupassen.<br/><br/> <div style='font-weight: normal'> <p style='font-weight: normal'> Das Format der Auftrags-, Rechnungs- und Kundennummern ist ein einfacher Text, wobei <tt>#</tt> die laufende Nummer anzeigt und <tt>[variable]</tt> als Variable interpretiert und durch deren Wert ersetzt wird. Aktuell sind folgende Variablen möglich (Groß-/Kleinschreibung ist egal):<table border=1> <tr><td>year</td><td>Aktuelles Jahr (4 Ziffern)</td></tr> <tr><td>year2</td><td>Aktuelles Jahr (2 Ziffern)</td></tr> <tr><td>month</td><td>Aktuelles Monat (2 Ziffern); mit führenden Nullen wenn nötig</td></tr> <tr><td>day</td><td>Aktueller Tar (2 Ziffern); mit führenden Nullen wenn nötig</td></tr> <tr><td>hour</td><td>Aktuelle Stunde im 24-Stunden Format; mit führenden Nullen wenn nötig</td></tr> <tr><td>hour12</td><td>Aktuelles Stunde in 12-Stunden Format; mit führenden Nullen wenn nötig</td></tr> <tr><td>ampm</td><td>Aktuelles am-pm (für 12-Stunden Format) in Kleinschreibung</td></tr> <tr><td>minute</td><td>Aktuelle Minute; mit führenden Nullen wenn nötig</td></tr> <tr><td>second</td><td>Aktuelle Sekunde; mit führenden Nullen wenn nötig</td></tr> <tr><td>randomDigit<em>[n]</em></td><td>Zufallsfolge von n Dezimalziffern (n=1 wenn nicht angegeben).</td></tr> <tr><td>randomHex<em>[n]</em></td><td>Zufallsfolge von n Hexadezimalziffern (n=1 wenn nicht angegeben).</td></tr> <tr><td>randomLetter<em>[n]</em></td><td>Zufallsfolge von n Groß- und Kleinbuchstaben (Groß- und Kleinschreibung) (n=1 wenn nicht angegeben).</td></tr> <tr><td>randomULetter<em>[n]</em></td><td>Zufallsfolge von n Großbuchstaben (n=1 wenn nicht angegeben).</td></tr> <tr><td>randomLLetter<em>[n]</em></td><td>Zufallsfolge von n Kleinbuchstaben (n=1 wenn nicht angegeben).</td></tr> <tr><td>randomAlphanum<em>[n]</em></td><td>Zufallsfolge von n allgemeinen alphanumerischen Zeichen (A-Z, a-z, 0-9) (n=1 wenn nicht angegeben).</td></tr> <tr><td>vendorID</td><td>(Interne) VirtueMart Verkäufer ID</td></tr> <tr><td>userID</td><td>(Interne) VirtueMart Benutzer ID</td></tr> <tr><td>IPaddress</td><td>IP-Addresse des Käufers</td></tr> <tr><th colspan=2><em>Nur für Rechnungsnummern:</em></td></tr> <tr><td>orderNumber</td><td>Auftragsnummer, für die die Rechnung erstellt wird</td></tr> <tr><td>orderID</td><td>(Interne) Auftrags-ID, für die die Rechnung erstellt wird</td></tr> <tr><td>Lastname</td><td>Nachname des Käufers (Rechnungsadresse)</td></tr> <tr><td>Firstname</td><td>Vorname des Käufers (Rechnungsadresse)</td></tr> <tr><td>Company</td><td>Unternehmen des Käufers (Rechnungsadresse)</td></tr> <tr><td>City</td><td>Ort des Käufers (Rechnungsadresse)</td></tr> <tr><td>zip</td><td>Postleitzahl des Käufers (Rechnungsadresse)</td></tr> <tr><td>orderStatus</td><td>Status der Bestellung (Kürzel: S, R, X, C, U, P)</td></tr> </table> <p>Die gesamte Dokumentation findet sich auf der Homepage des Plugins: <a href='http://www.kainhofer.com/virtuemart-2-extensions/40-vm2-ordernumber.html'>http://www.kainhofer.com/virtuemart-2-extensions/40-vm2-ordernumber.html</a></p> </div>"
PLG_ORDERNUMBER_YES="Ja"
PLG_ORDERNUMBER_NO="Nein"
VMSHOPPER_ORDERNUMBER_DESC=" <div style='font-weight: normal; text-align:left; background: #EEEEEE;'><h2>Ordernumber plugin für Virtuemart (2.x und 3.x)</h2><p style='font-weight: normal'>Dieses Plugin erlaubt die Anpassung des Formats von Auftrags-, Rechnungs- und Kundennummern in VirtueMart 2.x und 3.0.</p><p>Das Format der Auftrags-, Rechnungs- und Kundennummern ist ein einfacher Text, wobei <tt>#</tt> die laufende Nummer anzeigt und <tt>[variable]</tt> als Variable interpretiert und durch deren Wert ersetzt wird.</p><p>Die vollständige Dokumentation ist zu finden auf: <a href='http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html'>http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html</a></p> </div>"
PLG_ORDERNUMBER_COUNTER_GLOBAL="Global"
PLG_ORDERNUMBER_COUNTER_PERFORMAT="Eigener Zähler pro Formatwert"
......
; VM2 Customize Order/Invoice numbers plugin
; Copyright (C) 2012 Reinhold Kainhofer. All rights reserved.
; Copyright (C) 2012-2014 Reinhold Kainhofer. All rights reserved.
; License http://www.gnu.org/licenses/gpl.html GNU/GPL
; Note : All ini files need to be saved as UTF-8 - No BOM
VMSHOPPER_ORDERNUMBER="VM2 - Custom Order, Invoice and Customer Number plugin"
VMSHOPPER_ORDERNUMBER_DESC="This plugin is used to create custom order, invoice and customer numbers for Virtuemart 2<br/><br/> <div style='font-weight: normal'> <p style='font-weight: normal'> The format of the numbers is a free-form text string, where <tt>#</tt> indicates the running counter and <tt>[variable]</tt> is understood as a variable and replaced by its current value. Currently, the following variables are available (case-insensitive):<table border=1> <tr><td>year</td><td>Current year (4 digits)</td></tr> <tr><td>year2</td><td>Current year (2 digits)</td></tr> <tr><td>month</td><td>Current month (2 digits); leading zeros if necessary</td></tr> <tr><td>day</td><td>Current day (2 digits); leading zeros if necessary</td></tr> <tr><td>hour</td><td>Current hour in 24-hour format; leading zeros if necessary</td></tr> <tr><td>hour12</td><td>Current hour in 12-hour format; leading zeros if necessary</td></tr> <tr><td>ampm</td><td>Current am-pm (for 12-hour format) in lower-case</td></tr> <tr><td>minute</td><td>Current minute; leading zeros if necessary</td></tr> <tr><td>second</td><td>Current second; leading zeros if necessary</td></tr> <tr><td>randomDigit<em>[n]</em></td><td>Random sequences of n decimal digits (n=1 if not given).</td></tr> <tr><td>randomHex<em>[n]</em></td><td>Random sequences of n hexadecimal digits (n=1 if not given).</td></tr> <tr><td>randomLetter<em>[n]</em></td><td>Random sequences of n (upper- and lowercase) letters (n=1 if not given).</td></tr> <tr><td>randomULetter<em>[n]</em></td><td>Random sequences of n uppercase letters (n=1 if not given).</td></tr> <tr><td>randomLLetter<em>[n]</em></td><td>Random sequences of n lowercase letters (n=1 if not given).</td></tr> <tr><td>randomAlphanum<em>[n]</em></td><td>Random sequences of n general alphanumeric characters (A-Z, a-z, 0-9) (n=1 if not given).</td></tr> <tr><td>vendorID</td><td>(Internal) VirtueMart Vendor ID</td></tr> <tr><td>userID</td><td>(Internal) VirtueMart User ID</td></tr> <tr><td>IPaddress</td><td>IP-Address of the shopper's computer</td></tr> <tr><th colspan=2><em>Only for invoice Numbers:</em></td></tr> <tr><td>orderNumber</td><td>Order number, for which the invoice is created</td></tr> <tr><td>orderID</td><td>(Internal) Order ID, for which the invoice is created</td></tr> <tr><td>Lastname</td><td>Last name of the shopper (billing address)</td></tr> <tr><td>Firstname</td><td>First name of the shopper (billing address)</td></tr> <tr><td>Company</td><td>Company of the shopper (billing address)</td></tr> <tr><td>City</td><td>City of the shopper (billing address)</td></tr> <tr><td>zip</td><td>ZIP of the shopper (billing address)</td></tr> <tr><td>orderStatus</td><td>Status of the order (abbreviations: S, R, X, C, U, P)</td></tr> </table> <p>The full documentation can be found at the homepage: <a href='http://www.kainhofer.com/virtuemart-2-extensions/40-vm2-ordernumber.html'>http://www.kainhofer.com/virtuemart-2-extensions/40-vm2-ordernumber.html</a></p> </div>"
PLG_ORDERNUMBER_YES="Yes"
PLG_ORDERNUMBER_NO="No"
VMSHOPPER_ORDERNUMBER_DESC=" <div style='font-weight: normal; text-align:left; background: #EEEEEE;'><h2>Ordernumber plugin for Virtuemart (2.x and 3.x)</h2><p style='font-weight: normal'>This plugin is used to create custom order, invoice and customer numbers for Virtuemart 2. The format of the numbers can be specified freely and several variables (year, month, day, time, addresses, etc.) can be used in the format.</p><p>The format of the numbers is a free-form text string, where <tt>#</tt> indicates the running counter and <tt>[variable]</tt> is understood as a variable and replaced by its current value.</p><p>The full documentation can be found at the homepage: <a href='http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html'>http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html</a></p> </div>"
PLG_ORDERNUMBER_COUNTER_GLOBAL="Global"
PLG_ORDERNUMBER_COUNTER_PERFORMAT="Separate counter per format value"
......@@ -15,7 +12,7 @@ PLG_ORDERNUMBER_COUNTER_PERFORMAT="Separate counter per format value"
PLG_ORDERNUMBER_ORDERNR="<b>Order numbers</b>"
PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE="Customize order numbers"
PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE_DESC="Check here if you want customized order number formats rather than the default."
PLG_ORDERNUMBER_ORDERNR_FMT="Format of the order numbers"
PLG_ORDERNUMBER_ORDERNR_FMT="Format for order numbers"
PLG_ORDERNUMBER_ORDERNR_FMT_DESC="Here you can customize the order number"
PLG_ORDERNUMBER_ORDERNR_COUNTER="Counter"
PLG_ORDERNUMBER_ORDERNR_COUNTER_DESC="Choose whether you want one global counter or per-format value counters. E.g. with a format of '[year]-#' and the latter option checked, the order count will be within the year only."
......@@ -25,13 +22,13 @@ PLG_ORDERNUMBER_ORDERNR_PADDING_DESC="Select the minimum number of digits that t
PLG_ORDERNUMBER_PASSWD="<b>Order password</b>"
PLG_ORDERNUMBER_PASSWD_CUSTOMIZE="Customize order password"
PLG_ORDERNUMBER_PASSWD_CUSTOMIZE_DESC="Check here if you want customized order password formats rather than the default."
PLG_ORDERNUMBER_PASSWD_FMT="Format of the order password"
PLG_ORDERNUMBER_PASSWD_FMT="Format for order passwords"
PLG_ORDERNUMBER_PASSWD_FMT_DESC="Here you can customize the order password (# is NOT replaced)"
PLG_ORDERNUMBER_INVOICENR="<b>Invoice numbers</b>"
PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE="Customize invoice numbers"
PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE_DESC="Check here if you want customized invoice number formats rather than the default."
PLG_ORDERNUMBER_INVOICENR_FMT="Format of the invoice numbers"
PLG_ORDERNUMBER_INVOICENR_FMT="Format for invoice numbers"
PLG_ORDERNUMBER_INVOICENR_FMT_DESC="Here you can customize the invoice number"
PLG_ORDERNUMBER_INVOICENR_COUNTER="Counter"
PLG_ORDERNUMBER_INVOICENR_COUNTER_DESC="Choose whether you want one global counter or per-format value counters. E.g. with a format of '[year]-#' and the latter option checked, the invoice count will be within the year only."
......@@ -41,7 +38,7 @@ PLG_ORDERNUMBER_INVOICENR_PADDING_DESC="Select the minimum number of digits that
PLG_ORDERNUMBER_CUSTOMERNR="<b>Customer numbers</b>"
PLG_ORDERNUMBER_CUSTOMERNR_CUSTOMIZE="Customize customer numbers"
PLG_ORDERNUMBER_CUSTOMERNR_CUSTOMIZE_DESC="Check here if you want customized customer number formats rather than the default."
PLG_ORDERNUMBER_CUSTOMERNR_FMT="Format of the customer numbers"
PLG_ORDERNUMBER_CUSTOMERNR_FMT="Format for customer numbers"
PLG_ORDERNUMBER_CUSTOMERNR_FMT_DESC="Here you can customize the customer number"
PLG_ORDERNUMBER_CUSTOMERNR_COUNTER="Counter"
PLG_ORDERNUMBER_CUSTOMERNR_COUNTER_DESC="Choose whether you want one global counter or per-format value counters. E.g. with a format of '[year]-#' and the latter option checked, the customer count will be within the year only."
......
; VM2 Customize Order/Invoice numbers plugin
; Copyright (C) 2012 Reinhold Kainhofer. All rights reserved.
; Copyright (C) 2012-2014 Reinhold Kainhofer. All rights reserved.
; License http://www.gnu.org/licenses/gpl.html GNU/GPL
; Note : All ini files need to be saved as UTF-8 - No BOM
VMSHOPPER_ORDERNUMBER="VM2 - Custom Order, Invoice and Customer Number plugin"
VMSHOPPER_ORDERNUMBER_DESC="This plugin is used to create custom order, invoice and customer numbers for Virtuemart 2<br/><br/> <div style='font-weight: normal'> <p style='font-weight: normal'> The format of the numbers is a free-form text string, where <tt>#</tt> indicates the running counter and <tt>[variable]</tt> is understood as a variable and replaced by its current value. Currently, the following variables are available (case-insensitive):<table border=1> <tr><td>year</td><td>Current year (4 digits)</td></tr> <tr><td>year2</td><td>Current year (2 digits)</td></tr> <tr><td>month</td><td>Current month (2 digits); leading zeros if necessary</td></tr> <tr><td>day</td><td>Current day (2 digits); leading zeros if necessary</td></tr> <tr><td>hour</td><td>Current hour in 24-hour format; leading zeros if necessary</td></tr> <tr><td>hour12</td><td>Current hour in 12-hour format; leading zeros if necessary</td></tr> <tr><td>ampm</td><td>Current am-pm (for 12-hour format) in lower-case</td></tr> <tr><td>minute</td><td>Current minute; leading zeros if necessary</td></tr> <tr><td>second</td><td>Current second; leading zeros if necessary</td></tr> <tr><td>randomDigit<em>[n]</em></td><td>Random sequences of n decimal digits (n=1 if not given).</td></tr> <tr><td>randomHex<em>[n]</em></td><td>Random sequences of n hexadecimal digits (n=1 if not given).</td></tr> <tr><td>randomLetter<em>[n]</em></td><td>Random sequences of n (upper- and lowercase) letters (n=1 if not given).</td></tr> <tr><td>randomULetter<em>[n]</em></td><td>Random sequences of n uppercase letters (n=1 if not given).</td></tr> <tr><td>randomLLetter<em>[n]</em></td><td>Random sequences of n lowercase letters (n=1 if not given).</td></tr> <tr><td>randomAlphanum<em>[n]</em></td><td>Random sequences of n general alphanumeric characters (A-Z, a-z, 0-9) (n=1 if not given).</td></tr> <tr><td>vendorID</td><td>(Internal) VirtueMart Vendor ID</td></tr> <tr><td>userID</td><td>(Internal) VirtueMart User ID</td></tr> <tr><td>IPaddress</td><td>IP-Address of the shopper's computer</td></tr> <tr><th colspan=2><em>Only for invoice Numbers:</em></td></tr> <tr><td>orderNumber</td><td>Order number, for which the invoice is created</td></tr> <tr><td>orderID</td><td>(Internal) Order ID, for which the invoice is created</td></tr> <tr><td>Lastname</td><td>Last name of the shopper (billing address)</td></tr> <tr><td>Firstname</td><td>First name of the shopper (billing address)</td></tr> <tr><td>Company</td><td>Company of the shopper (billing address)</td></tr> <tr><td>City</td><td>City of the shopper (billing address)</td></tr> <tr><td>zip</td><td>ZIP of the shopper (billing address)</td></tr> <tr><td>orderStatus</td><td>Status of the order (abbreviations: S, R, X, C, U, P)</td></tr> </table> <p>The full documentation can be found at the homepage: <a href='http://www.kainhofer.com/virtuemart-2-extensions/40-vm2-ordernumber.html'>http://www.kainhofer.com/virtuemart-2-extensions/40-vm2-ordernumber.html</a></p> </div>"
PLG_ORDERNUMBER_YES="Yes"
PLG_ORDERNUMBER_NO="No"
VMSHOPPER_ORDERNUMBER_DESC=" <div style='font-weight: normal; text-align:left; background: #EEEEEE;'><h2>Ordernumber plugin for Virtuemart (2.x and 3.x)</h2><p style='font-weight: normal'>This plugin is used to create custom order, invoice and customer numbers for Virtuemart 2. The format of the numbers can be specified freely and several variables (year, month, day, time, addresses, etc.) can be used in the format.</p><p>The format of the numbers is a free-form text string, where <tt>#</tt> indicates the running counter and <tt>[variable]</tt> is understood as a variable and replaced by its current value.</p><p>The full documentation can be found at the homepage: <a href='http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html'>http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html</a></p> </div>"
PLG_ORDERNUMBER_COUNTER_GLOBAL="Global"
PLG_ORDERNUMBER_COUNTER_PERFORMAT="Separate counter per format value"
......@@ -15,7 +12,7 @@ PLG_ORDERNUMBER_COUNTER_PERFORMAT="Separate counter per format value"
PLG_ORDERNUMBER_ORDERNR="<b>Order numbers</b>"
PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE="Customize order numbers"
PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE_DESC="Check here if you want customized order number formats rather than the default."
PLG_ORDERNUMBER_ORDERNR_FMT="Format of the order numbers"
PLG_ORDERNUMBER_ORDERNR_FMT="Format for order numbers"
PLG_ORDERNUMBER_ORDERNR_FMT_DESC="Here you can customize the order number"
PLG_ORDERNUMBER_ORDERNR_COUNTER="Counter"
PLG_ORDERNUMBER_ORDERNR_COUNTER_DESC="Choose whether you want one global counter or per-format value counters. E.g. with a format of '[year]-#' and the latter option checked, the order count will be within the year only."
......@@ -25,13 +22,13 @@ PLG_ORDERNUMBER_ORDERNR_PADDING_DESC="Select the minimum number of digits that t
PLG_ORDERNUMBER_PASSWD="<b>Order password</b>"
PLG_ORDERNUMBER_PASSWD_CUSTOMIZE="Customize order password"
PLG_ORDERNUMBER_PASSWD_CUSTOMIZE_DESC="Check here if you want customized order password formats rather than the default."
PLG_ORDERNUMBER_PASSWD_FMT="Format of the order password"
PLG_ORDERNUMBER_PASSWD_FMT="Format for order passwords"
PLG_ORDERNUMBER_PASSWD_FMT_DESC="Here you can customize the order password (# is NOT replaced)"
PLG_ORDERNUMBER_INVOICENR="<b>Invoice numbers</b>"
PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE="Customize invoice numbers"
PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE_DESC="Check here if you want customized invoice number formats rather than the default."
PLG_ORDERNUMBER_INVOICENR_FMT="Format of the invoice numbers"
PLG_ORDERNUMBER_INVOICENR_FMT="Format for invoice numbers"
PLG_ORDERNUMBER_INVOICENR_FMT_DESC="Here you can customize the invoice number"
PLG_ORDERNUMBER_INVOICENR_COUNTER="Counter"
PLG_ORDERNUMBER_INVOICENR_COUNTER_DESC="Choose whether you want one global counter or per-format value counters. E.g. with a format of '[year]-#' and the latter option checked, the invoice count will be within the year only."
......@@ -41,7 +38,7 @@ PLG_ORDERNUMBER_INVOICENR_PADDING_DESC="Select the minimum number of digits that
PLG_ORDERNUMBER_CUSTOMERNR="<b>Customer numbers</b>"
PLG_ORDERNUMBER_CUSTOMERNR_CUSTOMIZE="Customize customer numbers"
PLG_ORDERNUMBER_CUSTOMERNR_CUSTOMIZE_DESC="Check here if you want customized customer number formats rather than the default."
PLG_ORDERNUMBER_CUSTOMERNR_FMT="Format of the customer numbers"
PLG_ORDERNUMBER_CUSTOMERNR_FMT="Format for customer numbers"
PLG_ORDERNUMBER_CUSTOMERNR_FMT_DESC="Here you can customize the customer number"
PLG_ORDERNUMBER_CUSTOMERNR_COUNTER="Counter"
PLG_ORDERNUMBER_CUSTOMERNR_COUNTER_DESC="Choose whether you want one global counter or per-format value counters. E.g. with a format of '[year]-#' and the latter option checked, the customer count will be within the year only."
......
......@@ -3,7 +3,7 @@ defined('_JEXEC') or die('Restricted access');
/**
* Installation script for the plugin
*
* @copyright Copyright (C) 2013 Reinhold Kainhofer, office@open-tools.net
* @copyright Copyright (C) 2013-2014 Reinhold Kainhofer, office@open-tools.net
* @license GPL v3+, http://www.gnu.org/copyleft/gpl.html
*/
......
<?xml version="1.0" encoding="UTF-8" ?>
<install version="1.6" type="plugin" group="vmshopper" method="upgrade">
<extension version="1.6" type="plugin" group="vmshopper" method="upgrade">
<name>VMSHOPPER_ORDERNUMBER</name>
<creationDate>2013-01-09</creationDate>
<author>Reinhold Kainhofer</author>
<authorEmail>office@open-tools.net</authorEmail>
<authorUrl>http://www.open-tools.net/</authorUrl>
<copyright>Copyright (C) 2012-2014 Reinhold Kainhofer. All rights reserved.</copyright>
<copyright>Copyright (C) 2012-2014 Reinhold Kainhofer. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3</license>
<version>1.8.2</version>
<releaseDate>2014-01-13</releaseDate>
<version>1.9</version>
<releaseDate>2014-01-13</releaseDate>
<releaseType>Minor update</releaseType>
<downloadUrl>http://www.open-tools.net/virtuemart-2-extensions/vm2-ordernumber-plugin.html</downloadUrl>
......@@ -27,14 +27,14 @@
<language tag="de-DE">de-DE/de-DE.plg_vmshopper_ordernumber.ini</language>
<language tag="de-DE">de-DE/de-DE.plg_vmshopper_ordernumber.sys.ini</language>
</languages>
<!-- Joomla 2.5 config -->
<!-- Joomla 2.5 & 3.0 config -->
<config>
<fields name="params">
<fieldset name="basic">
<field name="order_options" type="spacer" label="PLG_ORDERNUMBER_ORDERNR" />
<field name="customize_order_number" type="radio" default="0" label="PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE" description="PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE_DESC">
<option value="1">PLG_ORDERNUMBER_YES</option>
<option value="0">PLG_ORDERNUMBER_NO</option>
<field name="customize_order_number" type="radio" default="0" class="btn-group btn-group-yesno" label="PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE" description="PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="order_number_format" type="text" default="Order-[year][month]-#" label="PLG_ORDERNUMBER_ORDERNR_FMT" description="PLG_ORDERNUMBER_ORDERNR_FMT_DESC"/>
<field name="order_number_padding" type="integer" default="1" label="PLG_ORDERNUMBER_ORDERNR_PADDING" description="PLG_ORDERNUMBER_ORDERNR_PADDING_DESC" first="1" last="10" step="1" />
......@@ -45,16 +45,16 @@
<field name="password_options" type="spacer" label="PLG_ORDERNUMBER_PASSWD" />
<field name="customize_order_password" type="radio" default="0" label="PLG_ORDERNUMBER_PASSWD_CUSTOMIZE" description="PLG_ORDERNUMBER_PASSWD_CUSTOMIZE_DESC">
<option value="1">Yes</option>
<option value="0">No</option>
<field name="customize_order_password" type="radio" default="0" class="btn-group btn-group-yesno" label="PLG_ORDERNUMBER_PASSWD_CUSTOMIZE" description="PLG_ORDERNUMBER_PASSWD_CUSTOMIZE_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="order_password_format" type="text" default="p_[randomHex5]" label="PLG_ORDERNUMBER_PASSWD_FMT" description="PLG_ORDERNUMBER_PASSWD_FMT_DESC"/>
<field name="invoice_options" type="spacer" label="PLG_ORDERNUMBER_INVOICENR" />
<field name="customize_invoice_number" type="radio" default="0" label="PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE" description="PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE_DESC">
<option value="1">PLG_ORDERNUMBER_YES</option>
<option value="0">PLG_ORDERNUMBER_NO</option>
<field name="customize_invoice_number" type="radio" default="0" class="btn-group btn-group-yesno" label="PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE" description="PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="invoice_number_format" type="text" default="[year]-#" label="PLG_ORDERNUMBER_INVOICENR_FMT" description="PLG_ORDERNUMBER_INVOICENR_FMT_DESC"/>
<field name="invoice_number_padding" type="integer" default="1" label="PLG_ORDERNUMBER_INVOICENR_PADDING" description="PLG_ORDERNUMBER_INVOICENR_PADDING_DESC" first="1" last="10" step="1" />
......@@ -64,9 +64,9 @@
</field>
<field name="customer_options" type="spacer" label="PLG_ORDERNUMBER_CUSTOMERNR" />
<field name="customize_customer_number" type="radio" default="0" label="PLG_ORDERNUMBER_CUSTOMERNR_CUSTOMIZE" description="PLG_ORDERNUMBER_CUSTOMERNR_CUSTOMIZE_DESC">
<option value="1">PLG_ORDERNUMBER_YES</option>
<option value="0">PLG_ORDERNUMBER_NO</option>
<field name="customize_customer_number" type="radio" default="0" class="btn-group btn-group-yesno" label="PLG_ORDERNUMBER_CUSTOMERNR_CUSTOMIZE" description="PLG_ORDERNUMBER_CUSTOMERNR_CUSTOMIZE_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="customer_number_format" type="text" default="#" label="PLG_ORDERNUMBER_CUSTOMERNR_FMT" description="PLG_ORDERNUMBER_CUSTOMERNR_FMT_DESC"/>
<field name="customer_number_padding" type="integer" default="5" label="PLG_ORDERNUMBER_CUSTOMERNR_PADDING" description="PLG_ORDERNUMBER_CUSTOMERNR_PADDING_DESC" first="1" last="10" step="1" />
......@@ -78,84 +78,4 @@
</fields>
</config>
<!-- Joomla 1.5 config -->
<params addpath="/administrator/components/com_virtuemart/elements">
<param name="order_options" type="spacer" default="PLG_ORDERNUMBER_ORDERNR" />
<param name="customize_order_number" type="radio" default="0" label="PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE" description="PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE_DESC">
<option value="1">PLG_ORDERNUMBER_YES</option>
<option value="0">PLG_ORDERNUMBER_NO</option>
</param>
<param name="order_number_format" type="text" default="Order-[year][month]-#" label="PLG_ORDERNUMBER_ORDERNR_FMT" description="PLG_ORDERNUMBER_ORDERNR_FMT_DESC"/>
<param name="order_number_padding" type="list" default="1" label="PLG_ORDERNUMBER_ORDERNR_PADDING" description="PLG_ORDERNUMBER_ORDERNR_PADDING_DESC" >
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</param>
<param name="order_number_global" type="radio" default="0" label="PLG_ORDERNUMBER_ORDERNR_COUNTER" description="PLG_ORDERNUMBER_ORDERNR_COUNTER_DESC">
<option value="1">PLG_ORDERNUMBER_COUNTER_GLOBAL</option>
<option value="0">PLG_ORDERNUMBER_COUNTER_PERFORMAT</option>
</param>
<param name="password_options" type="spacer" default="PLG_ORDERNUMBER_PASSWD" />
<param name="customize_order_password" type="radio" default="0" label="PLG_ORDERNUMBER_PASSWD_CUSTOMIZE" description="PLG_ORDERNUMBER_PASSWD_CUSTOMIZE_DESC">
<option value="1">Yes</option>
<option value="0">No</option>
</param>
<param name="order_password_format" type="text" default="p_[randomHex5]" label="PLG_ORDERNUMBER_PASSWD_FMT" description="PLG_ORDERNUMBER_PASSWD_FMT_DESC"/>
<param name="invoice_options" type="spacer" default="PLG_ORDERNUMBER_INVOICENR" />
<param name="customize_invoice_number" type="radio" default="0" label="PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE" description="PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE_DESC">
<option value="1">PLG_ORDERNUMBER_YES</option>
<option value="0">PLG_ORDERNUMBER_NO</option>
</param>
<param name="invoice_number_format" type="text" default="[year]-#" label="PLG_ORDERNUMBER_INVOICENR_FMT" description="PLG_ORDERNUMBER_INVOICENR_FMT_DESC"/>
<param name="invoice_number_padding" type="list" default="1" label="PLG_ORDERNUMBER_INVOICENR_PADDING" description="PLG_ORDERNUMBER_INVOICENR_PADDING_DESC" >
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</param>
<param name="invoice_number_global" type="radio" default="0" label="PLG_ORDERNUMBER_INVOICENR_COUNTER" description="PLG_ORDERNUMBER_INVOICENR_COUNTER_DESC">
<option value="1">PLG_ORDERNUMBER_COUNTER_GLOBAL</option>
<option value="0">PLG_ORDERNUMBER_COUNTER_PERFORMAT</option>
</param>
<param name="customer_options" type="spacer" default="PLG_ORDERNUMBER_CUSTOMERNR" />
<param name="customize_customer_number" type="radio" default="0" label="PLG_ORDERNUMBER_CUSTOMERNR_CUSTOMIZE" description="PLG_ORDERNUMBER_CUSTOMERNR_CUSTOMIZE_DESC">
<option value="1">PLG_ORDERNUMBER_YES</option>
<option value="0">PLG_ORDERNUMBER_NO</option>
</param>
<param name="customer_number_format" type="text" default="#" label="PLG_ORDERNUMBER_CUSTOMERNR_FMT" description="PLG_ORDERNUMBER_CUSTOMERNR_FMT_DESC"/>
<param name="customer_number_padding" type="list" default="1" label="PLG_ORDERNUMBER_CUSTOMERNR_PADDING" description="PLG_ORDERNUMBER_CUSTOMERNR_PADDING_DESC" >
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</param>
<param name="customer_number_global" type="radio" default="1" label="PLG_ORDERNUMBER_CUSTOMERNR_COUNTER" description="PLG_ORDERNUMBER_CUSTOMERNR_COUNTER_DESC">
<option value="1">PLG_ORDERNUMBER_COUNTER_GLOBAL</option>
<option value="0">PLG_ORDERNUMBER_COUNTER_PERFORMAT</option>
</param>
</params>
</install>
</extension>
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment