From 94ca52886049357a30c9b3a23f69d6d0e8c87679 Mon Sep 17 00:00:00 2001 From: "cam.lafit" Date: Thu, 18 May 2017 10:26:51 +0200 Subject: [PATCH] FIX : CreateInvoiceFromOrder prototype * SOAP declaration must follow function argument list --- 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 9318328a060..a085d38e74d 100644 --- a/htdocs/webservices/server_invoice.php +++ b/htdocs/webservices/server_invoice.php @@ -254,7 +254,7 @@ $server->register( $server->register( 'createInvoiceFromOrder', // Entry values - array('authentication'=>'tns:authentication','invoice'=>'tns:invoice'), + array('authentication'=>'tns:authentication','id_order'=>'xsd:string','ref_order'=>'xsd:string','ref_ext_order'=>'xsd:string','id_invoice'=>'xsd:string','ref_invoice'=>'xsd:string','ref_ext_invoice'=>'xsd:string'), // Exit values array('result'=>'tns:result','invoice'=>'tns:invoice'), $ns,