diff --git a/Elwig/Documents/Document.cshtml.cs b/Elwig/Documents/Document.cshtml.cs index 3cd7949..28c5236 100644 --- a/Elwig/Documents/Document.cshtml.cs +++ b/Elwig/Documents/Document.cshtml.cs @@ -134,7 +134,7 @@ namespace Elwig.Documents { public void Show() { if (_pdfFile == null) throw new InvalidOperationException("Pdf file has not been generated yet"); - Pdf.Show(_pdfFile.NewReference(), Title); + Pdf.Show(_pdfFile.NewReference(), Title + (this is BusinessDocument b ? $" - {b.Member.Name}" : "")); } private class InternalDocument : Document {