|
@@ -155,6 +155,12 @@ public partial class StockHoldingRelocationWindow : Window, INotifyPropertyChang
|
|
|
foreach(var item in rItems)
|
|
|
{
|
|
|
var qty = item.ID != Guid.Empty ? quantities.GetValueOrDefault(item.ID) : item.Qty;
|
|
|
+ if(item.ID != Guid.Empty && qty <= 0)
|
|
|
+ {
|
|
|
+ // We can't do anything with this; it shouldn't be shown.
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
var newItem = new StockHoldingRelocationItem
|
|
|
{
|
|
|
Issued = 0,
|