public void PrintInvoice() { ShowReport(ReportInfoFactory.SalesInvoice(SelectedEntity), "Invoice"); }
public override void OnLoaded() { base.OnLoaded(); this.GetRequiredService <IReportService>().ShowReport(ReportInfoFactory.SalesInvoice(Entity)); }
protected override void OnSelectedEntityChanged() { base.OnSelectedEntityChanged(); SetDefaultReport(ReportInfoFactory.SalesInvoice(SelectedEntity)); }