Fixed lack of OutboundInvoice item
This commit is contained in:
@@ -29,6 +29,11 @@ namespace Swarmops.Common.Enums
|
||||
/// </summary>
|
||||
InboundInvoice,
|
||||
|
||||
/// <summary>
|
||||
/// An outbound invoice, going into accounts receivable.
|
||||
/// </summary>
|
||||
OutboundInvoice,
|
||||
|
||||
/// <summary>
|
||||
/// Something physical received in the mail
|
||||
/// </summary>
|
||||
|
||||
@@ -127,6 +127,10 @@ namespace Swarmops.Logic.Support
|
||||
{
|
||||
return DocumentType.InboundInvoice;
|
||||
}
|
||||
else if (foreignObject is OutboundInvoice)
|
||||
{
|
||||
return Common.Enums.DocumentType.OutboundInvoice;
|
||||
}
|
||||
else if (foreignObject is PaperLetter)
|
||||
{
|
||||
return DocumentType.PaperLetter;
|
||||
|
||||
Reference in New Issue
Block a user