forked from jverein/jverein
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Abrechnungslauf ohne SEPA File Abfrage (#136)
* Abrechnungslauf ohne SEPA File Abfrage Erlaube einen Abrechnungslauf ohne eine XML Datei zu generieren. * fix deprecated Long und RoundingMode * Fix Dateiausgabe und 1 Cent Überweisung Es wird jetzt auch oben ausgegeben wenn eine XML Datei geschrieben wurde Bei eine 1Cent Überweisung wird nur Hibiscus und Datei zur Auswahl angeboten (neuer enum für die Auswahl) * Fix Hibiscus Ausgabe Meldung Ausgabe nur wenn wirklich eine Übergabe erfolgt ist
- Loading branch information
1 parent
2ff3f1c
commit 6e0a025
Showing
7 changed files
with
126 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/********************************************************************** | ||
* Copyright (c) by Heiner Jostkleigrewe | ||
* This program is free software: you can redistribute it and/or modify it under the terms of the | ||
* GNU General Public License as published by the Free Software Foundation, either version 3 of the | ||
* License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without | ||
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See | ||
* the GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with this program. If not, | ||
* see <http://www.gnu.org/licenses/>. | ||
* | ||
* heiner@jverein.de | ||
* www.jverein.de | ||
**********************************************************************/ | ||
package de.jost_net.JVerein.keys; | ||
|
||
/** | ||
* Abrechnungsausgabe | ||
*/ | ||
public enum Ct1Ausgabe | ||
{ | ||
|
||
SEPA_DATEI(1, "Datei"), HIBISCUS(2, "Hibiscus"); | ||
private final String text; | ||
|
||
private final int key; | ||
|
||
Ct1Ausgabe(int key, String text) | ||
{ | ||
this.key = key; | ||
this.text = text; | ||
} | ||
|
||
public int getKey() | ||
{ | ||
return key; | ||
} | ||
|
||
public String getText() | ||
{ | ||
return text; | ||
} | ||
|
||
public static Ct1Ausgabe getByKey(int key) | ||
{ | ||
for (Ct1Ausgabe ara : Ct1Ausgabe.values()) | ||
{ | ||
if (ara.getKey() == key) | ||
{ | ||
return ara; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
@Override | ||
public String toString() | ||
{ | ||
return getText(); | ||
} | ||
} |