Add Patch QuotePDF
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 3m8s

This commit is contained in:
Leandro Hernan Rojas 2025-05-17 00:23:45 -03:00
parent 0b20a6432f
commit f596978a68
3 changed files with 21 additions and 21 deletions

View File

@ -157,10 +157,10 @@
<table>
<thead>
<tr>
<th style="width: 40%;">Descripción</th>
<th style="width: 15%; text-align: center;">Cantidad</th>
<th style="width: 20%; text-align: right;">Precio Unitario</th>
<th style="width: 25%; text-align: right;">Subtotal</th>
<th style="width: 70%;">Descripción</th>
<th style="width: 10%; text-align: center;">Cantidad</th>
<th style="width: 10%; text-align: right;">Precio Unitario</th>
<th style="width: 10%; text-align: right;">Subtotal</th>
</tr>
</thead>
<tbody>

View File

@ -72,7 +72,7 @@ namespace phronCare.API.Controllers.Sales
}
}
[HttpGet("quote/{id}/pdf")]
[HttpGet("{id}/pdf")]
public async Task<IActionResult> GetQuotePdf(int id)
{
var quote = await _quoteService.GetDtoByIdAsync(id);

View File

@ -1586,6 +1586,22 @@
],
"ReturnTypes": []
},
{
"ContainingType": "phronCare.API.Controllers.Sales.QuoteController",
"Method": "GetQuotePdf",
"RelativePath": "api/Quote/{id}/pdf",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "id",
"Type": "System.Int32",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "phronCare.API.Controllers.Sales.QuoteController",
"Method": "CreateFullQuote",
@ -1602,22 +1618,6 @@
],
"ReturnTypes": []
},
{
"ContainingType": "phronCare.API.Controllers.Sales.QuoteController",
"Method": "GetQuotePdf",
"RelativePath": "api/Quote/quote/{id}/pdf",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "id",
"Type": "System.Int32",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "phronCare.API.Controllers.Sales.QuoteController",
"Method": "Search",