case 3823

This commit is contained in:
2020-10-15 20:40:20 +00:00
parent fb9066d5d1
commit fb65f749a1
3 changed files with 10 additions and 2 deletions

View File

@@ -1334,6 +1334,7 @@ namespace AyaNova
if (mClientNoteIdToDisplay != Guid.Empty)
{
ClientNotesForm CN = new ClientNotesForm();
CN.ClientNoteIdToDisplay = mClientNoteIdToDisplay;
CN.ClientID = mClient.ID;
CN.ShowDialog();
}
@@ -2096,7 +2097,7 @@ namespace AyaNova
//case 3823
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;

View File

@@ -462,7 +462,7 @@ namespace AyaNova
#region properties
//case 3823
private Guid mClientNoteIdToDisplay = Guid.Empty;
public Guid ClientNoteToDisplay { get { return mClientNoteIdToDisplay; } set { mClientNoteIdToDisplay = value; } }
public Guid ClientNoteIdToDisplay { get { return mClientNoteIdToDisplay; } set { mClientNoteIdToDisplay = value; } }

View File

@@ -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();
//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);
f.ClientToEdit=o;