diff --git a/pom.xml b/pom.xml index 71698ff44..7802d4737 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ UTF-8 1.1.2 - 1.0.26 + 1.0.27 diff --git a/src/main/java/au/com/royalpay/payment/manage/surchargeAccount/core/impl/SurchargeAccountServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/surchargeAccount/core/impl/SurchargeAccountServiceImpl.java index f53d0f34c..fa09f6708 100644 --- a/src/main/java/au/com/royalpay/payment/manage/surchargeAccount/core/impl/SurchargeAccountServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/surchargeAccount/core/impl/SurchargeAccountServiceImpl.java @@ -205,9 +205,9 @@ public class SurchargeAccountServiceImpl implements SurchargeAccountService { } } pdfInfo.put("surcharge_wechat", wechatSurcharge); - pdfInfo.put("amount_wechat", wechatSurcharge); + pdfInfo.put("amount_wechat", wechatSurcharge.add(wechatTaxAmount)); pdfInfo.put("surcharge_alipay", alipaySurcharge); - pdfInfo.put("amount_alipay", alipaySurcharge); + pdfInfo.put("amount_alipay", alipaySurcharge.add(alipayTaxAmount)); pdfInfo.put("amount", wechatSurcharge.add(alipaySurcharge)); pdfInfo.put("gst", wechatTaxAmount.add(alipayTaxAmount)); pdfInfo.put("total_amount", (wechatAmount.add(alipayAmount)).setScale(2, RoundingMode.DOWN));