This commit is contained in:
@@ -36,12 +36,15 @@ namespace AyaNovaQBI
|
|||||||
this.btnCancel.Text = util.AyaTranslations["Cancel"];
|
this.btnCancel.Text = util.AyaTranslations["Cancel"];
|
||||||
this.btnOK.Text = util.AyaTranslations["OK"];
|
this.btnOK.Text = util.AyaTranslations["OK"];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.cbQBItems.DataSource = QBItems;
|
this.cbQBItems.DataSource = QBItems;
|
||||||
this.cbQBItems.DisplayMember = "FullName";
|
this.cbQBItems.DisplayMember = "FullName";
|
||||||
this.cbQBItems.ValueMember = "ID";
|
this.cbQBItems.ValueMember = "ID";
|
||||||
this.cbQBItems.SelectedValue = SelectedQBItem;
|
if (SelectedQBItem == "")
|
||||||
|
cbQBItems.SelectedIndex = 0;
|
||||||
|
else
|
||||||
|
this.cbQBItems.SelectedValue = SelectedQBItem;
|
||||||
|
|
||||||
this.lblStatus.Text = "QuickBooks item:";
|
this.lblStatus.Text = "QuickBooks item:";
|
||||||
|
|
||||||
|
|||||||
@@ -1047,7 +1047,7 @@ namespace AyaNovaQBI
|
|||||||
#region QB InvoiceTemplate
|
#region QB InvoiceTemplate
|
||||||
//Templates are only supported in xml 3 or greater (all countries)
|
//Templates are only supported in xml 3 or greater (all countries)
|
||||||
//if Set everything (first run) then display a dialog about it
|
//if Set everything (first run) then display a dialog about it
|
||||||
if (QVersion > 3 && SetEverything == true)
|
if (QVersion < 3 && SetEverything == true)
|
||||||
{
|
{
|
||||||
|
|
||||||
SetInfoOnly s3a = new SetInfoOnly();
|
SetInfoOnly s3a = new SetInfoOnly();
|
||||||
|
|||||||
Reference in New Issue
Block a user