MYS: fix image & e_receipt price bug
This commit is contained in:
parent
1a3c0e81fa
commit
038e13a00a
9 changed files with 463 additions and 560 deletions
|
|
@ -5,6 +5,19 @@ Var INVOICE_URL = ""
|
|||
Var Final_INVOICE_URL = ""
|
||||
Var ProjectId = "682d5a08f4fa421acbfd4102"
|
||||
|
||||
Var DisplayFormatFloat = "%.2f"
|
||||
|
||||
Var Seeker.PriceDrink !assigned StringFmt( Seeker.PriceDrink , DisplayFormatFloat, PreScaleConvertShow)
|
||||
|
||||
; fix-v3-float-string
|
||||
IntoFloatString Seeker.PriceDrink "FloatPriceDrinkString"
|
||||
|
||||
DEBUGVAR Seeker.PriceDrink
|
||||
DEBUGVAR FloatPriceDrinkString
|
||||
|
||||
Var Seeker.PriceDrink = FloatPriceDrinkString
|
||||
|
||||
DEBUGVAR Seeker.PriceDrink
|
||||
|
||||
; check test mode
|
||||
|
||||
|
|
@ -20,11 +33,36 @@ EndIf
|
|||
DEBUGVAR IS_TEST_MODE
|
||||
DEBUGVAR INVOICE_URL
|
||||
|
||||
|
||||
Var ForceStaging = "true"
|
||||
|
||||
If ForceStaging = "true" Then
|
||||
Var IS_TEST_MODE = "true"
|
||||
SAVELOG "Force test staging"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR ForceStaging
|
||||
|
||||
If ProMysteryCup = 1 Then
|
||||
If Seeker.FromProMysteryCup = "true" Then
|
||||
|
||||
Var ProductDesc = Seeker.shownameMystery2
|
||||
|
||||
Else
|
||||
Var ProductDesc = Seeker.showname
|
||||
|
||||
EndIf
|
||||
Else
|
||||
|
||||
Var ProductDesc = Seeker.showname
|
||||
EndIf
|
||||
|
||||
|
||||
Var documentNo = Seeker.VendingTSID
|
||||
Var internalRemark = BoxID
|
||||
Var dateTime = SystemISOTime
|
||||
Var ProductItemClassification = "022"
|
||||
Var ProductItemDescription = Seeker.showname
|
||||
Var ProductItemDescription = ProductDesc
|
||||
Var ProductItemQuantity = 1
|
||||
Var ProductItemUnitPrice = Seeker.PriceDrink
|
||||
Var ProductItemTaxType = "06"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue