feat(estimates): integrate inventory items

This commit is contained in:
Schubert Ferenc 2026-07-05 11:54:23 +02:00
parent fb5c2cc26a
commit 663bdc41b1
15 changed files with 629 additions and 28 deletions

View file

@ -166,6 +166,8 @@ export interface RepairDocument {
export interface RepairEstimateItemPayload {
item_type: RepairEstimateItemType;
inventory_item_id?: number | null;
inventory_price_overridden?: boolean;
title: string;
description: string | null;
quantity: string;
@ -186,6 +188,10 @@ export interface RepairEstimatePayload {
export interface RepairEstimateItem extends RepairEstimateItemPayload {
id: number;
estimate_id: number;
inventory_snapshot_name: string;
inventory_snapshot_sku: string;
inventory_snapshot_manufacturer: string | null;
inventory_snapshot_part_number: string | null;
position: number;
total_cents: number;
created_at: string;