Setup Other: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 36: Line 36:
*'''ADD_UNSPLASH_LOGIN_BACKGROUND''' ► The background image will be refreshed on every login page refresh. Background image is pulled from the popular open source image website Unsplash. If an already saved static background image exists, then this code will override it (but not delete the saved image). Warning: Using this may allow this external website to steel your login credentials ► (v10.0)
*'''ADD_UNSPLASH_LOGIN_BACKGROUND''' ► The background image will be refreshed on every login page refresh. Background image is pulled from the popular open source image website Unsplash. If an already saved static background image exists, then this code will override it (but not delete the saved image). Warning: Using this may allow this external website to steel your login credentials ► (v10.0)


*'''MAIN_APPLICATION_TITLE''' ► This will change the title of software (that appears on the login page by default). Warning: changing this may make Dolibarr version detection fail by smartphone applications like [[Application Android - DoliDroid]] breaking some features when using Dolibarr from this application.
*'''MAIN_APPLICATION_TITLE''' ► This will change the titl
e of software (that appears on the login page by default). Warning: changing this may make Dolibarr version detection fail by smartphone applications like [[Application Android - DoliDroid]] breaking some features when using Dolibarr from this application.


*'''MAIN_AUTOFILL_DATE''' ► If this constant is defined (to something other than <code>0</code>), the date of invoice, proposal, order or payment are auto-filled with the current date. It is highly recommended to NOT ENABLE this feature. This can create a lot of input errors with data not validated by users. This leads to incorrect values saved in the database causing confusion when you have to do your accountancy reports!
*'''MAIN_AUTOFILL_DATE''' ► If this constant is defined (to something other than <code>0</code>), the date of invoice, proposal, order or payment are auto-filled with the current date. It is highly recommended to NOT ENABLE this feature. This can create a lot of input errors with data not validated by users. This leads to incorrect values saved in the database causing confusion when you have to do your accountancy reports!
Line 145: Line 146:
*'''MAIN_VAT_DEFAULT_IF_AUTODETECT_FAILS''' ► Allow to force the VAT rate to a given value (instead of higher VAT rate of country) if the VAT rate of product was not defined.
*'''MAIN_VAT_DEFAULT_IF_AUTODETECT_FAILS''' ► Allow to force the VAT rate to a given value (instead of higher VAT rate of country) if the VAT rate of product was not defined.


*'''MAIN_USE_VAT_COMPANIES_IN_EEC_WITH_INVALID_VAT_ID_ARE_INDIVIDUAL''' ► If the buyer is a company that is in Europe but has no valid intracommunautary VAT ID, it is processed like if it is an individual, not a company (even if a prof id or the thiddparty type is not individual). TODO: Must be implemented into accountancy module too instead of being set to <code>1</code> systematically into accountancy module.
*'''MAIN_UNKNOWN_CUSTOMERS_ARE_COMPANIES''' ► If we can't guess if a thirdparty is a company or individual (not VAT ID fill, no Prof ID fill, no type of thirdparty fill), then we suppose it is a company (B2B business) instead of an individual (B2C business).
 
*'''MAIN_USE_VAT_COMPANIES_IN_EEC_WITH_INVALID_VAT_ID_ARE_INDIVIDUAL''' ► For intra CEE sales, we use by default a 0 VAT for customers that are companies (see MAIN_UNKNOWN_CUSTOMERS_ARE_COMPANIES to change behaviour to know if a thirdparty is a company or an individual). If the option MAIN_USE_VAT_COMPANIES_IN_EEC_WITH_INVALID_VAT_ID_ARE_INDIVIDUAL is set, we use the 0 VAT only if a VAT ID is defined for the customer.


*'''MAIN_USE_VAT_OF_PRODUCT_FOR_INDIVIDUAL_CUSTOMER_OUT_OF_EEC''' ► For to use the default VAT of product for individual customers that are out E.E.C. (European Economic Community) ► (v7.0+). ''There is no reason to use this.''
*'''MAIN_USE_VAT_OF_PRODUCT_FOR_INDIVIDUAL_CUSTOMER_OUT_OF_EEC''' ► For to use the default VAT of product for individual customers that are out E.E.C. (European Economic Community) ► (v7.0+). ''There is no reason to use this.''

Navigation menu