From b7ef2db5d9aa13fa8ae00bbc9c26eb37aaecbfc4 Mon Sep 17 00:00:00 2001 From: braito4 Date: Tue, 16 Sep 2014 19:33:07 +0200 Subject: [PATCH 1/2] problem with type of product the column should be product_type --- htdocs/webservices/server_invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/webservices/server_invoice.php b/htdocs/webservices/server_invoice.php index c79c862146c..0b601347f38 100644 --- a/htdocs/webservices/server_invoice.php +++ b/htdocs/webservices/server_invoice.php @@ -528,7 +528,7 @@ function createInvoice($authentication,$invoice) { // $key can be 'line' or '0','1',... $newline=new FactureLigne($db); - $newline->type=$line['type']; + $newline->product_type=$line['type']; $newline->desc=$line['desc']; $newline->fk_product=$line['fk_product']; $newline->tva_tx=$line['vat_rate']; From 634d5aa54954664b834f6575dd8d587c4addfc6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Tue, 23 Sep 2014 19:33:36 +0200 Subject: [PATCH 2/2] FIX: double header --- htdocs/projet/activity/list.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/htdocs/projet/activity/list.php b/htdocs/projet/activity/list.php index 89e23bf6a07..430970c981d 100644 --- a/htdocs/projet/activity/list.php +++ b/htdocs/projet/activity/list.php @@ -131,10 +131,6 @@ $tasksrole=$taskstatic->getUserRolesForProjectsOrTasks(0,$user,($project->id?$pr //var_dump($taskrole); - -llxHeader("",$title,""); - - llxHeader("",$title,""); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], "", $sortfield, $sortorder, "", $num);