mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 08:48:11 +00:00
Merge pull request #876 from Tria-plc/freight_feature/usermanagement
changes
This commit is contained in:
@@ -1785,6 +1785,10 @@ export class ContractBookingService {
|
|||||||
// pricing service derives wagon counts from the in-memory lines.
|
// pricing service derives wagon counts from the in-memory lines.
|
||||||
const route = await this.resolveRoute(contract, dto.contractRouteId);
|
const route = await this.resolveRoute(contract, dto.contractRouteId);
|
||||||
const previewBooking = Object.assign(new Booking(), {
|
const previewBooking = Object.assign(new Booking(), {
|
||||||
|
// contractId makes the preview price off the contract's frozen rate
|
||||||
|
// snapshots exactly like the persisted booking will — without it the
|
||||||
|
// preview total is 0 on a leg with no live rate and the form blocks.
|
||||||
|
contractId: contract.id,
|
||||||
freightType: contract.freightType,
|
freightType: contract.freightType,
|
||||||
tradeDirection: contract.tradeDirection,
|
tradeDirection: contract.tradeDirection,
|
||||||
paymentCurrency: contract.paymentCurrency,
|
paymentCurrency: contract.paymentCurrency,
|
||||||
|
|||||||
@@ -708,7 +708,7 @@ const App = () => {
|
|||||||
<Route path="/forgot-password" element={<ForgotPasswordPage />} />
|
<Route path="/forgot-password" element={<ForgotPasswordPage />} />
|
||||||
{/* <Route path="/um/*" element={<UserManagementHostPage />} /> */}
|
{/* <Route path="/um/*" element={<UserManagementHostPage />} /> */}
|
||||||
<Route path="um/set-password" element={<SetPassword />} />
|
<Route path="um/set-password" element={<SetPassword />} />
|
||||||
<Route path="/callback" element={<FaydaCallbackPage />} />
|
<Route path="/fayda/callback" element={<FaydaCallbackPage />} />
|
||||||
<Route path="*" element={<Navigate to="/auth" replace />} />
|
<Route path="*" element={<Navigate to="/auth" replace />} />
|
||||||
</Routes>
|
</Routes>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user