From f1ee0640f1a67416a984a14a7d24d6d12ed989c9 Mon Sep 17 00:00:00 2001 From: Ryan Maffit Date: Fri, 28 Jun 2024 11:55:06 +0000 Subject: [PATCH] Properly set charge code activity --- src/dotnet/HQ.Server/Services/QuoteServiceV1.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dotnet/HQ.Server/Services/QuoteServiceV1.cs b/src/dotnet/HQ.Server/Services/QuoteServiceV1.cs index 5f392384..d527dd3a 100644 --- a/src/dotnet/HQ.Server/Services/QuoteServiceV1.cs +++ b/src/dotnet/HQ.Server/Services/QuoteServiceV1.cs @@ -5,6 +5,7 @@ using FluentResults; +using HQ.Abstractions.Enumerations; using HQ.Abstractions.Quotes; using HQ.Server.Data; using HQ.Server.Data.Models; @@ -58,7 +59,8 @@ public QuoteServiceV1(HQDbContext context) Code = newCode, Billable = true, Active = true, - QuoteId = quote.Id + QuoteId = quote.Id, + Activity = ChargeCodeActivity.Quote }; quote.ChargeCode = newChargeCode; quote.QuoteNumber = newQuoteNumber;