mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-05-18 19:48:23 +00:00
wip
This commit is contained in:
@@ -87,18 +87,7 @@ namespace bnhtrade.Core.Model.Stock
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Quantity > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else if (Quantity < 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new InvalidOperationException("Quantity cannot be zero for a journal post.");
|
||||
}
|
||||
return !IsCredit;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user