protected override void OnSelectedEntityChanged() { base.OnSelectedEntityChanged(); if (SelectedEntity != null) { SelectedPdfStream = SelectedEntity.Catalog[0].PdfStream; } SetDefaultReport(ReportInfoFactory.ProductProfile(SelectedEntity)); }
protected override void OnSelectedEntityChanged() { base.OnSelectedEntityChanged(); QuickLetter.Entity = SelectedEntity; QuickLetter.RaisePropertyChanged(x => x.Entity); if (SelectedEntity != null) { EntityPanelViewModel.Entity = SelectedEntity; } SetDefaultReport(ReportInfoFactory.EmployeeProfile(SelectedEntity)); TableViewSelectedEntity = SelectedEntity; CardViewSelectedEntity = SelectedEntity; }
protected override void OnEntityChanged() { base.OnEntityChanged(); Contacts.Entity = Entity; QuickLetter.Entity = Entity; SetDefaultReport(ReportInfoFactory.EmployeeProfile(Entity)); #if !DXCORE3 EmployeeAssignedTasksDetails.UpdateFilter(); #endif if (Entity != null) { Logger.Log(string.Format("OutlookInspiredApp: Edit Employee: {0}", string.IsNullOrEmpty(Entity.FullName) ? "<New>" : Entity.FullName)); } }
IReportInfo GetReport(EmployeeReportType reportType) { Logger.Log(string.Format("HybridApp: Create Report : Employees: {0}", reportType.ToString())); switch (reportType) { case EmployeeReportType.TaskList: return(ReportInfoFactory.EmployeeTaskList(UnitOfWorkFactory.CreateUnitOfWork().Tasks.ToList())); case EmployeeReportType.Profile: return(ReportInfoFactory.EmployeeProfile(SelectedEntity)); case EmployeeReportType.Summary: return(ReportInfoFactory.EmployeeSummary(Entities)); case EmployeeReportType.Directory: return(ReportInfoFactory.EmployeeDirectory(Entities)); } throw new ArgumentException("", "reportType"); }
public void PrintEmployeeProfile() { ShowReport(ReportInfoFactory.EmployeeProfile(Entity), "Profile"); }
public void ShowProfile() { Logger.Log("HybridApp: Create Report : Employee: Profile"); DocumentManagerService.CreateDocument("ReportPreview", ReportPreviewViewModel.Create(ReportInfoFactory.EmployeeProfile(Entity)), null, this).Show(); }
public void PrintTaskList() { ShowReport(ReportInfoFactory.TaskListReport(CreateUnitOfWork().Tasks.ToList()), "TaskList"); }
public void PrintOrderDetail() { ShowReport(ReportInfoFactory.ProductOrders(SelectedEntity.OrderItems, CreateUnitOfWork().States.ToList()), "Orders"); }
public void PrintSalesSummary() { ShowReport(ReportInfoFactory.ProductSalesSummary(SelectedEntity.OrderItems), "SalesSummary"); }
public void PrintCustomerProfile() { ShowReport(ReportInfoFactory.CusomerProfile(SelectedEntity), "Profile"); }
public void PrintTaskList() { ShowReport(ReportInfoFactory.EmployeeTaskList(UnitOfWork.Tasks.ToList()), "TaskList"); }
public void PrintSummaryReport() { ShowReport(ReportInfoFactory.SalesOrdersSummaryReport(QueriesHelper.GetSaleSummaries(CreateUnitOfWork().OrderItems)), "OrdersSummary"); }
public void PrintInvoice() { ShowReport(ReportInfoFactory.SalesInvoice(SelectedEntity), "Invoice"); }
protected override void OnSelectedEntityChanged() { base.OnSelectedEntityChanged(); SetDefaultReport(ReportInfoFactory.SalesInvoice(SelectedEntity)); }
public virtual void PrintTaskDetail() { ShowReport(ReportInfoFactory.TaskDetailReport(Entity), "TaskDetail"); }
public void PrintTopSalesperson() { ShowReport(ReportInfoFactory.ProductTopSalesPerson(SelectedEntity.OrderItems), "TopSalesPerson"); }
public void PrintSummaryReport() { ShowReport(ReportInfoFactory.EmployeeSummary(Repository.ToList()), "Summary"); }
public void PrintDirectory() { ShowReport(ReportInfoFactory.EmployeeDirectory(Repository.ToList()), "Directory"); }
public void PrintSalesAnalysisReport() { ShowReport(ReportInfoFactory.SalesAnalysisReport(QueriesHelper.GetSaleAnalysis(CreateUnitOfWork().OrderItems)), "Analysis"); }
public void PrintOrderSummaryReport() { ShowReport(ReportInfoFactory.CustomerSalesSummaryReport(QueriesHelper.GetCustomerSaleOrderItemDetails(SelectedEntity.Id, CreateUnitOfWork().OrderItems)), "SalesSummary"); }
protected override void OnSelectedEntityChanged() { base.OnSelectedEntityChanged(); SetDefaultReport(ReportInfoFactory.CusomerProfile(SelectedEntity)); }
public void PrintDirectory() { ShowReport(ReportInfoFactory.CustomerContactsDirectory(SelectedEntity), "ContactsDirectory"); }
public void PrintSpecificationSummary() { ShowReport(ReportInfoFactory.ProductProfile(SelectedEntity), "Profile"); }
public void PrintLocationsDirectory() { ShowReport(ReportInfoFactory.CustomerLocationsDirectory(Entities), "LocationDirectory"); }
public void PrintSummaryReport() { ShowReport(ReportInfoFactory.EmployeeSummary(Entities), "Summary"); }
public override void OnLoaded() { base.OnLoaded(); this.GetRequiredService <IReportService>().ShowReport(ReportInfoFactory.SalesInvoice(Entity)); }
public void PrintDirectory() { ShowReport(ReportInfoFactory.EmployeeDirectory(Entities), "Directory"); }