From f1e0254f9573dc8011bfc63efa0d5acb68973e59 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GENO133\\IvanPlex" Date: Mon, 8 Jan 2024 10:53:44 -0700 Subject: [PATCH] added ability to rename uploaded files on tax records. --- Views/Vehicle/_TaxRecordModal.cshtml | 9 +-------- Views/Vehicle/_TaxRecords.cshtml | 2 +- wwwroot/js/taxrecord.js | 4 ---- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/Views/Vehicle/_TaxRecordModal.cshtml b/Views/Vehicle/_TaxRecordModal.cshtml index c3381c6..0c18eca 100644 --- a/Views/Vehicle/_TaxRecordModal.cshtml +++ b/Views/Vehicle/_TaxRecordModal.cshtml @@ -28,14 +28,7 @@ @if (Model.Files.Any()) {
- - @foreach (UploadedFiles filesUploaded in Model.Files) - { - - } + @await Html.PartialAsync("_UploadedFiles", Model.Files)
diff --git a/Views/Vehicle/_TaxRecords.cshtml b/Views/Vehicle/_TaxRecords.cshtml index b76ced0..02c6fde 100644 --- a/Views/Vehicle/_TaxRecords.cshtml +++ b/Views/Vehicle/_TaxRecords.cshtml @@ -56,7 +56,7 @@ -