Add invoice label in supplier invoice web service
This commit is contained in:
parent
af1028576d
commit
8b288d99ff
@ -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,7 +131,8 @@ $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'),
|
||||
'fk_user_author' => array('name'=>'fk_user_author','type'=>'xsd:int'),
|
||||
'label' => array('name'=>'label','type'=>'xsd:string'),
|
||||
'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'),
|
||||
@ -277,8 +278,9 @@ function getSupplierInvoice($authentication,$id='',$ref='',$ref_ext='')
|
||||
'id' => $invoice->id,
|
||||
'ref' => $invoice->ref,
|
||||
'ref_supplier'=>$invoice->ref_supplier,
|
||||
'ref_ext' => $invoice->ref_ext,
|
||||
'fk_user_author' => $invoice->fk_user_author,
|
||||
'ref_ext' => $invoice->ref_ext,
|
||||
'label' => $invoice->libelle,
|
||||
'fk_user_author' => $invoice->fk_user_author,
|
||||
'fk_user_valid' => $invoice->fk_user_valid,
|
||||
'fk_thirdparty' => $invoice->fk_soc,
|
||||
'type'=>$invoice->type,
|
||||
@ -410,7 +412,8 @@ function getSupplierInvoicesForThirdParty($authentication,$idthirdparty)
|
||||
'ref'=>$invoice->ref,
|
||||
'ref_supplier'=>$invoice->ref_supplier,
|
||||
'ref_ext'=>$invoice->ref_ext,
|
||||
'fk_user_author' => $invoice->fk_user_author,
|
||||
'label' => $invoice->libelle,
|
||||
'fk_user_author' => $invoice->fk_user_author,
|
||||
'fk_user_valid' => $invoice->fk_user_valid,
|
||||
'fk_thirdparty' => $invoice->fk_soc,
|
||||
'type'=>$invoice->type,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user