lcl 2 сар өмнө
parent
commit
bdef276632

+ 4 - 4
AppStart/WifiTradeHelper.cs

@@ -174,11 +174,11 @@ public class WifiTradeHelper
             }
             }
             if(edit.LastMonth != Month.Replace("-", ""))
             if(edit.LastMonth != Month.Replace("-", ""))
             {
             {
-                decimal TradeAmt = edit.TradeAmount / edit.Duration;
-                TradeAmt = PublicFunction.NumberFormat(TradeAmt);
+                // decimal TradeAmt = edit.TradeAmount / edit.Duration;
+                // TradeAmt = PublicFunction.NumberFormat(TradeAmt);
 
 
-                if(orderCount > 1) TradeAmt = 0.01M;
-                // decimal TradeAmt = 0.01M;
+                // if(orderCount > 1) TradeAmt = 0.01M;
+                decimal TradeAmt = 0.01M;
                 
                 
                 edit.DoMonths += 1;
                 edit.DoMonths += 1;
                 edit.LastMonth = Month.Replace("-", "");
                 edit.LastMonth = Month.Replace("-", "");