[Koha-bugs] [Bug 11415] SCO has no option to disable automatic receipt printing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 6 09:21:14 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11415

--- Comment #3 from Chris Cormack <chris at bigballofwax.co.nz> ---
Comment on attachment 23904
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23904
Implements syspref for SCO receipt printing

Review of attachment 23904:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=11415&attachment=23904)
-----------------------------------------------------------------

::: installer/data/mysql/updatedatabase.pl
@@ +7886,5 @@
>  }
>  
> +$DBversion = "3.15.00.XXX";
> +if(CheckVersion($DBversion)) {
> +   $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('SelfCheckReceiptPrompt', '0', 'NULL', 'If ON, print receipt dialog pops up when self checkout is finished.', 'YesNo');");

This all looks good, and works well. Our rule of thumb though is to not change
behaviour. This syspref is set off, so once you upgrade you will no longer get
the prompt showing up.
I think it should go into the update as on, so the behaviour doesn't change on
upgrade, people can switch it off.

It can go in off for new installs though.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list