2009-01-06 15:45:19 +01:00
|
|
|
# Foodsoft configuration
|
|
|
|
|
2012-08-24 19:52:38 +02:00
|
|
|
default: &defaults
|
2009-08-13 16:32:38 +02:00
|
|
|
# If you wanna serve more than one foodcoop with one installation
|
|
|
|
# Don't forget to setup databases for each foodcoop. See also MULTI_COOP_INSTALL
|
|
|
|
multi_coop_install: false
|
|
|
|
|
2012-08-24 19:52:38 +02:00
|
|
|
# If multi_coop_install you have to use a coop name, which you you wanna be selected by default
|
2018-10-13 20:16:35 +02:00
|
|
|
# Please use basic characters for scope names, matching /[-a-zA-Z0-9_]+/
|
2012-08-24 19:52:38 +02:00
|
|
|
default_scope: 'f'
|
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
# name of this foodcoop
|
|
|
|
name: FC Test
|
|
|
|
# foodcoop contact information (used for FAX messages)
|
|
|
|
contact:
|
|
|
|
street: Grüne Straße 103
|
|
|
|
zip_code: "10997"
|
|
|
|
city: Berlin
|
|
|
|
country: Deutschland
|
2013-06-12 22:56:37 +02:00
|
|
|
email: foodsoft@foodcoop.test
|
2009-01-06 15:45:19 +01:00
|
|
|
phone: "030 323 23249"
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2009-02-18 01:06:35 +01:00
|
|
|
# Homepage
|
2013-06-12 22:56:37 +02:00
|
|
|
homepage: http://www.foodcoop.test
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
# foodsoft documentation URL
|
2013-06-12 22:57:44 +02:00
|
|
|
help_url: https://github.com/foodcoops/foodsoft/wiki/Doku
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2013-03-21 22:08:09 +01:00
|
|
|
# documentation URL for the apples&pears work system
|
2013-06-12 22:57:44 +02:00
|
|
|
applepear_url: https://github.com/foodcoops/foodsoft/wiki/%C3%84pfel-u.-Birnen
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2014-06-06 17:50:20 +02:00
|
|
|
# custom foodsoft software URL (used in footer)
|
|
|
|
#foodsoft_url: https://github.com/foodcoops/foodsoft
|
|
|
|
|
2023-03-30 10:05:47 +02:00
|
|
|
# URL to redirect to after logging out
|
|
|
|
# logout_redirect_url: https://foodcoop.test
|
|
|
|
|
2014-02-21 14:28:27 +01:00
|
|
|
# Default language
|
|
|
|
#default_locale: en
|
|
|
|
# By default, foodsoft takes the language from the webbrowser/operating system.
|
|
|
|
# In case you really want foodsoft in a certain language by default, set this to true.
|
|
|
|
# When members are logged in, the language from their profile settings is still used.
|
|
|
|
#ignore_browser_locale: false
|
2014-06-25 17:32:26 +02:00
|
|
|
# Default timezone, e.g. UTC, Amsterdam, Berlin, etc.
|
|
|
|
#time_zone: Berlin
|
2014-06-27 11:45:34 +02:00
|
|
|
# Currency symbol, and whether to add a whitespace after the unit.
|
|
|
|
#currency_unit: €
|
|
|
|
#currency_space: true
|
2014-02-21 14:28:27 +01:00
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
# price markup in percent
|
|
|
|
price_markup: 2.0
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2013-07-06 23:11:50 +02:00
|
|
|
# default vat percentage for new articles
|
|
|
|
tax_default: 7.0
|
|
|
|
|
2009-08-05 12:15:37 +02:00
|
|
|
# tolerance order option: If set to false, article tolerance values do not count
|
|
|
|
# for total article price as long as the order is not finished.
|
|
|
|
tolerance_is_costly: false
|
|
|
|
|
2012-09-29 17:52:25 +02:00
|
|
|
# Ordergroups, which have less than 75 apples should not be allowed to make new orders
|
|
|
|
# Comment out this option to activate this restriction
|
2014-11-23 01:22:50 +01:00
|
|
|
#stop_ordering_under: 75
|
2012-09-29 17:52:25 +02:00
|
|
|
|
2014-02-25 10:53:28 +01:00
|
|
|
# Comment out to completely hide apple points (be sure to comment stop_ordering_under)
|
2014-11-23 01:22:50 +01:00
|
|
|
#use_apple_points: false
|
2014-02-25 10:53:28 +01:00
|
|
|
|
2013-07-10 22:02:36 +02:00
|
|
|
# ordergroups can only order when their balance is higher than or equal to this
|
|
|
|
# not fully enforced right now, since the check is only client-side
|
2014-11-23 01:22:50 +01:00
|
|
|
#minimum_balance: 0
|
|
|
|
|
|
|
|
# how many days there are between two periodic tasks
|
|
|
|
#tasks_period_days: 7
|
|
|
|
# how many days upfront periodic tasks are created
|
|
|
|
#tasks_upfront_days: 49
|
2013-07-10 22:02:36 +02:00
|
|
|
|
2014-11-22 00:33:16 +01:00
|
|
|
# default order schedule, used to provide initial dates for new orders
|
|
|
|
# (recurring dates in ical format; no spaces!)
|
|
|
|
#order_schedule:
|
|
|
|
# ends:
|
|
|
|
# recurr: FREQ=WEEKLY;INTERVAL=2;BYDAY=MO
|
|
|
|
# time: '9:00'
|
|
|
|
# # reference point, this is generally the first pickup day; empty is often ok
|
|
|
|
# #initial:
|
|
|
|
|
2013-09-20 22:40:13 +02:00
|
|
|
# When use_nick is enabled, there will be a nickname field in the user form,
|
|
|
|
# and the option to show a nickname instead of full name to foodcoop members.
|
|
|
|
# Members of a user's groups and administrators can still see full names.
|
|
|
|
use_nick: false
|
|
|
|
|
2014-04-05 18:47:16 +02:00
|
|
|
# Most plugins can be enabled/disabled here as well. Messages and wiki are enabled
|
|
|
|
# by default and need to be set to false to disable. Most other plugins needs to
|
|
|
|
# be enabled before they do anything.
|
|
|
|
#use_wiki: true
|
|
|
|
#use_messages: true
|
|
|
|
|
2014-03-19 14:01:51 +01:00
|
|
|
# Base font size for generated PDF documents
|
|
|
|
#pdf_font_size: 12
|
|
|
|
# Page size for generated PDF documents
|
|
|
|
#pdf_page_size: A4
|
|
|
|
# Some documents (like group and article PDFs) can include page breaks
|
|
|
|
# after each sublist.
|
|
|
|
#pdf_add_page_breaks: true
|
2014-08-28 08:10:57 +02:00
|
|
|
# Alternatively, this can be set for each document.
|
|
|
|
#pdf_add_page_breaks:
|
|
|
|
# order_by_groups: true
|
|
|
|
# order_by_articles: true
|
|
|
|
|
2014-06-06 17:50:20 +02:00
|
|
|
# Page footer (html allowed). Default is a Foodsoft footer. Set to `blank` for no footer.
|
|
|
|
#page_footer: <a href="http://www.foodcoop.test/">FC Test</a> is supported by <a href="http://www.hoster.test/">Hoster</a>.
|
|
|
|
|
2019-03-24 22:01:28 +01:00
|
|
|
# Custom CSS to add
|
2014-08-22 12:06:35 +02:00
|
|
|
#custom_css: 'body { background-color: #fcffba; }'
|
|
|
|
|
2017-10-12 20:50:40 +02:00
|
|
|
# Custom fields for invoice, odergroup, supplier and user.
|
|
|
|
# Check out https://github.com/plataformatec/simple_form for details about the supported options.
|
|
|
|
#custom_fields:
|
|
|
|
# user:
|
|
|
|
# - name: address
|
|
|
|
# label: Address
|
|
|
|
# - name: birthday
|
|
|
|
# label: Birthday
|
|
|
|
# as: date_picker
|
|
|
|
|
2022-01-21 15:14:29 +01:00
|
|
|
# Uncomment to add tracking code for web statistics, e.g. for Matomo. (Added to bottom of page)
|
2014-09-22 09:36:00 +02:00
|
|
|
#webstats_tracking_code: |
|
2022-01-21 15:14:29 +01:00
|
|
|
# <!-- Matomo -->
|
2014-09-22 09:36:00 +02:00
|
|
|
# ......
|
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
# email address to be used as sender
|
2013-06-12 22:56:37 +02:00
|
|
|
email_sender: foodsoft@foodcoop.test
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2016-02-26 14:42:16 +01:00
|
|
|
# domain to be used for reply emails
|
|
|
|
#reply_email_domain: reply.foodcoop.test
|
|
|
|
|
2009-03-17 18:13:00 +01:00
|
|
|
# If your foodcoop uses a mailing list instead of internal messaging system
|
2013-06-12 22:56:37 +02:00
|
|
|
#mailing_list: list@example.org
|
|
|
|
#mailing_list_subscribe: list-subscribe@example.org
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2009-03-17 18:13:00 +01:00
|
|
|
# Config for the exception_notification plugin
|
2009-01-06 15:45:19 +01:00
|
|
|
notification:
|
|
|
|
error_recipients:
|
2013-06-12 22:56:37 +02:00
|
|
|
- admin@foodcoop.test
|
2021-12-28 19:40:26 +01:00
|
|
|
feedback_recipients:
|
|
|
|
- support@foodcoop.test
|
2014-04-05 18:47:16 +02:00
|
|
|
sender_address: "\"Foodsoft Error\" <foodsoft@foodcoop.test>"
|
|
|
|
email_prefix: "[Foodsoft]"
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2014-09-02 12:18:50 +02:00
|
|
|
# http config for this host to generate links in emails (uses environment config when not set)
|
|
|
|
#protocol: http
|
|
|
|
#host: localhost
|
|
|
|
#port: 3000
|
2017-09-22 03:02:58 +02:00
|
|
|
#script_name: "/"
|
2014-09-02 12:18:50 +02:00
|
|
|
|
2015-07-20 22:33:28 +02:00
|
|
|
# Access to sharedlists, the external article-database.
|
|
|
|
# This allows a foodcoop to subscribe to a selection of a supplier's full assortment,
|
|
|
|
# and makes it possible to share data with several foodcoops. Using this requires installing
|
|
|
|
# an additional application with a separate database.
|
|
|
|
#shared_lists:
|
|
|
|
# adapter: mysql2
|
|
|
|
# host: localhost
|
|
|
|
# database: sharedlists_development
|
|
|
|
# username: root
|
|
|
|
# password:
|
|
|
|
# encoding: utf8
|
|
|
|
# socket: /opt/lampp/var/mysql/mysql.sock
|
2019-03-24 22:01:28 +01:00
|
|
|
#
|
2015-11-14 16:28:01 +01:00
|
|
|
# Instead of defining all details here, you can also point to an entry in database.yml.
|
|
|
|
#shared_lists: shared_lists
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2019-03-24 22:01:28 +01:00
|
|
|
# default to allow automatically adding new articles on sync only when less than 200 articles in total
|
|
|
|
#shared_supplier_article_sync_limit: 200
|
|
|
|
|
2012-08-24 19:52:38 +02:00
|
|
|
development:
|
|
|
|
<<: *defaults
|
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
test:
|
|
|
|
<<: *defaults
|
|
|
|
|
|
|
|
production:
|
2013-02-05 12:11:29 +01:00
|
|
|
<<: *defaults
|