mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 02:00:56 +00:00
feat: add isGeneral flag to identify general contracts in NewContractPage
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user