|
@@ -6,20 +6,10 @@ using InABox.WPF;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.ComponentModel;
|
|
|
-using System.Diagnostics;
|
|
|
using System.Linq;
|
|
|
-using System.Windows;
|
|
|
using System.Windows.Controls;
|
|
|
-using System.Windows.Controls.Primitives;
|
|
|
-using System.Windows.Input;
|
|
|
-using System.Windows.Media;
|
|
|
-using InABox.WPF.Themes;
|
|
|
-using NPOI.SS.Formula.Functions;
|
|
|
-using System.Collections.ObjectModel;
|
|
|
-using System.Threading.Tasks;
|
|
|
using InABox.Clients;
|
|
|
using InABox.Wpf;
|
|
|
-using InABox.Wpf.Reports;
|
|
|
using Columns = InABox.Core.Columns;
|
|
|
using PRSDesktop.Panels.ReservationManagement.TreatmentPO;
|
|
|
|
|
@@ -355,7 +345,7 @@ public partial class ReservationManagementPanel : UserControl, IPanel<JobRequisi
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if(jris.Values.Any(x => x.TreatmentRequired - x.TreatmentOnOrder <= 0))
|
|
|
+ if(jris.Values.Any(x => x.TreatmentRequired <= 0))
|
|
|
{
|
|
|
MessageWindow.ShowMessage("Please select only items requiring treatment.", "Already treated");
|
|
|
return;
|