case 3823
This commit is contained in:
@@ -1334,6 +1334,7 @@ namespace AyaNova
|
|||||||
if (mClientNoteIdToDisplay != Guid.Empty)
|
if (mClientNoteIdToDisplay != Guid.Empty)
|
||||||
{
|
{
|
||||||
ClientNotesForm CN = new ClientNotesForm();
|
ClientNotesForm CN = new ClientNotesForm();
|
||||||
|
CN.ClientNoteIdToDisplay = mClientNoteIdToDisplay;
|
||||||
CN.ClientID = mClient.ID;
|
CN.ClientID = mClient.ID;
|
||||||
CN.ShowDialog();
|
CN.ShowDialog();
|
||||||
}
|
}
|
||||||
@@ -2096,7 +2097,7 @@ namespace AyaNova
|
|||||||
|
|
||||||
//case 3823
|
//case 3823
|
||||||
private Guid mClientNoteIdToDisplay = Guid.Empty;
|
private Guid mClientNoteIdToDisplay = Guid.Empty;
|
||||||
public Guid ClientNoteToDisplay { get { return mClientNoteIdToDisplay; } set { mClientNoteIdToDisplay = value; } }
|
public Guid ClientNoteIdToDisplay { get { return mClientNoteIdToDisplay; } set { mClientNoteIdToDisplay = value; } }
|
||||||
|
|
||||||
|
|
||||||
private Client mClient;
|
private Client mClient;
|
||||||
|
|||||||
@@ -462,7 +462,7 @@ namespace AyaNova
|
|||||||
#region properties
|
#region properties
|
||||||
//case 3823
|
//case 3823
|
||||||
private Guid mClientNoteIdToDisplay = Guid.Empty;
|
private Guid mClientNoteIdToDisplay = Guid.Empty;
|
||||||
public Guid ClientNoteToDisplay { get { return mClientNoteIdToDisplay; } set { mClientNoteIdToDisplay = value; } }
|
public Guid ClientNoteIdToDisplay { get { return mClientNoteIdToDisplay; } set { mClientNoteIdToDisplay = value; } }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3419,6 +3419,13 @@ At first I was happy to find your code that solved my problem, but I did not lik
|
|||||||
{
|
{
|
||||||
ClientInfoForm f=new ClientInfoForm();
|
ClientInfoForm f=new ClientInfoForm();
|
||||||
|
|
||||||
|
|
||||||
|
//case 3823
|
||||||
|
if (subTypeIdToOpen != null) {
|
||||||
|
//for the time being subtype is only going to be a client note so we only need the ID
|
||||||
|
f.ClientNoteIdToDisplay = subTypeIdToOpen.ID;
|
||||||
|
}
|
||||||
|
|
||||||
Client o=Client.GetItem(ID);
|
Client o=Client.GetItem(ID);
|
||||||
|
|
||||||
f.ClientToEdit=o;
|
f.ClientToEdit=o;
|
||||||
|
|||||||
Reference in New Issue
Block a user