refactor: rm company profile

This commit is contained in:
Nathnael
2026-08-08 15:06:46 +00:00
parent d337fa0d85
commit 7a32bb95ff
25 changed files with 1313 additions and 2899 deletions

View File

@@ -1,5 +1,9 @@
import type { BaseEntity } from "../common";
import { ClearanceNextAction, ContractDocPhase, IClearanceMilestone } from "./contracts";
import {
ClearanceNextAction,
ContractDocPhase,
IClearanceMilestone,
} from "./contracts";
export * from "./dropdown_settings";
export * from "./file_upload_settings";
@@ -183,7 +187,7 @@ export enum InvoiceSource {
FirstMile = "firstmile",
LastMile = "lastmile",
/** Customs clearance service fee — billed on the booking invoice with the freight. */
Clearance = "clearance"
Clearance = "clearance",
}
export enum SchedulingStatus {
@@ -444,8 +448,6 @@ export interface ICustomer extends BaseEntity {
email: string;
phone: string;
companyName: string;
companyEmail: string;
companyPhone: string;
companyLocation: string;
companyAddress: string;
contactPersonName: string;
@@ -471,8 +473,6 @@ export interface CreateCustomerDto {
email: string;
phone: string;
companyName: string;
companyEmail: string;
companyPhone: string;
companyLocation: string;
companyAddress: string;
contactPersonName: string;
@@ -758,7 +758,10 @@ export interface IBooking extends BaseEntity {
*/
isSplit?: boolean;
/** What this booking carried before it was reduced by a split (bulk tons / units per size). */
preSplitQuantities?: { bulkTons?: number; bySize?: Record<string, number> } | null;
preSplitQuantities?: {
bulkTons?: number;
bySize?: Record<string, number>;
} | null;
}
export interface PricingBreakdownLineItem {