# CostShareTypeEnum

**Kind:** Enum

**Source:** `Frontend/src/app/models/sales/new-job/cost-calculation.ts` (line 3)

**Part of:** [Frontend](subsystem-frontend-src-app)

## Values

- `NA`
- `ByTotalValue`
- `ByItemsCount`
- `ByTotalQuantity`

## Relationships

- IMPORTS → `CostCalculationDetails`
- IMPORTS → `MarginCalculation`
- IMPORTS → `MarginCalculationForSalesItem`

## Used by

4 references from 4 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (4)

- `CostCalculationComponent` — `Frontend/src/app/components/sales/cost-calculation/cost-calculation.component.ts`:1
- `PreviewService` — `Frontend/src/app/components/sales/cost-calculation/preview/preview.service.ts`:1
- `MarginByItemsComponent` — `Frontend/src/app/components/sales/margin-calculation/margin-by-items/margin-by-items.component.ts`:1
- `MarginCalculationService` — `Frontend/src/app/components/sales/margin-calculation/margin-calculation.service.ts`:1
