IO-2604 Add vendor tags to search select & vendor edit screen.

This commit is contained in:
Patrick Fic
2025-07-22 10:03:07 -07:00
parent 953e70efef
commit c45f38e47b
12 changed files with 12983 additions and 11754 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -52,6 +52,7 @@ const VendorSearchSelect = ({ value, onChange, options, onSelect, disabled, pref
> >
{label} {label}
</div> </div>
{discount && discount !== 0 ? <Tag color="green">{`${discount * 100}%`}</Tag> : null} {discount && discount !== 0 ? <Tag color="green">{`${discount * 100}%`}</Tag> : null}
</div> </div>
); );
@@ -116,6 +117,11 @@ const VendorSearchSelect = ({ value, onChange, options, onSelect, disabled, pref
{o.name} {o.name}
</div> </div>
<Space style={{ marginLeft: "1rem" }}> <Space style={{ marginLeft: "1rem" }}>
{o.tags?.map((tag, idx) => (
<Tag key={idx} style={{ marginLeft: "0.5rem" }}>
{tag}
</Tag>
))}
{o.phone && showPhone && <PhoneNumberFormatter>{o.phone}</PhoneNumberFormatter>} {o.phone && showPhone && <PhoneNumberFormatter>{o.phone}</PhoneNumberFormatter>}
{o.discount && o.discount !== 0 ? <Tag color="green">{`${o.discount * 100}%`}</Tag> : null} {o.discount && o.discount !== 0 ? <Tag color="green">{`${o.discount * 100}%`}</Tag> : null}
</Space> </Space>

View File

@@ -1,7 +1,7 @@
import { DeleteFilled } from "@ant-design/icons"; import { DeleteFilled } from "@ant-design/icons";
import { useApolloClient } from "@apollo/client"; import { useApolloClient } from "@apollo/client";
import { useSplitTreatments } from "@splitsoftware/splitio-react"; import { useSplitTreatments } from "@splitsoftware/splitio-react";
import { Button, Divider, Form, Input, InputNumber, Space, Switch } from "antd"; import { Button, Divider, Form, Input, InputNumber, Select, Space, Switch } from "antd";
import { PageHeader } from "@ant-design/pro-layout"; import { PageHeader } from "@ant-design/pro-layout";
import React from "react"; import React from "react";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
@@ -179,6 +179,18 @@ export function VendorsFormComponent({
} }
</LayoutFormRow> </LayoutFormRow>
<Form.Item
name="tags"
label={t("vendor.fields.tags")}
rules={[
{
//message: t("general.validation.required"),
type: "array"
}
]}
>
<Select mode="tags" />
</Form.Item>
{DmsAp.treatment === "on" && ( {DmsAp.treatment === "on" && (
<Form.Item label={t("vendors.fields.dmsid")} name="dmsid"> <Form.Item label={t("vendors.fields.dmsid")} name="dmsid">
<Input /> <Input />

View File

@@ -1,5 +1,5 @@
import { SyncOutlined } from "@ant-design/icons"; import { SyncOutlined } from "@ant-design/icons";
import { Button, Card, Input, Space, Table } from "antd"; import { Button, Card, Input, Space, Table, Tag } from "antd";
import queryString from "query-string"; import queryString from "query-string";
import React, { useState } from "react"; import React, { useState } from "react";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
@@ -38,6 +38,18 @@ export default function VendorsListComponent({ handleNewVendor, loading, handleO
title: t("vendors.fields.city"), title: t("vendors.fields.city"),
dataIndex: "city", dataIndex: "city",
key: "city" key: "city"
},
{
title: t("vendors.fields.tags"),
dataIndex: "tags",
key: "tags",
render: (text, record) => (
<Space>
{record?.tags?.map((tag, idx) => (
<Tag key={idx}>{tag}</Tag>
))}
</Space>
)
} }
]; ];

View File

@@ -19,6 +19,7 @@ export const QUERY_VENDOR_BY_ID = gql`
active active
phone phone
dmsid dmsid
tags
} }
} }
`; `;
@@ -54,6 +55,7 @@ export const QUERY_ALL_VENDORS = gql`
city city
phone phone
active active
tags
} }
} }
`; `;
@@ -89,6 +91,7 @@ export const QUERY_ALL_VENDORS_FOR_ORDER = gql`
email email
active active
phone phone
tags
} }
jobs(where: { id: { _eq: $jobId } }) { jobs(where: { id: { _eq: $jobId } }) {
v_make_desc v_make_desc
@@ -105,6 +108,7 @@ export const SEARCH_VENDOR_AUTOCOMPLETE = gql`
cost_center cost_center
active active
favorite favorite
tags
} }
} }
`; `;
@@ -124,6 +128,7 @@ export const SEARCH_VENDOR_AUTOCOMPLETE_WITH_ADDR = gql`
email email
state state
active active
tags
} }
} }
`; `;

View File

@@ -426,6 +426,11 @@
"messagingtext": "Messaging Preset Text", "messagingtext": "Messaging Preset Text",
"noteslabel": "Note Label", "noteslabel": "Note Label",
"notestext": "Note Text", "notestext": "Note Text",
"notifications": {
"description": "Select employees to automatically follow new jobs and receive notifications for job updates.",
"invalid_followers": "Invalid selection. Please select valid employees.",
"placeholder": "Search for employees"
},
"partslocation": "Parts Location", "partslocation": "Parts Location",
"phone": "Phone", "phone": "Phone",
"prodtargethrs": "Production Target Hours", "prodtargethrs": "Production Target Hours",
@@ -648,15 +653,9 @@
"use_paint_scale_data": "Use Paint Scale Data for Job Costing?", "use_paint_scale_data": "Use Paint Scale Data for Job Costing?",
"uselocalmediaserver": "Use Local Media Server?", "uselocalmediaserver": "Use Local Media Server?",
"website": "Website", "website": "Website",
"zip_post": "Zip/Postal Code", "zip_post": "Zip/Postal Code"
"notifications": {
"description": "Select employees to automatically follow new jobs and receive notifications for job updates.",
"placeholder": "Search for employees",
"invalid_followers": "Invalid selection. Please select valid employees."
}
}, },
"labels": { "labels": {
"consent_settings": "Phone Number Opt-Out List",
"2tiername": "Name => RO", "2tiername": "Name => RO",
"2tiersetup": "2 Tier Setup", "2tiersetup": "2 Tier Setup",
"2tiersource": "Source => RO", "2tiersource": "Source => RO",
@@ -667,6 +666,7 @@
"apptcolors": "Appointment Colors", "apptcolors": "Appointment Colors",
"businessinformation": "Business Information", "businessinformation": "Business Information",
"checklists": "Checklists", "checklists": "Checklists",
"consent_settings": "Phone Number Opt-Out List",
"csiq": "CSI Questions", "csiq": "CSI Questions",
"customtemplates": "Custom Templates", "customtemplates": "Custom Templates",
"defaultcostsmapping": "Default Costs Mapping", "defaultcostsmapping": "Default Costs Mapping",
@@ -704,6 +704,9 @@
"messagingpresets": "Messaging Presets", "messagingpresets": "Messaging Presets",
"notemplatesavailable": "No templates available to add.", "notemplatesavailable": "No templates available to add.",
"notespresets": "Notes Presets", "notespresets": "Notes Presets",
"notifications": {
"followers": "Notifications"
},
"orderstatuses": "Order Statuses", "orderstatuses": "Order Statuses",
"partslocations": "Parts Locations", "partslocations": "Parts Locations",
"partsscan": "Parts Scanning", "partsscan": "Parts Scanning",
@@ -734,10 +737,7 @@
"ssbuckets": "Job Size Definitions", "ssbuckets": "Job Size Definitions",
"systemsettings": "System Settings", "systemsettings": "System Settings",
"task-presets": "Task Presets", "task-presets": "Task Presets",
"workingdays": "Working Days", "workingdays": "Working Days"
"notifications": {
"followers": "Notifications"
}
}, },
"operations": { "operations": {
"contains": "Contains", "contains": "Contains",
@@ -783,6 +783,15 @@
"completed": "Job checklist completed." "completed": "Job checklist completed."
} }
}, },
"consent": {
"associated_owners": "Associated Owners",
"created_at": "Opt-Out Date",
"no_owners": "No Associated Owners",
"phone_1": "Phone 1",
"phone_2": "Phone 2",
"phone_number": "Phone Number",
"text_body": "Users can opt out of receiving SMS messages by replying with keywords such as STOP, UNSUBSCRIBE, CANCEL, END, QUIT, STOPALL, REVOKE and OPTOUT. To opt back in, users can reply with START, YES, or UNSTOP. Even after opting out, users can still send messages to us, which will be received and processed as needed. Ensure customers are informed to reply with these keywords to manage their messaging preferences. After opting out, users receive a confirmation message and will not receive further messages until they opt back in."
},
"contracts": { "contracts": {
"actions": { "actions": {
"changerate": "Change Contract Rates", "changerate": "Change Contract Rates",
@@ -1235,11 +1244,11 @@
"fcm": "You must allow notification permissions to have real time messaging. Click to try again.", "fcm": "You must allow notification permissions to have real time messaging. Click to try again.",
"notfound": "No record was found.", "notfound": "No record was found.",
"sizelimit": "The selected items exceed the size limit.", "sizelimit": "The selected items exceed the size limit.",
"submit-for-testing": "Error submitting Job for testing.",
"sub_status": { "sub_status": {
"expired": "The subscription for this shop has expired. Please contact Sales to reactivate.", "expired": "The subscription for this shop has expired. Please contact Sales to reactivate.",
"trial-expired": "The trial for this shop has expired. Please contact Sales to reactivate." "trial-expired": "The trial for this shop has expired. Please contact Sales to reactivate."
} },
"submit-for-testing": "Error submitting Job for testing."
}, },
"itemtypes": { "itemtypes": {
"contract": "CC Contract", "contract": "CC Contract",
@@ -1659,8 +1668,6 @@
"adjustment_bottom_line": "Adjustments", "adjustment_bottom_line": "Adjustments",
"adjustmenthours": "Adjustment Hours", "adjustmenthours": "Adjustment Hours",
"alt_transport": "Alt. Trans.", "alt_transport": "Alt. Trans.",
"estimate_sent_approval": "Estimate Sent for Approval",
"estimate_approved": "Estimate Approved",
"area_of_damage_impact": { "area_of_damage_impact": {
"10": "Left Front Side", "10": "Left Front Side",
"11": "Left Front Corner", "11": "Left Front Corner",
@@ -1783,6 +1790,8 @@
"est_ct_ln": "Estimator Last Name", "est_ct_ln": "Estimator Last Name",
"est_ea": "Estimator Email", "est_ea": "Estimator Email",
"est_ph1": "Estimator Phone #", "est_ph1": "Estimator Phone #",
"estimate_approved": "Estimate Approved",
"estimate_sent_approval": "Estimate Sent for Approval",
"federal_tax_payable": "Federal Tax Payable", "federal_tax_payable": "Federal Tax Payable",
"federal_tax_rate": "Federal Tax Rate", "federal_tax_rate": "Federal Tax Rate",
"flat_rate_ats": "Flat Rate ATS?", "flat_rate_ats": "Flat Rate ATS?",
@@ -1966,8 +1975,6 @@
"scheddates": "Schedule Dates" "scheddates": "Schedule Dates"
}, },
"labels": { "labels": {
"sent": "",
"approved": "",
"accountsreceivable": "Accounts Receivable", "accountsreceivable": "Accounts Receivable",
"act_price_ppc": "New Part Price", "act_price_ppc": "New Part Price",
"actual_completion_inferred": "$t(jobs.fields.actual_completion) inferred using $t(jobs.fields.scheduled_completion).", "actual_completion_inferred": "$t(jobs.fields.actual_completion) inferred using $t(jobs.fields.scheduled_completion).",
@@ -1982,6 +1989,7 @@
"alreadyaddedtoscoreboard": "Job has already been added to scoreboard. Saving will update the previous entry.", "alreadyaddedtoscoreboard": "Job has already been added to scoreboard. Saving will update the previous entry.",
"alreadyclosed": "This Job has already been closed.", "alreadyclosed": "This Job has already been closed.",
"appointmentconfirmation": "Send confirmation to customer?", "appointmentconfirmation": "Send confirmation to customer?",
"approved": "",
"associationwarning": "Any changes to associations will require updating the data from the new parent record to the Job.", "associationwarning": "Any changes to associations will require updating the data from the new parent record to the Job.",
"audit": "Audit Trail", "audit": "Audit Trail",
"available": "Available", "available": "Available",
@@ -2172,6 +2180,7 @@
"sales": "Sales", "sales": "Sales",
"savebeforeconversion": "You have unsaved changes on the Job. Please save them before converting it. ", "savebeforeconversion": "You have unsaved changes on the Job. Please save them before converting it. ",
"scheduledinchange": "The scheduled in is based off the latest appointment. To change this date, please schedule or reschedule the Job. ", "scheduledinchange": "The scheduled in is based off the latest appointment. To change this date, please schedule or reschedule the Job. ",
"sent": "",
"specialcoveragepolicy": "Special Coverage Policy Applies", "specialcoveragepolicy": "Special Coverage Policy Applies",
"state_tax_amt": "Provincial/State Taxes", "state_tax_amt": "Provincial/State Taxes",
"subletsnotcompleted": "Outstanding Sublets", "subletsnotcompleted": "Outstanding Sublets",
@@ -2388,15 +2397,16 @@
}, },
"errors": { "errors": {
"invalidphone": "The phone number is invalid. Unable to open conversation. ", "invalidphone": "The phone number is invalid. Unable to open conversation. ",
"no_consent": "This phone number has opted-out of Messaging.",
"noattachedjobs": "No Jobs have been associated to this conversation. ", "noattachedjobs": "No Jobs have been associated to this conversation. ",
"updatinglabel": "Error updating label. {{error}}", "updatinglabel": "Error updating label. {{error}}"
"no_consent": "This phone number has opted-out of Messaging."
}, },
"labels": { "labels": {
"addlabel": "Add a label to this conversation.", "addlabel": "Add a label to this conversation.",
"archive": "Archive", "archive": "Archive",
"maxtenimages": "You can only select up to a maximum of 10 images at a time.", "maxtenimages": "You can only select up to a maximum of 10 images at a time.",
"messaging": "Messaging", "messaging": "Messaging",
"no_consent": "Opted-out",
"noallowtxt": "This customer has not indicated their permission to be messaged.", "noallowtxt": "This customer has not indicated their permission to be messaged.",
"nojobs": "Not associated to any Job.", "nojobs": "Not associated to any Job.",
"nopush": "Polling Mode Enabled", "nopush": "Polling Mode Enabled",
@@ -2406,8 +2416,7 @@
"selectmedia": "Select Media", "selectmedia": "Select Media",
"sentby": "Sent by {{by}} at {{time}}", "sentby": "Sent by {{by}} at {{time}}",
"typeamessage": "Send a message...", "typeamessage": "Send a message...",
"unarchive": "Unarchive", "unarchive": "Unarchive"
"no_consent": "Opted-out"
}, },
"render": { "render": {
"conversation_list": "Conversation List" "conversation_list": "Conversation List"
@@ -2427,6 +2436,7 @@
"fields": { "fields": {
"createdby": "Created By", "createdby": "Created By",
"critical": "Critical", "critical": "Critical",
"pinned": "",
"private": "Private", "private": "Private",
"text": "Contents", "text": "Contents",
"type": "Type", "type": "Type",
@@ -2445,6 +2455,7 @@
"addtorelatedro": "Add to Related ROs", "addtorelatedro": "Add to Related ROs",
"newnoteplaceholder": "Add a note...", "newnoteplaceholder": "Add a note...",
"notetoadd": "Note to Add", "notetoadd": "Note to Add",
"pinned_note": "",
"systemnotes": "System Notes", "systemnotes": "System Notes",
"usernotes": "User Notes" "usernotes": "User Notes"
}, },
@@ -2467,11 +2478,15 @@
"fcm": "Push" "fcm": "Push"
}, },
"labels": { "labels": {
"auto-add": "Automatically watch Jobs I import",
"auto-add-success": "Auto watcher status successfully changed.",
"auto-add-failure": "Something went wrong updating your auto watcher status.",
"add-watchers": "Add Watchers", "add-watchers": "Add Watchers",
"add-watchers-team": "Add Team Members", "add-watchers-team": "Add Team Members",
"auto-add": "Automatically watch Jobs I import",
"auto-add-description": "",
"auto-add-failure": "Something went wrong updating your auto watcher status.",
"auto-add-off": "",
"auto-add-on": "",
"auto-add-success": "Auto watcher status successfully changed.",
"employee-notification": "Notifications are disabled because you do not have an associated Employee record.",
"employee-search": "Search for an Employee", "employee-search": "Search for an Employee",
"mark-all-read": "Mark All Read", "mark-all-read": "Mark All Read",
"new-notification-title": "New Notification:", "new-notification-title": "New Notification:",
@@ -2488,8 +2503,7 @@
"teams-search": "Search for a Team", "teams-search": "Search for a Team",
"unwatch": "Unwatch", "unwatch": "Unwatch",
"watch": "Watch", "watch": "Watch",
"watching-issue": "Watching", "watching-issue": "Watching"
"employee-notification": "Notifications are disabled because you do not have an associated Employee record."
}, },
"scenarios": { "scenarios": {
"alternate-transport-changed": "Alternate Transport Changed", "alternate-transport-changed": "Alternate Transport Changed",
@@ -3299,17 +3313,10 @@
"updated": "Scoreboard updated." "updated": "Scoreboard updated."
} }
}, },
"tasks": { "settings": {
"labels": { "title": "Phone Number Opt-Out List"
"my_tasks_center": "Task Center",
"go_to_job": "Go to Job",
"overdue": "Overdue",
"due_today": "Today",
"upcoming": "Upcoming",
"no_due_date": "Incomplete",
"ro-number": "RO #{{ro_number}}",
"no_tasks": "No Tasks Found"
}, },
"tasks": {
"actions": { "actions": {
"edit": "Edit Task", "edit": "Edit Task",
"new": "New Task", "new": "New Task",
@@ -3324,9 +3331,6 @@
"myTasks": "Mine", "myTasks": "Mine",
"refresh": "Refresh" "refresh": "Refresh"
}, },
"errors": {
"load_failure": "Failed to load Tasks."
},
"date_presets": { "date_presets": {
"completion": "Completion", "completion": "Completion",
"day": "Day", "day": "Day",
@@ -3340,6 +3344,9 @@
"tomorrow": "Tomorrow", "tomorrow": "Tomorrow",
"two_weeks": "Two Weeks" "two_weeks": "Two Weeks"
}, },
"errors": {
"load_failure": "Failed to load Tasks."
},
"failures": { "failures": {
"completed": "Failed to toggle Task completion.", "completed": "Failed to toggle Task completion.",
"created": "Failed to create Task.", "created": "Failed to create Task.",
@@ -3374,6 +3381,16 @@
"remind_at": "Remind At", "remind_at": "Remind At",
"title": "Title" "title": "Title"
}, },
"labels": {
"due_today": "Today",
"go_to_job": "Go to Job",
"my_tasks_center": "Task Center",
"no_due_date": "Incomplete",
"no_tasks": "No Tasks Found",
"overdue": "Overdue",
"ro-number": "RO #{{ro_number}}",
"upcoming": "Upcoming"
},
"placeholders": { "placeholders": {
"assigned_to": "Select an Employee", "assigned_to": "Select an Employee",
"billid": "Select a Bill", "billid": "Select a Bill",
@@ -3873,6 +3890,7 @@
"state": "Province/State", "state": "Province/State",
"street1": "Street", "street1": "Street",
"street2": "Address 2", "street2": "Address 2",
"tags": "Tags",
"taxid": "Tax ID", "taxid": "Tax ID",
"terms": "Payment Terms", "terms": "Payment Terms",
"zip": "Zip/Postal Code" "zip": "Zip/Postal Code"
@@ -3889,18 +3907,6 @@
"validation": { "validation": {
"unique_vendor_name": "You must enter a unique vendor name." "unique_vendor_name": "You must enter a unique vendor name."
} }
},
"consent": {
"phone_number": "Phone Number",
"associated_owners": "Associated Owners",
"created_at": "Opt-Out Date",
"no_owners": "No Associated Owners",
"phone_1": "Phone 1",
"phone_2": "Phone 2",
"text_body": "Users can opt out of receiving SMS messages by replying with keywords such as STOP, UNSUBSCRIBE, CANCEL, END, QUIT, STOPALL, REVOKE and OPTOUT. To opt back in, users can reply with START, YES, or UNSTOP. Even after opting out, users can still send messages to us, which will be received and processed as needed. Ensure customers are informed to reply with these keywords to manage their messaging preferences. After opting out, users receive a confirmation message and will not receive further messages until they opt back in."
},
"settings": {
"title": "Phone Number Opt-Out List"
} }
} }
} }

View File

@@ -426,6 +426,11 @@
"messagingtext": "", "messagingtext": "",
"noteslabel": "", "noteslabel": "",
"notestext": "", "notestext": "",
"notifications": {
"description": "",
"invalid_followers": "",
"placeholder": ""
},
"partslocation": "", "partslocation": "",
"phone": "", "phone": "",
"prodtargethrs": "", "prodtargethrs": "",
@@ -648,15 +653,9 @@
"use_paint_scale_data": "", "use_paint_scale_data": "",
"uselocalmediaserver": "", "uselocalmediaserver": "",
"website": "", "website": "",
"zip_post": "", "zip_post": ""
"notifications": {
"description": "",
"placeholder": "",
"invalid_followers": ""
}
}, },
"labels": { "labels": {
"consent_settings": "",
"2tiername": "", "2tiername": "",
"2tiersetup": "", "2tiersetup": "",
"2tiersource": "", "2tiersource": "",
@@ -667,6 +666,7 @@
"apptcolors": "", "apptcolors": "",
"businessinformation": "", "businessinformation": "",
"checklists": "", "checklists": "",
"consent_settings": "",
"csiq": "", "csiq": "",
"customtemplates": "", "customtemplates": "",
"defaultcostsmapping": "", "defaultcostsmapping": "",
@@ -704,6 +704,9 @@
"messagingpresets": "", "messagingpresets": "",
"notemplatesavailable": "", "notemplatesavailable": "",
"notespresets": "", "notespresets": "",
"notifications": {
"followers": ""
},
"orderstatuses": "", "orderstatuses": "",
"partslocations": "", "partslocations": "",
"partsscan": "", "partsscan": "",
@@ -734,10 +737,7 @@
"ssbuckets": "", "ssbuckets": "",
"systemsettings": "", "systemsettings": "",
"task-presets": "", "task-presets": "",
"workingdays": "", "workingdays": ""
"notifications": {
"followers": ""
}
}, },
"operations": { "operations": {
"contains": "", "contains": "",
@@ -783,6 +783,15 @@
"completed": "" "completed": ""
} }
}, },
"consent": {
"associated_owners": "",
"created_at": "",
"no_owners": "",
"phone_1": "",
"phone_2": "",
"phone_number": "",
"text_body": ""
},
"contracts": { "contracts": {
"actions": { "actions": {
"changerate": "", "changerate": "",
@@ -1235,11 +1244,11 @@
"fcm": "", "fcm": "",
"notfound": "", "notfound": "",
"sizelimit": "", "sizelimit": "",
"submit-for-testing": "",
"sub_status": { "sub_status": {
"expired": "", "expired": "",
"trial-expired": "" "trial-expired": ""
} },
"submit-for-testing": ""
}, },
"itemtypes": { "itemtypes": {
"contract": "", "contract": "",
@@ -1651,8 +1660,6 @@
"voiding": "" "voiding": ""
}, },
"fields": { "fields": {
"estimate_sent_approval": "",
"estimate_approved": "",
"active_tasks": "", "active_tasks": "",
"actual_completion": "Realización real", "actual_completion": "Realización real",
"actual_delivery": "Entrega real", "actual_delivery": "Entrega real",
@@ -1783,6 +1790,8 @@
"est_ct_ln": "Apellido del tasador", "est_ct_ln": "Apellido del tasador",
"est_ea": "Correo electrónico del tasador", "est_ea": "Correo electrónico del tasador",
"est_ph1": "Número de teléfono del tasador", "est_ph1": "Número de teléfono del tasador",
"estimate_approved": "",
"estimate_sent_approval": "",
"federal_tax_payable": "Impuesto federal por pagar", "federal_tax_payable": "Impuesto federal por pagar",
"federal_tax_rate": "", "federal_tax_rate": "",
"flat_rate_ats": "", "flat_rate_ats": "",
@@ -1966,8 +1975,6 @@
"scheddates": "" "scheddates": ""
}, },
"labels": { "labels": {
"sent": "",
"approved": "",
"accountsreceivable": "", "accountsreceivable": "",
"act_price_ppc": "", "act_price_ppc": "",
"actual_completion_inferred": "", "actual_completion_inferred": "",
@@ -1982,6 +1989,7 @@
"alreadyaddedtoscoreboard": "", "alreadyaddedtoscoreboard": "",
"alreadyclosed": "", "alreadyclosed": "",
"appointmentconfirmation": "¿Enviar confirmación al cliente?", "appointmentconfirmation": "¿Enviar confirmación al cliente?",
"approved": "",
"associationwarning": "", "associationwarning": "",
"audit": "", "audit": "",
"available": "", "available": "",
@@ -2172,6 +2180,7 @@
"sales": "", "sales": "",
"savebeforeconversion": "", "savebeforeconversion": "",
"scheduledinchange": "", "scheduledinchange": "",
"sent": "",
"specialcoveragepolicy": "", "specialcoveragepolicy": "",
"state_tax_amt": "", "state_tax_amt": "",
"subletsnotcompleted": "", "subletsnotcompleted": "",
@@ -2388,15 +2397,16 @@
}, },
"errors": { "errors": {
"invalidphone": "", "invalidphone": "",
"no_consent": "",
"noattachedjobs": "", "noattachedjobs": "",
"updatinglabel": "", "updatinglabel": ""
"no_consent": ""
}, },
"labels": { "labels": {
"addlabel": "", "addlabel": "",
"archive": "", "archive": "",
"maxtenimages": "", "maxtenimages": "",
"messaging": "Mensajería", "messaging": "Mensajería",
"no_consent": "",
"noallowtxt": "", "noallowtxt": "",
"nojobs": "", "nojobs": "",
"nopush": "", "nopush": "",
@@ -2406,8 +2416,7 @@
"selectmedia": "", "selectmedia": "",
"sentby": "", "sentby": "",
"typeamessage": "Enviar un mensaje...", "typeamessage": "Enviar un mensaje...",
"unarchive": "", "unarchive": ""
"no_consent": ""
}, },
"render": { "render": {
"conversation_list": "" "conversation_list": ""
@@ -2427,6 +2436,7 @@
"fields": { "fields": {
"createdby": "Creado por", "createdby": "Creado por",
"critical": "Crítico", "critical": "Crítico",
"pinned": "",
"private": "Privado", "private": "Privado",
"text": "Contenido", "text": "Contenido",
"type": "", "type": "",
@@ -2445,6 +2455,7 @@
"addtorelatedro": "", "addtorelatedro": "",
"newnoteplaceholder": "Agrega una nota...", "newnoteplaceholder": "Agrega una nota...",
"notetoadd": "", "notetoadd": "",
"pinned_note": "",
"systemnotes": "", "systemnotes": "",
"usernotes": "" "usernotes": ""
}, },
@@ -2467,13 +2478,15 @@
"fcm": "" "fcm": ""
}, },
"labels": { "labels": {
"auto-add-on": "",
"auto-add-off": "",
"auto-add-success": "",
"auto-add-failure": "",
"auto-add-description": "",
"add-watchers": "", "add-watchers": "",
"add-watchers-team": "", "add-watchers-team": "",
"auto-add": "",
"auto-add-description": "",
"auto-add-failure": "",
"auto-add-off": "",
"auto-add-on": "",
"auto-add-success": "",
"employee-notification": "",
"employee-search": "", "employee-search": "",
"mark-all-read": "", "mark-all-read": "",
"new-notification-title": "", "new-notification-title": "",
@@ -2490,8 +2503,7 @@
"teams-search": "", "teams-search": "",
"unwatch": "", "unwatch": "",
"watch": "", "watch": "",
"watching-issue": "", "watching-issue": ""
"employee-notification": ""
}, },
"scenarios": { "scenarios": {
"alternate-transport-changed": "", "alternate-transport-changed": "",
@@ -3301,17 +3313,10 @@
"updated": "" "updated": ""
} }
}, },
"tasks": { "settings": {
"labels": { "title": ""
"my_tasks_center": "",
"go_to_job": "",
"overdue": "",
"due_today": "",
"upcoming": "",
"no_due_date": "",
"ro-number": "",
"no_tasks": ""
}, },
"tasks": {
"actions": { "actions": {
"edit": "", "edit": "",
"new": "", "new": "",
@@ -3326,9 +3331,6 @@
"myTasks": "", "myTasks": "",
"refresh": "" "refresh": ""
}, },
"errors": {
"load_failure": ""
},
"date_presets": { "date_presets": {
"completion": "", "completion": "",
"day": "", "day": "",
@@ -3342,6 +3344,9 @@
"tomorrow": "", "tomorrow": "",
"two_weeks": "" "two_weeks": ""
}, },
"errors": {
"load_failure": ""
},
"failures": { "failures": {
"completed": "", "completed": "",
"created": "", "created": "",
@@ -3376,6 +3381,16 @@
"remind_at": "", "remind_at": "",
"title": "" "title": ""
}, },
"labels": {
"due_today": "",
"go_to_job": "",
"my_tasks_center": "",
"no_due_date": "",
"no_tasks": "",
"overdue": "",
"ro-number": "",
"upcoming": ""
},
"placeholders": { "placeholders": {
"assigned_to": "", "assigned_to": "",
"billid": "", "billid": "",
@@ -3875,6 +3890,7 @@
"state": "Provincia del estado", "state": "Provincia del estado",
"street1": "calle", "street1": "calle",
"street2": "Dirección 2", "street2": "Dirección 2",
"tags": "",
"taxid": "Identificación del impuesto", "taxid": "Identificación del impuesto",
"terms": "Términos de pago", "terms": "Términos de pago",
"zip": "código postal" "zip": "código postal"
@@ -3891,18 +3907,6 @@
"validation": { "validation": {
"unique_vendor_name": "" "unique_vendor_name": ""
} }
},
"consent": {
"phone_number": "",
"associated_owners": "",
"created_at": "",
"no_owners": "",
"phone_1": "",
"phone_2": "",
"text_body": ""
},
"settings": {
"title": ""
} }
} }
} }

View File

@@ -426,6 +426,11 @@
"messagingtext": "", "messagingtext": "",
"noteslabel": "", "noteslabel": "",
"notestext": "", "notestext": "",
"notifications": {
"description": "",
"invalid_followers": "",
"placeholder": ""
},
"partslocation": "", "partslocation": "",
"phone": "", "phone": "",
"prodtargethrs": "", "prodtargethrs": "",
@@ -648,15 +653,9 @@
"use_paint_scale_data": "", "use_paint_scale_data": "",
"uselocalmediaserver": "", "uselocalmediaserver": "",
"website": "", "website": "",
"zip_post": "", "zip_post": ""
"notifications": {
"description": "",
"placeholder": "",
"invalid_followers": ""
}
}, },
"labels": { "labels": {
"consent_settings": "",
"2tiername": "", "2tiername": "",
"2tiersetup": "", "2tiersetup": "",
"2tiersource": "", "2tiersource": "",
@@ -667,6 +666,7 @@
"apptcolors": "", "apptcolors": "",
"businessinformation": "", "businessinformation": "",
"checklists": "", "checklists": "",
"consent_settings": "",
"csiq": "", "csiq": "",
"customtemplates": "", "customtemplates": "",
"defaultcostsmapping": "", "defaultcostsmapping": "",
@@ -704,6 +704,9 @@
"messagingpresets": "", "messagingpresets": "",
"notemplatesavailable": "", "notemplatesavailable": "",
"notespresets": "", "notespresets": "",
"notifications": {
"followers": ""
},
"orderstatuses": "", "orderstatuses": "",
"partslocations": "", "partslocations": "",
"partsscan": "", "partsscan": "",
@@ -734,10 +737,7 @@
"ssbuckets": "", "ssbuckets": "",
"systemsettings": "", "systemsettings": "",
"task-presets": "", "task-presets": "",
"workingdays": "", "workingdays": ""
"notifications": {
"followers": ""
}
}, },
"operations": { "operations": {
"contains": "", "contains": "",
@@ -783,6 +783,15 @@
"completed": "" "completed": ""
} }
}, },
"consent": {
"associated_owners": "Associated Owners",
"created_at": "Opt-Out Date",
"no_owners": "No Associated Owners",
"phone_1": "Phone 1",
"phone_2": "Phone 2",
"phone_number": "Phone Number",
"text_body": ""
},
"contracts": { "contracts": {
"actions": { "actions": {
"changerate": "", "changerate": "",
@@ -1235,11 +1244,11 @@
"fcm": "", "fcm": "",
"notfound": "", "notfound": "",
"sizelimit": "", "sizelimit": "",
"submit-for-testing": "",
"sub_status": { "sub_status": {
"expired": "", "expired": "",
"trial-expired": "" "trial-expired": ""
} },
"submit-for-testing": ""
}, },
"itemtypes": { "itemtypes": {
"contract": "", "contract": "",
@@ -1651,8 +1660,6 @@
"voiding": "" "voiding": ""
}, },
"fields": { "fields": {
"estimate_sent_approval": "",
"estimate_approved": "",
"active_tasks": "", "active_tasks": "",
"actual_completion": "Achèvement réel", "actual_completion": "Achèvement réel",
"actual_delivery": "Livraison réelle", "actual_delivery": "Livraison réelle",
@@ -1783,6 +1790,8 @@
"est_ct_ln": "Nom de l'évaluateur", "est_ct_ln": "Nom de l'évaluateur",
"est_ea": "Courriel de l'évaluateur", "est_ea": "Courriel de l'évaluateur",
"est_ph1": "Numéro de téléphone de l'évaluateur", "est_ph1": "Numéro de téléphone de l'évaluateur",
"estimate_approved": "",
"estimate_sent_approval": "",
"federal_tax_payable": "Impôt fédéral à payer", "federal_tax_payable": "Impôt fédéral à payer",
"federal_tax_rate": "", "federal_tax_rate": "",
"flat_rate_ats": "", "flat_rate_ats": "",
@@ -1966,8 +1975,6 @@
"scheddates": "" "scheddates": ""
}, },
"labels": { "labels": {
"sent": "",
"approved": "",
"accountsreceivable": "", "accountsreceivable": "",
"act_price_ppc": "", "act_price_ppc": "",
"actual_completion_inferred": "", "actual_completion_inferred": "",
@@ -1982,6 +1989,7 @@
"alreadyaddedtoscoreboard": "", "alreadyaddedtoscoreboard": "",
"alreadyclosed": "", "alreadyclosed": "",
"appointmentconfirmation": "Envoyer une confirmation au client?", "appointmentconfirmation": "Envoyer une confirmation au client?",
"approved": "",
"associationwarning": "", "associationwarning": "",
"audit": "", "audit": "",
"available": "", "available": "",
@@ -2172,6 +2180,7 @@
"sales": "", "sales": "",
"savebeforeconversion": "", "savebeforeconversion": "",
"scheduledinchange": "", "scheduledinchange": "",
"sent": "",
"specialcoveragepolicy": "", "specialcoveragepolicy": "",
"state_tax_amt": "", "state_tax_amt": "",
"subletsnotcompleted": "", "subletsnotcompleted": "",
@@ -2388,15 +2397,16 @@
}, },
"errors": { "errors": {
"invalidphone": "", "invalidphone": "",
"no_consent": "",
"noattachedjobs": "", "noattachedjobs": "",
"updatinglabel": "", "updatinglabel": ""
"no_consent": ""
}, },
"labels": { "labels": {
"addlabel": "", "addlabel": "",
"archive": "", "archive": "",
"maxtenimages": "", "maxtenimages": "",
"messaging": "Messagerie", "messaging": "Messagerie",
"no_consent": "",
"noallowtxt": "", "noallowtxt": "",
"nojobs": "", "nojobs": "",
"nopush": "", "nopush": "",
@@ -2406,8 +2416,7 @@
"selectmedia": "", "selectmedia": "",
"sentby": "", "sentby": "",
"typeamessage": "Envoyer un message...", "typeamessage": "Envoyer un message...",
"unarchive": "", "unarchive": ""
"no_consent": ""
}, },
"render": { "render": {
"conversation_list": "" "conversation_list": ""
@@ -2427,6 +2436,7 @@
"fields": { "fields": {
"createdby": "Créé par", "createdby": "Créé par",
"critical": "Critique", "critical": "Critique",
"pinned": "",
"private": "privé", "private": "privé",
"text": "Contenu", "text": "Contenu",
"type": "", "type": "",
@@ -2445,6 +2455,7 @@
"addtorelatedro": "", "addtorelatedro": "",
"newnoteplaceholder": "Ajouter une note...", "newnoteplaceholder": "Ajouter une note...",
"notetoadd": "", "notetoadd": "",
"pinned_note": "",
"systemnotes": "", "systemnotes": "",
"usernotes": "" "usernotes": ""
}, },
@@ -2467,13 +2478,15 @@
"fcm": "" "fcm": ""
}, },
"labels": { "labels": {
"auto-add-on": "",
"auto-add-off": "",
"auto-add-success": "",
"auto-add-failure": "",
"auto-add-description": "",
"add-watchers": "", "add-watchers": "",
"add-watchers-team": "", "add-watchers-team": "",
"auto-add": "",
"auto-add-description": "",
"auto-add-failure": "",
"auto-add-off": "",
"auto-add-on": "",
"auto-add-success": "",
"employee-notification": "",
"employee-search": "", "employee-search": "",
"mark-all-read": "", "mark-all-read": "",
"new-notification-title": "", "new-notification-title": "",
@@ -2490,8 +2503,7 @@
"teams-search": "", "teams-search": "",
"unwatch": "", "unwatch": "",
"watch": "", "watch": "",
"watching-issue": "", "watching-issue": ""
"employee-notification": ""
}, },
"scenarios": { "scenarios": {
"alternate-transport-changed": "", "alternate-transport-changed": "",
@@ -3301,17 +3313,10 @@
"updated": "" "updated": ""
} }
}, },
"tasks": { "settings": {
"labels": { "title": ""
"my_tasks_center": "",
"go_to_job": "",
"overdue": "",
"due_today": "",
"upcoming": "",
"no_due_date": "",
"ro-number": "",
"no_tasks": ""
}, },
"tasks": {
"actions": { "actions": {
"edit": "", "edit": "",
"new": "", "new": "",
@@ -3326,9 +3331,6 @@
"myTasks": "", "myTasks": "",
"refresh": "" "refresh": ""
}, },
"errors": {
"load_failure": ""
},
"date_presets": { "date_presets": {
"completion": "", "completion": "",
"day": "", "day": "",
@@ -3342,6 +3344,9 @@
"tomorrow": "", "tomorrow": "",
"two_weeks": "" "two_weeks": ""
}, },
"errors": {
"load_failure": ""
},
"failures": { "failures": {
"completed": "", "completed": "",
"created": "", "created": "",
@@ -3376,6 +3381,16 @@
"remind_at": "", "remind_at": "",
"title": "" "title": ""
}, },
"labels": {
"due_today": "",
"go_to_job": "",
"my_tasks_center": "",
"no_due_date": "",
"no_tasks": "",
"overdue": "",
"ro-number": "",
"upcoming": ""
},
"placeholders": { "placeholders": {
"assigned_to": "", "assigned_to": "",
"billid": "", "billid": "",
@@ -3875,6 +3890,7 @@
"state": "Etat / Province", "state": "Etat / Province",
"street1": "rue", "street1": "rue",
"street2": "Adresse 2 ", "street2": "Adresse 2 ",
"tags": "",
"taxid": "Identifiant de taxe", "taxid": "Identifiant de taxe",
"terms": "Modalités de paiement", "terms": "Modalités de paiement",
"zip": "Zip / code postal" "zip": "Zip / code postal"
@@ -3891,18 +3907,6 @@
"validation": { "validation": {
"unique_vendor_name": "" "unique_vendor_name": ""
} }
},
"consent": {
"phone_number": "Phone Number",
"associated_owners": "Associated Owners",
"created_at": "Opt-Out Date",
"no_owners": "No Associated Owners",
"phone_1": "Phone 1",
"phone_2": "Phone 2",
"text_body": ""
},
"settings": {
"title": ""
} }
} }
} }

View File

@@ -302,7 +302,6 @@ export const fetchFilterData = async ({ name }) => {
const jsReportFilters = await cleanAxios.get(`${server}/odata/assets?$filter=name eq '${name}.filters'`, { const jsReportFilters = await cleanAxios.get(`${server}/odata/assets?$filter=name eq '${name}.filters'`, {
headers: { Authorization: jsrAuth } headers: { Authorization: jsrAuth }
}); });
console.log("🚀 ~ fetchFilterData ~ jsReportFilters:", jsReportFilters);
let parsedFilterData; let parsedFilterData;
let useShopSpecificTemplate = false; let useShopSpecificTemplate = false;

View File

@@ -4909,6 +4909,7 @@
- critical - critical
- id - id
- jobid - jobid
- pinned
- private - private
- text - text
- type - type
@@ -4923,6 +4924,7 @@
- critical - critical
- id - id
- jobid - jobid
- pinned
- private - private
- text - text
- type - type
@@ -4947,6 +4949,7 @@
- critical - critical
- id - id
- jobid - jobid
- pinned
- private - private
- text - text
- type - type
@@ -7120,6 +7123,7 @@
- state - state
- street1 - street1
- street2 - street2
- tags
- updated_at - updated_at
- zip - zip
select_permissions: select_permissions:
@@ -7143,6 +7147,7 @@
- state - state
- street1 - street1
- street2 - street2
- tags
- updated_at - updated_at
- zip - zip
filter: filter:
@@ -7176,6 +7181,7 @@
- state - state
- street1 - street1
- street2 - street2
- tags
- updated_at - updated_at
- zip - zip
filter: filter:

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."vendors" add column "tags" jsonb
-- not null default jsonb_build_array();

View File

@@ -0,0 +1,2 @@
alter table "public"."vendors" add column "tags" jsonb
not null default jsonb_build_array();