From a6ba81ea26df451042673fc4d0bdfed717ef1811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20=C5=A0taleker?= Date: Mon, 26 Jan 2026 12:11:24 +0100 Subject: [PATCH] kaze ponudbe ce ni datapartov - vezano na cev projekt --- EveryThing/Pages/Projects/Edit.cshtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EveryThing/Pages/Projects/Edit.cshtml b/EveryThing/Pages/Projects/Edit.cshtml index e44f58c..1f94ae0 100644 --- a/EveryThing/Pages/Projects/Edit.cshtml +++ b/EveryThing/Pages/Projects/Edit.cshtml @@ -821,7 +821,8 @@ //Skrijem vrstice povezanih dokumentov $(".invoice-row").each(function() { let idParts = $(this).attr('data-idparts').split(','); - if (idParts.includes(idProjectPart)) { + console.log(idParts); + if (idParts.includes(idProjectPart) || idParts.includes('0')) { $(this).show(); } else { $(this).hide();