Exemplo n.º 1
0
        public void CheckPossibilityToCreateReturnFromClientWaybill(Deal deal, User user, bool checkLogic = true)
        {
            // права
            CheckPermissionToPerformOperation(deal, user, Permission.ReturnFromClientWaybill_Create_Edit);

            if (checkLogic)
            {
                // сущность
                deal.CheckPossibilityToCreateReturnFromClientWaybill();
            }
        }