feat: add isGeneral flag to identify general contracts in NewContractPage

This commit is contained in:
Marshal
2026-07-07 21:58:06 +00:00
parent 94904ea6d0
commit 70a917510e

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