Merge remote-tracking branch 'origin/3.6' into develop

Conflicts:
	htdocs/societe/consumption.php
This commit is contained in:
Laurent Destailleur 2014-09-19 11:09:51 +02:00
commit 2a9275d0de
3 changed files with 4 additions and 2 deletions

View File

@ -68,4 +68,4 @@ Description: Web based software to manage a company or foundation
PDF exports,
And a lot more modules...
.
You can also add third parties external modules or develop yours.
You can also add external modules from third parties or develop yours.

View File

@ -1221,7 +1221,7 @@ function dol_print_reduction($reduction,$langs)
$string = '';
if ($reduction == 100)
{
$string = $langs->trans("Offered");
$string = $langs->transnoentities("Offered");
}
else
{

View File

@ -541,6 +541,8 @@ function createInvoice($authentication,$invoice)
$newline->total_ht=$line['total_net'];
$newline->total_tva=$line['total_vat'];
$newline->total_ttc=$line['total'];
$newline->date_start=dol_stringtotime($line['date_start']);
$newline->date_end=dol_stringtotime($line['date_end']);
$newline->fk_product=$line['product_id'];
$newobject->lines[]=$newline;
}