Skip to content

Commit

Permalink
Se cambia salto de linea para exportador de banco
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Oct 2, 2019
1 parent f5bbc5e commit 9e58980
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@
public class Mercantil extends LVEPaymentExportList {

/** Logger */
static private CLogger s_log = CLogger.getCLogger (MercantilNomina.class);
static private CLogger s_log = CLogger.getCLogger (Mercantil.class);
/** Header Short Format */
private final String HEADER_SHORT_DATE_FORMAT = "yyyyMMdd";

public final static char CR = (char) 0x0D;
public final static char LF = (char) 0x0A;
public final static String CRLF = "" + CR + LF;

@Override
public int exportToFile(List<MPaySelectionCheck> checks, File file, StringBuffer error) {
Expand Down Expand Up @@ -199,7 +201,7 @@ public int exportToFile(List<MPaySelectionCheck> checks, File file, StringBuffer
bPEmail = rightPadding(bPEmail, 50, " ", true);
// Write Credit Register
StringBuffer line = new StringBuffer();
line.append(Env.NL) // New Line
line.append(CRLF) // New Line
.append("2") // Constant
.append(personType) // Type Register
.append(bPTaxId) // BP TaxID
Expand Down Expand Up @@ -372,7 +374,7 @@ public int exportToFileAsVerification(MBankAccount bankAccount, List<MPayment> p
constant2 = leftPadding("", 26, " ");
// Write Credit Register
StringBuffer line = new StringBuffer();
line.append(Env.NL) // New Line
line.append(CRLF) // New Line
.append(constant) // Constant
.append(bankAccountNo) // Bank Account
.append(checkNo) // Check No
Expand Down

0 comments on commit 9e58980

Please sign in to comment.