Revert "Add invoice label in supplier invoice web service"

This reverts commit 8b288d99ff.
This commit is contained in:
Laurent Destailleur 2017-12-12 11:45:12 +01:00
parent 8b288d99ff
commit e9eeb59068

View File

@ -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,