Merge pull request #522 from Tria-plc/freight_feature/usermanagement

feat: add isGeneral flag to identify general contracts in NewContract…
This commit is contained in:
marshal
2026-07-08 00:58:53 +03:00
committed by GitHub

View File

@@ -505,6 +505,7 @@ export default function NewContractPage({
)!;
const isContainer = data.cargoType === "container";
const isGeneral = data.contractKind === "general_contract";
// Cargo scope rows — no quantities (doc §5.4). Container: one row per enabled
// size; bulk: a single commodity row. Both GENERAL and ONE_TIME are uncapped