Kind: Controller
Source: Pams/API/Pams.API/Controllers/BookingTarget/TeamTargetController.cs (line 11)
Part of: Pams
Where it refuses work
TeamTargetControllerstops the work with an early return whenisSaved == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly, in 2 places.TeamTargetControllerstops the work with an early return when!logic.IsYearTargetsFound(CompanyBranchID, year) && year < System.DateTime.Now.Year.TeamTargetControllerstops the work with an early return when!isFound.TeamTargetControllerstops the work with an early return whenisSaved.
Relationships
- MODULE_DECLARES →
GetLookupYears - MODULE_DECLARES →
GetTeamsByYear - MODULE_DECLARES →
GetTeamMonthlyTargetByYear - MODULE_DECLARES →
SaveTeamTarget - MODULE_DECLARES →
SaveTeamMonthlyTarget - MODULE_DECLARES →
UpdateNominalMargin - IMPORTS →
BaseController - IMPORTS →
BranchMinBookingBindingModel - IMPORTS →
TeamTargetBindingModel - IMPORTS →
TeamMonthlyTarget - IMPORTS →
BranchMarginBindingModel
Used by
2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.
calls by (2)
AppSettings—Frontend/src/app/settings/app/app.settings.ts:241AppSettings—Pams/Web/Pams.Web/Client/app/settings/app/app.settings.ts:126
Was this page helpful?