View Revisions: Issue #34
| Summary | 0000034: convert factureTextEnabled -> factureTextMode | ||
|---|---|---|---|
| Revision | 2017-04-17 20:54 by mtruesdell | ||
| Description | It was discovered some previous code expanded factureTextEnabled to allow it to print to a txt file directly in LGA by setting the numeric variable to 2. This may be wanted by some people so they don't have to go into the 'facture' directory in order to send by email for example (maybe they have a data plan on their laptop). Normally 0 disabled it in the code for testing purposes that was never really needed. Setting it to 1 is the default value. The variable will be renamed to reflect this. a factureTextEnabled line in the cfg will be invalid. The new map for factureTextMode is as follows: 0 -> not defined 1 -> normal, print to printer, will become value 0 2 -> special, print to file and do not save to facture directory, will become value 1 |
||
| Revision | 2017-04-17 21:22 by mtruesdell | ||
| Description | It was discovered some previous code expanded factureTextEnabled to allow it to print to a txt file directly in LGA by setting the numeric variable to 2. This may be wanted by some people so they don't have to go into the 'facture' directory in order to send by email for example (maybe they have a data plan on their laptop). Normally 0 disabled it in the code for testing purposes that was never really needed. Setting it to 1 is the default value. The variable will be renamed to reflect this. a factureTextEnabled line in the cfg will be invalid. The new map for factureTextMode is as follows: 0 -> not defined 1 -> normal, save to facture directory. Option will be remapped to 0. 2 -> special, open dialog box, save to file of user's location and do not save to facture directory. Option will be remapped to 1. |
||
| Revision | 2017-04-17 22:26 by mtruesdell | ||
| Description | Forgot to rename factureTextEnabled to factureTextMode in a previous version. It did not describe what was going on well to the programmer. The variable can have 3 values internally: 0, 1 and 2. It had been overloaded to be an enable / disable writing of facture files in the cfg which has been removed for security reasons. | ||