From f596978a681d3e7babc20e405139d37393ae9934 Mon Sep 17 00:00:00 2001 From: Leandro Hernan Rojas Date: Sat, 17 May 2025 00:23:45 -0300 Subject: [PATCH] Add Patch QuotePDF --- Documents/Templates/Quotes/Template_v1.cshtml | 8 ++--- .../Controllers/Sales/QuoteController.cs | 2 +- .../obj/Debug/net8.0/ApiEndpoints.json | 32 +++++++++---------- 3 files changed, 21 insertions(+), 21 deletions(-) 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