Added prefix to job search select drop down. IO-417
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -79,9 +79,9 @@ const JobSearchSelect = ({ value, onChange, onBlur, disabled }, ref) => {
|
|||||||
{theOptions
|
{theOptions
|
||||||
? theOptions.map((o) => (
|
? theOptions.map((o) => (
|
||||||
<Option key={o.id} value={o.id}>
|
<Option key={o.id} value={o.id}>
|
||||||
{`${o.ro_number ? o.ro_number : o.est_number} | ${
|
{`${
|
||||||
o.ownr_ln || ""
|
o.ro_number ? `RO ${o.ro_number}` : `EST ${o.est_number}`
|
||||||
} ${o.ownr_fn || ""} ${
|
} | ${o.ownr_ln || ""} ${o.ownr_fn || ""} ${
|
||||||
o.ownr_co_nm ? ` ${o.ownr_co_num}` : ""
|
o.ownr_co_nm ? ` ${o.ownr_co_num}` : ""
|
||||||
}| ${o.v_model_yr || ""} ${o.v_make_desc || ""} ${
|
}| ${o.v_model_yr || ""} ${o.v_make_desc || ""} ${
|
||||||
o.v_model_desc || ""
|
o.v_model_desc || ""
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export default function VehicleTagPopoverComponent({ job }) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Popover placement="bottom" visible={true} content={content}>
|
<Popover placement="bottom" content={content}>
|
||||||
<Tag color="blue">
|
<Tag color="blue">
|
||||||
{job.vehicleid ? (
|
{job.vehicleid ? (
|
||||||
<Link to={`/manage/vehicles/${job.vehicleid}`}>
|
<Link to={`/manage/vehicles/${job.vehicleid}`}>
|
||||||
|
|||||||
Reference in New Issue
Block a user