Home > @infiniteobjects/models > PrintButtonSaleRepository > findSimilarSale
Finds a sale that is similar than the provided one
Signature:
findSimilarSale(sale: PrintButtonSaleModel): Promise<PrintButtonSaleModel | null>;
Parameter | Type | Description |
---|---|---|
sale | PrintButtonSaleModel |
Returns:
Promise<PrintButtonSaleModel | null>
Used to not create the same sale record