private void OnSelectDocumentType(string obj)
 {
     if (Account != null)
     {
         var creationData = new DocumentCreationData(Account, Model);
         creationData.PublishEvent(EventTopicNames.AccountTransactionDocumentSelected);
     }
     else
     {
         Model.PublishEvent(EventTopicNames.BatchCreateDocument);
     }
 }
Beispiel #2
0
 private void OnSelectDocumentType(string obj)
 {
     if (Account != null)
     {
         var creationData = new DocumentCreationData(Account, Model);
         creationData.PublishEvent(EventTopicNames.AccountTransactionDocumentSelected);
     }
     else
     {
         Model.PublishEvent(EventTopicNames.BatchCreateDocument);
     }
 }
 private void OnSelectDocumentTemplate(string obj)
 {
     var creationData = new DocumentCreationData(Account, Model);
     creationData.PublishEvent(EventTopicNames.AccountTransactionDocumentSelected);
 }