}
isAnoToTest = false;
// TEST 2
- if (this.natPce.equals("18") && this.typePce.equals("01") && this.nature.equals("775")) {
+ if (!NOMENCLATURE_M21.equals(this.nomencl) && !NOMENCLATURE_M22.equals(this.nomencl) && this.natPce.equals("18") && this.typePce.equals("01") && this.nature.equals("775")) {
if ((this.typnomencl.equals(TYPE_NOMENCLATURE_NATURE) || this.typnomencl.equals(TYPE_NOMENCLATURE_NATURE_REF_FONC)) && !this.operation.equals("")) {
isAnoToTest = true;
}
}
// TEST 4
isAnoToTest = false;
- if (this.natPce.equals("18") && this.typePce.equals("03") && this.nature.startsWith("2")) {
+ if (!NOMENCLATURE_M21.equals(this.nomencl) && !NOMENCLATURE_M22.equals(this.nomencl) && this.natPce.equals("18") && this.typePce.equals("03") && this.nature.startsWith("2")) {
if ((this.typnomencl.equals(TYPE_NOMENCLATURE_NATURE) || this.typnomencl.equals(TYPE_NOMENCLATURE_NATURE_REF_FONC)) && (!this.operation.equals("040") && !this.operation.equals("4"))) {
isAnoToTest = true;
}
}
// TEST 6
isAnoToTest = false;
- if (this.natPce.equals("18") && this.typePce.equals("03") && this.nature.equals("776")) {
+ if (!NOMENCLATURE_M21.equals(this.nomencl) && !NOMENCLATURE_M22.equals(this.nomencl) && this.natPce.equals("18") && this.typePce.equals("03") && this.nature.equals("776")) {
if ((this.typnomencl.equals(TYPE_NOMENCLATURE_NATURE) || this.typnomencl.equals(TYPE_NOMENCLATURE_NATURE_REF_FONC)) && !(this.operation.equals("042") || this.operation.equals("6"))) {
isAnoToTest = true;
} else if (this.typnomencl.equals(TYPE_NOMENCLATURE_FONCTION) && !(this.fonction.equals("934") || this.fonction.equals("946"))) {
}
// TEST 8
isAnoToTest = false;
- if (this.natPce.equals("18") && this.typePce.equals("03") && this.nature.equals("192")) {
+ if (!NOMENCLATURE_M21.equals(this.nomencl) && !NOMENCLATURE_M22.equals(this.nomencl) && this.natPce.equals("18") && this.typePce.equals("03") && this.nature.equals("192")) {
if ((this.typnomencl.equals(TYPE_NOMENCLATURE_NATURE) || this.typnomencl.equals(TYPE_NOMENCLATURE_NATURE_REF_FONC)) && !(this.operation.equals("040") || this.operation.equals("4"))) {
isAnoToTest = true;
} else if (this.typnomencl.equals(TYPE_NOMENCLATURE_FONCTION) && !(this.fonction.equals("914") || this.fonction.equals("926"))) {