From e9eeb5906874a8702da9121540783d55efd82054 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 12 Dec 2017 11:45:12 +0100 Subject: [PATCH] Revert "Add invoice label in supplier invoice web service" This reverts commit 8b288d99ffe3bbc5258660e0fac1377dbcbaf8d1. --- htdocs/webservices/server_supplier_invoice.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/htdocs/webservices/server_supplier_invoice.php b/htdocs/webservices/server_supplier_invoice.php index 635014a1d20..ea162ef2a8b 100644 --- a/htdocs/webservices/server_supplier_invoice.php +++ b/htdocs/webservices/server_supplier_invoice.php @@ -91,7 +91,7 @@ $server->wsdl->addComplexType( array( 'id' => array('name'=>'id','type'=>'xsd:string'), 'type' => array('name'=>'type','type'=>'xsd:int'), - 'desc' => array('name'=>'desc','type'=>'xsd:string'), + 'desc' => array('name'=>'desc','type'=>'xsd:string'), 'fk_product' => array('name'=>'fk_product','type'=>'xsd:int'), 'total_net' => array('name'=>'total_net','type'=>'xsd:double'), 'total_vat' => array('name'=>'total_vat','type'=>'xsd:double'), @@ -131,8 +131,7 @@ $server->wsdl->addComplexType( 'ref' => array('name'=>'ref','type'=>'xsd:string'), 'ref_ext' => array('name'=>'ref_ext','type'=>'xsd:string'), 'ref_supplier' => array('name'=>'ref_supplier','type'=>'xsd:string'), - 'label' => array('name'=>'label','type'=>'xsd:string'), - 'fk_user_author' => array('name'=>'fk_user_author','type'=>'xsd:int'), + 'fk_user_author' => array('name'=>'fk_user_author','type'=>'xsd:int'), 'fk_user_valid' => array('name'=>'fk_user_valid','type'=>'xsd:int'), 'fk_thirdparty' => array('name'=>'fk_thirdparty','type'=>'xsd:int'), 'date_creation' => array('name'=>'date_creation','type'=>'xsd:dateTime'), @@ -278,9 +277,8 @@ function getSupplierInvoice($authentication,$id='',$ref='',$ref_ext='') 'id' => $invoice->id, 'ref' => $invoice->ref, 'ref_supplier'=>$invoice->ref_supplier, - 'ref_ext' => $invoice->ref_ext, - 'label' => $invoice->libelle, - 'fk_user_author' => $invoice->fk_user_author, + 'ref_ext' => $invoice->ref_ext, + 'fk_user_author' => $invoice->fk_user_author, 'fk_user_valid' => $invoice->fk_user_valid, 'fk_thirdparty' => $invoice->fk_soc, 'type'=>$invoice->type, @@ -412,8 +410,7 @@ function getSupplierInvoicesForThirdParty($authentication,$idthirdparty) 'ref'=>$invoice->ref, 'ref_supplier'=>$invoice->ref_supplier, 'ref_ext'=>$invoice->ref_ext, - 'label' => $invoice->libelle, - 'fk_user_author' => $invoice->fk_user_author, + 'fk_user_author' => $invoice->fk_user_author, 'fk_user_valid' => $invoice->fk_user_valid, 'fk_thirdparty' => $invoice->fk_soc, 'type'=>$invoice->type,