Fixed the "Download Expenses File" URL (#785)

* Fixed the download PDF URL

Added the "/reports" prefix to the "Download PDF" Button of the Create.vue file. Now the download redirect works correctly.

Fixed with @SpyrosKoustas.

* Fixed the missing "/reports" prefix

Added the missing "/reports" prefix so that the project must not be rebuilt.

Fixed with @Dimitris-Provatas

Co-authored-by: Spyros Georg Koustas <spyros.koustas@hotmail.com>
This commit is contained in:
Dimitris Provatas
2022-02-15 07:30:31 +02:00
committed by GitHub
parent 82dbee4794
commit c9d6824f8c
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -381,7 +381,7 @@ const pageTitle = computed(() =>
)
const receiptDownloadUrl = computed(() =>
isEdit.value ? `/expenses/${route.params.id}/download-receipt` : ''
isEdit.value ? `/reports/expenses/${route.params.id}/download-receipt` : ''
)
expenseStore.resetCurrentExpenseData()