GallusMax / open-source-self-check

An OpenSource Selfcheck system that is FAST, intuitive and - Free Software! Enhancements against the code from code.google.com/p/open-source-self-check
GNU General Public License v3.0
6 stars 4 forks source link

Ability to configure whether or not printing receipts is an option #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I simply added the line

$allow_print_receipts=false; 

to config.php and then wrapped the print <td> in pages/checkout.php with

<?php if($allow_print_receipts){?>
<td>.....</td>
<?php } ?>

It seems to work, and may be helpful to others if it could be added to the 
distributed source.

Original issue reported on code.google.com by phillip....@gmail.com on 19 May 2011 at 5:42

GoogleCodeExporter commented 8 years ago
Thanks. I'm in the process of making the receipts quite a bit more 
customizable. This would make a good addition.

Original comment by ericmelton1@gmail.com on 19 May 2011 at 5:45

GoogleCodeExporter commented 8 years ago

Original comment by ericmelton1@gmail.com on 19 May 2011 at 5:45