Update receipt.php
This commit is contained in:
parent
cca9dd6c81
commit
1c2e21a3ed
@ -69,7 +69,7 @@ if (GETPOST('action', 'alpha') == 'set') {
|
||||
} elseif (GETPOST('action', 'alpha') == 'setmethod') {
|
||||
dolibarr_set_const($db, "TAKEPOS_PRINT_METHOD", GETPOST('value', 'alpha'), 'chaine', 0, '', $conf->entity);
|
||||
// TakePOS connector require ReceiptPrinter module
|
||||
if ($conf->global->TAKEPOS_PRINT_METHOD == "takeposconnector" && isModEnabled('receiptprinter')) {
|
||||
if ($conf->global->TAKEPOS_PRINT_METHOD == "takeposconnector" && !isModEnabled('receiptprinter')) {
|
||||
activateModule("modReceiptPrinter");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user