png invoice

This commit is contained in:
mmrbnjd
2025-01-09 16:01:37 +03:30
parent 8f9a30c310
commit 83a690ba6b
7 changed files with 362 additions and 53 deletions

View File

@@ -83,6 +83,7 @@ builder.Services.AddScoped<ServOrders>();
builder.Services.AddScoped<ServPricing>();
builder.Services.AddScoped<ServWalt>();
builder.Services.AddScoped<AUInvoicePayValidation>();
builder.Services.AddScoped<servReport>();
builder.Services.AddScoped(c => new mpNuget.RestClient("09119660045", "C54S2"));
string origins = "OriginTaxPayer";
@@ -94,7 +95,7 @@ builder.Services.AddCors(options =>
policy.WithOrigins("https://localhost:7224", "http://localhost:5107"
, "http://195.88.208.142", "http://moadiran.ir"
, "https://195.88.208.142", "https://moadiran.ir"
, "https://195.88.208.142:440", "https://moadiran.ir:440")
, "https://195.88.208.142:440", "https://moadiran.ir:440", "https://localhost:44346")
.AllowAnyHeader()
.WithHeaders(HeaderNames.ContentType)
.AllowAnyMethod();