Skip to content

Commit

Permalink
added TAX_LETTER tag to ReceiptTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
swex committed Mar 14, 2017
1 parent aba4bcf commit d156d71
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ private String getTagContents(Field f, FSSaleReceiptItem item) throws Exception
return StringUtils.amountToString(item.getTotal()) + "_"
+ getTaxLetter(item.getTax1());
}
if (f.tag.equals("TAX_LETTER")){
return getTaxLetter(item.getTax1());
}
throw new ParsingException("Unknown tag: " + f.tag);
}

Expand Down

0 comments on commit d156d71

Please sign in to comment.