This commit is contained in:
@@ -1202,48 +1202,41 @@ namespace AyaNovaQBI
|
||||
|
||||
#endregion
|
||||
|
||||
// #region ToBePrinted
|
||||
// //No validation possible
|
||||
// //so prompt only if not setup yet
|
||||
// if (!SetEverything)
|
||||
// {
|
||||
// //if(QBItems.Rows.Contains(QDat.MiscExpenseChargeAs))
|
||||
// goto TBPOK;
|
||||
// // else
|
||||
// // {
|
||||
// // MessageBox.Show("The QuickBooks Item previously set for invoicing Misc. Expense items\r\n" +
|
||||
// // "No longer appears to be valid. You will next be prompted to re-select a valid \r\n" +
|
||||
// // "QuickBooks Item.");
|
||||
// // }
|
||||
// }
|
||||
#region ToBePrinted
|
||||
//No validation possible
|
||||
//so prompt only if not setup yet
|
||||
if (!SetEverything)
|
||||
{
|
||||
goto TBPOK;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// SetToBePrinted s4 = new SetToBePrinted();
|
||||
// s4.DialogTitle = "AyaNova QBI setup - Set invoice to be printed?";
|
||||
// s4.OptionTitle = "Invoice to be printed";
|
||||
// s4.OptionDescription = "QBI needs to know if you want invoices that it creates \r\n" +
|
||||
// "in QuickBooks to be set to \"To be printed\".\r\n\r\n" +
|
||||
// "(Please note that \"To be emailed\" which is available in some\r\n" +
|
||||
// "versions of QuickBooks is not an option at this time as\r\n" +
|
||||
// "QuickBooks has not exposed that property to developers)";
|
||||
// s4.ToBePrinted = QDat.ToBePrinted;
|
||||
SetToBePrinted s4 = new SetToBePrinted();
|
||||
s4.DialogTitle = "AyaNova QBI setup - Set invoice to be printed?";
|
||||
s4.OptionTitle = "Invoice to be printed";
|
||||
s4.OptionDescription = "QBI needs to know if you want invoices that it creates \r\n" +
|
||||
"in QuickBooks to be set to \"To be printed\".\r\n\r\n" +
|
||||
"(Please note that \"To be emailed\" which is available in some\r\n" +
|
||||
"versions of QuickBooks is not an option at this time as\r\n" +
|
||||
"QuickBooks has not exposed that property to developers)";
|
||||
s4.ToBePrinted = QDat.ToBePrinted;
|
||||
|
||||
// if (s4.ShowDialog() == DialogResult.Cancel)
|
||||
// {
|
||||
// return pfstat.Cancel;
|
||||
if (s4.ShowDialog() == DialogResult.Cancel)
|
||||
{
|
||||
return pfstat.Cancel;
|
||||
|
||||
// }
|
||||
// else
|
||||
// QDat.ToBePrinted = s4.ToBePrinted;
|
||||
// s4.Dispose();
|
||||
// s4 = null;
|
||||
}
|
||||
else
|
||||
QDat.ToBePrinted = s4.ToBePrinted;
|
||||
s4.Dispose();
|
||||
s4 = null;
|
||||
|
||||
//TBPOK:
|
||||
TBPOK:
|
||||
|
||||
// #endregion
|
||||
#endregion
|
||||
|
||||
// #region SetMemoField
|
||||
// //No validation possible
|
||||
|
||||
Reference in New Issue
Block a user