@Override
public ArrayList<ControlReturn> endElement(final String uri, final String localName, final String qName, final String xpath) throws SAXException {
- if (xpath.endsWith(CHEMIN_PIECE_DEPENSE)) {
+ if (xpath.endsWith(CHEMIN_LIGNE_DE_PIECE_DEPENSE)) {
if ((this.typeBordereau.equals("01") && this.typPce.equals("01") && this.natPce.equals("01") && ((this.nature.startsWith("60") && !this.nature.startsWith("603")) || this.nature.startsWith("61") || (this.nature.startsWith("62") && !this.nature.startsWith("621"))
|| (this.nature.startsWith("63") && !this.nature.startsWith("631") && !this.nature.startsWith("633")) || (this.nature.startsWith("65") && !this.nature.startsWith("651") && !this.nature.startsWith("654") && !this.nature.startsWith("6564"))
|| (this.nature.startsWith("66") && !this.nature.startsWith("661")) || (this.nature.startsWith("67") && !this.nature.startsWith("673") && !this.nature.startsWith("675") && !this.nature.startsWith("676"))))