Skip to content

Commit

Permalink
Se expande el nro de de documento del Debito en el txt del Banco Banesco
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosaparadam committed Dec 15, 2022
1 parent 3d5cdce commit ffcdae2
Show file tree
Hide file tree
Showing 2 changed files with 481 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ private int export(List<MPaySelectionCheck> checks, File file, StringBuffer erro
String debtReferenceNo = processValue(paySelection.getDocumentNo());
debtReferenceNo = debtReferenceNo.substring(0, debtReferenceNo.length() >= 8? 8: debtReferenceNo.length());
debtReferenceNo = debtReferenceNo.replaceAll("\\D+","");
debtReferenceNo = leftPadding(debtReferenceNo, 8, "0");
debtReferenceNo = rightPadding(debtReferenceNo, 30, " ");
// Payment Amount
String totalAmtAsString = String.format("%.2f", totalPaymentAmount).replace(".", "").replace(",", "");
Expand Down
Loading

0 comments on commit ffcdae2

Please sign in to comment.