Initial commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
using PowderCoating.Application.DTOs.Accounting;
|
||||
using PowderCoating.Application.DTOs.Company;
|
||||
using PowderCoating.Application.DTOs.GiftCertificate;
|
||||
using PowderCoating.Application.DTOs.Invoice;
|
||||
using PowderCoating.Application.DTOs.PurchaseOrder;
|
||||
using PowderCoating.Application.DTOs.Quote;
|
||||
using PowderCoating.Core.Entities;
|
||||
|
||||
namespace PowderCoating.Application.Interfaces;
|
||||
|
||||
public interface IPdfService
|
||||
{
|
||||
Task<byte[]> GenerateQuotePdfAsync(
|
||||
QuoteDto quoteDto,
|
||||
byte[]? companyLogo,
|
||||
string? companyLogoContentType,
|
||||
CompanyInfoDto companyInfo,
|
||||
QuoteTemplateSettingsDto? template = null,
|
||||
byte[]? preparedByPhoto = null);
|
||||
|
||||
Task<byte[]> GenerateInvoicePdfAsync(
|
||||
InvoiceDto invoiceDto,
|
||||
byte[]? companyLogo,
|
||||
string? companyLogoContentType,
|
||||
CompanyInfoDto companyInfo,
|
||||
QuoteTemplateSettingsDto? template = null);
|
||||
|
||||
Task<byte[]> GeneratePurchaseOrderPdfAsync(
|
||||
PurchaseOrderDto po,
|
||||
byte[]? companyLogo,
|
||||
string? companyLogoContentType,
|
||||
CompanyInfoDto companyInfo);
|
||||
|
||||
Task<byte[]> GenerateCatalogPdfAsync(
|
||||
IEnumerable<IGrouping<CatalogCategory, CatalogItem>> itemsByCategory,
|
||||
string companyName,
|
||||
byte[]? companyLogo,
|
||||
string? companyLogoContentType);
|
||||
|
||||
Task<byte[]> GenerateProfitAndLossPdfAsync(ProfitAndLossDto dto);
|
||||
Task<byte[]> GenerateBalanceSheetPdfAsync(BalanceSheetDto dto);
|
||||
Task<byte[]> GenerateArAgingPdfAsync(ArAgingReportDto dto);
|
||||
Task<byte[]> GenerateSalesAndIncomePdfAsync(SalesIncomeReportDto dto);
|
||||
|
||||
Task<byte[]> GenerateGiftCertificatePdfAsync(
|
||||
GiftCertificateDto cert,
|
||||
byte[]? companyLogo,
|
||||
string? companyLogoContentType,
|
||||
CompanyInfoDto companyInfo);
|
||||
}
|
||||
Reference in New Issue
Block a user