This commit is contained in:
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
BIN
graphics/example-logo/150x50.pdn
Normal file
BIN
graphics/example-logo/150x50.pdn
Normal file
Binary file not shown.
BIN
graphics/example-logo/150x50.png
Normal file
BIN
graphics/example-logo/150x50.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
BIN
server/AyaNova/resource/rpt/stock-report-templates/150x50.png
Normal file
BIN
server/AyaNova/resource/rpt/stock-report-templates/150x50.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
@@ -461,13 +461,13 @@ namespace AyaNova.Util
|
|||||||
ct.Logo.Add(logo);
|
ct.Logo.Add(logo);
|
||||||
await ct.SaveChangesAsync();
|
await ct.SaveChangesAsync();
|
||||||
}
|
}
|
||||||
logo.Small = System.IO.File.ReadAllBytes(System.IO.Path.Combine(LogoFilesPath, "300x100.png"));
|
logo.Small = System.IO.File.ReadAllBytes(System.IO.Path.Combine(LogoFilesPath, "150x50.png"));
|
||||||
logo.SmallType = "image/png";
|
logo.SmallType = "image/png";
|
||||||
|
|
||||||
logo.Medium = System.IO.File.ReadAllBytes(System.IO.Path.Combine(LogoFilesPath, "600x200.png"));
|
logo.Medium = System.IO.File.ReadAllBytes(System.IO.Path.Combine(LogoFilesPath, "300x100.png"));
|
||||||
logo.MediumType = "image/png";
|
logo.MediumType = "image/png";
|
||||||
|
|
||||||
logo.Large = System.IO.File.ReadAllBytes(System.IO.Path.Combine(LogoFilesPath, "1200x400.png"));
|
logo.Large = System.IO.File.ReadAllBytes(System.IO.Path.Combine(LogoFilesPath, "600x200.png"));
|
||||||
logo.LargeType = "image/png";
|
logo.LargeType = "image/png";
|
||||||
|
|
||||||
await ct.SaveChangesAsync();
|
await ct.SaveChangesAsync();
|
||||||
|
|||||||
Reference in New Issue
Block a user