Fix: [ bug #1380 ] Customer invoices are not grouped in company results
report
(cherry picked from commit bd061f4)
Merge pull request #1636 from marcosgdf/cp-1380

Fix: [ bug #1380 ] Customer invoices are not grouped in company results report (cherry picked from commit bd061f4)
New: Prepare to be able to defined a bcc for each type of email sent
from dolibarr.
Add comment
Prepare to be able to send bcc according to email type.
New: Can defined a bcc for each email type.
Prepare table for email templates.
Fix: When there is an error to update a thirdparty, the number for
supplier and customer code is kept to old value.
Fix: When there is an error to update a thirdparty, the number for
supplier and customer code is kept to old value.
Merge branch '3.6' of git@github.com:Dolibarr/dolibarr.git into 3.6
New: When force of bcc is set, we show it onto email form.
Fix: bad test commande_send -> order_send
Fix: mb_strtolower function does not exists on all PHP versions.
Fix: mb_strtolower function does not exists on all PHP versions.
Clean path dolibarr_main_url_root to avoid duplicate /.
Update changelog
Merge remote-tracking branch 'origin/3.5' into 3.6
Merge remote-tracking branch 'origin/3.6' into develop
New: Can add __PROJECT_REF__ and __TIHRPARTY_NAME__ into email topic or
content template.
Fix: mb_strtolower function does not exists on all PHP versions.

Conflicts:
	htdocs/core/lib/pdf.lib.php