Update Icons
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Net.Mime;
|
||||
using QuestPDF.Fluent;
|
||||
using QuestPDF.Helpers;
|
||||
using QuestPDF.Infrastructure;
|
||||
using Server.Data;
|
||||
|
||||
namespace Server.Model
|
||||
{
|
||||
@@ -190,7 +191,12 @@ namespace Server.Model
|
||||
{
|
||||
row.RelativeItem().AlignCenter().Column(col =>
|
||||
{
|
||||
col.Item().Height(25, Unit.Millimetre).Image("bit.bmp");
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(SettingsData.Instance.Logo) && File.Exists(SettingsData.Instance.Logo))
|
||||
col.Item().Height(25, Unit.Millimetre).Image(SettingsData.Instance.Logo);
|
||||
else
|
||||
col.Item().Height(25, Unit.Millimetre);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user