Setting('REVERSE_PROXY_AUTH_HEADER','REMOTE_USER');// The name of the HTTP header which your reverse proxy uses to pass the username (on successful authentication)
Setting('REVERSE_PROXY_AUTH_USE_ENV',false);// Set to true if the username is passed as environment variable
Setting('TPRINTER_CONNECTOR','/dev/usb/lp0');// Printer device (does only matter if you use a locally attached printer)
// For USB on Linux this is often '/dev/usb/lp0', for serial printers it could be similar to '/dev/ttyS0'
// Make sure that the user that runs the webserver has permissions to write to the printer - on Linux add your webserver user to the LP group with usermod -a -G lp www-data
Setting('FEATURE_FLAG_DISABLE_BROWSER_BARCODE_CAMERA_SCANNING',false);// Set this to true if you want to disable the ability to scan a barcode via the device camera (Browser API)
DefaultUserSetting('night_mode','follow-system');// "on" = Night mode is always on ; "off" = Night mode is always off / "follow-system" = System preferred color schema is used
DefaultUserSetting('auto_night_mode_enabled',false);// If night mode is enabled automatically when inside a given time range (see the two settings below)
DefaultUserSetting('auto_night_mode_time_range_from','20:00');// Format HH:mm
DefaultUserSetting('auto_night_mode_time_range_to','07:00');// Format HH:mm
DefaultUserSetting('auto_night_mode_time_range_goes_over_midnight',true);// If the time range above goes over midnight
// Generic settings
DefaultUserSetting('auto_reload_on_db_change',false);// If the page should be automatically reloaded when there was an external change
DefaultUserSetting('show_clock_in_header',false);// Show a clock in the header next to the logo or not
DefaultUserSetting('keep_screen_on',false);// If the screen should always be kept on
DefaultUserSetting('keep_screen_on_when_fullscreen_card',false);// If the screen should be kept on when a "fullscreen-card" is displayed
// Stock settings
DefaultUserSetting('product_presets_location_id',-1);// Default location id for new products (-1 means no location is preset)
DefaultUserSetting('product_presets_product_group_id',-1);// Default product group id for new products (-1 means no product group is preset)
DefaultUserSetting('product_presets_qu_id',-1);// Default quantity unit id for new products (-1 means no quantity unit is preset)
DefaultUserSetting('product_presets_default_due_days',0);// Default due days for new products (-1 means that the product will be never overdue)
DefaultUserSetting('product_presets_treat_opened_as_out_of_stock',true);// Default "Treat opened as out of stock" option for new products
DefaultUserSetting('stock_decimal_places_amounts',4);// Default decimal places allowed for amounts
DefaultUserSetting('stock_decimal_places_prices',2);// Default decimal places allowed for prices
DefaultUserSetting('stock_auto_decimal_separator_prices',false);// If the decimal separator should be set automatically for amount inputs
DefaultUserSetting('stock_due_soon_days',5);// The "expiring soon" days
DefaultUserSetting('stock_default_purchase_amount',0);// The default amount prefilled on the purchase page
DefaultUserSetting('stock_default_consume_amount',1);// The default amount prefilled on the consume page
DefaultUserSetting('stock_default_consume_amount_use_quick_consume_amount',false);// If the products quick consume amount should be prefilled on the consume page
DefaultUserSetting('scan_mode_consume_enabled',false);// If scan mode on the consume page is enabled
DefaultUserSetting('scan_mode_purchase_enabled',false);// If scan mode on the purchase page is enabled
DefaultUserSetting('show_icon_on_stock_overview_page_when_product_is_on_shopping_list',true);// When enabled, an icon is shown on the stock overview page (next to the product name) when the prodcut is currently on a shopping list
DefaultUserSetting('show_purchased_date_on_purchase',false);// Whether the purchased date should be editable on purchase (defaults to today otherwise)
DefaultUserSetting('show_warning_on_purchase_when_due_date_is_earlier_than_next',true);// Show a warning on purchase when the due date of the purchased product is earlier than the next due date in stock
DefaultUserSetting('stock_auto_add_below_min_stock_amount_to_shopping_list',false);// If products should be automatically added to the shopping list when they are below their min. stock amount
DefaultUserSetting('stock_auto_add_below_min_stock_amount_to_shopping_list_id',1);// When the above setting is enabled, the id of the shopping list to which the products will be added
DefaultUserSetting('shopping_list_to_stock_workflow_auto_submit_when_prefilled',false);// Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default due days" set
DefaultUserSetting('shopping_list_show_calendar',false);// When enabled, a small (month view) calendar will be shown on the shopping list page
// Recipe settings
DefaultUserSetting('recipe_ingredients_group_by_product_group',false);// Group recipe ingredients by their product group
DefaultUserSetting('recipes_show_list_side_by_side',true);// If the recipe should be displayed next to recipe list on the recipes page
DefaultUserSetting('recipes_show_ingredient_checkbox',false);// When enabled, a little checkbox will be shown next to each ingredient to mark it as done