This commit is contained in:
@@ -850,7 +850,7 @@ namespace AyaNovaQBI
|
||||
s1.DialogTitle = "AyaNova QBI setup - Choose post billed Workorder Status";
|
||||
s1.OptionTitle = "Post billing workorder status";
|
||||
s1.OptionDescription = "After QBI has billed out a work order, it can change the \r\n" +
|
||||
"work order status for you automatically if desired.";
|
||||
"work order status for you automatically if desired.\r\nIt is recommended to set the work order to a locking / closed status after invoicing.";
|
||||
s1.SelectedStatus = QDat.PostWOStatus;
|
||||
s1.PreStatus = false;
|
||||
if (s1.ShowDialog() == DialogResult.Cancel)
|
||||
@@ -1275,37 +1275,38 @@ 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