Retail_manager/RMData/dbo/Stored Procedures/spSaleSaleReport.sql
s459315 f118635029 Added admin endpoints
Added inventory and sales api endpoints
2022-08-02 19:32:39 +02:00

10 lines
257 B
Transact-SQL

CREATE PROCEDURE [dbo].[spSaleSaleReport]
AS
BEGIN
SET NOCOUNT ON;
SELECT [S].[SaleDate], [S].[SubTotal], [S].[Tax], [S].[Total], [U].FirstName, [U].LastName, [U].EmailAddress
FROM dbo.Sale AS S
INNER JOIN dbo.[User] AS U
ON S.CashierId = U.Id
END