From 1e5950028fa0a5ca010dbd762c9800711c8f72a3 Mon Sep 17 00:00:00 2001 From: "DESKTOP-T0O5CDB\\DESK-555BD" Date: Fri, 24 Jan 2025 13:01:56 -0700 Subject: [PATCH] add attachments column --- Views/Vehicle/_AttachmentColumn.cshtml | 9 +++++++++ Views/Vehicle/_CollisionRecords.cshtml | 8 ++++++++ Views/Vehicle/_Gas.cshtml | 8 ++++++++ Views/Vehicle/_OdometerRecords.cshtml | 8 ++++++++ Views/Vehicle/_ServiceRecords.cshtml | 8 ++++++++ Views/Vehicle/_SupplyRecords.cshtml | 8 ++++++++ Views/Vehicle/_TaxRecords.cshtml | 8 ++++++++ Views/Vehicle/_UpgradeRecords.cshtml | 8 ++++++++ wwwroot/css/site.css | 8 ++++++++ wwwroot/defaults/en_US.json | 2 +- 10 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 Views/Vehicle/_AttachmentColumn.cshtml diff --git a/Views/Vehicle/_AttachmentColumn.cshtml b/Views/Vehicle/_AttachmentColumn.cshtml new file mode 100644 index 0000000..aff8b6c --- /dev/null +++ b/Views/Vehicle/_AttachmentColumn.cshtml @@ -0,0 +1,9 @@ +@model List +@if (Model.Any()){ + + + + @Model.Count() + + +} \ No newline at end of file diff --git a/Views/Vehicle/_CollisionRecords.cshtml b/Views/Vehicle/_CollisionRecords.cshtml index 8127cac..6743de1 100644 --- a/Views/Vehicle/_CollisionRecords.cshtml +++ b/Views/Vehicle/_CollisionRecords.cshtml @@ -78,6 +78,12 @@ + + + + + + +