From e29fd39e39f4124b41e7fabbb504df43247f5495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20=C5=A0taleker?= Date: Sat, 28 Feb 2026 10:05:32 +0100 Subject: [PATCH] iskanje --- EveryThing/Pages/Projects/Edit.cshtml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/EveryThing/Pages/Projects/Edit.cshtml b/EveryThing/Pages/Projects/Edit.cshtml index 1f94ae0..e1242cf 100644 --- a/EveryThing/Pages/Projects/Edit.cshtml +++ b/EveryThing/Pages/Projects/Edit.cshtml @@ -614,6 +614,7 @@ }
+ @@ -849,6 +850,14 @@ refreshPrices(); }); + function searchPartItems(input, idProjectPart) { + let filter = $(input).val().toLowerCase(); + $('#accordion-' + idProjectPart + ' tbody tr').each(function() { + let text = $(this).text().toLowerCase(); + $(this).toggle(text.indexOf(filter) > -1); + }); + } + function showAllInvoices() { $(".invoice-row").each(function() { $(this).show();