PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.21
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.21
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/Templates/Adapters/Epos_Xml_Output_Adapter.php +4 -1 1.10.2 → 1.10.21 View file →
@@ -26,10 +26,13 @@
26 26 $order_number = isset( $receipt_data['order']['number'] ) ? (string) $receipt_data['order']['number'] : '';
27 27 $total = isset( $receipt_data['totals']['total_incl'] ) ? (float) $receipt_data['totals']['total_incl'] : 0;
28 28 $lines = array(
29 29 '<epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">',
30 + // ePOS <text> attributes are printer state that persists across jobs, so
31 + // start from a known reset and switch emphasis off again explicitly.
32 + '<text align="left" em="false" ul="false" reverse="false" dw="false" dh="false"/>',
30 33 '<text align="center" em="true">' . $this->escape( $store_name ) . "\n" . '</text>',
31 - '<text align="center">RECEIPT' . "\n" . '</text>',
34 + '<text align="center" em="false">RECEIPT' . "\n" . '</text>',
32 35 '<text align="left">Order #' . $this->escape( $order_number ) . "\n" . '</text>',
33 36 );
34 37
35 38 foreach ( $this->line_items( $receipt_data ) as $item ) {