Naprawa buga z wyliczeniem płatności, dostawy i przy edycji zamówienia z punktami

This commit is contained in:
2024-02-01 12:19:15 +01:00
parent d7d86c40fe
commit b1b87a93f6
3 changed files with 42 additions and 21 deletions

View File

@@ -40,7 +40,7 @@
<iaixsl:if test="(number(/shop/basket/@cost) = 0) and (number(/shop/basket/@points_used) = 0)">
<script>window.location.href="/return.php?status=order_minimum"</script>
</iaixsl:if>
<iaixsl:if test="number(/shop/basket/@points_used) &gt; number(/shop/basket/@client_points)">
<iaixsl:if test="(number(/shop/basket/@points_used) &gt; number(/shop/basket/@client_points)) and not(/shop/order_edit)">
<script>window.location.href="/return.php?status=order_notenoughpoints"</script>
</iaixsl:if>
@@ -1166,7 +1166,6 @@
</iaixsl:choose>
</div>
</div>
<div class="cop_button_txt"></div>
</div>
</div>
</div>