Пример #1
0
        private void UpdatesOverrideCodes()
        {
            var index = OverrideLimitDetails.IndexOf(SelectedOverrideLimit);

            //    OverrideCodes = _allOverrideCodes
            //        .FirstOrDefault(x => x.RowId == index + 1)?.Codes;

            if (index >= 0)
            {
                OverrideCodes = _allOverrideCodes[index].Codes;
            }
            MaxLimitMessage = SelectedOverrideLimit?.MaxLimitMessage;
        }
Пример #2
0
        private void OverrideLimitOverride()
        {
            PerformAction(async() =>
            {
                var success = await _checkoutBusinessLogic.OverrideLimitOverride(
                    (OverrideLimitDetails.IndexOf(SelectedOverrideLimit) + 1).ToString(),
                    OverrideCode,
                    Document,
                    Details);

                IsOverrideDone = success;
            });
        }