PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.17
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.17
1.10.25 1.10.24 1.10.23 1.10.22 1.10.21 1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 All 169 releases
← All changes | includes/Services/Preview_Receipt_Builder.php +6 -5 1.10.4 → 1.10.17 View file →
@@ -754,13 +754,14 @@
754 754 );
755 755
756 756 $discounts = array(
757 757 array(
758 - 'label' => $discount_label,
759 - 'code' => 'SUMMER10',
760 - 'total' => $display_incl ? $discount_incl : $discount_excl,
761 - 'total_incl' => $discount_incl,
762 - 'total_excl' => $discount_excl,
758 + 'label' => $discount_label,
759 + 'code' => 'SUMMER10',
760 + 'discount_type' => 'fixed_cart',
761 + 'total' => $display_incl ? $discount_incl : $discount_excl,
762 + 'total_incl' => $discount_incl,
763 + 'total_excl' => $discount_excl,
763 764 ),
764 765 );
765 766
766 767 $sale_savings_total_incl = (float) array_sum( array_column( $lines, 'line_savings_incl' ) );