|
@@ -76,6 +76,7 @@ public partial class SupplierPurchaseOrderItemSplitWindow : Window, INotifyPrope
|
|
{
|
|
{
|
|
var window = new SupplierPurchaseOrderItemSplitWindow();
|
|
var window = new SupplierPurchaseOrderItemSplitWindow();
|
|
window.OldQuantity = quantity;
|
|
window.OldQuantity = quantity;
|
|
|
|
+ window.NewQuantity = Math.Floor(quantity / 2);
|
|
window.Grid.Items = items;
|
|
window.Grid.Items = items;
|
|
window.Grid.Refresh(true, true);
|
|
window.Grid.Refresh(true, true);
|
|
if(window.ShowDialog() == true)
|
|
if(window.ShowDialog() == true)
|