PriceByCustomer: filtrar por SKU
This commit is contained in:
parent
452502835d
commit
6070574ca9
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,7 @@ export interface PriceByCustomerQuery {
|
|||
paginacion?: Paginacion;
|
||||
/// Filtro por el código del cliente ("Code" en Customer.)
|
||||
filter?: string;
|
||||
SKUCode?: string;
|
||||
customer?: QueryCustomer;
|
||||
}
|
||||
|
||||
|
@ -35,6 +36,9 @@ export async function getPricesByCustomer(
|
|||
if (options.filter) {
|
||||
searchParams.set("filter", options.filter);
|
||||
}
|
||||
if (options.SKUCode) {
|
||||
searchParams.set("SKUCode", options.SKUCode);
|
||||
}
|
||||
if (options.customer) {
|
||||
queryCustomerToSearchParams(options.customer, searchParams);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue