mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-09 05:58:18 +00:00
fix issue -> consolidation
This commit is contained in:
@@ -1024,8 +1024,9 @@ function PriceConfirmModal({
|
||||
<Stack gap={6}>
|
||||
{overweightLines.map((line, i) => (
|
||||
<Text key={i} fz="sm" c="#9A5B00">
|
||||
{line.containerTypeCode}: {line.totalVgmTons}t exceeds limit{" "}
|
||||
{line.maxAllowedTons}t (+{line.excessTons}t overweight)
|
||||
{line.containerLabel || line.containerTypeCode}:{" "}
|
||||
{line.totalVgmTons}t exceeds limit {line.maxAllowedTons}t (+
|
||||
{line.excessTons}t overweight)
|
||||
</Text>
|
||||
))}
|
||||
<Text fz="xs" c="#9A5B00" mt={2}>
|
||||
|
||||
@@ -644,8 +644,9 @@ function PriceConfirmModal({
|
||||
<Stack gap={6}>
|
||||
{overweightLines.map((line, i) => (
|
||||
<Text key={i} fz="sm" c="#9A5B00">
|
||||
{line.containerTypeCode}: {line.totalVgmTons}t exceeds limit{" "}
|
||||
{line.maxAllowedTons}t (+{line.excessTons}t overweight)
|
||||
{line.containerLabel || line.containerTypeCode}:{" "}
|
||||
{line.totalVgmTons}t exceeds limit {line.maxAllowedTons}t (+
|
||||
{line.excessTons}t overweight)
|
||||
</Text>
|
||||
))}
|
||||
<Text fz="xs" c="#9A5B00" mt={2}>
|
||||
|
||||
@@ -33,9 +33,12 @@ export interface SubmitContractResponse {
|
||||
message?: string;
|
||||
}
|
||||
|
||||
/** A container line whose total VGM exceeds the weight-limit rule. */
|
||||
/** One physical container whose VGM exceeds the weight-limit rule. */
|
||||
export interface OverweightLine {
|
||||
containerTypeCode: string;
|
||||
/** Container number, or "<code> #2" when unnumbered. */
|
||||
containerLabel: string;
|
||||
/** This container's VGM — the limit is per container, never pooled. */
|
||||
totalVgmTons: number;
|
||||
maxAllowedTons: number;
|
||||
excessTons: number;
|
||||
|
||||
@@ -70,6 +70,9 @@ export interface ShippingLinePriceQuote {
|
||||
/** Containers over their type's weight limit — a surcharge, not a block. */
|
||||
overweightLines: {
|
||||
containerTypeCode: string;
|
||||
/** Container number, or "<code> #2" when unnumbered. */
|
||||
containerLabel: string;
|
||||
/** This container's VGM — the limit is per container, never pooled. */
|
||||
totalVgmTons: number;
|
||||
maxAllowedTons: number;
|
||||
excessTons: number;
|
||||
|
||||
Reference in New Issue
Block a user