This commit is contained in:
2022-07-01 17:04:58 +00:00
parent 2ba87e8560
commit 71b6249a33
12 changed files with 112 additions and 101 deletions

View File

@@ -36,8 +36,8 @@ namespace AyaNovaQBI
private string _InvoiceMiscExpenseTemplate = ""; private string _InvoiceMiscExpenseTemplate = "";
private string _InvoiceLoanItemTemplate = ""; private string _InvoiceLoanItemTemplate = "";
//Case 7 ////Case 7
private bool _AutoClose = true; //private bool _AutoClose = true;
#region Case 632 #region Case 632
//Default qb accounts to use when importing inventory and service items //Default qb accounts to use when importing inventory and service items
@@ -332,19 +332,19 @@ namespace AyaNovaQBI
} }
} }
//Case 7 ////Case 7
public bool AutoClose //public bool AutoClose
{ //{
get { return _AutoClose; } // get { return _AutoClose; }
set // set
{ // {
if (_AutoClose != value) // if (_AutoClose != value)
{ // {
_AutoClose = value; // _AutoClose = value;
IsDirty = true; // IsDirty = true;
} // }
} // }
} //}

View File

@@ -60,25 +60,25 @@
// //
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitle.Location = new System.Drawing.Point(0, 0); this.lblTitle.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(637, 30); this.lblTitle.Size = new System.Drawing.Size(605, 30);
this.lblTitle.TabIndex = 7; this.lblTitle.TabIndex = 7;
// //
// lblDescription // lblDescription
// //
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top; this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top;
this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblDescription.Location = new System.Drawing.Point(0, 30); this.lblDescription.Location = new System.Drawing.Point(16, 46);
this.lblDescription.Name = "lblDescription"; this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(637, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
// //
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.lblStatus.Location = new System.Drawing.Point(0, 195); this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(0, 13); this.lblStatus.Size = new System.Drawing.Size(0, 13);
this.lblStatus.TabIndex = 10; this.lblStatus.TabIndex = 10;
@@ -87,9 +87,9 @@
// //
this.ckAutoClose.AutoSize = true; this.ckAutoClose.AutoSize = true;
this.ckAutoClose.Dock = System.Windows.Forms.DockStyle.Top; this.ckAutoClose.Dock = System.Windows.Forms.DockStyle.Top;
this.ckAutoClose.Location = new System.Drawing.Point(0, 208); this.ckAutoClose.Location = new System.Drawing.Point(16, 224);
this.ckAutoClose.Name = "ckAutoClose"; this.ckAutoClose.Name = "ckAutoClose";
this.ckAutoClose.Size = new System.Drawing.Size(637, 17); this.ckAutoClose.Size = new System.Drawing.Size(605, 17);
this.ckAutoClose.TabIndex = 11; this.ckAutoClose.TabIndex = 11;
this.ckAutoClose.Text = "Auto close invoiced work orders"; this.ckAutoClose.Text = "Auto close invoiced work orders";
this.ckAutoClose.UseVisualStyleBackColor = true; this.ckAutoClose.UseVisualStyleBackColor = true;
@@ -108,6 +108,7 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetAutoClose"; this.Name = "SetAutoClose";
this.Padding = new System.Windows.Forms.Padding(16);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetAutoClose"; this.Text = "SetAutoClose";
this.Load += new System.EventHandler(this.SetQBClass_load); this.Load += new System.EventHandler(this.SetQBClass_load);

View File

@@ -58,18 +58,18 @@
// //
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitle.Location = new System.Drawing.Point(0, 0); this.lblTitle.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(637, 30); this.lblTitle.Size = new System.Drawing.Size(605, 30);
this.lblTitle.TabIndex = 7; this.lblTitle.TabIndex = 7;
// //
// lblDescription // lblDescription
// //
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top; this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top;
this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblDescription.Location = new System.Drawing.Point(0, 30); this.lblDescription.Location = new System.Drawing.Point(16, 46);
this.lblDescription.Name = "lblDescription"; this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(637, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
// //
// SetInfoOnly // SetInfoOnly
@@ -84,6 +84,7 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetInfoOnly"; this.Name = "SetInfoOnly";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetInfoOnly"; this.Text = "SetInfoOnly";

View File

@@ -60,25 +60,25 @@
// //
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitle.Location = new System.Drawing.Point(0, 0); this.lblTitle.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(637, 30); this.lblTitle.Size = new System.Drawing.Size(605, 30);
this.lblTitle.TabIndex = 7; this.lblTitle.TabIndex = 7;
// //
// lblDescription // lblDescription
// //
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top; this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top;
this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblDescription.Location = new System.Drawing.Point(0, 30); this.lblDescription.Location = new System.Drawing.Point(16, 46);
this.lblDescription.Name = "lblDescription"; this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(637, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
// //
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.lblStatus.Location = new System.Drawing.Point(0, 195); this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(0, 13); this.lblStatus.Size = new System.Drawing.Size(0, 13);
this.lblStatus.TabIndex = 10; this.lblStatus.TabIndex = 10;
@@ -87,9 +87,9 @@
// //
this.ckSetMemo.AutoSize = true; this.ckSetMemo.AutoSize = true;
this.ckSetMemo.Dock = System.Windows.Forms.DockStyle.Top; this.ckSetMemo.Dock = System.Windows.Forms.DockStyle.Top;
this.ckSetMemo.Location = new System.Drawing.Point(0, 208); this.ckSetMemo.Location = new System.Drawing.Point(16, 224);
this.ckSetMemo.Name = "ckSetMemo"; this.ckSetMemo.Name = "ckSetMemo";
this.ckSetMemo.Size = new System.Drawing.Size(637, 17); this.ckSetMemo.Size = new System.Drawing.Size(605, 17);
this.ckSetMemo.TabIndex = 11; this.ckSetMemo.TabIndex = 11;
this.ckSetMemo.Text = "Set memo field"; this.ckSetMemo.Text = "Set memo field";
this.ckSetMemo.UseVisualStyleBackColor = true; this.ckSetMemo.UseVisualStyleBackColor = true;
@@ -108,6 +108,7 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetMemoField"; this.Name = "SetMemoField";
this.Padding = new System.Windows.Forms.Padding(16);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetMemoField"; this.Text = "SetMemoField";
this.Load += new System.EventHandler(this.SetQBClass_load); this.Load += new System.EventHandler(this.SetQBClass_load);

View File

@@ -60,25 +60,25 @@
// //
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitle.Location = new System.Drawing.Point(0, 0); this.lblTitle.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(637, 30); this.lblTitle.Size = new System.Drawing.Size(605, 30);
this.lblTitle.TabIndex = 7; this.lblTitle.TabIndex = 7;
// //
// lblDescription // lblDescription
// //
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top; this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top;
this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblDescription.Location = new System.Drawing.Point(0, 30); this.lblDescription.Location = new System.Drawing.Point(16, 46);
this.lblDescription.Name = "lblDescription"; this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(637, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
// //
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.lblStatus.Location = new System.Drawing.Point(0, 195); this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(0, 13); this.lblStatus.Size = new System.Drawing.Size(0, 13);
this.lblStatus.TabIndex = 10; this.lblStatus.TabIndex = 10;
@@ -88,9 +88,9 @@
this.cbQBItems.Dock = System.Windows.Forms.DockStyle.Top; this.cbQBItems.Dock = System.Windows.Forms.DockStyle.Top;
this.cbQBItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQBItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbQBItems.FormattingEnabled = true; this.cbQBItems.FormattingEnabled = true;
this.cbQBItems.Location = new System.Drawing.Point(0, 208); this.cbQBItems.Location = new System.Drawing.Point(16, 224);
this.cbQBItems.Name = "cbQBItems"; this.cbQBItems.Name = "cbQBItems";
this.cbQBItems.Size = new System.Drawing.Size(637, 21); this.cbQBItems.Size = new System.Drawing.Size(605, 21);
this.cbQBItems.TabIndex = 11; this.cbQBItems.TabIndex = 11;
// //
// SetQBChargeAs // SetQBChargeAs
@@ -107,6 +107,7 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetQBChargeAs"; this.Name = "SetQBChargeAs";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetQBChargeAs"; this.Text = "SetQBChargeAs";

View File

@@ -60,25 +60,25 @@
// //
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitle.Location = new System.Drawing.Point(0, 0); this.lblTitle.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(637, 30); this.lblTitle.Size = new System.Drawing.Size(605, 30);
this.lblTitle.TabIndex = 7; this.lblTitle.TabIndex = 7;
// //
// lblDescription // lblDescription
// //
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top; this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top;
this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblDescription.Location = new System.Drawing.Point(0, 30); this.lblDescription.Location = new System.Drawing.Point(16, 46);
this.lblDescription.Name = "lblDescription"; this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(637, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
// //
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.lblStatus.Location = new System.Drawing.Point(0, 195); this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(0, 13); this.lblStatus.Size = new System.Drawing.Size(0, 13);
this.lblStatus.TabIndex = 10; this.lblStatus.TabIndex = 10;
@@ -88,9 +88,9 @@
this.cbQBClasses.Dock = System.Windows.Forms.DockStyle.Top; this.cbQBClasses.Dock = System.Windows.Forms.DockStyle.Top;
this.cbQBClasses.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQBClasses.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbQBClasses.FormattingEnabled = true; this.cbQBClasses.FormattingEnabled = true;
this.cbQBClasses.Location = new System.Drawing.Point(0, 208); this.cbQBClasses.Location = new System.Drawing.Point(16, 224);
this.cbQBClasses.Name = "cbQBClasses"; this.cbQBClasses.Name = "cbQBClasses";
this.cbQBClasses.Size = new System.Drawing.Size(637, 21); this.cbQBClasses.Size = new System.Drawing.Size(605, 21);
this.cbQBClasses.TabIndex = 11; this.cbQBClasses.TabIndex = 11;
// //
// SetQBClass // SetQBClass
@@ -107,6 +107,7 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetQBClass"; this.Name = "SetQBClass";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetQBClass"; this.Text = "SetQBClass";

View File

@@ -60,25 +60,25 @@
// //
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitle.Location = new System.Drawing.Point(0, 0); this.lblTitle.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(637, 30); this.lblTitle.Size = new System.Drawing.Size(605, 30);
this.lblTitle.TabIndex = 7; this.lblTitle.TabIndex = 7;
// //
// lblDescription // lblDescription
// //
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top; this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top;
this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblDescription.Location = new System.Drawing.Point(0, 30); this.lblDescription.Location = new System.Drawing.Point(16, 46);
this.lblDescription.Name = "lblDescription"; this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(637, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
// //
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.lblStatus.Location = new System.Drawing.Point(0, 195); this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(0, 13); this.lblStatus.Size = new System.Drawing.Size(0, 13);
this.lblStatus.TabIndex = 10; this.lblStatus.TabIndex = 10;
@@ -88,9 +88,9 @@
this.cbQBItems.Dock = System.Windows.Forms.DockStyle.Top; this.cbQBItems.Dock = System.Windows.Forms.DockStyle.Top;
this.cbQBItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQBItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbQBItems.FormattingEnabled = true; this.cbQBItems.FormattingEnabled = true;
this.cbQBItems.Location = new System.Drawing.Point(0, 208); this.cbQBItems.Location = new System.Drawing.Point(16, 224);
this.cbQBItems.Name = "cbQBItems"; this.cbQBItems.Name = "cbQBItems";
this.cbQBItems.Size = new System.Drawing.Size(637, 21); this.cbQBItems.Size = new System.Drawing.Size(605, 21);
this.cbQBItems.TabIndex = 11; this.cbQBItems.TabIndex = 11;
// //
// SetQBInvoiceTemplate // SetQBInvoiceTemplate
@@ -107,6 +107,7 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetQBInvoiceTemplate"; this.Name = "SetQBInvoiceTemplate";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetQBInvoiceTemplate"; this.Text = "SetQBInvoiceTemplate";

View File

@@ -60,25 +60,25 @@
// //
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitle.Location = new System.Drawing.Point(0, 0); this.lblTitle.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(637, 30); this.lblTitle.Size = new System.Drawing.Size(605, 30);
this.lblTitle.TabIndex = 7; this.lblTitle.TabIndex = 7;
// //
// lblDescription // lblDescription
// //
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top; this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top;
this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblDescription.Location = new System.Drawing.Point(0, 30); this.lblDescription.Location = new System.Drawing.Point(16, 46);
this.lblDescription.Name = "lblDescription"; this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(637, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
// //
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.lblStatus.Location = new System.Drawing.Point(0, 195); this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(0, 13); this.lblStatus.Size = new System.Drawing.Size(0, 13);
this.lblStatus.TabIndex = 10; this.lblStatus.TabIndex = 10;
@@ -88,9 +88,9 @@
this.cbQBTerms.Dock = System.Windows.Forms.DockStyle.Top; this.cbQBTerms.Dock = System.Windows.Forms.DockStyle.Top;
this.cbQBTerms.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQBTerms.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbQBTerms.FormattingEnabled = true; this.cbQBTerms.FormattingEnabled = true;
this.cbQBTerms.Location = new System.Drawing.Point(0, 208); this.cbQBTerms.Location = new System.Drawing.Point(16, 224);
this.cbQBTerms.Name = "cbQBTerms"; this.cbQBTerms.Name = "cbQBTerms";
this.cbQBTerms.Size = new System.Drawing.Size(637, 21); this.cbQBTerms.Size = new System.Drawing.Size(605, 21);
this.cbQBTerms.TabIndex = 11; this.cbQBTerms.TabIndex = 11;
// //
// SetQBTerms // SetQBTerms
@@ -107,6 +107,7 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetQBTerms"; this.Name = "SetQBTerms";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetQBTerms"; this.Text = "SetQBTerms";

View File

@@ -60,25 +60,25 @@
// //
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitle.Location = new System.Drawing.Point(0, 0); this.lblTitle.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(637, 30); this.lblTitle.Size = new System.Drawing.Size(605, 30);
this.lblTitle.TabIndex = 7; this.lblTitle.TabIndex = 7;
// //
// lblDescription // lblDescription
// //
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top; this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top;
this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblDescription.Location = new System.Drawing.Point(0, 30); this.lblDescription.Location = new System.Drawing.Point(16, 46);
this.lblDescription.Name = "lblDescription"; this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(637, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
// //
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.lblStatus.Location = new System.Drawing.Point(0, 195); this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(0, 13); this.lblStatus.Size = new System.Drawing.Size(0, 13);
this.lblStatus.TabIndex = 10; this.lblStatus.TabIndex = 10;
@@ -87,9 +87,9 @@
// //
this.ckPrinted.AutoSize = true; this.ckPrinted.AutoSize = true;
this.ckPrinted.Dock = System.Windows.Forms.DockStyle.Top; this.ckPrinted.Dock = System.Windows.Forms.DockStyle.Top;
this.ckPrinted.Location = new System.Drawing.Point(0, 208); this.ckPrinted.Location = new System.Drawing.Point(16, 224);
this.ckPrinted.Name = "ckPrinted"; this.ckPrinted.Name = "ckPrinted";
this.ckPrinted.Size = new System.Drawing.Size(637, 17); this.ckPrinted.Size = new System.Drawing.Size(605, 17);
this.ckPrinted.TabIndex = 11; this.ckPrinted.TabIndex = 11;
this.ckPrinted.Text = "Set to be printed"; this.ckPrinted.Text = "Set to be printed";
this.ckPrinted.UseVisualStyleBackColor = true; this.ckPrinted.UseVisualStyleBackColor = true;
@@ -108,6 +108,7 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetToBePrinted"; this.Name = "SetToBePrinted";
this.Padding = new System.Windows.Forms.Padding(16);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetToBePrinted"; this.Text = "SetToBePrinted";
this.Load += new System.EventHandler(this.SetQBClass_load); this.Load += new System.EventHandler(this.SetQBClass_load);

View File

@@ -60,25 +60,25 @@
// //
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitle.Location = new System.Drawing.Point(0, 0); this.lblTitle.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(637, 30); this.lblTitle.Size = new System.Drawing.Size(605, 30);
this.lblTitle.TabIndex = 7; this.lblTitle.TabIndex = 7;
// //
// lblDescription // lblDescription
// //
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top; this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top;
this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblDescription.Location = new System.Drawing.Point(0, 30); this.lblDescription.Location = new System.Drawing.Point(16, 46);
this.lblDescription.Name = "lblDescription"; this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(637, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
// //
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.lblStatus.Location = new System.Drawing.Point(0, 195); this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(0, 13); this.lblStatus.Size = new System.Drawing.Size(0, 13);
this.lblStatus.TabIndex = 10; this.lblStatus.TabIndex = 10;
@@ -88,9 +88,9 @@
this.cbStatus.Dock = System.Windows.Forms.DockStyle.Top; this.cbStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.cbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbStatus.FormattingEnabled = true; this.cbStatus.FormattingEnabled = true;
this.cbStatus.Location = new System.Drawing.Point(0, 208); this.cbStatus.Location = new System.Drawing.Point(16, 224);
this.cbStatus.Name = "cbStatus"; this.cbStatus.Name = "cbStatus";
this.cbStatus.Size = new System.Drawing.Size(637, 21); this.cbStatus.Size = new System.Drawing.Size(605, 21);
this.cbStatus.TabIndex = 11; this.cbStatus.TabIndex = 11;
// //
// SetWOStatus // SetWOStatus
@@ -107,6 +107,7 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetWOStatus"; this.Name = "SetWOStatus";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetWOStatus"; this.Text = "SetWOStatus";

View File

@@ -1,2 +1,3 @@
TODO: TODO:
Test persisted form settings for server url Test persisted form settings for server url
Docs should not refer to autoclose anymore, it's status driven now

View File

@@ -850,7 +850,7 @@ namespace AyaNovaQBI
s1.DialogTitle = "AyaNova QBI setup - Choose post billed Workorder Status"; s1.DialogTitle = "AyaNova QBI setup - Choose post billed Workorder Status";
s1.OptionTitle = "Post billing workorder status"; s1.OptionTitle = "Post billing workorder status";
s1.OptionDescription = "After QBI has billed out a work order, it can change the \r\n" + 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.SelectedStatus = QDat.PostWOStatus;
s1.PreStatus = false; s1.PreStatus = false;
if (s1.ShowDialog() == DialogResult.Cancel) if (s1.ShowDialog() == DialogResult.Cancel)
@@ -1276,36 +1276,37 @@ namespace AyaNovaQBI
#endregion #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;
if (s6.ShowDialog() == DialogResult.Cancel) //SetAutoClose s6 = new SetAutoClose();
{ //s6.DialogTitle = "AyaNova QBI setup - Close when invoiced?";
return pfstat.Cancel; //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)
else //{
QDat.AutoClose = s6.AutoClose; // return pfstat.Cancel;
s6.Dispose();
s6 = null;
SETAUTOCLOSEOK: //}
//else
// QDat.AutoClose = s6.AutoClose;
//s6.Dispose();
//s6 = null;
#endregion //SETAUTOCLOSEOK:
// #endregion
// //Save if changes made // //Save if changes made