Update BaseXPrint.java
This commit is contained in:
parent
133593a4d7
commit
f33f3463a8
@ -877,8 +877,9 @@ public abstract class BaseXPrint {
|
||||
printString("Status :" + pay.getStatus());
|
||||
printString("Date :" + pay.getDate());
|
||||
printString("Time :" + pay.getTime());
|
||||
|
||||
printString("Amount :" + "MMK " + PrintUtils.getInstance().getSeparatorOnlyNumberFormat(pay.getAmount()));
|
||||
printString("Amount : MMK "
|
||||
+ (pay.getTransactionType() == TransactionsType.MMQR_REFUND.value ? "-" : "")
|
||||
+ PrintUtils.getInstance().getSeparatorOnlyNumberFormat(pay.getAmount()));
|
||||
|
||||
if (pay.getTransactionType() == TransactionsType.MMQR_REFUND.value) {
|
||||
refundTotal += pay.getAmount();
|
||||
@ -892,7 +893,7 @@ public abstract class BaseXPrint {
|
||||
|
||||
dashBreak();
|
||||
// print2ColumnsString("Refund Total:MMK", PrintUtils.getInstance().getSeparatorOnlyNumberFormat(refundTotal));
|
||||
printer.appendPrnStr("Refund Total:MMK", PrintUtils.getInstance().getSeparatorOnlyNumberFormat(refundTotal) + " ", fontNormal, false);
|
||||
printer.appendPrnStr("Refund Total:MMK", "- " + PrintUtils.getInstance().getSeparatorOnlyNumberFormat(refundTotal) + " ", fontNormal, false);
|
||||
dashBreak();
|
||||
// print2ColumnsString("Sale Total :MMK", PrintUtils.getInstance().getSeparatorOnlyNumberFormat(totalAmount));
|
||||
printer.appendPrnStr("Sale Total :MMK", PrintUtils.getInstance().getSeparatorOnlyNumberFormat(totalAmount) + " ", fontNormal, false);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user