This commit is contained in:
@@ -1276,36 +1276,36 @@ namespace AyaNovaQBI
|
||||
#endregion
|
||||
|
||||
|
||||
// #region SetAutoCloseField Case 7
|
||||
// //No validation possible
|
||||
// //so prompt only if not setup yet
|
||||
// if (!SetEverything)
|
||||
// {
|
||||
// goto SETAUTOCLOSEOK;
|
||||
#region SetAutoCloseField Case 7
|
||||
//No validation possible
|
||||
//so prompt only if not setup yet
|
||||
if (!SetEverything)
|
||||
{
|
||||
goto SETAUTOCLOSEOK;
|
||||
|
||||
// }
|
||||
}
|
||||
|
||||
// SetAutoClose s6 = new SetAutoClose();
|
||||
// s6.DialogTitle = "AyaNova QBI setup - Close when invoiced?";
|
||||
// s6.OptionTitle = "Close work order after invoicing";
|
||||
// s6.OptionDescription =
|
||||
// "QBI needs to know if you want work orders that it invoices \r\n" +
|
||||
// "automatically set to closed";
|
||||
// s6.AutoClose = QDat.AutoClose;
|
||||
SetAutoClose s6 = new SetAutoClose();
|
||||
s6.DialogTitle = "AyaNova QBI setup - Close when invoiced?";
|
||||
s6.OptionTitle = "Close work order after invoicing";
|
||||
s6.OptionDescription =
|
||||
"QBI needs to know if you want work orders that it invoices \r\n" +
|
||||
"automatically set to closed";
|
||||
s6.AutoClose = QDat.AutoClose;
|
||||
|
||||
// if (s6.ShowDialog() == DialogResult.Cancel)
|
||||
// {
|
||||
// return pfstat.Cancel;
|
||||
if (s6.ShowDialog() == DialogResult.Cancel)
|
||||
{
|
||||
return pfstat.Cancel;
|
||||
|
||||
// }
|
||||
// else
|
||||
// QDat.AutoClose = s6.AutoClose;
|
||||
// s6.Dispose();
|
||||
// s6 = null;
|
||||
}
|
||||
else
|
||||
QDat.AutoClose = s6.AutoClose;
|
||||
s6.Dispose();
|
||||
s6 = null;
|
||||
|
||||
//SETAUTOCLOSEOK:
|
||||
SETAUTOCLOSEOK:
|
||||
|
||||
// #endregion
|
||||
#endregion
|
||||
|
||||
|
||||
// //Save if changes made
|
||||
|
||||
Reference in New Issue
Block a user