ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/(protected)/sales/offers/hooks/use-offer-data
useOfferFormData
Function useOfferFormData
useOfferFormData
()
:
{
clients
:
UseQueryResult
<
{
id
:
string
;
code
:
string
;
name
:
string
;
type
:
string
}
[]
,
Error
,
>
;
leads
:
UseQueryResult
<
{
id
:
string
;
code
:
string
;
name
:
string
;
companyName
:
string
|
null
}
[]
,
Error
,
>
;
currencies
:
UseQueryResult
<
{
id
:
string
;
code
:
string
;
name
:
string
;
symbol
:
string
}
[]
,
Error
,
>
;
finishedProducts
:
UseQueryResult
<
{
id
:
string
;
code
:
string
;
name
:
string
;
description
:
string
|
null
}
[]
,
Error
,
>
;
taxes
:
UseQueryResult
<
{
id
:
string
;
name
:
string
;
code
:
string
;
rate
:
number
}
[]
,
Error
,
>
;
unitsOfMeasure
:
UseQueryResult
<
{
id
:
string
;
code
:
string
;
name
:
string
;
symbol
:
string
;
description
:
string
;
}
[]
,
Error
,
>
;
isLoading
:
boolean
;
error
:
Error
|
null
;
}
Returns
{
clients
:
UseQueryResult
<
{
id
:
string
;
code
:
string
;
name
:
string
;
type
:
string
}
[]
,
Error
,
>
;
leads
:
UseQueryResult
<
{
id
:
string
;
code
:
string
;
name
:
string
;
companyName
:
string
|
null
}
[]
,
Error
,
>
;
currencies
:
UseQueryResult
<
{
id
:
string
;
code
:
string
;
name
:
string
;
symbol
:
string
}
[]
,
Error
,
>
;
finishedProducts
:
UseQueryResult
<
{
id
:
string
;
code
:
string
;
name
:
string
;
description
:
string
|
null
}
[]
,
Error
,
>
;
taxes
:
UseQueryResult
<
{
id
:
string
;
name
:
string
;
code
:
string
;
rate
:
number
}
[]
,
Error
,
>
;
unitsOfMeasure
:
UseQueryResult
<
{
id
:
string
;
code
:
string
;
name
:
string
;
symbol
:
string
;
description
:
string
;
}
[]
,
Error
,
>
;
isLoading
:
boolean
;
error
:
Error
|
null
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...