diff --git a/Documents/Templates/Quotes/Template_v1.cshtml b/Documents/Templates/Quotes/Template_v1.cshtml index e9ac6ed..3c71ea2 100644 --- a/Documents/Templates/Quotes/Template_v1.cshtml +++ b/Documents/Templates/Quotes/Template_v1.cshtml @@ -157,10 +157,10 @@ - - - - + + + + diff --git a/phronCare.API/Controllers/Sales/QuoteController.cs b/phronCare.API/Controllers/Sales/QuoteController.cs index 6e7569a..8688be1 100644 --- a/phronCare.API/Controllers/Sales/QuoteController.cs +++ b/phronCare.API/Controllers/Sales/QuoteController.cs @@ -72,7 +72,7 @@ namespace phronCare.API.Controllers.Sales } } - [HttpGet("quote/{id}/pdf")] + [HttpGet("{id}/pdf")] public async Task GetQuotePdf(int id) { var quote = await _quoteService.GetDtoByIdAsync(id); diff --git a/phronCare.API/obj/Debug/net8.0/ApiEndpoints.json b/phronCare.API/obj/Debug/net8.0/ApiEndpoints.json index 92fddc1..348da42 100644 --- a/phronCare.API/obj/Debug/net8.0/ApiEndpoints.json +++ b/phronCare.API/obj/Debug/net8.0/ApiEndpoints.json @@ -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",
DescripciónCantidadPrecio UnitarioSubtotalDescripciónCantidadPrecio UnitarioSubtotal