| | |
| | | else |
| | | { |
| | | //xml xp = ViewObject::RetrieveData(L"/sale/data/GDN3/profit/paramSS", L"item", L"cryrate"); |
| | | xml xp = ViewObject::RetrieveData(L"/sale/data/GDN3/profit/paramSSS"); |
| | | xml xp = ViewObject::RetrieveData(L"/sale/data/GDN3/profit/paramSS"); |
| | | if (xp.selectSingleNode(L"root/item/@value")) |
| | | exchangeRate = xp.selectSingleNode(L"root/item/@value").text(); |
| | | dw_profit.SetItemString(1, L"ExchangeRate", exchangeRate); |
| | |
| | | //double sale = dw_profit.GetItemDouble(1,L"ExchangeAmountEx"); |
| | | |
| | | xstring ETDEx = dw_base.GetItemString(1, L"ETD"); |
| | | if (ETDEx >= L"2023-01-01") |
| | | if (ETDEx <= L"2025-12-31") |
| | | { |
| | | expRate = L"0.2"; |
| | | } |