diff --git a/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/InvoicePlugin.java b/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/InvoicePlugin.java index ad83656..a6649de 100644 --- a/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/InvoicePlugin.java +++ b/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/InvoicePlugin.java @@ -56,8 +56,10 @@ public class InvoicePlugin extends AbstractPlugin { private static Logger logger = Logger.getLogger(InvoicePlugin.class.getName()); // Positions Pattern - kann überschrieben werden + // XX-YYY-####-### oder XX-YYYZZZ-####-### // Default = ([A-Z]{2}-[A-Z]{3}-[0-9]{4}-[0-9]{3}) // Optional = ([A-Z]{2}-(?:[A-Z]{3}|[A-Z]{6})-[0-9]{4}-[0-9]{3}) + // Nur 6- Stellig = ([A-Z]{2}-(?:[A-Z]{6})-[0-9]{4}-[0-9]{3}) public final static String INVOICE_POSITIONS_PATTERN_DEFAULT = "([A-Z]{2}-(?:[A-Z]{3}|[A-Z]{6})-[0-9]{4}-[0-9]{3})"; @Inject diff --git a/office-alexander-logistics-app/src/main/resources/bundle/custom_de.properties b/office-alexander-logistics-app/src/main/resources/bundle/custom_de.properties index e563ded..653d61a 100644 --- a/office-alexander-logistics-app/src/main/resources/bundle/custom_de.properties +++ b/office-alexander-logistics-app/src/main/resources/bundle/custom_de.properties @@ -49,7 +49,7 @@ ERROR_MAIN_BOOKING_PERIOD=Eingabefehler - Bitte überprüfen Sie die Hauptbuchun ERROR_INVOICENO=Die Rechnungsnummer wurde bereits gebucht. Bitte prüfen Sie den Beleg. Sollte die Belegnummer korrekt sein, wiederholen Sie die Aktion. ERROR_IBAN_UNKNOWN=Die von Ihnen erfasste IBAN/BIC ist noch nicht bekannt. Sollte die Eingabe korrekt sein, wiederholen Sie die Aktion. ERROR_MISSING_POSNO=Eingabefehler - Die Positionsnummer in Zeile {1} muss ausgefüllt sein! -ERROR_FORMAT_POSNO=Eingabefehler - Die Positionsnummer in Zeile {1} muss im Format 'XX-YYY-####-###' eingegeben werden! +ERROR_FORMAT_POSNO=Eingabefehler - Die Positionsnummer in Zeile {1} wurde nicht im korrekten Format eingegeben! ERROR_MISSING_CATEGORY=Eingabefehler - Die Leistungsart in Zeile {1} muss ausgefüllt sein! ERROR_MISSING_TAX=Eingabefehler - Die Steuer in Zeile {1} muss ausgefüllt sein! ERROR_MISSING_NET=Eingabefehler - Der Nettobetrag in Zeile {1} darf nicht 0 sein! diff --git a/office-alexander-logistics-app/src/main/resources/bundle/custom_en.properties b/office-alexander-logistics-app/src/main/resources/bundle/custom_en.properties index c31ab00..3c6a66f 100644 --- a/office-alexander-logistics-app/src/main/resources/bundle/custom_en.properties +++ b/office-alexander-logistics-app/src/main/resources/bundle/custom_en.properties @@ -48,7 +48,7 @@ ERROR_MAIN_BOOKING_PERIOD=Input errors - Please check the main booking period wi ERROR_INVOICENO=The invoice number has already been posted. Please check the invoice. If the invoice number is correct, repeat the action. ERROR_IBAN_UNKNOWN=The IBAN/BIC you have entered is not yet known. If the input is correct, repeat the action. ERROR_MISSING_POSNO=Input error - The item number in line {1} must be filled in! -ERROR_FORMAT_POSNO=Input error - The item number in line {1} must be entered in the format 'XX-YYY-####-###'! +ERROR_FORMAT_POSNO=Input error - The item number in line {1} was not entered in the correct format! ERROR_MISSING_CATEGORY=Input error - The category type in line {1} must be filled in! ERROR_MISSING_TAX=Input error - The tax in line {1} must be filled in! ERROR_MISSING_NET=Input error - The net amount in line {1} must not be 0!