|
@@ -556,7 +556,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
|
|
|
|
|
|
prmiumLabel.stringValue = String(format: "%@ %@", abbreviation, fullString)
|
|
|
original1 = Float(showOrgPriceString()) ?? 0
|
|
|
- discount1 = Float(showPayPriceString()) ?? 0
|
|
|
+ discount1 = Float(showOrgShowPriceString()) ?? 0
|
|
|
paySum = discount1
|
|
|
discount = listPrice - paySum
|
|
|
}
|
|
@@ -590,7 +590,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
|
|
|
|
|
|
prmiumLabel.stringValue = String(format: "%@ %@", abbreviation, fullString)
|
|
|
original1 = Float(showOrgPriceString()) ?? 0
|
|
|
- discount1 = Float(showPayPriceString()) ?? 0
|
|
|
+ discount1 = Float(showOrgShowPriceString()) ?? 0
|
|
|
paySum = discount1
|
|
|
discount = listPrice - paySum
|
|
|
}
|
|
@@ -618,7 +618,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
|
|
|
|
|
|
prmiumLabel.stringValue = String(format: "%@ %@", abbreviation, fullString)
|
|
|
original1 = Float(showOrgPriceString()) ?? 0
|
|
|
- discount1 = Float(showPayPriceString()) ?? 0
|
|
|
+ discount1 = Float(showOrgShowPriceString()) ?? 0
|
|
|
paySum = discount1
|
|
|
discount = listPrice - paySum
|
|
|
}
|
|
@@ -1072,6 +1072,8 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
|
|
|
|
|
|
wechatPayButton.isHidden = true
|
|
|
alipayButton.isHidden = true
|
|
|
+
|
|
|
+ prodocumentView.isHidden = true
|
|
|
} else {
|
|
|
addButton1.isEnabled = true
|
|
|
removeButton1.isEnabled = true
|
|
@@ -1079,6 +1081,8 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
|
|
|
|
|
|
wechatPayButton.isHidden = false
|
|
|
alipayButton.isHidden = false
|
|
|
+
|
|
|
+ prodocumentView.isHidden = false
|
|
|
}
|
|
|
|
|
|
if(newValue == "advanced-annual-subscription-trail" ||
|