Added vendor and RO search to enter invoice modal.
This commit is contained in:
@@ -76,3 +76,14 @@ export const QUERY_ALL_VENDORS_FOR_ORDER = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const SEARCH_VENDOR_AUTOCOMPLETE = gql`
|
||||
query SEARCH_VENDOR_AUTOCOMPLETE($search: String!) {
|
||||
vendors(where: { name: { _ilike: $search } }) {
|
||||
name
|
||||
discount
|
||||
id
|
||||
cost_center
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user