fixing OP units
This commit is contained in:
parent
6cfb576891
commit
4fd69b032e
@ -378,6 +378,7 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => {
|
|||||||
|
|
||||||
await apiClient.post('/units', {
|
await apiClient.post('/units', {
|
||||||
"filters": [
|
"filters": [
|
||||||
|
{"type" : "not_in", "field": "dados_cadastrais.codigo_scde", "value":["0P"]},
|
||||||
{"type" : "=", "field": "dados_cadastrais.cod_smart_cliente", "value": id}
|
{"type" : "=", "field": "dados_cadastrais.cod_smart_cliente", "value": id}
|
||||||
],
|
],
|
||||||
"fields": ["cod_smart_unidade", "codigo_scde"],
|
"fields": ["cod_smart_unidade", "codigo_scde"],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user