fix(mcs150): point intake email to per-slug wizard (not sales page) + add Trailers field
The MCS-150 intake-completion email linked customers to /order/dot-compliance, which is the sales/checkout page -- it ignores ?order= and asks the customer to re-pick services and pay again, so they 'cannot enter any data' (Paul Wilson's report). Link to the per-service intake wizard /order/<slug>?order=... instead, which loads the paid order, pre-fills from the FMCSA census, and drops payment. Also add a Trailers field to the DOT intake fleet section and wire it through to the MCS-150 PDF Q26 trailer row, so carriers can update trucks AND trailers.
This commit is contained in:
parent
674979c928
commit
35f204c2b8
3 changed files with 21 additions and 4 deletions
|
|
@ -102,8 +102,12 @@
|
|||
<div class="pw-row-3">
|
||||
<label class="pw-field"><span>Power Units (trucks) <em>*</em></span>
|
||||
<input type="number" id="dot-power-units" required min="0" placeholder="e.g. 5" /></label>
|
||||
<label class="pw-field"><span>Trailers</span>
|
||||
<input type="number" id="dot-trailers" min="0" placeholder="e.g. 2" /></label>
|
||||
<label class="pw-field"><span>Drivers <em>*</em></span>
|
||||
<input type="number" id="dot-drivers" required min="0" placeholder="e.g. 6" /></label>
|
||||
</div>
|
||||
<div class="pw-row-2">
|
||||
<label class="pw-field"><span>Annual Miles</span>
|
||||
<input type="number" id="dot-miles" min="0" placeholder="e.g. 250000" /></label>
|
||||
</div>
|
||||
|
|
@ -441,6 +445,7 @@
|
|||
"dot-entity-type": d.entity_type || "", "dot-carrier-op": d.carrier_operation || "",
|
||||
"dot-interstate": d.interstate_intrastate || "", "dot-hazmat": d.hazmat || "",
|
||||
"dot-power-units": d.power_units || "", "dot-drivers": d.drivers || "",
|
||||
"dot-trailers": d.trailers || "",
|
||||
"dot-miles": d.annual_miles || "", "dot-signer-name": d.signer_name || "",
|
||||
"dot-signer-title": d.signer_title || "", "dot-cdl-drivers": d.cdl_drivers || "",
|
||||
"dot-owner-ops": d.owner_operators || "0", "dot-der-name": d.der_name || "",
|
||||
|
|
@ -508,6 +513,7 @@
|
|||
entity_type: val("dot-entity-type"), carrier_operation: val("dot-carrier-op"),
|
||||
interstate_intrastate: val("dot-interstate"), hazmat: val("dot-hazmat"),
|
||||
power_units: val("dot-power-units"), drivers: val("dot-drivers"),
|
||||
trailers: val("dot-trailers"),
|
||||
annual_miles: val("dot-miles"), cargo_types: cargoTypes,
|
||||
signer_name: val("dot-signer-name"), signer_title: val("dot-signer-title"),
|
||||
fleet_size_bracket: val("dot-ucr-bracket"), base_state: val("dot-ucr-state"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue