예제 #1
0
        public void CheckPossibilityToCreateExpenditureWaybill(Deal deal, User user, bool checkLogic = true)
        {
            // права
            CheckPermissionToPerformOperation(deal, user, Permission.ExpenditureWaybill_Create_Edit);

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