kaze ponudbe ce ni datapartov - vezano na cev projekt
This commit is contained in:
@@ -821,7 +821,8 @@
|
|||||||
//Skrijem vrstice povezanih dokumentov
|
//Skrijem vrstice povezanih dokumentov
|
||||||
$(".invoice-row").each(function() {
|
$(".invoice-row").each(function() {
|
||||||
let idParts = $(this).attr('data-idparts').split(',');
|
let idParts = $(this).attr('data-idparts').split(',');
|
||||||
if (idParts.includes(idProjectPart)) {
|
console.log(idParts);
|
||||||
|
if (idParts.includes(idProjectPart) || idParts.includes('0')) {
|
||||||
$(this).show();
|
$(this).show();
|
||||||
} else {
|
} else {
|
||||||
$(this).hide();
|
$(this).hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user