# CostCalculationDetails

**Kind:** Class

**Source:** `Frontend/src/app/components/sales/margin-calculation/margin-calculation.ts` (line 40)

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

## Properties

| Property | Type |
|---|---|
| `Id` | `number` |
| `BranchId` | `number` |
| `CreatedById` | `number` |
| `CreatedAt` | `Date` |
| `LastModifiedAt` | `Date` |
| `MarginIsRelatedToId` | `number` |
| `ItemDescription` | `string` |
| `MarginItemId` | `number` |
| `LastModifiedById` | `number` |
| `CostCalculationId` | `number` |
| `MarginPercent` | `number` |
| `_MarginPercent` | `number` |
| `SalesOfferId` | `number` |
| `ItemDefaultId` | `number` |
| `ItemDefaultValue` | `number` |
| `_MarginCalculatedAmount` | `number` |
| `CostCalculationMarginDetails` | `CostCalculationMarginDetail[]` |
| `_TotalRowItemCost` | `number` |
| `_TotalRowItemMargin` | `number` |
| `_IsAdditionalProvision` | `boolean` |

## Used by

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

### Imported by (6)

- `CostCalculationComponent` — `Frontend/src/app/components/sales/cost-calculation/cost-calculation.component.ts`:1
- `PreviewComponent` — `Frontend/src/app/components/sales/cost-calculation/preview/preview.component.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
- `OfferPanelDetailsComponent` — `Frontend/src/app/components/sales/new-job/offer-panel-details/offer-panel-details.component.ts`:1
- `CostShareTypeEnum` — `Frontend/src/app/models/sales/new-job/cost-calculation.ts`:3
