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AU,KAACnrB,EAAAA,cAACypB,GAAa,CAACC,KAAM0B,IAAIC,cAG1E,MAAME,GAAazT,SAASkT,eAAe,eACvCO,KACFN,EAAAA,EAAAA,GAAWM,IAAYL,OAAOlrB,EAAAA,cAACmrB,EAAAA,WAAU,KAACnrB,EAAAA,cAACypB,GAAa,CAACC,KAAM0B,IAAIC,UAAW1B,QAAS,c","sources":["webpack://lionwheel/./app/javascript/src/react_components/tasks/EmptyCustom.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/ModalHeader.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/PhoneInput.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/ScalableSelect.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/actions.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/common.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useClientsOptions.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useCompanies.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useIsraelCities.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useIsraelStreets.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useLocationsOptions.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/InfinityScrollSelect.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/AddProductModal.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/cards/OrderItemsCard.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useGoogle.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/cards/DestinationCard.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useCreateShortcut.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/CreateAndPrintButtons.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useCreateAndPrintShortcut.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useBtnTips.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/cards/DocumentsCard.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/organization/single_visit/FormComponent.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/cards/SourceCard.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/organization/multiple_visits/FormComponent.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/company/single_visit/FormComponent.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/company/multiple_visits/FormComponent.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/cards/NewOrderItemsCard.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/cards/NewDocumentsCard.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/cards/NewDestinationCard.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/organization/new_single_visit/FormComponent.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/cards/NewSourceCard.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/organization/new_multiple_visit/FormComponent.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/company/new_single_visit/FormComponent.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/company/new_multiple_visits/FormComponent.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/NewTaskModule.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/index.js"],"sourcesContent":["import React from 'react';\nimport {Empty} from \"antd\";\nimport {i18n} from \"../../helpers/i18n\";\n\nconst EmptyCustom = () => {\n return ()\n}\n\nexport default EmptyCustom\n","import React from 'react';\n\nconst ModalHeader = ({title}) => {\n return (\n
\n
\n {title}\n
\n
\n )\n}\n\nexport default ModalHeader\n","import { Form, Input } from \"antd\";\nimport React, { useCallback } from \"react\";\nimport { i18n } from \"../../helpers/i18n\";\nimport { formatPhoneNumber } from \"../../helpers/utils\";\n\nconst PhoneInput = ({ name = ['visits_attributes', 0, 'phone'], label = i18n.t('models.location.contact_phone'),\n disabled = false, required = false, onChange = () => {} }) => {\n\n const validatePhone = useCallback((_, value) => {\n if (!value && required) { return Promise.reject(new Error(i18n.t('mandatory_field'))); }\n\n if (!value || /^[0-9+\\-]*$/.test(value)) { return Promise.resolve(); }\n\n return Promise.reject(new Error(i18n.t('allowed_phone_format')));\n }, []);\n\n return (\n formatPhoneNumber(e.target.value)}>\n \n \n );\n};\n\nexport default PhoneInput;\n","import React, {useEffect, useRef, useState} from 'react';\nimport {Space, Select, Divider, Input, Button} from \"antd\";\nimport {PlusOutlined} from \"@ant-design/icons\";\nimport {i18n} from \"../../helpers/i18n\";\nimport EmptyCustom from \"./EmptyCustom\";\n\nconst ScalableSelect = ({placeholder = '', extraPlaceholder, items, setValueFn, ...props}) => {\n const [options, setOptions] = useState(items)\n const [open, setOpen] = useState(false)\n const [name, setName] = useState('')\n const inputRef = useRef(null)\n const onNameChange = (event) => {setName(event.target.value)}\n const addItem = (e) => {\n e.preventDefault()\n setOptions([...options, {label: name, value: name}])\n setName('')\n setValueFn(name)\n setOpen(false)\n }\n\n useEffect(() => {setOptions(items)}, [items])\n\n return (\n setOpen(visible)}\n onSearch={() => {}}\n notFoundContent={}\n dropdownRender={(menu) => (\n <>\n {menu}\n \n \n e.stopPropagation()}\n onPressEnter={addItem}\n />\n \n \n \n )}\n options={options}\n />\n )\n}\n\nexport default ScalableSelect\n","import {csrfToken, selectedIds} from \"../../helpers/utils\";\n\nexport const fetchIsraelCitiesAction = async () => {\n return await fetch('/israel_cities', {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchIsraelStreetsAction = async (cityId) => {\n return await fetch(`/israel_cities/${cityId}/streets`, {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchCompaniesAction = async () => {\n return await fetch('/api/web/companies', {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchCompanyUsersAction = async id => {\n return await fetch(`/api/web/companies/${id}/users`, {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchLocationsAction = async (companyId = null) => {\n const url = companyId ? `/api/web/locations/options?company_id=${companyId}` : '/api/web/locations/options'\n return await fetch(url, {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchClientsAction = async (companyId = null) => {\n const url = companyId ? `/api/web/clients/options?company_id=${companyId}` : '/api/web/clients/options'\n return await fetch(url, {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchRoutesAction = async () => {\n return await fetch('/api/web/routes/options', {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchDriversAction = async () => {\n return await fetch('/api/web/drivers/options', {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchProductsAction = async (page, search) => {\n return await fetch(`/api/web/products/options?page=${page}&search=${search}`, {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const createTaskAction = async data => {\n return await fetch('/api/web/tasks', {\n method: 'POST',\n headers: {\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: data\n })\n}\n\nexport const calculatePriceAction = async data => {\n return await fetch('/api/web/tasks/calculate_price', {\n method: 'POST',\n headers: {\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: data\n })\n}\n\nexport const createScheduledTaskAction = async data => {\n return await fetch('/api/web/scheduled_tasks', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: JSON.stringify(data)\n })\n}\n\nexport const createDistributionAction = async data => {\n return await fetch('/api/web/distributions', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: JSON.stringify(data)\n })\n}\n\nexport const fetchVehiclesAction = async (date) => {\n return await fetch('/api/web/vehicles/index_suggestion', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: JSON.stringify({date: date})\n })\n}\n\nexport const fetchEndOptionsAction = async (ids) => {\n return await fetch('/api/web/vehicles/end_options', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: JSON.stringify({ids: ids})\n })\n}\n\nexport const fetchVisitsSummaryAction = async (ids) => {\n return await fetch('/api/web/vehicles/visits_summary', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: JSON.stringify({ids: ids})\n })\n}\n","import {i18n} from \"../../helpers/i18n\";\nimport React from \"react\";\nimport {Button} from \"antd\";\n\nexport const typeOptions = [\n {\n label: i18n.t('views.tasks.types.delivery'),\n value: 'delivery'\n },\n {\n label: i18n.t('views.tasks.types.pickup'),\n value: 'pickup'\n },\n {\n label: i18n.t('views.tasks.types.transfer'),\n value: 'transfer'\n }\n]\n\nexport const locationLabel = ({name, city, street, number}) => (\n \n {name || ''} {(city || '') + ', ' + (street || '') + ', ' + (number || '')}\n \n)\n\nexport const userLabel = ({username, name, email}) => (\n <>{username || ''} {(name || '') + ', ' + (email || '')}\n)\n\nexport const userSearchString = ({ username, name, email }) => `${username || ''} ${name || ''}, ${email || ''}`\n\nexport const afterCreateNotification = (task, notificationApi) => {\n const { id, ready_to_print: readyToPrint } = task\n notificationApi.success({\n message:
\n
{i18n.t('views.tasks.task_created.title', {id: id})}
\n
\n \n {readyToPrint && (\n \n )}\n
\n
,\n placement: 'top',\n style: {minWidth: 500}\n })\n}\n","import {fetchClientsAction} from \"../actions\";\nimport React, {useEffect, useState} from \"react\";\nimport {locationLabel} from \"../common\";\n\nexport const useClientsOptions = (companyId = null) => {\n const [clientsOptions, setClientsOptions] = useState([])\n\n useEffect(() => {\n fetchClientsAction(companyId)\n .then(res => res.json())\n .then(data => {\n setClientsOptions(data.map(c => ({value: c.id, item: c, kind: 'client', label: locationLabel(c), key: 'client' + c.id})))\n })\n }, [companyId])\n\n return clientsOptions\n}\n","import {fetchCompaniesAction} from \"../actions\";\nimport React, {useEffect, useState} from \"react\";\n\nexport const useCompanies = () => {\n const [companies, setCompanies] = useState([])\n\n useEffect(() => {\n fetchCompaniesAction()\n .then(res => res.json())\n .then(data => {setCompanies(data)})\n }, [])\n\n return companies\n}\n","import {fetchIsraelCitiesAction} from \"../actions\";\nimport {useEffect, useState} from \"react\";\nimport {isRTL} from \"../../../helpers/locale\";\n\nexport const useIsraelCities = (organizationId) => {\n const [cities, setCities] = useState([])\n\n useEffect(() => {\n if (!isRTL() || organizationId === 2011) return\n\n fetchIsraelCitiesAction()\n .then(res => res.json())\n .then(data => {\n setCities(data.map(c => ({label: c.id, cityId: c.city_id, value: c.id})))\n })\n }, [])\n\n return cities\n}\n","import {fetchIsraelStreetsAction} from \"../actions\";\nimport {useEffect, useState} from \"react\";\n\nexport const useIsraelStreets = (cityId) => {\n const [streets, setStreets] = useState([])\n\n useEffect(() => {\n if (!cityId) return\n\n fetchIsraelStreetsAction(cityId)\n .then(res => res.json())\n .then(data => {\n setStreets(data.map(s => ({label: s.id, value: s.id})))\n })\n }, [cityId])\n\n return streets\n}\n","import {fetchLocationsAction} from \"../actions\";\nimport React, {useEffect, useState} from \"react\";\nimport {locationLabel} from \"../common\";\n\nexport const useLocationsOptions = (companyId = null) => {\n const [locationsOptions, setLocationsOptions] = useState([])\n\n useEffect(() => {\n fetchLocationsAction(companyId)\n .then(res => res.json())\n .then(data => {\n setLocationsOptions(data.map(l => ({value: l.id, item: l, kind: 'location', label: locationLabel(l), key: 'location' + l.id})))\n })\n }, [companyId])\n\n return locationsOptions\n}\n","import React, {useEffect, useMemo, useState} from 'react';\nimport {Select, Spin} from \"antd\";\nimport {debounce} from \"../../helpers/utils\";\n\nconst InfinityScrollSelect = ({fetchAction, renderOption, setSelectedItem, ...props}) => {\n const [options, setOptions] = useState([])\n const [data, setData] = useState([])\n const [loading, setLoading] = useState(false)\n const [search, setSearch] = useState('')\n const [page, setPage] = useState(1)\n const [hasMore, setHasMore] = useState(true)\n\n useEffect(() => {\n fetchOptions()\n }, [page, search])\n\n const fetchOptions = async () => {\n setLoading(true)\n const res = await fetchAction(page, search)\n const resData = await res.json()\n setLoading(false)\n setData([...data, ...resData.data])\n setOptions([...options, ...resData.data.map(renderOption)])\n setHasMore(resData.pagination.more)\n }\n\n const debounceSearch = useMemo(() => {\n const loadOptions = (value) => {\n if (value === undefined) return\n\n setOptions([])\n setPage(1)\n setSearch(value)\n }\n return debounce(loadOptions, 500)\n }, [])\n\n const onScroll = async event => {\n const target = event.target\n if (!loading && hasMore && target.scrollTop + target.offsetHeight === target.scrollHeight) {\n target.scrollTo(0, target.scrollHeight)\n setPage(page + 1)\n }\n }\n\n return (\n : null}\n onChange={(e) => {\n if (setSelectedItem) {\n setSelectedItem(data.find(i => (i.id === e)))\n }\n }}\n />\n )\n}\n\nexport default InfinityScrollSelect\n","import React from 'react';\nimport {Button, Modal} from \"antd\";\nimport {i18n} from \"../../helpers/i18n\";\nimport {dataOrNA} from \"../../helpers/utils\";\nimport {fetchProductsAction} from \"./actions\";\nimport InfinityScrollSelect from \"./InfinityScrollSelect\";\n\nconst AddProductModal = ({ isOpen, setIsOpen, setSelectedItem, addItem }) => {\n return (\n setIsOpen(false)}\n width={450}\n >\n
\n {i18n.t('views.products.add_product')}\n
\n
\n
\n {i18n.t('models.product.product')}\n
\n
\n ({label: `${dataOrNA(res.sku)} - ${dataOrNA(res.name)}`, value: res.id})}\n />\n
\n
\n
\n \n
\n \n )\n}\n\nexport default AddProductModal\n","import React, {useState} from 'react'\nimport {\n Button, Card, Form, Input, Space,\n} from \"antd\";\nimport AddProductModal from \"../AddProductModal\";\nimport {i18n} from \"../../../helpers/i18n\";\nimport {MinusCircleOutlined, PlusOutlined} from \"@ant-design/icons\";\n\nconst OrderItemsCard = ({allowProducts, allowVolumeConstraint, form}) => {\n const [addProductsModalOpen, setAddProductsModalOpen] = useState(false)\n const [item, setItem] = useState()\n\n const addItem = () => {\n if (!item) return\n\n const fieldsValue = form.getFieldsValue()\n form.setFieldsValue({\n ...fieldsValue,\n order_items_attributes: [\n ...fieldsValue.order_items_attributes,\n { sku: item.sku, name: item.name, weight: item.weight, price: item.price, notes: item.notes, variant: item.variant }\n ]\n })\n setAddProductsModalOpen(false)\n }\n\n return (\n
\n
\n
\n \n {i18n.t('models.order_item.order_items')}\n
\n
\n
\n {allowProducts && (\n
\n \n
\n )}\n {window.innerWidth > 576 ? (\n \n {(subFields, {add, remove}) => (\n <>\n {subFields.length > 0 && (\n
\n
\n
{i18n.t('models.order_item.sku')}
\n
{i18n.t('models.order_item.name')}
\n
{i18n.t('models.order_item.variant')}
\n
{i18n.t('models.order_item.quantity')}
\n
{i18n.t('models.order_item.price')}
\n
{i18n.t('models.order_item.weight')}
\n {allowVolumeConstraint && (\n
{i18n.t('models.order_item.volume')}
\n )}\n
{i18n.t('models.order_item.notes')}
\n
\n
\n )}\n {subFields.map(({ key, name, ...restField }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {allowVolumeConstraint && (\n \n \n \n )}\n \n \n \n remove(name)} />\n \n ))}\n \n \n \n \n )}\n
\n ) : (\n \n {(subFields, { add, remove }) => (\n \n {subFields.map(({ key, name, ...restField }) => (\n {remove(name)}}/>\n }\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {allowVolumeConstraint && (\n \n \n \n )}\n \n \n \n \n ))}\n\n \n
\n )}\n \n )}\n
\n \n \n )\n}\n\nexport default OrderItemsCard\n","import {useEffect, useState} from \"react\";\nimport {i18n} from \"../../../helpers/i18n\";\nimport {Loader} from \"@googlemaps/js-api-loader\";\n\nexport const useGoogle = (googleKey) => {\n const [google, setGoogle] = useState(null)\n\n useEffect(() => {\n if (!googleKey) return\n\n const options = {apiKey: googleKey, libraries: ['places']}\n if (i18n.locale === 'he') {\n options['language'] = 'iw'\n }\n const loader = new Loader(options)\n loader.load().then(google => {setGoogle(google)})\n }, [])\n\n return google\n}\n","import React, {useCallback, useEffect, useMemo, useRef, useState} from 'react'\nimport { Checkbox, Form, Input, InputNumber, Select, TimePicker } from \"antd\";\nimport {i18n} from \"../../../helpers/i18n\";\nimport {CloseCircleOutlined} from \"@ant-design/icons\";\nimport {isRTL} from \"../../../helpers/locale\";\nimport ScalableSelect from \"../ScalableSelect\";\nimport {useIsraelCities} from \"../hooks/useIsraelCities\";\nimport {useIsraelStreets} from \"../hooks/useIsraelStreets\";\nimport dayjs from \"dayjs\";\nimport {getTimeFormat} from \"../../../helpers/date\";\nimport {useGoogle} from \"../hooks/useGoogle\";\nimport EmptyCustom from \"../EmptyCustom\";\nimport PhoneInput from \"../PhoneInput\";\nimport {formatPhoneNumber} from \"../../../helpers/utils\";\n\nconst DestinationCard = ({config, form, locationsOptions, clientsOptions, defaultLocation, formRefreshed,\n typeValue, setLatitude, setLongitude, setLocationId, setClientId, driversOptions}) => {\n const {\n id: organizationId,\n country,\n support_destinations_only: supportDestinationsOnly,\n allow_destination_name: allowDestinationName,\n allow_zip_code: allowZipCode,\n allow_entrance: allowEntrance,\n allow_entrance_code: allowEntranceCode,\n allow_state: allowState,\n required_task_fields: requiredTaskFields,\n allow_time_window: allowTimeWindow,\n google_key: googleKey,\n allow_phone2: allowPhone2,\n allow_routes: allowRoutes,\n is_organization: isOrganization,\n allow_driver_salary: allowDriverSalary,\n allow_finance: allowFinance\n } = config\n\n const requiredFieldRule = useCallback((fieldName) => (\n { required: requiredTaskFields.includes(fieldName), message: i18n.t('mandatory_field') }\n ), [requiredTaskFields])\n\n const [cityId, setCityId] = useState(null)\n const israelCities = useIsraelCities(organizationId)\n const israelStreets = useIsraelStreets(cityId)\n const searchAddressInputRef = useRef()\n const google = useGoogle(googleKey)\n\n const locationsCombinedOptions = useMemo(() => {\n if (clientsOptions.length > 0) {\n return [\n {label: i18n.t('views.locations.title'), options: [...locationsOptions]},\n {label: i18n.t('views.clients.clients'), options: [...clientsOptions]}\n ]\n } else {\n return [...locationsOptions]\n }\n }, [clientsOptions, locationsOptions])\n\n const filterLocationsOption = useCallback((search, optionOrGroup) => {\n const isGroup = Array.isArray(optionOrGroup.options);\n if (isGroup) {return false}\n\n const part1 = optionOrGroup.label.props.children[0].toLowerCase().includes(search.toLowerCase())\n const part2 = optionOrGroup.label.props.children[2].props.children.toLowerCase().includes(search.toLowerCase())\n return part1 || part2\n }, [])\n\n const destinationChange = (_v, opt) => {\n opt.kind === 'location' ? updateFormByLocation(opt.item) : updateFormByClient(opt.item)\n }\n\n const cityChange = (_v, opt) => {\n setCityId(opt.cityId)\n form.setFieldValue(['visits_attributes', 0, 'street'], null)\n clearCoordinates()\n }\n const clearCoordinates = () => {\n setLatitude(null)\n setLongitude(null)\n }\n\n const updateFormByLocation = loc => {\n clearLocationForm()\n if (!loc) return\n\n const fieldsValue = form.getFieldsValue()\n setLatitude(loc.latitude)\n setLongitude(loc.longitude)\n setLocationId(loc.id)\n form.setFieldsValue({\n ...fieldsValue,\n visits_attributes: [{\n ...fieldsValue.visits_attributes[0],\n city: loc.city,\n street: loc.street,\n state: loc.state,\n name: loc.name,\n number: loc.number,\n zip_code: loc.zip_code,\n floor: loc.floor,\n apartment: loc.apartment,\n entrance: loc.entrance,\n entrance_code: loc.entrance_code,\n notes: loc.notes,\n recipient_name: loc.default_recipient_name,\n phone: formatPhoneNumber(loc.default_phone)\n }, {...fieldsValue.visits_attributes[1]}]\n })\n if (loc.earliest) {\n const date = new Date(loc.earliest)\n form.setFieldValue(['visits_attributes', 0, 'earliest_at'], dayjs(`${date.getHours()}:${date.getMinutes() === 0 ? '00' : date.getMinutes()}`, getTimeFormat()))\n }\n if (loc.latest) {\n const date = new Date(loc.latest)\n form.setFieldValue(['visits_attributes', 0, 'latest_at'], dayjs(`${date.getHours()}:${date.getMinutes() === 0 ? '00' : date.getMinutes()}`, getTimeFormat()))\n }\n }\n\n const updateFormByClient = client => {\n clearLocationForm()\n const fieldsValue = form.getFieldsValue()\n setLatitude(client.latitude)\n setLongitude(client.longitude)\n setClientId(client.id)\n form.setFieldsValue({\n ...fieldsValue,\n visits_attributes: [\n {...fieldsValue.visits_attributes[0],\n city: client.city,\n street: client.street,\n name: client.name,\n number: client.number,\n floor: client.floor,\n apartment: client.apartment,\n recipient_name: client.name,\n phone: formatPhoneNumber(client.phone)\n }, {...fieldsValue.visits_attributes[1]}]\n })\n }\n\n const clearLocationForm = () => {\n setLatitude(null)\n setLongitude(null)\n setLocationId(null)\n setClientId(null)\n const fieldsValue = form.getFieldsValue()\n form.setFieldsValue({\n ...fieldsValue,\n ordering_user: null,\n destination_search_address: null,\n visits_attributes: [{\n ...fieldsValue.visits_attributes[0],\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: null,\n recipient_name: null,\n phone: null,\n earliest_at: null,\n latest_at: null\n },\n {...fieldsValue.visits_attributes[1]}\n ],\n })\n }\n\n const initGoogleSearch = async () => {\n const placesOptions = {\n types: ['geocode', 'establishment'],\n fields: ['address_components', 'geometry', 'name'],\n componentRestrictions: { country: country }\n }\n\n const searchAddress = new google.maps.places.Autocomplete(\n searchAddressInputRef.current.input,\n placesOptions\n )\n\n google.maps.event.addListener(searchAddress, 'place_changed', () => {\n const place = searchAddress.getPlace()\n if (!place.address_components) return\n\n for (const component of place.address_components) {\n const componentType = component.types[0]\n switch (componentType) {\n case 'administrative_area_level_1':\n form.setFieldValue(['visits_attributes', 0, 'state'], component.long_name)\n break\n case 'locality':\n form.setFieldValue(['visits_attributes', 0, 'city'], component.long_name)\n break\n case 'route':\n form.setFieldValue(['visits_attributes', 0, 'street'], component.short_name)\n break\n case 'street_number':\n form.setFieldValue(['visits_attributes', 0, 'number'], component.long_name)\n break\n case 'point_of_interest':\n const name = form.getFieldValue(['visits_attributes', 0, 'name'])\n if (!name) {\n form.setFieldValue(['visits_attributes', 0, 'name'], component.long_name)\n }\n break\n }\n }\n\n if (place.geometry) {\n setLatitude(place.geometry.location.lat())\n setLongitude(place.geometry.location.lng())\n }\n })\n }\n\n useEffect(() => {\n if (google) {\n initGoogleSearch()\n }\n }, [google, formRefreshed])\n\n useEffect(() => {\n if (typeValue) {\n if (!defaultLocation) return clearLocationForm()\n\n if (typeValue === 'transfer' || typeValue === 'delivery') {\n clearLocationForm()\n form.setFieldValue('destination', null)\n } else if (typeValue === 'pickup') {\n form.setFieldValue('destination', defaultLocation.id)\n updateFormByLocation(defaultLocation)\n }\n }\n }, [typeValue, defaultLocation])\n\n return (\n
\n
\n
\n \n {i18n.t('task_destination')}\n
\n
\n
\n
\n
\n \n \n \n
\n )}\n {googleKey && (\n
\n \n \n \n
\n )}\n {allowState && (\n
\n \n \n \n
\n )}\n
\n \n {(isRTL()) ? (\n {form.setFieldValue(['visits_attributes', 0, 'city'], val)}}\n disabled={typeValue === 'pickup'}\n autoComplete=\"none\"\n />\n ) : (\n \n )}\n \n
\n
\n \n {(isRTL()) ? (\n clearCoordinates()}\n extraPlaceholder={i18n.t('views.tasks.add_street')}\n setValueFn={(val) => {form.setFieldValue(['visits_attributes', 0, 'street'], val)}}\n disabled={typeValue === 'pickup'}\n autoComplete=\"none\"\n />\n ) : (\n clearCoordinates()}/>\n )}\n \n
\n
\n \n clearCoordinates()}/>\n \n
\n {allowZipCode && (\n
\n \n clearCoordinates()}/>\n \n
\n )}\n
\n \n \n \n
\n
\n \n \n \n
\n {allowEntrance && (\n
\n \n \n \n
\n )}\n {allowEntranceCode && (\n
\n \n \n \n
\n )}\n
\n \n \n \n
\n {!supportDestinationsOnly && (\n
\n \n \n \n
\n )}\n {!supportDestinationsOnly && (\n
\n {setClientId(null)}} />\n
\n )}\n {!supportDestinationsOnly && allowPhone2 && (\n
\n \n
\n )}\n {!supportDestinationsOnly && (\n
\n \n \n \n
\n )}\n {allowTimeWindow && (\n <>\n
\n \n \n \n
\n
\n \n \n \n
\n \n )}\n
\n \n \n \n
\n
\n
\n )\n}\n\nexport default DestinationCard\n","import React, {useEffect} from \"react\";\n\nexport const useCreateShortcut = (submitRef) => {\n useEffect(() => {\n if (submitRef) {\n document.addEventListener('keydown', (e) => {\n if ((e.metaKey || e.ctrlKey) && (e.key === 'Enter')) {\n e.preventDefault()\n submitRef.current.click()\n }\n });\n }\n }, [submitRef])\n}\n","import React, {useRef} from 'react';\nimport {i18n} from \"../../helpers/i18n\";\nimport {Button, Tooltip} from \"antd\";\nimport {useCreateShortcut} from \"./hooks/useCreateShortcut\";\nimport {useCreateAndPrintShortcut} from \"./hooks/useCreateAndPrintShortcut\";\nimport {useBtnTips} from \"./hooks/useBtnTips\";\nimport {isRTL} from \"../../helpers/locale\";\n\nconst CreateAndPrintButtons = ({form, setPrintLabel, loading, allowCreateAndPrint, disabled}) => {\n const submitRef = useRef()\n const submitAndPrintRef = useRef()\n useCreateShortcut(submitRef)\n useCreateAndPrintShortcut(submitAndPrintRef)\n const [createTip, createPrintTip] = useBtnTips()\n\n return (\n <>\n \n \n \n {allowCreateAndPrint && (\n \n \n \n )}\n \n )\n}\n\nexport default CreateAndPrintButtons\n","import React, {useEffect} from \"react\";\n\nexport const useCreateAndPrintShortcut = (submitRef) => {\n useEffect(() => {\n if (submitRef) {\n document.addEventListener('keydown', (e) => {\n if ((e.metaKey || e.ctrlKey) && (e.key === 'm')) {\n e.preventDefault()\n submitRef.current.click()\n }\n });\n }\n }, [submitRef])\n}\n","import React, {useEffect, useState} from \"react\";\n\nexport const useBtnTips = () => {\n const [tips, setTips] = useState([])\n\n useEffect(() => {\n const userAgent = window.navigator.userAgent\n if (userAgent.indexOf('Mac') !== -1) {\n setTips(['⌘ + Enter', '⌘ + M'])\n } else {\n setTips(['CTRL + Enter', 'CTRL + M'])\n }\n\n }, [])\n\n return tips\n}\n","import React, {useState} from 'react'\nimport {Form} from \"antd\";\nimport Dragger from \"antd/es/upload/Dragger\";\nimport {InboxOutlined} from '@ant-design/icons';\nimport {i18n} from \"../../../helpers/i18n\";\n\nconst DocumentsCard = () => {\n const [fileList, setFileList] = useState([])\n\n const handleChange = ({ fileList: newFileList }) => setFileList(newFileList)\n\n return (\n
\n
\n
\n \n {i18n.t('companies.all_docs.document')}\n
\n
\n
\n
\n
\n \n {\n onSuccess({}, file)\n }\n }\n fileList={fileList}\n onChange={handleChange}\n getValueFromEvent={e => (e && e.file)}\n >\n

\n \n

\n

{i18n.t('shared.drag_and_drop_text')}

\n
\n \n
\n
\n
\n
\n )\n}\n\nexport default DocumentsCard\n","import React, {useEffect, useState} from 'react'\nimport {\n Button,\n Checkbox,\n ConfigProvider,\n DatePicker,\n Form,\n Input, InputNumber, Select,\n TimePicker, Modal, notification\n} from \"antd\";\nimport { CloseCircleOutlined } from '@ant-design/icons';\nimport {isRTL} from \"../../../../helpers/locale\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {getDateFormat, getDateTimeFormat, getTimeFormat} from \"../../../../helpers/date\";\nimport {calculatePriceAction, createTaskAction, fetchDriversAction, fetchRoutesAction} from \"../../actions\";\nimport dayjs from \"dayjs\";\nimport {getFormData, groupBy, isEmpty} from \"../../../../helpers/utils\";\nimport OrderItemsCard from \"../../cards/OrderItemsCard\";\nimport DestinationCard from \"../../cards/DestinationCard\";\nimport {useLocationsOptions} from \"../../hooks/useLocationsOptions\";\nimport {useClientsOptions} from \"../../hooks/useClientsOptions\";\nimport EmptyCustom from \"../../EmptyCustom\";\nimport ModalHeader from \"../../ModalHeader\";\nimport {useCompanies} from \"../../hooks/useCompanies\";\nimport {afterCreateNotification} from \"../../common\";\nimport CreateAndPrintButtons from \"../../CreateAndPrintButtons\";\nimport DocumentsCard from \"../../cards/DocumentsCard\";\nimport PhoneInput from \"../../PhoneInput\";\n\nexport default ({isOpen, setIsOpen, config, antLocale}) => {\n const {\n bgColor,\n default_company_id: defaultCompanyId,\n urgency_details: urgencyDetails,\n allow_urgency: allowUrgency,\n allow_routes: allowRoutes,\n allow_gifter: allowGifter,\n allow_order_items: allowOrderItems,\n allow_volume_constraint: allowVolumeConstraint,\n allow_products: allowProducts,\n allow_calculate_price: allowCalculatePrice,\n allow_money_collect: allowMoneyCollect,\n allow_task_fee_cost: allowTaskFeeCost,\n allow_surfaces_quantity: allowSurfacesQuantity,\n allow_packages_quantity: allowPackagesQuantity,\n allow_returned_pallets: allowReturnedPallets,\n allow_cartons_quantity: allowCartonsQuantity,\n allow_self_pickup: allowSelfPickup,\n allow_age_verification: allowAgeVerification,\n allow_leave_next_to_door: allowLeaveNextToDoor,\n allow_signed_document: allowSignedDocument,\n allow_documents: allowDocuments,\n allow_companies: allowCompanies,\n allow_create_and_print: allowCreateAndPrint,\n use_weight: useWeight,\n use_volume: useVolume,\n allow_pricing: allowPricing,\n force_company: forceCompany,\n custom_fields: customFields,\n default_task_note: defaultTaskNote,\n default_packages_quantity: defaultPackagesQuantity,\n urgency_options: urgencyOptions,\n cod_options: codOptions,\n google_key: googleKey,\n allow_phone2: allowPhone2,\n required_task_fields: requiredTaskFields\n } = config\n\n const [loading, setLoading] = useState(false)\n const [loadingCalculation, setLoadingCalculation] = useState(false)\n const companies = useCompanies()\n const [activeCompany, setActiveCompany] = useState(null)\n const locationsOptions = useLocationsOptions(activeCompany?.id)\n const clientsOptions = useClientsOptions(activeCompany?.id)\n const [routesOptions, setRoutesOptions] = useState([])\n const [driversOptions, setDriversOptions] = useState([])\n const [latitude, setLatitude] = useState()\n const [longitude, setLongitude] = useState()\n const [locationId, setLocationId] = useState()\n const [printLabel, setPrintLabel] = useState(false)\n const [clientId, setClientId] = useState()\n const [formRefreshed, setFormRefreshed] = useState(0)\n const [form] = Form.useForm()\n const [notificationApi, notificationContext] = notification.useNotification()\n\n const presentResource = () => {\n const resource = {\n search_address: '',\n pickup_at: dayjs.tz(),\n company_id: null,\n urgency: urgencyOptions[0].value,\n gifter_name: null,\n gifter_phone: null,\n greeting: null,\n price: null,\n notes: defaultTaskNote,\n packages_quantity: defaultPackagesQuantity,\n stop_time: null,\n fee_cost: null,\n wp_order_id: null,\n surfaces_quantity: null,\n returned_pallets: null,\n cartons_quantity: null,\n weight: null,\n volume: null,\n is_self_pickup: null,\n age_verification: null,\n signed_document: null,\n documents: [],\n visits_attributes: [{\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: null,\n save_as_location: false,\n recipient_name: null,\n phone: null,\n phone2: null,\n earliest_at: null,\n latest_at: null\n }],\n order_items_attributes: [],\n cod_attributes: {},\n extra: {}\n }\n if (allowMoneyCollect) {\n resource.cod_attributes = {sum: null, kind: null}\n }\n if (customFields.length > 0) {\n const customFieldsObj = customFields.reduce((acc, field) => {\n acc[field.map_name] = null\n return acc\n }, {})\n resource.extra = customFieldsObj\n }\n return resource\n }\n\n const fetchRoutesOptions = async () => {\n const options = []\n const res = await fetchRoutesAction()\n const data = await res.json()\n const grouped = groupBy(data, ({ date }) => date)\n for (const [key, value] of Object.entries(grouped)) {\n options.push({\n label: key, options: value.map((v) => ({label: v.name, value: v.id}))\n })\n }\n setRoutesOptions(options)\n }\n\n const fetchDriversOptions = async () => {\n const res = await fetchDriversAction()\n const data = await res.json()\n setDriversOptions(data.map(d => ({label: d.name, value: d.id})))\n }\n\n const companyChange = id => {\n const company = companies.find(c => (c.id === id))\n setActiveCompany(company)\n form.setFieldValue('destination', null)\n }\n\n const renderCustomField = (field) => {\n const requiredRule = { required: field.required, message: i18n.t('mandatory_field') }\n\n switch (field.type) {\n case 'string':\n return (\n
\n \n \n \n
\n )\n case 'enum':\n const enumOpt = field.options.map(o => ({label: o.name, value: o.name}))\n enumOpt.unshift({label: '', value: ''})\n return (\n
\n \n \n \n
\n )}\n
\n \n \n \n
\n
\n \n \n \n \n
\n
\n {}\n {allowGifter && (\n
\n
\n
\n \n {i18n.t('models.task.gifter')}\n
\n
\n
\n
\n \n \n \n
\n
\n \n
\n
\n \n \n \n
\n
\n
\n )}\n {allowOrderItems && (\n \n )}\n
\n
\n
\n \n {i18n.t('models.organization.pricing')}\n
\n
\n
\n {allowPricing && (\n
\n \n \n \n
\n )}\n {allowMoneyCollect && (\n
\n
\n \n \n \n
\n
\n ({\n validator(_, value) {\n if (getFieldValue(['cod_attributes', 'sum']) && !value) {\n return Promise.reject(new Error(i18n.t('mandatory_field')))\n }\n return Promise.resolve()\n },\n }),\n ]}\n >\n \n \n
\n
\n {setClientId(null)}} />\n
\n {allowPhone2 && (\n
\n \n
\n )}\n
\n
\n
\n
\n
\n \n {i18n.t('details')}\n
\n
\n
\n
\n {customFields.map(field => (renderCustomField(field)))}\n
\n
\n \n \n \n
\n {allowPackagesQuantity && (\n
\n \n \n \n
\n )}\n
\n \n \n \n
\n {allowTaskFeeCost && (\n
\n \n \n \n
\n )}\n {allowSurfacesQuantity && (\n
\n \n \n \n
\n )}\n {allowReturnedPallets && (\n
\n \n \n \n
\n )}\n {allowCartonsQuantity && (\n
\n \n \n \n
\n )}\n {useWeight && (\n
\n \n \n \n
\n )}\n {useVolume && (\n
\n \n \n \n
\n )}\n {allowSelfPickup && (\n
\n \n \n \n
\n )}\n {allowAgeVerification && (\n
\n \n \n \n
\n )}\n {allowLeaveNextToDoor && (\n
\n \n \n \n
\n )}\n {allowSignedDocument && (\n
\n \n \n \n
\n )}\n
\n
\n {allowDocuments && ()}\n
\n
\n
\n \n \n \n \n )\n}\n","import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'\nimport { Checkbox, Form, Input, InputNumber, Select } from \"antd\";\nimport {i18n} from \"../../../helpers/i18n\";\nimport {CloseCircleOutlined} from \"@ant-design/icons\";\nimport {isRTL} from \"../../../helpers/locale\";\nimport ScalableSelect from \"../ScalableSelect\";\nimport {useIsraelCities} from \"../hooks/useIsraelCities\";\nimport {useIsraelStreets} from \"../hooks/useIsraelStreets\";\nimport {useGoogle} from \"../hooks/useGoogle\";\nimport EmptyCustom from \"../EmptyCustom\";\nimport PhoneInput from \"../PhoneInput\";\n\nconst SourceCard = ({config, form, locationsOptions, defaultLocation, formRefreshed,\n typeValue, setLatitude, setLongitude, setLocationId, driversOptions}) => {\n const {\n id: organizationId,\n country,\n allow_zip_code: allowZipCode,\n allow_entrance: allowEntrance,\n allow_entrance_code: allowEntranceCode,\n allow_state: allowState,\n google_key: googleKey,\n toggle_source: toggleSource,\n allow_routes: allowRoutes,\n is_organization: isOrganization,\n allow_driver_salary: allowDriverSalary,\n allow_finance: allowFinance,\n required_task_fields: requiredTaskFields\n } = config\n\n const requiredFieldRule = useCallback((fieldName) => (\n { required: requiredTaskFields.includes(fieldName), message: i18n.t('mandatory_field') }\n ), [requiredTaskFields])\n\n const [cityId, setCityId] = useState(null)\n const israelCities = useIsraelCities(organizationId)\n const israelStreets = useIsraelStreets(cityId)\n const searchAddressInputRef = useRef()\n const google = useGoogle(googleKey)\n const [sourceCardVisible, setSourceCardVisible] = useState(true)\n const [sourceCardToggleText, setSourceCardToggleText] = useState(i18n.t('hide_details'))\n\n const cityChange = (_v, opt) => {\n setCityId(opt.cityId)\n form.setFieldValue(['visits_attributes', 1, 'street'], null)\n clearCoordinates()\n }\n\n const sourceChange = (_v, opt) => {updateFormByLocation(opt.item)}\n\n const filterLocationsOption = useCallback((search, option) => {\n const part1 = option.label.props.children[0].toLowerCase().includes(search.toLowerCase())\n const part2 = option.label.props.children[2].props.children.toLowerCase().includes(search.toLowerCase())\n return part1 || part2\n }, [])\n\n const updateFormByLocation = loc => {\n clearLocationForm()\n if (!loc) return\n\n const fieldsValue = form.getFieldsValue()\n setLatitude(loc.latitude)\n setLongitude(loc.longitude)\n setLocationId(loc.id)\n form.setFieldsValue({\n ...fieldsValue,\n visits_attributes: [\n {...fieldsValue.visits_attributes[0]},\n {...fieldsValue.visits_attributes[1],\n city: loc.city,\n street: loc.street,\n state: loc.state,\n name: loc.name,\n number: loc.number,\n zip_code: loc.zip_code,\n floor: loc.floor,\n apartment: loc.apartment,\n entrance: loc.entrance,\n entrance_code: loc.entrance_code,\n notes: loc.notes,\n recipient_name: loc.default_recipient_name,\n phone: loc.default_phone\n }]\n })\n }\n\n const clearLocationForm = () => {\n setLatitude(null)\n setLongitude(null)\n setLocationId(null)\n const fieldsValue = form.getFieldsValue()\n form.setFieldsValue({\n ...fieldsValue,\n ordering_user: null,\n source_search_address: null,\n visits_attributes: [\n {...fieldsValue.visits_attributes[0]},\n {...fieldsValue.visits_attributes[1],\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: null,\n recipient_name: null,\n phone: null\n }\n ],\n })\n }\n\n const initFormByLocation = () => {\n if (defaultLocation?.auto_populate || typeValue === 'delivery') {\n form.setFieldValue('source', defaultLocation.id)\n updateFormByLocation(defaultLocation)\n } else {\n form.setFieldValue('source', null)\n clearLocationForm()\n }\n }\n\n const clearCoordinates = () => {\n setLatitude(null)\n setLongitude(null)\n }\n\n const initGoogleSearch = async () => {\n const placesOptions = {\n types: ['geocode', 'establishment'],\n fields: ['address_components', 'geometry', 'name'],\n componentRestrictions: { country: country }\n }\n\n const searchAddress = new google.maps.places.Autocomplete(\n searchAddressInputRef.current.input,\n placesOptions\n )\n\n google.maps.event.addListener(searchAddress, 'place_changed', () => {\n const place = searchAddress.getPlace()\n if (!place.address_components) return\n\n for (const component of place.address_components) {\n const componentType = component.types[0]\n switch (componentType) {\n case 'administrative_area_level_1':\n form.setFieldValue(['visits_attributes', 1, 'state'], component.long_name)\n break\n case 'locality':\n form.setFieldValue(['visits_attributes', 1, 'city'], component.long_name)\n break\n case 'route':\n form.setFieldValue(['visits_attributes', 1, 'street'], component.short_name)\n break\n case 'street_number':\n form.setFieldValue(['visits_attributes', 1, 'number'], component.long_name)\n break\n case 'point_of_interest':\n const name = form.getFieldValue(['visits_attributes', 1, 'name'])\n if (!name) {\n form.setFieldValue(['visits_attributes', 1, 'name'], component.long_name)\n }\n break\n }\n }\n\n if (place.geometry) {\n setLatitude(place.geometry.location.lat())\n setLongitude(place.geometry.location.lng())\n }\n })\n }\n\n useEffect(() => {\n setSourceCardToggleText(sourceCardVisible ? i18n.t('hide_details') : i18n.t('show_details'))\n }, [sourceCardVisible])\n\n useEffect(() => {\n if (google) {\n initGoogleSearch()\n }\n if (formRefreshed > 0) {\n initFormByLocation()\n }\n }, [google, formRefreshed])\n\n useEffect(() => {\n if (typeValue) {\n if (!defaultLocation) return clearLocationForm()\n\n if (typeValue === 'transfer' || typeValue === 'pickup') {\n clearLocationForm()\n form.setFieldValue('source', null)\n } else if (typeValue === 'delivery') {\n form.setFieldValue('source', defaultLocation.id)\n updateFormByLocation(defaultLocation)\n }\n } else {\n initFormByLocation()\n }\n }, [typeValue, defaultLocation])\n\n return (\n
\n
\n
\n \n \n {i18n.t('task_source')}\n \n {toggleSource && (\n
\n {setSourceCardVisible(!sourceCardVisible)}}>{sourceCardToggleText}\n \n
\n )}\n
\n
\n
\n
\n
\n \n \n \n
\n {googleKey && (\n
\n \n \n \n
\n )}\n {allowState && (\n
\n \n \n \n
\n )}\n
\n \n {(isRTL()) ? (\n {form.setFieldValue(['visits_attributes', 1, 'city'], val)}}\n disabled={typeValue === 'delivery'}\n autoComplete=\"none\"\n />\n ) : (\n clearCoordinates()}/>\n )}\n \n
\n
\n \n {(isRTL()) ? (\n clearCoordinates()}\n extraPlaceholder={i18n.t('views.tasks.add_street')}\n setValueFn={(val) => {form.setFieldValue(['visits_attributes', 1, 'street'], val)}}\n disabled={typeValue === 'delivery'}\n autoComplete=\"none\"\n />\n ) : (\n clearCoordinates()}/>\n )}\n \n
\n
\n \n clearCoordinates()}/>\n \n
\n {allowZipCode && (\n
\n \n \n \n
\n )}\n
\n \n \n \n
\n
\n \n \n \n
\n {allowEntrance && (\n
\n \n \n \n
\n )}\n {allowEntranceCode && (\n
\n \n \n \n
\n )}\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n
\n )}\n
\n \n )\n}\n\nexport default SourceCard\n","import React, {useEffect, useState} from 'react'\nimport {\n Button,\n Checkbox,\n ConfigProvider,\n DatePicker,\n Form,\n Input, InputNumber, Select,\n TimePicker, Modal, notification, Radio\n} from \"antd\";\nimport {isRTL} from \"../../../../helpers/locale\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {getDateFormat, getDateTimeFormat, getTimeFormat} from \"../../../../helpers/date\";\nimport {calculatePriceAction, createTaskAction, fetchCompanyUsersAction, fetchDriversAction} from \"../../actions\";\nimport dayjs from \"dayjs\";\nimport {getFormData, isEmpty} from \"../../../../helpers/utils\";\nimport OrderItemsCard from \"../../cards/OrderItemsCard\";\nimport { afterCreateNotification, typeOptions, userLabel, userSearchString } from \"../../common\";\nimport DestinationCard from \"../../cards/DestinationCard\";\nimport SourceCard from \"../../cards/SourceCard\";\nimport {useLocationsOptions} from \"../../hooks/useLocationsOptions\";\nimport {useClientsOptions} from \"../../hooks/useClientsOptions\";\nimport EmptyCustom from \"../../EmptyCustom\";\nimport ModalHeader from \"../../ModalHeader\";\nimport {useCompanies} from \"../../hooks/useCompanies\";\nimport CreateAndPrintButtons from \"../../CreateAndPrintButtons\";\nimport DocumentsCard from \"../../cards/DocumentsCard\";\nimport PhoneInput from \"../../PhoneInput\";\n\nexport default ({isOpen, setIsOpen, config, antLocale}) => {\n const {\n bgColor,\n default_company_id: defaultCompanyId,\n urgency_details: urgencyDetails,\n allow_urgency: allowUrgency,\n allow_order_items: allowOrderItems,\n allow_volume_constraint: allowVolumeConstraint,\n allow_products: allowProducts,\n allow_calculate_price: allowCalculatePrice,\n allow_money_collect: allowMoneyCollect,\n allow_task_fee_cost: allowTaskFeeCost,\n allow_returned_pallets: allowReturnedPallets,\n allow_cartons_quantity: allowCartonsQuantity,\n allow_age_verification: allowAgeVerification,\n allow_leave_next_to_door: allowLeaveNextToDoor,\n allow_signed_document: allowSignedDocument,\n allow_companies: allowCompanies,\n allow_documents: allowDocuments,\n allow_gifter: allowGifter,\n allow_task_type: allowTaskType,\n allow_is_roundtrip: allowIsRoundtrip,\n allow_vehicle_kind: allowVehicleKind,\n allow_packages_quantity: allowPackagesQuantity,\n allow_surfaces_quantity: allowSurfacesQuantity,\n allow_visits: allowVisits,\n allow_document_number: allowDocumentNumber,\n allow_pricing: allowPricing,\n allow_create_and_print: allowCreateAndPrint,\n use_weight: useWeight,\n use_volume: useVolume,\n force_company: forceCompany,\n custom_fields: customFields,\n default_task_note: defaultTaskNote,\n default_packages_quantity: defaultPackagesQuantity,\n default_location: orgDefaultLocation,\n urgency_options: urgencyOptions,\n vehicle_kind_options: vehicleKindOptions,\n cod_options: codOptions,\n payer_options: payerOptions,\n required_task_fields: requiredTaskFields\n } = config\n\n const [loading, setLoading] = useState(false)\n const [defaultLocation, setDefaultLocation] = useState(orgDefaultLocation)\n const [loadingCalculation, setLoadingCalculation] = useState(false)\n const companies = useCompanies()\n const [activeCompany, setActiveCompany] = useState(null)\n const locationsOptions = useLocationsOptions(activeCompany?.id)\n const clientsOptions = useClientsOptions(activeCompany?.id)\n const [usersOptions, setUsersOptions] = useState([])\n const [typeValue, setTypeValue] = useState(null)\n const [printLabel, setPrintLabel] = useState(false)\n const [driversOptions, setDriversOptions] = useState([])\n const [destinationLatitude, setDestinationLatitude] = useState()\n const [sourceLatitude, setSourceLatitude] = useState()\n const [destinationLongitude, setDestinationLongitude] = useState()\n const [sourceLongitude, setSourceLongitude] = useState()\n const [destinationLocationId, setDestinationLocationId] = useState()\n const [sourceLocationId, setSourceLocationId] = useState()\n const [formRefreshed, setFormRefreshed] = useState(0)\n const [clientId, setClientId] = useState()\n const [showOtherUser, setShowOtherUser] = useState(false)\n const [form] = Form.useForm()\n const [notificationApi, notificationContext] = notification.useNotification()\n\n const presentResource = () => {\n const resource = {\n source_search_address: '',\n destination_search_address: '',\n user_id: null,\n is_roundtrip: null,\n task_type: null,\n pickup_at: dayjs.tz(),\n company_id: null,\n payer: null,\n urgency: urgencyOptions[0].value,\n vehicle_kind: vehicleKindOptions[0].value,\n gifter_name: null,\n gifter_phone: null,\n greeting: null,\n price: null,\n notes: defaultTaskNote,\n packages_quantity: defaultPackagesQuantity,\n stop_time: null,\n fee_cost: null,\n wp_order_id: null,\n surfaces_quantity: null,\n returned_pallets: null,\n cartons_quantity: null,\n weight: null,\n volume: null,\n is_self_pickup: null,\n age_verification: null,\n signed_document: null,\n documents: [],\n visits_attributes: [{\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: null,\n save_as_location: false,\n recipient_name: null,\n phone: null,\n phone2: null,\n earliest_at: null,\n latest_at: null\n }],\n order_items_attributes: [],\n cod_attributes: {},\n extra: {}\n }\n if (allowMoneyCollect) {\n resource.cod_attributes = {sum: null, kind: null}\n }\n if (customFields.length > 0) {\n const customFieldsObj = customFields.reduce((acc, field) => {\n acc[field.map_name] = null\n return acc\n }, {})\n resource.extra = customFieldsObj\n }\n return resource\n }\n\n useEffect(() => {\n (async () => {\n const res = await fetchDriversAction()\n const data = await res.json()\n setDriversOptions(data.map(d => ({label: d.name, value: d.id})))\n })()\n }, [])\n\n const renderCustomField = (field) => {\n const requiredRule = { required: field.required, message: i18n.t('mandatory_field') }\n\n switch (field.type) {\n case 'string':\n return (\n
\n
\n \n \n \n
\n
\n )\n case 'enum':\n const enumOpt = field.options.map(o => ({label: o.name, value: o.name}))\n enumOpt.unshift({label: '', value: ''})\n return (\n
\n
\n \n } allowClear/>\n\n \n {setShowOtherUser(true)}}>{i18n.t('views.tasks.ordering_user.not_in_the_list')}\n
\n )}\n {showOtherUser && (\n \n )}\n {activeCompany?.innerNote && (\n
\n
\n {i18n.t('models.company.company_note')} - {activeCompany.innerNote}\n
\n
\n )}\n
\n \n \n \n \n
\n
\n
\n
\n
\n \n {i18n.t('details')}\n
\n
\n
\n
\n {allowUrgency && (\n
\n \n {i18n.t('models.task.urgency')}\n \n \n \n
\n ) : (\n {i18n.t('models.task.urgency')}\n )}>\n \n \n
\n )}\n {allowPackagesQuantity && (\n
\n \n \n \n
\n )}\n {allowSurfacesQuantity && (\n
\n \n \n \n
\n )}\n {allowCartonsQuantity && (\n
\n \n \n \n
\n )}\n {useWeight && (\n
\n \n \n \n
\n )}\n {useVolume && (\n
\n \n \n \n
\n )}\n {allowMoneyCollect && (\n
\n \n \n \n
\n )}\n {allowMoneyCollect && (\n
\n ({\n validator(_, value) {\n if (getFieldValue(['cod_attributes', 'sum']) && !value) {\n return Promise.reject(new Error(i18n.t('mandatory_field')))\n }\n return Promise.resolve()\n },\n }),\n ]}\n >\n \n \n
\n )}\n {allowVisits && (\n
\n \n \n \n
\n )}\n {allowReturnedPallets && (\n
\n \n \n \n
\n )}\n
\n
\n
\n {customFields.map(field => (renderCustomField(field)))}\n
\n \n \n \n
\n
\n {}\n
\n
\n {}\n {allowOrderItems && (\n \n )}\n {allowGifter && (\n
\n
\n
\n \n {i18n.t('models.task.gifter')}\n
\n
\n
\n
\n \n \n \n
\n
\n \n
\n
\n \n \n \n
\n
\n
\n )}\n {allowDocuments && ()}\n
\n
\n
\n
\n
\n
\n
\n \n {i18n.t('views.leads.additional_info')}\n
\n
\n
\n
\n
\n \n \n \n
\n
\n {allowDocumentNumber && (\n \n \n \n )}\n
\n {allowPricing && (\n
\n \n \n \n
\n )}\n {allowTaskFeeCost && (\n
\n \n \n \n
\n )}\n
\n
\n
\n
\n
\n \n \n \n \n \n )\n}\n","import React, {useState} from 'react'\nimport {\n Button,\n Checkbox,\n ConfigProvider,\n DatePicker,\n Form,\n Input, InputNumber, Select,\n TimePicker, Modal, notification, Alert\n} from \"antd\";\nimport {isRTL} from \"../../../../helpers/locale\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {getDateFormat, getDateTimeFormat, getTimeFormat} from \"../../../../helpers/date\";\nimport {calculatePriceAction, createTaskAction} from \"../../actions\";\nimport dayjs from \"dayjs\";\nimport {getFormData, isEmpty} from \"../../../../helpers/utils\";\nimport OrderItemsCard from \"../../cards/OrderItemsCard\";\nimport DestinationCard from \"../../cards/DestinationCard\";\nimport {useLocationsOptions} from \"../../hooks/useLocationsOptions\";\nimport {useClientsOptions} from \"../../hooks/useClientsOptions\";\nimport ModalHeader from \"../../ModalHeader\";\nimport {afterCreateNotification} from \"../../common\";\nimport CreateAndPrintButtons from \"../../CreateAndPrintButtons\";\nimport DocumentsCard from \"../../cards/DocumentsCard\";\nimport PhoneInput from \"../../PhoneInput\";\n\nexport default ({isOpen, setIsOpen, config, antLocale}) => {\n const {\n bgColor,\n urgency_details: urgencyDetails,\n allow_urgency: allowUrgency,\n allow_gifter: allowGifter,\n allow_order_items: allowOrderItems,\n show_order_items_on_label: allowCompanyOrderItems,\n allow_volume_constraint: allowVolumeConstraint,\n required_destination_phone: requiredDestinationPhone,\n allow_calculate_price: allowCalculatePrice,\n allow_money_collect: allowMoneyCollect,\n allow_documents: allowDocuments,\n allow_surfaces_quantity: allowSurfacesQuantity,\n allow_packages_quantity: allowPackagesQuantity,\n allow_cartons_quantity: allowCartonsQuantity,\n allow_self_pickup: allowSelfPickup,\n allow_age_verification: allowAgeVerification,\n allow_leave_next_to_door: allowLeaveNextToDoor,\n allow_signed_document: allowSignedDocument,\n allow_create_and_print: allowCreateAndPrint,\n allow_pricing: allowPricing,\n custom_fields: customFields,\n default_task_note: defaultTaskNote,\n default_destination_note: defaultDestinationNote,\n default_packages_quantity: defaultPackagesQuantity,\n urgency_options: urgencyOptions,\n cod_options: codOptions,\n google_key: googleKey,\n allow_phone2: allowPhone2,\n tasks_limit: tasksLimit,\n required_task_fields: requiredTaskFields,\n general_customers_note: generalCustomersNote\n } = config\n\n const [loading, setLoading] = useState(false)\n const [loadingCalculation, setLoadingCalculation] = useState(false)\n const locationsOptions = useLocationsOptions()\n const clientsOptions = useClientsOptions()\n const [latitude, setLatitude] = useState()\n const [longitude, setLongitude] = useState()\n const [locationId, setLocationId] = useState()\n const [clientId, setClientId] = useState()\n const [printLabel, setPrintLabel] = useState(false)\n const [formRefreshed, setFormRefreshed] = useState(0)\n const [form] = Form.useForm()\n const [notificationApi, notificationContext] = notification.useNotification()\n\n const presentResource = () => {\n const resource = {\n search_address: '',\n pickup_at: dayjs.tz(),\n urgency: urgencyOptions[0].value,\n gifter_name: null,\n gifter_phone: null,\n greeting: null,\n notes: defaultTaskNote,\n packages_quantity: defaultPackagesQuantity,\n wp_order_id: null,\n surfaces_quantity: null,\n cartons_quantity: null,\n is_self_pickup: null,\n age_verification: null,\n signed_document: null,\n documents: [],\n visits_attributes: [{\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: defaultDestinationNote,\n save_as_location: false,\n recipient_name: null,\n phone: null,\n phone2: null\n }],\n order_items_attributes: [],\n cod_attributes: {},\n extra: {}\n }\n if (allowMoneyCollect) {\n resource.cod_attributes = {sum: null, kind: null}\n }\n if (customFields.length > 0) {\n const customFieldsObj = customFields.reduce((acc, field) => {\n acc[field.map_name] = null\n return acc\n }, {})\n resource.extra = customFieldsObj\n }\n return resource\n }\n\n const renderCustomField = (field) => {\n const requiredRule = { required: field.required, message: i18n.t('mandatory_field') }\n\n switch (field.type) {\n case 'string':\n return (\n
\n \n \n \n
\n )\n case 'enum':\n const enumOpt = field.options.map(o => ({label: o.name, value: o.name}))\n enumOpt.unshift({label: '', value: ''})\n return (\n
\n \n \n \n
\n )}\n
\n \n \n \n
\n \n \n \n \n \n
\n
\n {}\n {allowGifter && (\n
\n
\n
\n \n {i18n.t('models.task.gifter')}\n
\n
\n
\n
\n \n \n \n
\n
\n \n
\n
\n \n \n \n
\n
\n
\n )}\n {allowOrderItems && allowCompanyOrderItems && (\n \n )}\n {allowMoneyCollect && (\n
\n
\n
\n \n {i18n.t('models.organization.pricing')}\n
\n
\n
\n {allowPricing && allowCalculatePrice && (\n
\n \n \n \n
\n )}\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n {setClientId(null)}} />\n
\n {allowPhone2 && (\n
\n \n
\n )}\n
\n
\n
\n
\n
\n \n {i18n.t('details')}\n
\n
\n
\n
\n {customFields.map(field => (renderCustomField(field)))}\n
\n
\n \n \n \n
\n {allowPackagesQuantity && (\n
\n \n \n \n
\n )}\n {allowSurfacesQuantity && (\n
\n \n \n \n
\n )}\n {allowCartonsQuantity && (\n
\n \n \n \n
\n )}\n {allowSelfPickup && (\n
\n \n \n \n
\n )}\n {allowAgeVerification && (\n
\n \n \n \n
\n )}\n {allowLeaveNextToDoor && (\n
\n \n \n \n
\n )}\n {allowSignedDocument && (\n
\n \n \n \n
\n )}\n
\n
\n {allowDocuments && ()}\n
\n
\n
\n \n \n \n \n )\n}\n\n","import React, {useEffect, useState} from 'react'\nimport {\n Button,\n Checkbox,\n ConfigProvider,\n DatePicker,\n Form,\n Input, InputNumber, Select,\n TimePicker, Modal, notification, Radio, Alert\n} from \"antd\";\nimport {isRTL} from \"../../../../helpers/locale\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {getDateFormat, getDateTimeFormat, getTimeFormat} from \"../../../../helpers/date\";\nimport {calculatePriceAction, createTaskAction} from \"../../actions\";\nimport dayjs from \"dayjs\";\nimport {getFormData, isEmpty} from \"../../../../helpers/utils\";\nimport OrderItemsCard from \"../../cards/OrderItemsCard\";\nimport {afterCreateNotification, typeOptions} from \"../../common\";\nimport SourceCard from \"../../cards/SourceCard\";\nimport DestinationCard from \"../../cards/DestinationCard\";\nimport {useLocationsOptions} from \"../../hooks/useLocationsOptions\";\nimport {useClientsOptions} from \"../../hooks/useClientsOptions\";\nimport ModalHeader from \"../../ModalHeader\";\nimport CreateAndPrintButtons from \"../../CreateAndPrintButtons\";\nimport DocumentsCard from \"../../cards/DocumentsCard\";\nimport PhoneInput from \"../../PhoneInput\";\n\nexport default ({isOpen, setIsOpen, config, antLocale}) => {\n const {\n bgColor,\n urgency_details: urgencyDetails,\n allow_urgency: allowUrgency,\n allow_task_type: allowTaskType,\n allow_gifter: allowGifter,\n allow_order_items: allowOrderItems,\n show_order_items_on_label: allowCompanyOrderItems,\n allow_volume_constraint: allowVolumeConstraint,\n allow_calculate_price: allowCalculatePrice,\n allow_money_collect: allowMoneyCollect,\n allow_vehicle_kind: allowVehicleKind,\n allow_packages_quantity: allowPackagesQuantity,\n allow_surfaces_quantity: allowSurfacesQuantity,\n allow_cartons_quantity: allowCartonsQuantity,\n allow_is_roundtrip: allowIsRoundtrip,\n allow_visits: allowVisits,\n allow_documents: allowDocuments,\n allow_age_verification: allowAgeVerification,\n allow_leave_next_to_door: allowLeaveNextToDoor,\n allow_signed_document: allowSignedDocument,\n allow_document_number: allowDocumentNumber,\n allow_create_and_print: allowCreateAndPrint,\n allow_pricing: allowPricing,\n use_weight: useWeight,\n use_volume: useVolume,\n custom_fields: customFields,\n default_task_note: defaultTaskNote,\n default_destination_note: defaultDestinationNote,\n default_source_note: defaultSourceNote,\n default_packages_quantity: defaultPackagesQuantity,\n billing_option: billingOption,\n default_location: defaultLocation,\n urgency_options: urgencyOptions,\n vehicle_kind_options: vehicleKindOptions,\n payer_options: payerOptions,\n cod_options: codOptions,\n tasks_limit: tasksLimit,\n required_task_fields: requiredTaskFields,\n general_customers_note: generalCustomersNote\n } = config\n\n const [loading, setLoading] = useState(false)\n const [loadingCalculation, setLoadingCalculation] = useState(false)\n const locationsOptions = useLocationsOptions()\n const clientsOptions = useClientsOptions()\n const [typeValue, setTypeValue] = useState(null)\n const [destinationLatitude, setDestinationLatitude] = useState()\n const [sourceLatitude, setSourceLatitude] = useState()\n const [destinationLongitude, setDestinationLongitude] = useState()\n const [sourceLongitude, setSourceLongitude] = useState()\n const [destinationLocationId, setDestinationLocationId] = useState()\n const [sourceLocationId, setSourceLocationId] = useState()\n const [formRefreshed, setFormRefreshed] = useState(0)\n const [printLabel, setPrintLabel] = useState(false)\n const [clientId, setClientId] = useState()\n const [form] = Form.useForm()\n const [notificationApi, notificationContext] = notification.useNotification()\n\n const presentResource = () => {\n const resource = {\n source_search_address: '',\n destination_search_address: '',\n ordering_user: null,\n is_roundtrip: null,\n task_type: null,\n pickup_at: dayjs.tz(),\n company_id: null,\n payer: null,\n urgency: urgencyOptions[0].value,\n vehicle_kind: vehicleKindOptions[0].value,\n gifter_name: null,\n gifter_phone: null,\n greeting: null,\n price: null,\n notes: defaultTaskNote,\n packages_quantity: defaultPackagesQuantity,\n stop_time: null,\n fee_cost: null,\n wp_order_id: null,\n surfaces_quantity: null,\n returned_pallets: null,\n cartons_quantity: null,\n weight: null,\n volume: null,\n is_self_pickup: null,\n age_verification: null,\n signed_document: null,\n documents: [],\n visits_attributes: [\n {\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: defaultDestinationNote,\n save_as_location: false,\n recipient_name: null,\n phone: null,\n phone2: null\n },\n {\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: defaultSourceNote,\n save_as_location: false,\n recipient_name: null,\n phone: null,\n phone2: null\n }\n ],\n order_items_attributes: [],\n cod_attributes: {},\n extra: {}\n }\n if (allowMoneyCollect) {\n resource.cod_attributes = {sum: null, kind: null}\n }\n if (customFields.length > 0) {\n const customFieldsObj = customFields.reduce((acc, field) => {\n acc[field.map_name] = null\n return acc\n }, {})\n resource.extra = customFieldsObj\n }\n return resource\n }\n\n const renderCustomField = (field) => {\n const requiredRule = { required: field.required, message: i18n.t('mandatory_field') }\n\n switch (field.type) {\n case 'string':\n return (\n
\n
\n \n \n \n
\n
\n )\n case 'enum':\n const enumOpt = field.options.map(o => ({label: o.name, value: o.name}))\n enumOpt.unshift({label: '', value: ''})\n return (\n
\n
\n \n \n \n
\n )}\n {(allowIsRoundtrip && typeValue !== 'pickup') && (\n
\n \n \n \n
\n )}\n {allowAgeVerification && (\n
\n \n \n \n
\n )}\n {allowLeaveNextToDoor && (\n
\n \n \n \n
\n )}\n {allowSignedDocument && (\n
\n \n \n \n
\n )}\n
\n
\n
\n
\n {allowVehicleKind && (\n
\n \n \n \n
\n )}\n {(allowMoneyCollect && billingOption === 'other') && (\n
\n \n \n \n
\n )}\n
\n
\n
\n {customFields.map(field => (renderCustomField(field)))}\n \n \n \n \n
\n
\n {}\n {allowOrderItems && allowCompanyOrderItems && (\n \n )}\n
\n
\n {}\n {allowGifter && (\n
\n
\n
\n \n {i18n.t('models.task.gifter')}\n
\n
\n
\n
\n \n \n \n
\n
\n \n
\n
\n \n \n \n
\n
\n
\n )}\n {allowDocuments && ()}\n
\n
\n
\n
\n
\n
\n
\n \n {i18n.t('views.leads.additional_info')}\n
\n
\n
\n
\n
\n \n \n \n
\n
\n {allowDocumentNumber && (\n \n \n \n )}\n
\n {allowPricing && allowCalculatePrice && (\n
\n \n \n \n
\n )}\n
\n
\n
\n
\n
\n \n \n \n \n \n )\n}\n","import React, {useState} from 'react'\nimport {\n Button, Card, Form, Input, Space,\n} from \"antd\";\nimport AddProductModal from \"../AddProductModal\";\nimport {i18n} from \"../../../helpers/i18n\";\nimport {MinusCircleOutlined, PlusOutlined} from \"@ant-design/icons\";\n\nconst NewOrderItemsCard = ({allowProducts, allowVolumeConstraint, form}) => {\n const [addProductsModalOpen, setAddProductsModalOpen] = useState(false)\n const [item, setItem] = useState()\n\n const addItem = () => {\n if (!item) return\n\n const fieldsValue = form.getFieldsValue()\n form.setFieldsValue({\n ...fieldsValue,\n order_items_attributes: [\n ...fieldsValue.order_items_attributes,\n { sku: item.sku, name: item.name, weight: item.weight, price: item.price, notes: item.notes, variant: item.variant }\n ]\n })\n setAddProductsModalOpen(false)\n }\n\n return (\n
\n
\n {allowProducts && (\n
\n \n
\n )}\n {window.innerWidth > 576 ? (\n \n {(subFields, {add, remove}) => (\n <>\n {subFields.map(({ key, name, ...restField }, i) => (\n \n 0 ? false : i18n.t('models.order_item.sku')}\n wrapperCol={{ span: 24 }} className={'inline-item'}>\n \n \n 0 ? false : i18n.t('models.order_item.name')}\n wrapperCol={{ span: 24 }} className={'inline-item'}>\n \n \n 0 ? false : i18n.t('models.order_item.variant')}\n wrapperCol={{ span: 24 }} className={'inline-item'}>\n \n \n 0 ? false : i18n.t('models.order_item.quantity')}\n wrapperCol={{ span: 24 }} className={'inline-item'}>\n \n \n 0 ? false : i18n.t('models.order_item.price')}\n wrapperCol={{ span: 24 }} className={'inline-item'}>\n \n \n 0 ? false : i18n.t('models.order_item.weight')}\n wrapperCol={{ span: 24 }} className={'inline-item'}>\n \n \n {allowVolumeConstraint && (\n 0 ? false : i18n.t('models.order_item.volume')}\n wrapperCol={{ span: 24 }} className={'inline-item'}>\n \n \n )}\n 0 ? false : i18n.t('models.order_item.notes')}\n wrapperCol={{ span: 24 }} className={'inline-item'}>\n \n \n remove(name)} />\n \n ))}\n \n \n \n \n )}\n \n ) : (\n \n {(subFields, { add, remove }) => (\n \n {subFields.map(({ key, name, ...restField }) => (\n {remove(name)}}/>\n }\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {allowVolumeConstraint && (\n \n \n \n )}\n \n \n \n \n ))}\n\n \n
\n )}\n \n )}\n
\n \n \n )\n}\n\nexport default NewOrderItemsCard\n","import React, {useState} from 'react'\nimport {Form} from \"antd\";\nimport Dragger from \"antd/es/upload/Dragger\";\nimport {InboxOutlined} from '@ant-design/icons';\nimport {i18n} from \"../../../helpers/i18n\";\n\nconst DocumentsCard = () => {\n const [fileList, setFileList] = useState([])\n\n const handleChange = ({ fileList: newFileList }) => setFileList(newFileList)\n\n return (\n
\n
\n \n {\n onSuccess({}, file)\n }\n }\n fileList={fileList}\n onChange={handleChange}\n getValueFromEvent={e => (e && e.file)}\n >\n

\n \n

\n

{i18n.t('shared.drag_and_drop_text')}

\n
\n \n
\n
\n )\n}\n\nexport default DocumentsCard\n","import React, {useCallback, useEffect, useMemo, useRef, useState} from 'react'\nimport { Checkbox, Form, Input, InputNumber, Select, TimePicker } from \"antd\";\nimport {i18n} from \"../../../helpers/i18n\";\nimport {CloseCircleOutlined} from \"@ant-design/icons\";\nimport {isRTL} from \"../../../helpers/locale\";\nimport ScalableSelect from \"../ScalableSelect\";\nimport {useIsraelCities} from \"../hooks/useIsraelCities\";\nimport {useIsraelStreets} from \"../hooks/useIsraelStreets\";\nimport dayjs from \"dayjs\";\nimport {getTimeFormat} from \"../../../helpers/date\";\nimport {useGoogle} from \"../hooks/useGoogle\";\nimport EmptyCustom from \"../EmptyCustom\";\nimport {formatPhoneNumber} from \"../../../helpers/utils\";\n\nconst NewDestinationCard = ({config, form, locationsOptions, clientsOptions, defaultLocation, formRefreshed,\n typeValue, setLatitude, setLongitude, setLocationId, setClientId, driversOptions}) => {\n const {\n id: organizationId,\n country,\n support_destinations_only: supportDestinationsOnly,\n allow_destination_name: allowDestinationName,\n allow_zip_code: allowZipCode,\n allow_entrance: allowEntrance,\n allow_entrance_code: allowEntranceCode,\n allow_state: allowState,\n required_task_fields: requiredTaskFields,\n allow_time_window: allowTimeWindow,\n google_key: googleKey,\n allow_phone2: allowPhone2,\n allow_routes: allowRoutes,\n is_organization: isOrganization,\n allow_driver_salary: allowDriverSalary,\n allow_finance: allowFinance\n } = config\n\n const requiredFieldRule = useCallback((fieldName) => (\n { required: requiredTaskFields.includes(fieldName), message: i18n.t('mandatory_field') }\n ), [requiredTaskFields])\n\n const [cityId, setCityId] = useState(null)\n const israelCities = useIsraelCities(organizationId)\n const israelStreets = useIsraelStreets(cityId)\n const searchAddressInputRef = useRef()\n const google = useGoogle(googleKey)\n\n const locationsCombinedOptions = useMemo(() => {\n if (clientsOptions.length > 0) {\n return [\n {label: i18n.t('views.locations.title'), options: [...locationsOptions]},\n {label: i18n.t('views.clients.clients'), options: [...clientsOptions]}\n ]\n } else {\n return [...locationsOptions]\n }\n }, [clientsOptions, locationsOptions])\n\n const filterLocationsOption = useCallback((search, optionOrGroup) => {\n const isGroup = Array.isArray(optionOrGroup.options);\n if (isGroup) {return false}\n\n const part1 = optionOrGroup.label.props.children[0].toLowerCase().includes(search.toLowerCase())\n const part2 = optionOrGroup.label.props.children[2].props.children.toLowerCase().includes(search.toLowerCase())\n return part1 || part2\n }, [])\n\n const destinationChange = (_v, opt) => {\n opt.kind === 'location' ? updateFormByLocation(opt.item) : updateFormByClient(opt.item)\n }\n\n const cityChange = (_v, opt) => {\n setCityId(opt.cityId)\n form.setFieldValue(['visits_attributes', 0, 'street'], null)\n clearCoordinates()\n }\n const clearCoordinates = () => {\n setLatitude(null)\n setLongitude(null)\n }\n\n const updateFormByLocation = loc => {\n clearLocationForm()\n if (!loc) return\n\n const fieldsValue = form.getFieldsValue()\n setLatitude(loc.latitude)\n setLongitude(loc.longitude)\n setLocationId(loc.id)\n form.setFieldsValue({\n ...fieldsValue,\n visits_attributes: [{\n ...fieldsValue.visits_attributes[0],\n city: loc.city,\n street: loc.street,\n state: loc.state,\n name: loc.name,\n number: loc.number,\n zip_code: loc.zip_code,\n floor: loc.floor,\n apartment: loc.apartment,\n entrance: loc.entrance,\n entrance_code: loc.entrance_code,\n notes: loc.notes,\n recipient_name: loc.default_recipient_name,\n phone: formatPhoneNumber(loc.default_phone)\n }, {...fieldsValue.visits_attributes[1]}]\n })\n if (loc.earliest) {\n const date = new Date(loc.earliest)\n form.setFieldValue(['visits_attributes', 0, 'earliest_at'], dayjs(`${date.getHours()}:${date.getMinutes() === 0 ? '00' : date.getMinutes()}`, getTimeFormat()))\n }\n if (loc.latest) {\n const date = new Date(loc.latest)\n form.setFieldValue(['visits_attributes', 0, 'latest_at'], dayjs(`${date.getHours()}:${date.getMinutes() === 0 ? '00' : date.getMinutes()}`, getTimeFormat()))\n }\n }\n\n const updateFormByClient = client => {\n clearLocationForm()\n const fieldsValue = form.getFieldsValue()\n setLatitude(client.latitude)\n setLongitude(client.longitude)\n setClientId(client.id)\n form.setFieldsValue({\n ...fieldsValue,\n visits_attributes: [\n {...fieldsValue.visits_attributes[0],\n state: client.state,\n city: client.city,\n street: client.street,\n name: client.name,\n number: client.number,\n zip_code: client.zip_code,\n floor: client.floor,\n apartment: client.apartment,\n recipient_name: client.name,\n entrance: client.entrance,\n entrance_code: client.entrance_code,\n phone: formatPhoneNumber(client.phone)\n }, {...fieldsValue.visits_attributes[1]}]\n })\n }\n\n const clearLocationForm = () => {\n setLatitude(null)\n setLongitude(null)\n setLocationId(null)\n setClientId(null)\n const fieldsValue = form.getFieldsValue()\n form.setFieldsValue({\n ...fieldsValue,\n ordering_user: null,\n destination_search_address: null,\n visits_attributes: [{\n ...fieldsValue.visits_attributes[0],\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: null,\n recipient_name: null,\n phone: null,\n earliest_at: null,\n latest_at: null\n },\n {...fieldsValue.visits_attributes[1]}\n ],\n })\n }\n\n const initGoogleSearch = async () => {\n const placesOptions = {\n types: ['geocode', 'establishment'],\n fields: ['address_components', 'geometry', 'name'],\n componentRestrictions: { country: country }\n }\n\n const searchAddress = new google.maps.places.Autocomplete(\n searchAddressInputRef.current.input,\n placesOptions\n )\n\n google.maps.event.addListener(searchAddress, 'place_changed', () => {\n const place = searchAddress.getPlace()\n if (!place.address_components) return\n\n for (const component of place.address_components) {\n const componentType = component.types[0]\n switch (componentType) {\n case 'administrative_area_level_1':\n form.setFieldValue(['visits_attributes', 0, 'state'], component.long_name)\n break\n case 'locality':\n form.setFieldValue(['visits_attributes', 0, 'city'], component.long_name)\n break\n case 'route':\n form.setFieldValue(['visits_attributes', 0, 'street'], component.short_name)\n break\n case 'street_number':\n form.setFieldValue(['visits_attributes', 0, 'number'], component.long_name)\n break\n case 'point_of_interest':\n const name = form.getFieldValue(['visits_attributes', 0, 'name'])\n if (!name) {\n form.setFieldValue(['visits_attributes', 0, 'name'], component.long_name)\n }\n break\n }\n }\n\n if (place.geometry) {\n setLatitude(place.geometry.location.lat())\n setLongitude(place.geometry.location.lng())\n }\n })\n }\n\n useEffect(() => {\n if (google) {\n initGoogleSearch()\n }\n }, [google, formRefreshed])\n\n useEffect(() => {\n if (typeValue) {\n if (!defaultLocation) return clearLocationForm()\n\n if (typeValue === 'transfer' || typeValue === 'delivery') {\n clearLocationForm()\n form.setFieldValue('destination', null)\n } else if (typeValue === 'pickup') {\n form.setFieldValue('destination', defaultLocation.id)\n updateFormByLocation(defaultLocation)\n }\n }\n }, [typeValue, defaultLocation])\n\n return (\n
\n
\n
\n \n {i18n.t('task_destination')}\n \n \n \n )}\n { (isOrganization && !allowRoutes && !supportDestinationsOnly) && (\n \n }}\n showSearch\n optionFilterProp={'label'}\n disabled={typeValue === 'pickup'}\n notFoundContent={}\n />\n \n )}\n
\n
\n
\n
\n \n \n \n formatPhoneNumber(e.target.value)}\n onChange={() => {setClientId(null)}}>\n \n \n {allowPhone2 && (\n formatPhoneNumber(e.target.value)}\n onChange={() => {setClientId(null)}}>\n \n \n )}\n
\n
\n {(!supportDestinationsOnly || allowDestinationName) && (\n \n \n \n )}\n {allowState && (\n \n \n \n )}\n \n {(isRTL()) ? (\n {form.setFieldValue(['visits_attributes', 0, 'city'], val)}}\n disabled={typeValue === 'pickup'}\n autoComplete=\"none\"\n />\n ) : (\n \n )}\n \n \n {(isRTL()) ? (\n clearCoordinates()}\n extraPlaceholder={i18n.t('views.tasks.add_street')}\n setValueFn={(val) => {form.setFieldValue(['visits_attributes', 0, 'street'], val)}}\n disabled={typeValue === 'pickup'}\n autoComplete=\"none\"\n />\n ) : (\n clearCoordinates()}/>\n )}\n \n \n clearCoordinates()}/>\n \n {allowZipCode && (\n \n clearCoordinates()}/>\n \n )}\n \n \n \n \n \n \n {allowEntrance && (\n \n \n \n )}\n {allowEntranceCode && (\n \n \n \n )}\n {!supportDestinationsOnly && (\n \n \n \n )}\n {allowTimeWindow && (\n <>\n \n \n \n \n \n \n \n )}\n { (allowDriverSalary && allowFinance) && (\n \n \n \n ) }\n \n \n \n \n \n \n
\n
\n
\n )\n}\n\nexport default NewDestinationCard\n","import React, {useEffect, useState} from 'react'\nimport {\n Button,\n Checkbox,\n ConfigProvider,\n DatePicker,\n Form,\n Input, InputNumber, Select,\n TimePicker, Modal, notification\n} from \"antd\";\nimport { CloseCircleOutlined } from '@ant-design/icons';\nimport {isRTL} from \"../../../../helpers/locale\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {getDateFormat, getDateTimeFormat, getTimeFormat} from \"../../../../helpers/date\";\nimport {calculatePriceAction, createTaskAction, fetchDriversAction, fetchRoutesAction} from \"../../actions\";\nimport dayjs from \"dayjs\";\nimport {formatPhoneNumber, getFormData, groupBy, isEmpty} from \"../../../../helpers/utils\";\nimport NewOrderItemsCard from \"../../cards/NewOrderItemsCard\";\nimport {useLocationsOptions} from \"../../hooks/useLocationsOptions\";\nimport {useClientsOptions} from \"../../hooks/useClientsOptions\";\nimport EmptyCustom from \"../../EmptyCustom\";\nimport ModalHeader from \"../../ModalHeader\";\nimport {useCompanies} from \"../../hooks/useCompanies\";\nimport {afterCreateNotification} from \"../../common\";\nimport CreateAndPrintButtons from \"../../CreateAndPrintButtons\";\nimport NewDocumentsCard from \"../../cards/NewDocumentsCard\";\nimport NewDestinationCard from \"../../cards/NewDestinationCard\";\n\nexport default ({isOpen, setIsOpen, config, antLocale}) => {\n const {\n bgColor,\n default_company_id: defaultCompanyId,\n urgency_details: urgencyDetails,\n allow_urgency: allowUrgency,\n allow_routes: allowRoutes,\n allow_gifter: allowGifter,\n allow_order_items: allowOrderItems,\n allow_volume_constraint: allowVolumeConstraint,\n allow_products: allowProducts,\n allow_calculate_price: allowCalculatePrice,\n allow_money_collect: allowMoneyCollect,\n allow_task_fee_cost: allowTaskFeeCost,\n allow_surfaces_quantity: allowSurfacesQuantity,\n allow_packages_quantity: allowPackagesQuantity,\n allow_returned_pallets: allowReturnedPallets,\n allow_cartons_quantity: allowCartonsQuantity,\n allow_self_pickup: allowSelfPickup,\n allow_age_verification: allowAgeVerification,\n allow_leave_next_to_door: allowLeaveNextToDoor,\n allow_signed_document: allowSignedDocument,\n allow_documents: allowDocuments,\n allow_companies: allowCompanies,\n allow_pricing: allowPricing,\n allow_create_and_print: allowCreateAndPrint,\n use_weight: useWeight,\n use_volume: useVolume,\n force_company: forceCompany,\n custom_fields: customFields,\n default_task_note: defaultTaskNote,\n default_packages_quantity: defaultPackagesQuantity,\n urgency_options: urgencyOptions,\n cod_options: codOptions,\n google_key: googleKey,\n required_task_fields: requiredTaskFields\n } = config\n\n const [loading, setLoading] = useState(false)\n const [loadingCalculation, setLoadingCalculation] = useState(false)\n const companies = useCompanies()\n const [activeCompany, setActiveCompany] = useState(null)\n const locationsOptions = useLocationsOptions(activeCompany?.id)\n const clientsOptions = useClientsOptions(activeCompany?.id)\n const [routesOptions, setRoutesOptions] = useState([])\n const [driversOptions, setDriversOptions] = useState([])\n const [latitude, setLatitude] = useState()\n const [longitude, setLongitude] = useState()\n const [locationId, setLocationId] = useState()\n const [printLabel, setPrintLabel] = useState(false)\n const [clientId, setClientId] = useState()\n const [formRefreshed, setFormRefreshed] = useState(0)\n const [form] = Form.useForm()\n const [notificationApi, notificationContext] = notification.useNotification()\n\n const presentResource = () => {\n const resource = {\n search_address: '',\n pickup_at: dayjs.tz(),\n company_id: null,\n urgency: urgencyOptions[0].value,\n gifter_name: null,\n gifter_phone: null,\n greeting: null,\n price: null,\n notes: defaultTaskNote,\n packages_quantity: defaultPackagesQuantity,\n stop_time: null,\n fee_cost: null,\n wp_order_id: null,\n surfaces_quantity: null,\n returned_pallets: null,\n cartons_quantity: null,\n weight: null,\n volume: null,\n is_self_pickup: null,\n age_verification: null,\n signed_document: null,\n documents: [],\n visits_attributes: [{\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: null,\n save_as_location: false,\n recipient_name: null,\n phone: null,\n phone2: null,\n earliest_at: null,\n latest_at: null\n }],\n order_items_attributes: [],\n cod_attributes: {},\n extra: {}\n }\n if (allowMoneyCollect) {\n resource.cod_attributes = {sum: null, kind: null}\n }\n if (customFields.length > 0) {\n const customFieldsObj = customFields.reduce((acc, field) => {\n acc[field.map_name] = null\n return acc\n }, {})\n resource.extra = customFieldsObj\n }\n return resource\n }\n\n const fetchRoutesOptions = async () => {\n const options = []\n const res = await fetchRoutesAction()\n const data = await res.json()\n const grouped = groupBy(data, ({ date }) => date)\n for (const [key, value] of Object.entries(grouped)) {\n options.push({\n label: key, options: value.map((v) => ({label: v.name, value: v.id}))\n })\n }\n setRoutesOptions(options)\n }\n\n const fetchDriversOptions = async () => {\n const res = await fetchDriversAction()\n const data = await res.json()\n setDriversOptions(data.map(d => ({label: d.name, value: d.id})))\n }\n\n const companyChange = id => {\n const company = companies.find(c => (c.id === id))\n setActiveCompany(company)\n form.setFieldValue('destination', null)\n }\n\n const renderCustomField = (field) => {\n const requiredRule = { required: field.required, message: i18n.t('mandatory_field') }\n\n switch (field.type) {\n case 'string':\n return (\n \n \n \n )\n case 'enum':\n const enumOpt = field.options.map(o => ({label: o.name, value: o.name}))\n enumOpt.unshift({label: '', value: ''})\n return (\n \n \n \n {allowRoutes ? (\n \n }}\n notFoundContent={}\n />\n \n ) : (\n \n }}\n showSearch\n optionFilterProp={'label'}\n notFoundContent={}\n />\n \n )}\n \n \n \n \n
\n
\n
\n \n {i18n.t('details')}\n
\n
\n
\n
\n
\n {allowPackagesQuantity && (\n \n \n \n )}\n {allowSurfacesQuantity && (\n \n \n \n )}\n {allowUrgency && (\n \n {i18n.t('models.task.urgency')}\n \n \n \n
\n ) : (\n {i18n.t('models.task.urgency')}\n )}>\n \n \n )}\n \n \n \n {allowTaskFeeCost && (\n \n \n \n )}\n {allowReturnedPallets && (\n \n \n \n )}\n {allowCartonsQuantity && (\n \n \n \n )}\n {useWeight && (\n \n \n \n )}\n {useVolume && (\n \n \n \n )}\n {customFields.sort((a, b) => (a.sort_order - b.sort_order)).map(field => (renderCustomField(field)))}\n {allowGifter && (\n \n \n \n )}\n {allowGifter && (\n formatPhoneNumber(e.target.value)}>\n \n \n )}\n {allowGifter && (\n \n \n \n )}\n \n \n \n
\n
\n {allowSelfPickup && (\n \n \n \n )}\n {allowAgeVerification && (\n \n \n \n )}\n {allowLeaveNextToDoor && (\n \n \n \n )}\n {allowSignedDocument && (\n \n \n \n )}\n
\n
\n
\n \n {allowOrderItems && (\n \n )}\n {allowDocuments && ()}\n \n \n \n \n \n \n \n )\n}\n","import React, {useCallback, useEffect, useRef, useState} from 'react'\nimport {Checkbox, Form, Input, InputNumber, Select, TimePicker} from \"antd\";\nimport {i18n} from \"../../../helpers/i18n\";\nimport {CloseCircleOutlined} from \"@ant-design/icons\";\nimport {isRTL} from \"../../../helpers/locale\";\nimport ScalableSelect from \"../ScalableSelect\";\nimport {useIsraelCities} from \"../hooks/useIsraelCities\";\nimport {useIsraelStreets} from \"../hooks/useIsraelStreets\";\nimport {useGoogle} from \"../hooks/useGoogle\";\nimport EmptyCustom from \"../EmptyCustom\";\nimport {formatPhoneNumber} from \"../../../helpers/utils\";\nimport {getTimeFormat} from \"../../../helpers/date\";\n\nconst NewSourceCard = ({config, form, locationsOptions, defaultLocation, formRefreshed,\n typeValue, setLatitude, setLongitude, setLocationId, setClientId, driversOptions}) => {\n const {\n id: organizationId,\n country,\n allow_zip_code: allowZipCode,\n allow_entrance: allowEntrance,\n allow_entrance_code: allowEntranceCode,\n allow_state: allowState,\n google_key: googleKey,\n toggle_source: toggleSource,\n allow_routes: allowRoutes,\n is_organization: isOrganization,\n allow_driver_salary: allowDriverSalary,\n allow_finance: allowFinance,\n allow_time_window: allowTimeWindow,\n required_task_fields: requiredTaskFields\n } = config\n\n const requiredFieldRule = useCallback((fieldName) => (\n { required: requiredTaskFields.includes(fieldName), message: i18n.t('mandatory_field') }\n ), [requiredTaskFields])\n\n const [cityId, setCityId] = useState(null)\n const israelCities = useIsraelCities(organizationId)\n const israelStreets = useIsraelStreets(cityId)\n const searchAddressInputRef = useRef()\n const google = useGoogle(googleKey)\n const [sourceCardVisible, setSourceCardVisible] = useState(true)\n const [sourceCardToggleText, setSourceCardToggleText] = useState(i18n.t('hide_details'))\n\n const cityChange = (_v, opt) => {\n setCityId(opt.cityId)\n form.setFieldValue(['visits_attributes', 1, 'street'], null)\n clearCoordinates()\n }\n\n const sourceChange = (_v, opt) => {updateFormByLocation(opt.item)}\n\n const filterLocationsOption = useCallback((search, option) => {\n const part1 = option.label.props.children[0].toLowerCase().includes(search.toLowerCase())\n const part2 = option.label.props.children[2].props.children.toLowerCase().includes(search.toLowerCase())\n return part1 || part2\n }, [])\n\n const updateFormByLocation = loc => {\n clearLocationForm()\n if (!loc) return\n\n const fieldsValue = form.getFieldsValue()\n setLatitude(loc.latitude)\n setLongitude(loc.longitude)\n setLocationId(loc.id)\n form.setFieldsValue({\n ...fieldsValue,\n visits_attributes: [\n {...fieldsValue.visits_attributes[0]},\n {...fieldsValue.visits_attributes[1],\n city: loc.city,\n street: loc.street,\n state: loc.state,\n name: loc.name,\n number: loc.number,\n zip_code: loc.zip_code,\n floor: loc.floor,\n apartment: loc.apartment,\n entrance: loc.entrance,\n entrance_code: loc.entrance_code,\n notes: loc.notes,\n recipient_name: loc.default_recipient_name,\n phone: loc.default_phone\n }]\n })\n }\n\n const clearLocationForm = () => {\n setLatitude(null)\n setLongitude(null)\n setLocationId(null)\n const fieldsValue = form.getFieldsValue()\n form.setFieldsValue({\n ...fieldsValue,\n ordering_user: null,\n source_search_address: null,\n visits_attributes: [\n {...fieldsValue.visits_attributes[0]},\n {...fieldsValue.visits_attributes[1],\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: null,\n recipient_name: null,\n phone: null\n }\n ],\n })\n }\n\n const initFormByLocation = () => {\n if (defaultLocation?.auto_populate || typeValue === 'delivery') {\n if (defaultLocation) {\n form.setFieldValue('source', defaultLocation.id)\n updateFormByLocation(defaultLocation)\n }\n } else {\n form.setFieldValue('source', null)\n clearLocationForm()\n }\n }\n\n const clearCoordinates = () => {\n setLatitude(null)\n setLongitude(null)\n }\n\n const initGoogleSearch = async () => {\n const placesOptions = {\n types: ['geocode', 'establishment'],\n fields: ['address_components', 'geometry', 'name'],\n componentRestrictions: { country: country }\n }\n\n const searchAddress = new google.maps.places.Autocomplete(\n searchAddressInputRef.current.input,\n placesOptions\n )\n\n google.maps.event.addListener(searchAddress, 'place_changed', () => {\n const place = searchAddress.getPlace()\n if (!place.address_components) return\n\n for (const component of place.address_components) {\n const componentType = component.types[0]\n switch (componentType) {\n case 'administrative_area_level_1':\n form.setFieldValue(['visits_attributes', 1, 'state'], component.long_name)\n break\n case 'locality':\n form.setFieldValue(['visits_attributes', 1, 'city'], component.long_name)\n break\n case 'route':\n form.setFieldValue(['visits_attributes', 1, 'street'], component.short_name)\n break\n case 'street_number':\n form.setFieldValue(['visits_attributes', 1, 'number'], component.long_name)\n break\n case 'point_of_interest':\n const name = form.getFieldValue(['visits_attributes', 1, 'name'])\n if (!name) {\n form.setFieldValue(['visits_attributes', 1, 'name'], component.long_name)\n }\n break\n }\n }\n\n if (place.geometry) {\n setLatitude(place.geometry.location.lat())\n setLongitude(place.geometry.location.lng())\n }\n })\n }\n\n useEffect(() => {\n setSourceCardToggleText(sourceCardVisible ? i18n.t('hide_details') : i18n.t('show_details'))\n }, [sourceCardVisible])\n\n useEffect(() => {\n if (google) {\n initGoogleSearch()\n }\n if (formRefreshed > 0) {\n initFormByLocation()\n }\n }, [google, formRefreshed])\n\n useEffect(() => {\n if (typeValue) {\n if (!defaultLocation) return clearLocationForm()\n\n if (typeValue === 'transfer' || typeValue === 'pickup') {\n clearLocationForm()\n form.setFieldValue('source', null)\n } else if (typeValue === 'delivery') {\n form.setFieldValue('source', defaultLocation.id)\n updateFormByLocation(defaultLocation)\n }\n } else {\n initFormByLocation()\n }\n }, [typeValue, defaultLocation])\n\n return (\n
\n
\n
\n
\n \n {i18n.t('task_source')}\n \n \n \n )}\n { (isOrganization && !allowRoutes) && (\n \n }}\n showSearch\n optionFilterProp={'label'}\n disabled={typeValue === 'delivery'}\n notFoundContent={}\n />\n \n )}\n
\n
\n {!toggleSource && (\n
\n {setSourceCardVisible(!sourceCardVisible)}}>{sourceCardToggleText}\n \n
\n )}\n
\n
\n
\n {sourceCardVisible && (\n
\n
\n \n \n \n formatPhoneNumber(e.target.value)}\n onChange={() => {setClientId(null)}}>\n \n \n
\n
\n \n \n \n {allowState && (\n \n \n \n )}\n \n {(isRTL()) ? (\n {form.setFieldValue(['visits_attributes', 1, 'city'], val)}}\n disabled={typeValue === 'delivery'}\n autoComplete=\"none\"\n />\n ) : (\n \n )}\n \n \n {(isRTL()) ? (\n clearCoordinates()}\n extraPlaceholder={i18n.t('views.tasks.add_street')}\n setValueFn={(val) => {form.setFieldValue(['visits_attributes', 1, 'street'], val)}}\n disabled={typeValue === 'delivery'}\n autoComplete=\"none\"\n />\n ) : (\n clearCoordinates()}/>\n )}\n \n \n clearCoordinates()}/>\n \n {allowZipCode && (\n \n clearCoordinates()}/>\n \n )}\n \n \n \n \n \n \n {allowEntrance && (\n \n \n \n )}\n {allowEntranceCode && (\n \n \n \n )}\n \n \n \n {allowTimeWindow && (\n <>\n \n \n \n \n \n \n \n )}\n { (allowDriverSalary && allowFinance) && (\n \n \n \n ) }\n \n \n \n \n \n \n
\n
\n )}\n
\n )\n}\n\nexport default NewSourceCard\n","import React, {useEffect, useState} from 'react'\nimport {\n Button,\n Checkbox,\n ConfigProvider,\n DatePicker,\n Form,\n Input, InputNumber, Select,\n TimePicker, Modal, notification, Radio\n} from \"antd\";\nimport {isRTL} from \"../../../../helpers/locale\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {getDateFormat, getDateTimeFormat, getTimeFormat} from \"../../../../helpers/date\";\nimport {calculatePriceAction, createTaskAction, fetchCompanyUsersAction, fetchDriversAction} from \"../../actions\";\nimport dayjs from \"dayjs\";\nimport {formatPhoneNumber, getFormData, isEmpty} from \"../../../../helpers/utils\";\nimport NewOrderItemsCard from \"../../cards/NewOrderItemsCard\";\nimport {useLocationsOptions} from \"../../hooks/useLocationsOptions\";\nimport {useClientsOptions} from \"../../hooks/useClientsOptions\";\nimport EmptyCustom from \"../../EmptyCustom\";\nimport ModalHeader from \"../../ModalHeader\";\nimport {useCompanies} from \"../../hooks/useCompanies\";\nimport {afterCreateNotification, typeOptions, userLabel, userSearchString} from \"../../common\";\nimport CreateAndPrintButtons from \"../../CreateAndPrintButtons\";\nimport NewDocumentsCard from \"../../cards/NewDocumentsCard\";\nimport NewDestinationCard from \"../../cards/NewDestinationCard\";\nimport NewSourceCard from \"../../cards/NewSourceCard\";\n\nexport default ({isOpen, setIsOpen, config, antLocale}) => {\n const {\n bgColor,\n default_company_id: defaultCompanyId,\n urgency_details: urgencyDetails,\n allow_urgency: allowUrgency,\n allow_order_items: allowOrderItems,\n allow_volume_constraint: allowVolumeConstraint,\n allow_products: allowProducts,\n allow_calculate_price: allowCalculatePrice,\n allow_money_collect: allowMoneyCollect,\n allow_task_fee_cost: allowTaskFeeCost,\n allow_returned_pallets: allowReturnedPallets,\n allow_cartons_quantity: allowCartonsQuantity,\n allow_age_verification: allowAgeVerification,\n allow_leave_next_to_door: allowLeaveNextToDoor,\n allow_signed_document: allowSignedDocument,\n allow_companies: allowCompanies,\n allow_documents: allowDocuments,\n allow_gifter: allowGifter,\n allow_task_type: allowTaskType,\n allow_is_roundtrip: allowIsRoundtrip,\n allow_vehicle_kind: allowVehicleKind,\n allow_packages_quantity: allowPackagesQuantity,\n allow_surfaces_quantity: allowSurfacesQuantity,\n allow_document_number: allowDocumentNumber,\n allow_create_and_print: allowCreateAndPrint,\n use_weight: useWeight,\n use_volume: useVolume,\n force_company: forceCompany,\n custom_fields: customFields,\n default_task_note: defaultTaskNote,\n default_packages_quantity: defaultPackagesQuantity,\n default_location: orgDefaultLocation,\n urgency_options: urgencyOptions,\n vehicle_kind_options: vehicleKindOptions,\n cod_options: codOptions,\n payer_options: payerOptions,\n required_task_fields: requiredTaskFields\n } = config\n\n const [loading, setLoading] = useState(false)\n const [defaultLocation, setDefaultLocation] = useState(orgDefaultLocation)\n const [loadingCalculation, setLoadingCalculation] = useState(false)\n const companies = useCompanies()\n const [activeCompany, setActiveCompany] = useState(null)\n const locationsOptions = useLocationsOptions(activeCompany?.id)\n const clientsOptions = useClientsOptions(activeCompany?.id)\n const [usersOptions, setUsersOptions] = useState([])\n const [typeValue, setTypeValue] = useState(null)\n const [printLabel, setPrintLabel] = useState(false)\n const [driversOptions, setDriversOptions] = useState([])\n const [destinationLatitude, setDestinationLatitude] = useState()\n const [sourceLatitude, setSourceLatitude] = useState()\n const [destinationLongitude, setDestinationLongitude] = useState()\n const [sourceLongitude, setSourceLongitude] = useState()\n const [destinationLocationId, setDestinationLocationId] = useState()\n const [sourceLocationId, setSourceLocationId] = useState()\n const [formRefreshed, setFormRefreshed] = useState(0)\n const [clientId, setClientId] = useState()\n const [showOtherUser, setShowOtherUser] = useState(false)\n const [form] = Form.useForm()\n const [notificationApi, notificationContext] = notification.useNotification()\n\n const presentResource = () => {\n const resource = {\n source_search_address: '',\n destination_search_address: '',\n user_id: null,\n is_roundtrip: null,\n task_type: null,\n pickup_at: dayjs.tz(),\n company_id: null,\n payer: null,\n urgency: urgencyOptions[0].value,\n vehicle_kind: vehicleKindOptions[0].value,\n gifter_name: null,\n gifter_phone: null,\n greeting: null,\n price: null,\n notes: defaultTaskNote,\n packages_quantity: defaultPackagesQuantity,\n stop_time: null,\n fee_cost: null,\n wp_order_id: null,\n surfaces_quantity: null,\n returned_pallets: null,\n cartons_quantity: null,\n weight: null,\n volume: null,\n is_self_pickup: null,\n age_verification: null,\n signed_document: null,\n documents: [],\n visits_attributes: [{\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: null,\n save_as_location: false,\n recipient_name: null,\n phone: null,\n phone2: null,\n earliest_at: null,\n latest_at: null\n }],\n order_items_attributes: [],\n cod_attributes: {},\n extra: {}\n }\n if (allowMoneyCollect) {\n resource.cod_attributes = {sum: null, kind: null}\n }\n if (customFields.length > 0) {\n const customFieldsObj = customFields.reduce((acc, field) => {\n acc[field.map_name] = null\n return acc\n }, {})\n resource.extra = customFieldsObj\n }\n return resource\n }\n\n useEffect(() => {\n (async () => {\n const res = await fetchDriversAction()\n const data = await res.json()\n setDriversOptions(data.map(d => ({label: d.name, value: d.id})))\n })()\n }, [])\n\n const renderCustomField = (field) => {\n const requiredRule = { required: field.required, message: i18n.t('mandatory_field') }\n\n switch (field.type) {\n case 'string':\n return (\n \n \n \n )\n case 'enum':\n const enumOpt = field.options.map(o => ({label: o.name, value: o.name}))\n enumOpt.unshift({label: '', value: ''})\n return (\n \n \n \n {!showOtherUser && (\n
\n \n \n\n \n {setShowOtherUser(false)}}>{i18n.t('views.tasks.ordering_user.existing_user')}\n
\n )}\n {activeCompany?.innerNote && (\n
\n
\n {i18n.t('models.company.company_note')} - {activeCompany.innerNote}\n
\n
\n )}\n \n \n \n \n \n
\n
\n
\n \n {i18n.t('details')}\n
\n
\n
\n
\n
\n {allowPackagesQuantity && (\n \n \n \n )}\n {allowSurfacesQuantity && (\n \n \n \n )}\n {allowUrgency && (\n \n {i18n.t('models.task.urgency')}\n \n \n \n
\n ) : (\n {i18n.t('models.task.urgency')}\n )}>\n \n \n )}\n {(allowMoneyCollect && activeCompany?.billingOption === 'other') && (\n \n \n \n )}\n {allowReturnedPallets && (\n \n \n \n )}\n {allowCartonsQuantity && (\n \n \n \n )}\n {useWeight && (\n \n \n \n )}\n {useVolume && (\n \n \n \n )}\n {customFields.sort((a, b) => (a.sort_order - b.sort_order)).map(field => (renderCustomField(field)))}\n {allowGifter && (\n \n \n \n )}\n {allowGifter && (\n formatPhoneNumber(e.target.value)}>\n \n \n )}\n {allowGifter && (\n \n \n \n )}\n \n \n \n {allowDocumentNumber && (\n \n \n \n )}\n
\n
\n {(allowIsRoundtrip && typeValue !== 'pickup') && (\n \n \n \n )}\n {allowAgeVerification && (\n \n \n \n )}\n {allowLeaveNextToDoor && (\n \n \n \n )}\n {allowSignedDocument && (\n \n \n \n )}\n
\n
\n
\n \n {allowOrderItems && (\n \n )}\n {allowDocuments && ()}\n \n \n \n \n \n \n \n )\n}\n","import React, {useState} from 'react'\nimport {\n Button,\n Checkbox,\n ConfigProvider,\n DatePicker,\n Form,\n Input, InputNumber, Select,\n TimePicker, Modal, notification, Alert\n} from \"antd\";\nimport {isRTL} from \"../../../../helpers/locale\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {getDateFormat, getDateTimeFormat, getTimeFormat} from \"../../../../helpers/date\";\nimport {calculatePriceAction, createTaskAction} from \"../../actions\";\nimport dayjs from \"dayjs\";\nimport {formatPhoneNumber, getFormData, isEmpty} from \"../../../../helpers/utils\";\nimport {useLocationsOptions} from \"../../hooks/useLocationsOptions\";\nimport {useClientsOptions} from \"../../hooks/useClientsOptions\";\nimport ModalHeader from \"../../ModalHeader\";\nimport {afterCreateNotification} from \"../../common\";\nimport CreateAndPrintButtons from \"../../CreateAndPrintButtons\";\nimport NewDocumentsCard from \"../../cards/NewDocumentsCard\";\nimport NewDestinationCard from \"../../cards/NewDestinationCard\";\nimport OrderItemsCard from \"../../cards/OrderItemsCard\";\n\nexport default ({isOpen, setIsOpen, config, antLocale}) => {\n const {\n bgColor,\n urgency_details: urgencyDetails,\n allow_urgency: allowUrgency,\n allow_gifter: allowGifter,\n allow_order_items: allowOrderItems,\n show_order_items_on_label: allowCompanyOrderItems,\n allow_volume_constraint: allowVolumeConstraint,\n allow_calculate_price: allowCalculatePrice,\n allow_money_collect: allowMoneyCollect,\n allow_documents: allowDocuments,\n allow_surfaces_quantity: allowSurfacesQuantity,\n allow_packages_quantity: allowPackagesQuantity,\n allow_cartons_quantity: allowCartonsQuantity,\n allow_self_pickup: allowSelfPickup,\n allow_age_verification: allowAgeVerification,\n allow_leave_next_to_door: allowLeaveNextToDoor,\n allow_signed_document: allowSignedDocument,\n allow_create_and_print: allowCreateAndPrint,\n custom_fields: customFields,\n default_task_note: defaultTaskNote,\n default_destination_note: defaultDestinationNote,\n default_packages_quantity: defaultPackagesQuantity,\n urgency_options: urgencyOptions,\n cod_options: codOptions,\n google_key: googleKey,\n tasks_limit: tasksLimit,\n required_task_fields: requiredTaskFields\n } = config\n\n const [loading, setLoading] = useState(false)\n const [loadingCalculation, setLoadingCalculation] = useState(false)\n const locationsOptions = useLocationsOptions()\n const clientsOptions = useClientsOptions()\n const [latitude, setLatitude] = useState()\n const [longitude, setLongitude] = useState()\n const [locationId, setLocationId] = useState()\n const [clientId, setClientId] = useState()\n const [printLabel, setPrintLabel] = useState(false)\n const [formRefreshed, setFormRefreshed] = useState(0)\n const [form] = Form.useForm()\n const [notificationApi, notificationContext] = notification.useNotification()\n\n const presentResource = () => {\n const resource = {\n search_address: '',\n pickup_at: dayjs.tz(),\n urgency: urgencyOptions[0].value,\n gifter_name: null,\n gifter_phone: null,\n greeting: null,\n notes: defaultTaskNote,\n packages_quantity: defaultPackagesQuantity,\n wp_order_id: null,\n surfaces_quantity: null,\n cartons_quantity: null,\n is_self_pickup: null,\n age_verification: null,\n signed_document: null,\n documents: [],\n visits_attributes: [{\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: defaultDestinationNote,\n save_as_location: false,\n recipient_name: null,\n phone: null,\n phone2: null\n }],\n order_items_attributes: [],\n cod_attributes: {},\n extra: {}\n }\n if (allowMoneyCollect) {\n resource.cod_attributes = {sum: null, kind: null}\n }\n if (customFields.length > 0) {\n const customFieldsObj = customFields.reduce((acc, field) => {\n acc[field.map_name] = null\n return acc\n }, {})\n resource.extra = customFieldsObj\n }\n return resource\n }\n\n const renderCustomField = (field) => {\n const requiredRule = { required: field.required, message: i18n.t('mandatory_field') }\n\n switch (field.type) {\n case 'string':\n return (\n \n \n \n )\n case 'enum':\n const enumOpt = field.options.map(o => ({label: o.name, value: o.name}))\n enumOpt.unshift({label: '', value: ''})\n return (\n \n \n \n \n \n \n \n
\n
\n
\n \n {i18n.t('details')}\n
\n
\n
\n
\n
\n {allowPackagesQuantity && (\n \n \n \n )}\n {allowSurfacesQuantity && (\n \n \n \n )}\n {allowUrgency && (\n \n {i18n.t('models.task.urgency')}\n \n \n \n
\n ) : (\n {i18n.t('models.task.urgency')}\n )}>\n \n \n )}\n {allowCartonsQuantity && (\n \n \n \n )}\n {customFields.sort((a, b) => (a.sort_order - b.sort_order)).map(field => (renderCustomField(field)))}\n {allowGifter && (\n \n \n \n )}\n {allowGifter && (\n formatPhoneNumber(e.target.value)}>\n \n \n )}\n {allowGifter && (\n \n \n \n )}\n \n \n \n
\n
\n {allowSelfPickup && (\n \n \n \n )}\n {allowAgeVerification && (\n \n \n \n )}\n {allowLeaveNextToDoor && (\n \n \n \n )}\n {allowSignedDocument && (\n \n \n \n )}\n
\n
\n
\n \n {allowOrderItems && allowCompanyOrderItems && (\n \n )}\n {allowDocuments && ()}\n \n \n \n \n \n \n \n )\n}\n","import React, {useEffect, useState} from 'react'\nimport {\n Button,\n Checkbox,\n ConfigProvider,\n DatePicker,\n Form,\n Input, InputNumber, Select,\n TimePicker, Modal, notification, Radio, Alert\n} from \"antd\";\nimport {isRTL} from \"../../../../helpers/locale\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {getDateFormat, getDateTimeFormat, getTimeFormat} from \"../../../../helpers/date\";\nimport {calculatePriceAction, createTaskAction} from \"../../actions\";\nimport dayjs from \"dayjs\";\nimport {formatPhoneNumber, getFormData, isEmpty} from \"../../../../helpers/utils\";\nimport NewOrderItemsCard from \"../../cards/NewOrderItemsCard\";\nimport {useLocationsOptions} from \"../../hooks/useLocationsOptions\";\nimport {useClientsOptions} from \"../../hooks/useClientsOptions\";\nimport ModalHeader from \"../../ModalHeader\";\nimport {afterCreateNotification, typeOptions} from \"../../common\";\nimport CreateAndPrintButtons from \"../../CreateAndPrintButtons\";\nimport NewDocumentsCard from \"../../cards/NewDocumentsCard\";\nimport NewDestinationCard from \"../../cards/NewDestinationCard\";\nimport NewSourceCard from \"../../cards/NewSourceCard\";\n\nexport default ({isOpen, setIsOpen, config, antLocale}) => {\n const {\n bgColor,\n urgency_details: urgencyDetails,\n allow_urgency: allowUrgency,\n allow_task_type: allowTaskType,\n allow_gifter: allowGifter,\n allow_order_items: allowOrderItems,\n show_order_items_on_label: allowCompanyOrderItems,\n allow_volume_constraint: allowVolumeConstraint,\n allow_calculate_price: allowCalculatePrice,\n allow_money_collect: allowMoneyCollect,\n allow_vehicle_kind: allowVehicleKind,\n allow_packages_quantity: allowPackagesQuantity,\n allow_surfaces_quantity: allowSurfacesQuantity,\n allow_cartons_quantity: allowCartonsQuantity,\n allow_is_roundtrip: allowIsRoundtrip,\n allow_visits: allowVisits,\n allow_documents: allowDocuments,\n allow_age_verification: allowAgeVerification,\n allow_leave_next_to_door: allowLeaveNextToDoor,\n allow_signed_document: allowSignedDocument,\n allow_document_number: allowDocumentNumber,\n allow_create_and_print: allowCreateAndPrint,\n allow_pricing: allowPricing,\n use_weight: useWeight,\n use_volume: useVolume,\n custom_fields: customFields,\n default_task_note: defaultTaskNote,\n default_destination_note: defaultDestinationNote,\n default_source_note: defaultSourceNote,\n default_packages_quantity: defaultPackagesQuantity,\n billing_option: billingOption,\n default_location: defaultLocation,\n urgency_options: urgencyOptions,\n vehicle_kind_options: vehicleKindOptions,\n payer_options: payerOptions,\n cod_options: codOptions,\n tasks_limit: tasksLimit,\n required_task_fields: requiredTaskFields,\n general_customers_note: generalCustomersNote\n } = config\n\n const [loading, setLoading] = useState(false)\n const [loadingCalculation, setLoadingCalculation] = useState(false)\n const locationsOptions = useLocationsOptions()\n const clientsOptions = useClientsOptions()\n const [typeValue, setTypeValue] = useState(null)\n const [destinationLatitude, setDestinationLatitude] = useState()\n const [sourceLatitude, setSourceLatitude] = useState()\n const [destinationLongitude, setDestinationLongitude] = useState()\n const [sourceLongitude, setSourceLongitude] = useState()\n const [destinationLocationId, setDestinationLocationId] = useState()\n const [sourceLocationId, setSourceLocationId] = useState()\n const [formRefreshed, setFormRefreshed] = useState(0)\n const [printLabel, setPrintLabel] = useState(false)\n const [clientId, setClientId] = useState()\n const [form] = Form.useForm()\n const [notificationApi, notificationContext] = notification.useNotification()\n\n const presentResource = () => {\n const resource = {\n source_search_address: '',\n destination_search_address: '',\n ordering_user: null,\n is_roundtrip: null,\n task_type: null,\n pickup_at: dayjs.tz(),\n company_id: null,\n payer: null,\n urgency: urgencyOptions[0].value,\n vehicle_kind: vehicleKindOptions[0].value,\n gifter_name: null,\n gifter_phone: null,\n greeting: null,\n price: null,\n notes: defaultTaskNote,\n packages_quantity: defaultPackagesQuantity,\n stop_time: null,\n fee_cost: null,\n wp_order_id: null,\n surfaces_quantity: null,\n returned_pallets: null,\n cartons_quantity: null,\n weight: null,\n volume: null,\n is_self_pickup: null,\n age_verification: null,\n signed_document: null,\n documents: [],\n visits_attributes: [\n {\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: defaultDestinationNote,\n save_as_location: false,\n recipient_name: null,\n phone: null,\n phone2: null\n },\n {\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: defaultSourceNote,\n save_as_location: false,\n recipient_name: null,\n phone: null,\n phone2: null\n }\n ],\n order_items_attributes: [],\n cod_attributes: {},\n extra: {}\n }\n if (allowMoneyCollect) {\n resource.cod_attributes = {sum: null, kind: null}\n }\n if (customFields.length > 0) {\n const customFieldsObj = customFields.reduce((acc, field) => {\n acc[field.map_name] = null\n return acc\n }, {})\n resource.extra = customFieldsObj\n }\n return resource\n }\n\n const renderCustomField = (field) => {\n const requiredRule = { required: field.required, message: i18n.t('mandatory_field') }\n\n switch (field.type) {\n case 'string':\n return (\n \n \n \n )\n case 'enum':\n const enumOpt = field.options.map(o => ({label: o.name, value: o.name}))\n enumOpt.unshift({label: '', value: ''})\n return (\n \n \n \n )}\n \n \n \n \n \n
\n
\n
\n \n {i18n.t('details')}\n
\n
\n
\n
\n
\n {allowPackagesQuantity && (\n \n \n \n )}\n {allowSurfacesQuantity && (\n \n \n \n )}\n {allowUrgency && (\n \n {i18n.t('models.task.urgency')}\n \n \n \n
\n ) : (\n {i18n.t('models.task.urgency')}\n )}>\n \n \n )}\n {(allowMoneyCollect && billingOption === 'other') && (\n \n \n \n )}\n {allowCartonsQuantity && (\n \n \n \n )}\n {useWeight && (\n \n \n \n )}\n {useVolume && (\n \n \n \n )}\n {customFields.sort((a, b) => (a.sort_order - b.sort_order)).map(field => (renderCustomField(field)))}\n {allowGifter && (\n \n \n \n )}\n {allowGifter && (\n formatPhoneNumber(e.target.value)}>\n \n \n )}\n {allowGifter && (\n \n \n \n )}\n \n \n \n {allowDocumentNumber && (\n \n \n \n )}\n
\n
\n {(allowIsRoundtrip && typeValue !== 'pickup') && (\n \n \n \n )}\n {allowAgeVerification && (\n \n \n \n )}\n {allowLeaveNextToDoor && (\n \n \n \n )}\n {allowSignedDocument && (\n \n \n \n )}\n
\n
\n
\n \n {allowOrderItems && allowCompanyOrderItems && (\n \n )}\n {allowDocuments && ()}\n \n \n \n \n \n \n \n )\n}\n","import React, {useEffect, useState} from 'react';\nimport {i18n} from \"../../helpers/i18n\";\nimport OrgSingleModeFormModal from \"./organization/single_visit/FormComponent\";\nimport OrgMultipleModeFormModal from \"./organization/multiple_visits/FormComponent\";\nimport CompanySingleModeFormModal from \"./company/single_visit/FormComponent\";\nimport CompanyMultipleModeFormModal from \"./company/multiple_visits/FormComponent\";\nimport NewOrgSingleModeFormModal from \"./organization/new_single_visit/FormComponent\";\nimport NewOrgMultipleModeFormModal from \"./organization/new_multiple_visit/FormComponent\";\nimport NewCompanySingleModeFormModal from \"./company/new_single_visit/FormComponent\";\nimport NewCompanyMultipleModeFormModal from \"./company/new_multiple_visits/FormComponent\";\nimport dayjs from \"dayjs\";\nimport heLocale from \"antd/locale/he_IL\";\nimport arLocale from \"antd/locale/ar_EG\";\nimport esLocale from \"antd/locale/es_ES\";\nimport enLocale from \"antd/locale/en_GB\";\nimport {Spin} from \"antd\";\nimport {fetchConfig} from \"../../helpers/utils\";\n\nconst NewTaskModule = ({mode, version}) => {\n const [isOpen, setIsOpen] = useState(false)\n const [modalNumberArr, setModalNumberArr] = useState([])\n const [config, setConfig] = useState(null)\n const [locale, setLocale] = useState(i18n.locale)\n const [antLocale, setAntLocale] = useState(null)\n\n const setupConfig = async () => {\n const config = await fetchConfig()\n setConfig({...config, mode: mode, bgColor: '#EEF0F8'})\n }\n\n useEffect(() => {\n setupConfig()\n }, [])\n\n useEffect(() => {\n if (locale) {\n switch (locale) {\n case 'he':\n setAntLocale(heLocale)\n import('dayjs/locale/he')\n dayjs.locale('he')\n break\n case 'ar':\n setAntLocale(arLocale)\n import('dayjs/locale/ar')\n dayjs.locale('ar')\n break\n case 'es':\n setAntLocale(esLocale)\n import('dayjs/locale/es')\n dayjs.locale('es')\n break\n default:\n setAntLocale(enLocale)\n import('dayjs/locale/en')\n dayjs.locale('en')\n }\n }\n }, [locale])\n\n if (config) {\n if (version === 'new-form') {\n return mode === 'organizations' ? (\n config.support_destinations_only ? (\n
\n ) : (\n
\n )\n ) : (\n config.support_destinations_only ? (\n \n ) : (\n \n )\n )\n } else {\n return (\n mode === 'organizations' ? (\n config.support_destinations_only ? (\n \n ) : (\n \n )\n ) : (\n config.support_destinations_only ? (\n \n ) : (\n \n )\n )\n )\n }\n } else {\n return (\n \n )\n }\n}\n\nexport default NewTaskModule\n","import React, { StrictMode } from 'react'\nimport { createRoot } from 'react-dom/client'\nimport NewTaskModule from \"./NewTaskModule\";\n\nconst container = document.getElementById('r-new-task')\nif (container) {\n createRoot(container).render()\n}\n\nconst containerMobile = document.getElementById('r-new-task-mobile')\nif (containerMobile) {\n createRoot(containerMobile).render()\n}\n\nconst container2 = document.getElementById('r-new-task2')\nif (container2) {\n createRoot(container2).render()\n}\n"],"names":["EmptyCustom","React","Empty","image","PRESENTED_IMAGE_SIMPLE","description","i18n","t","ModalHeader","title","className","PhoneInput","name","label","disabled","required","onChange","validatePhone","useCallback","_","value","Promise","reject","Error","test","resolve","Form","Item","style","marginBottom","rules","validator","getValueFromEvent","e","formatPhoneNumber","target","Input","pattern","ScalableSelect","placeholder","extraPlaceholder","items","setValueFn","props","options","setOptions","useState","open","setOpen","setName","inputRef","useRef","onNameChange","event","addItem","preventDefault","useEffect","Select","Object","assign","showSearch","popupMatchSelectWidth","onDropdownVisibleChange","visible","onSearch","notFoundContent","dropdownRender","menu","Divider","margin","Space","padding","ref","onKeyDown","stopPropagation","onPressEnter","Button","type","icon","PlusOutlined","onClick","fetchIsraelCitiesAction","async","fetch","method","headers","csrfToken","fetchIsraelStreetsAction","cityId","fetchCompaniesAction","fetchCompanyUsersAction","id","fetchLocationsAction","companyId","url","fetchClientsAction","fetchRoutesAction","fetchDriversAction","fetchProductsAction","page","search","createTaskAction","body","data","calculatePriceAction","createScheduledTaskAction","JSON","stringify","createDistributionAction","fetchVehiclesAction","date","fetchEndOptionsAction","ids","fetchVisitsSummaryAction","typeOptions","locationLabel","city","street","number","fontWeight","fontStyle","fontSize","userLabel","username","email","userSearchString","afterCreateNotification","task","notificationApi","ready_to_print","readyToPrint","success","message","window","focus","color","placement","minWidth","useClientsOptions","clientsOptions","setClientsOptions","then","res","json","map","c","item","kind","key","useCompanies","companies","setCompanies","useIsraelCities","organizationId","cities","setCities","isRTL","city_id","useIsraelStreets","streets","setStreets","s","useLocationsOptions","locationsOptions","setLocationsOptions","l","InfinityScrollSelect","fetchAction","renderOption","setSelectedItem","setData","loading","setLoading","setSearch","setPage","hasMore","setHasMore","fetchOptions","resData","pagination","more","debounceSearch","useMemo","debounce","undefined","filterOption","onPopupScroll","scrollTop","offsetHeight","scrollHeight","scrollTo","Spin","size","find","i","AddProductModal","isOpen","setIsOpen","Modal","footer","onCancel","width","dataOrNA","sku","OrderItemsCard","allowProducts","allowVolumeConstraint","form","addProductsModalOpen","setAddProductsModalOpen","setItem","innerWidth","List","subFields","add","remove","length","restField","display","align","noStyle","MinusCircleOutlined","rowGap","flexDirection","Card","extra","fieldsValue","getFieldsValue","setFieldsValue","order_items_attributes","weight","price","notes","variant","useGoogle","googleKey","google","setGoogle","apiKey","libraries","locale","Loader","load","DestinationCard","config","defaultLocation","formRefreshed","typeValue","setLatitude","setLongitude","setLocationId","setClientId","driversOptions","country","support_destinations_only","supportDestinationsOnly","allow_destination_name","allowDestinationName","allow_zip_code","allowZipCode","allow_entrance","allowEntrance","allow_entrance_code","allowEntranceCode","allow_state","allowState","required_task_fields","requiredTaskFields","allow_time_window","allowTimeWindow","google_key","allow_phone2","allowPhone2","allow_routes","allowRoutes","is_organization","isOrganization","allow_driver_salary","allowDriverSalary","allow_finance","allowFinance","requiredFieldRule","fieldName","includes","setCityId","israelCities","israelStreets","searchAddressInputRef","locationsCombinedOptions","filterLocationsOption","optionOrGroup","Array","isArray","part1","children","toLowerCase","part2","clearCoordinates","updateFormByLocation","loc","clearLocationForm","latitude","longitude","visits_attributes","state","zip_code","floor","apartment","entrance","entrance_code","recipient_name","default_recipient_name","phone","default_phone","earliest","Date","setFieldValue","dayjs","getHours","getMinutes","getTimeFormat","latest","updateFormByClient","client","ordering_user","destination_search_address","earliest_at","latest_at","placesOptions","types","fields","componentRestrictions","searchAddress","maps","places","Autocomplete","current","input","addListener","place","getPlace","address_components","component","long_name","short_name","getFieldValue","geometry","location","lat","lng","initGoogleSearch","wrapperCol","sm","allowClear","clearIcon","CloseCircleOutlined","onSelect","destinationChange","_v","opt","onClear","autoComplete","optionFilterProp","InputNumber","rootClassName","min","cityChange","val","TextArea","rows","disabledInput","TimePicker","format","showNow","minuteStep","use12Hours","valuePropName","Checkbox","CreateAndPrintButtons","setPrintLabel","allowCreateAndPrint","submitRef","submitAndPrintRef","document","addEventListener","metaKey","ctrlKey","click","useCreateShortcut","useCreateAndPrintShortcut","createTip","createPrintTip","useBtnTips","tips","setTips","navigator","userAgent","indexOf","Tooltip","overlayClassName","htmlType","submit","iconPosition","DocumentsCard","fileList","setFileList","Dragger","accept","customRequest","file","onSuccess","handleChange","newFileList","InboxOutlined","antLocale","bgColor","default_company_id","defaultCompanyId","urgency_details","urgencyDetails","allow_urgency","allowUrgency","allow_gifter","allowGifter","allow_order_items","allowOrderItems","allow_volume_constraint","allow_products","allow_calculate_price","allowCalculatePrice","allow_money_collect","allowMoneyCollect","allow_task_fee_cost","allowTaskFeeCost","allow_surfaces_quantity","allowSurfacesQuantity","allow_packages_quantity","allowPackagesQuantity","allow_returned_pallets","allowReturnedPallets","allow_cartons_quantity","allowCartonsQuantity","allow_self_pickup","allowSelfPickup","allow_age_verification","allowAgeVerification","allow_leave_next_to_door","allowLeaveNextToDoor","allow_signed_document","allowSignedDocument","allow_documents","allowDocuments","allow_companies","allowCompanies","allow_create_and_print","use_weight","useWeight","use_volume","useVolume","allow_pricing","allowPricing","force_company","forceCompany","custom_fields","customFields","default_task_note","defaultTaskNote","default_packages_quantity","defaultPackagesQuantity","urgency_options","urgencyOptions","cod_options","codOptions","loadingCalculation","setLoadingCalculation","activeCompany","setActiveCompany","routesOptions","setRoutesOptions","setDriversOptions","locationId","printLabel","clientId","setFormRefreshed","useForm","notificationContext","notification","useNotification","refreshForm","resetFields","grouped","groupBy","entries","push","v","fetchRoutesOptions","d","fetchDriversOptions","normalizeData","params","pickup_at","getDateTimeFormat","uppercase","client_id","Math","round","fee_cost","location_id","salary","filter","f","forEach","time","map_name","isEmpty","cod_attributes","sum","destination","ConfigProvider","direction","styles","backgroundColor","top","obj","formData","getFormData","status","error","ghost","afterClose","labelCol","span","labelAlign","onFinish","dataRes","initialValues","presentResource","resource","search_address","company_id","urgency","gifter_name","gifter_phone","greeting","packages_quantity","stop_time","wp_order_id","surfaces_quantity","returned_pallets","cartons_quantity","volume","is_self_pickup","age_verification","signed_document","documents","save_as_location","phone2","customFieldsObj","reduce","acc","field","scrollToFirstError","DatePicker","getDateFormat","superNextIcon","superPrevIcon","company","requiredRule","enumOpt","o","unshift","renderCustomField","SourceCard","toggle_source","toggleSource","sourceCardVisible","setSourceCardVisible","sourceCardToggleText","setSourceCardToggleText","option","source_search_address","initFormByLocation","auto_populate","sourceChange","allow_task_type","allowTaskType","allow_is_roundtrip","allowIsRoundtrip","allow_vehicle_kind","allowVehicleKind","allow_visits","allowVisits","allow_document_number","allowDocumentNumber","default_location","orgDefaultLocation","vehicle_kind_options","vehicleKindOptions","payer_options","payerOptions","setDefaultLocation","usersOptions","setUsersOptions","setTypeValue","destinationLatitude","setDestinationLatitude","sourceLatitude","setSourceLatitude","destinationLongitude","setDestinationLongitude","sourceLongitude","setSourceLongitude","destinationLocationId","setDestinationLocationId","sourceLocationId","setSourceLocationId","showOtherUser","setShowOtherUser","defaultDestinationNote","defaultSourceNote","u","searchString","fetchUsers","source","user_id","is_roundtrip","task_type","payer","vehicle_kind","Radio","optionType","buttonStyle","innerNote","billingOption","show_order_items_on_label","allowCompanyOrderItems","required_destination_phone","requiredDestinationPhone","default_destination_note","tasks_limit","tasksLimit","general_customers_note","generalCustomersNote","pickupAt","isBefore","startOf","isDisabled","Alert","disabledDate","subtract","endOf","default_source_note","billing_option","NewOrderItemsCard","NewDestinationCard","layout","marginTop","maxWidth","sort","a","b","sort_order","NewDocumentsCard","NewSourceCard","paddingLeft","paddingRight","NewTaskModule","mode","version","modalNumberArr","setModalNumberArr","setConfig","setLocale","setAntLocale","fetchConfig","setupConfig","heLocale","arLocale","esLocale","enLocale","NewOrgSingleModeFormModal","NewOrgMultipleModeFormModal","NewCompanySingleModeFormModal","NewCompanyMultipleModeFormModal","OrgSingleModeFormModal","OrgMultipleModeFormModal","CompanySingleModeFormModal","CompanyMultipleModeFormModal","container","getElementById","createRoot","render","StrictMode","gon","user_mode","containerMobile","container2"],"sourceRoot":""}