Added prefix to job search select drop down. IO-417

This commit is contained in:
Patrick Fic
2020-12-02 13:57:30 -08:00
parent a8b62d75b1
commit 80835d4da9
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -79,9 +79,9 @@ const JobSearchSelect = ({ value, onChange, onBlur, disabled }, ref) => {
{theOptions
? theOptions.map((o) => (
<Option key={o.id} value={o.id}>
{`${o.ro_number ? o.ro_number : o.est_number} | ${
o.ownr_ln || ""
} ${o.ownr_fn || ""} ${
{`${
o.ro_number ? `RO ${o.ro_number}` : `EST ${o.est_number}`
} | ${o.ownr_ln || ""} ${o.ownr_fn || ""} ${
o.ownr_co_nm ? ` ${o.ownr_co_num}` : ""
}| ${o.v_model_yr || ""} ${o.v_make_desc || ""} ${
o.v_model_desc || ""

View File

@@ -64,7 +64,7 @@ export default function VehicleTagPopoverComponent({ job }) {
);
return (
<Popover placement="bottom" visible={true} content={content}>
<Popover placement="bottom" content={content}>
<Tag color="blue">
{job.vehicleid ? (
<Link to={`/manage/vehicles/${job.vehicleid}`}>