Right now Commerce POS will open the print dialog every time a transaction is recorded. While this is a typical use case - a receipt for each tender - it would be useful to be able to turn this off sometimes.

CommentFileSizeAuthor
#2 make_printing_a_receipt-2556547-2.patch1.83 KBmglaman

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Status: Active » Needs review
StatusFileSize
new1.83 KB

Patch!

zeezhao’s picture

Thanks. Works as expected.

thekenshow’s picture

FYI, the result of this patch works as expected (thanks!) but I had the 2 rejections below because I'd already applied add_order_refreshing-2555491-2.patch.

commerce_pos.module:

@@ -380,4 +382,4 @@ function commerce_pos_commerce_pos_panes() {
     'weight' => 10,
   );
   return $panes;
-}
\ No newline at end of file
+}

commerce_pos.pages.inc:

@@ -142,4 +148,4 @@ function commerce_pos_configuration_form_submit($form, $form_state) {
       cache_clear_all("plugins:commerce_pos:$plugin_type", $info['cache table']);
     }
   }
-}
\ No newline at end of file
+}
kfitz’s picture

Patch addresses issue; provides the ability to toggle automatic report printing. Code looks good.

kfitz’s picture

Status: Needs review » Reviewed & tested by the community
smccabe’s picture

Status: Reviewed & tested by the community » Fixed

  • smccabe committed a090aa6 on 7.x-1.x authored by mglaman
    Issue #2556547 by mglaman: Make printing a receipt after payment...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.