Skip to content
Snippets Groups Projects
Commit 2c56b85a authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #1894 from braito4/patch-3

Missing date_start, date_end in webserver server_invoice.php
parents 4bda5156 144da163
No related branches found
No related tags found
No related merge requests found
......@@ -537,6 +537,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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment