Skip to content

Commit

Permalink
Merge pull request #164 from ognyanivanov/simultCashError
Browse files Browse the repository at this point in the history
Initialize item to Enqueued state, so that it will be worked on by
  • Loading branch information
dilyanrusev authored Jun 23, 2021
2 parents 480d089 + 2da299d commit ac68bec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ErpNet.FP.Core/Service/PrintJob.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace ErpNet.FP.Core.Service
{
using System;

public enum PrintJobAction
{
None,
Expand Down Expand Up @@ -31,7 +31,7 @@ public class PrintJob

public PrintJobAction Action = PrintJobAction.None;
public IFiscalPrinter? Printer;
public TaskStatus TaskStatus = TaskStatus.Unknown;
public TaskStatus TaskStatus = TaskStatus.Enqueued; // On creation status must be "Enqueued"! "Unknown" is for task NOT FOUND in queue.
public object? Document;
public object? Result;
public string? TaskId;
Expand Down

0 comments on commit ac68bec

Please sign in to comment.