From 90e2b0abb52d829e17284451b06ad7aae359b57f Mon Sep 17 00:00:00 2001 From: guillermo Date: Fri, 7 Jun 2024 08:51:03 +0200 Subject: [PATCH] refactor: refs #7498 Deleted method --- rest/dms/invoice.php | 21 --------------------- rest/dms/invoice.sql | 5 ----- 2 files changed, 26 deletions(-) delete mode 100644 rest/dms/invoice.php delete mode 100644 rest/dms/invoice.sql diff --git a/rest/dms/invoice.php b/rest/dms/invoice.php deleted file mode 100644 index 4afa3f4c..00000000 --- a/rest/dms/invoice.php +++ /dev/null @@ -1,21 +0,0 @@ -getValueFromFile(__DIR__ .'/invoice', - ['invoice' =>(int) $_GET['invoice']]); - - if (!$pdfPath) - throw new Lib\UserException(s('Invoice id not found')); - - Util::printFile($pdfPath); - } -} - diff --git a/rest/dms/invoice.sql b/rest/dms/invoice.sql deleted file mode 100644 index cf3725b5..00000000 --- a/rest/dms/invoice.sql +++ /dev/null @@ -1,5 +0,0 @@ - -SELECT CONCAT_WS('/', c.pdfsDir, vn.invoiceOut_getPath(#invoice)) - FROM config c - JOIN myInvoice i - WHERE i.id = #invoice