forked from CGM_Public/pretix_original
committed by
Raphael Michel
parent
5999604e8e
commit
2f0c7c0ebc
@@ -74,10 +74,12 @@ $(function () {
|
||||
}
|
||||
|
||||
$("#sumtoggle").find("button").click(function () {
|
||||
$(".table-product-overview .sum").toggle($(this).attr("data-target") === ".sum");
|
||||
$(".table-product-overview .sum-gross").toggle($(this).attr("data-target") === ".sum-gross");
|
||||
$(".table-product-overview .sum-net").toggle($(this).attr("data-target") === ".sum-net");
|
||||
$(".table-product-overview .count").toggle($(this).attr("data-target") === ".count");
|
||||
|
||||
$("#sumtoggle").find("button").not($(this)).removeClass("active");
|
||||
$(this).addClass("active");
|
||||
$(".table-product-overview .count").toggle($(this).attr("data-target") === ".count");
|
||||
});
|
||||
|
||||
$('.collapsible').collapse();
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
th:not(:first-child) {
|
||||
text-align: right;
|
||||
}
|
||||
span.sum {
|
||||
span.sum-net, span.sum-gross {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -29,4 +29,4 @@
|
||||
p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user