Advertisement
verygoodplugins

Untitled

Jan 28th, 2021
1,129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.60 KB | None | 0 0
  1. /**
  2.  * @method createBlankOrder
  3.  * @description creates a blank order for a contact
  4.  *
  5.  * @param int $conId
  6.  * @param string $desc
  7.  * @param date $oDate
  8.  * @param int $leadAff
  9.  * @param int $saleAff
  10.  *
  11.  * @return int
  12.  */
  13. public function blankOrder( $conId, $desc, $oDate, $leadAff, $saleAff ) {
  14.     $carray = array(
  15.         php_xmlrpc_encode( (int) $conId ),
  16.         php_xmlrpc_encode( $desc ),
  17.         php_xmlrpc_encode( $oDate, array( 'auto_dates' ) ),
  18.         php_xmlrpc_encode( (int) $leadAff ),
  19.         php_xmlrpc_encode( (int) $saleAff )
  20.     );
  21.  
  22.     return $this->methodCaller( "InvoiceService.createBlankOrder", $carray );
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement