Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
2f7292aa78
@ -115,7 +115,7 @@ $actioncomm_fields= array(
|
|||||||
//Retreive all extrafield for actioncomm
|
//Retreive all extrafield for actioncomm
|
||||||
// fetch optionals attributes and labels
|
// fetch optionals attributes and labels
|
||||||
$extrafields=new ExtraFields($db);
|
$extrafields=new ExtraFields($db);
|
||||||
$extralabels=$extrafields->fetch_name_optionals_label('actioncomm');
|
$extralabels=$extrafields->fetch_name_optionals_label('actioncomm',true);
|
||||||
if (count($extrafields)>0) {
|
if (count($extrafields)>0) {
|
||||||
$extrafield_array = array();
|
$extrafield_array = array();
|
||||||
}
|
}
|
||||||
@ -305,7 +305,7 @@ function getActionComm($authentication,$id)
|
|||||||
//Retreive all extrafield for actioncomm
|
//Retreive all extrafield for actioncomm
|
||||||
// fetch optionals attributes and labels
|
// fetch optionals attributes and labels
|
||||||
$extrafields=new ExtraFields($db);
|
$extrafields=new ExtraFields($db);
|
||||||
$extralabels=$extrafields->fetch_name_optionals_label('actioncomm');
|
$extralabels=$extrafields->fetch_name_optionals_label('actioncomm',true);
|
||||||
//Get extrafield values
|
//Get extrafield values
|
||||||
$actioncomm->fetch_optionals($actioncomm->id,$extralabels);
|
$actioncomm->fetch_optionals($actioncomm->id,$extralabels);
|
||||||
|
|
||||||
@ -450,7 +450,7 @@ function createActionComm($authentication,$actioncomm)
|
|||||||
//Retreive all extrafield for actioncomm
|
//Retreive all extrafield for actioncomm
|
||||||
// fetch optionals attributes and labels
|
// fetch optionals attributes and labels
|
||||||
$extrafields=new ExtraFields($db);
|
$extrafields=new ExtraFields($db);
|
||||||
$extralabels=$extrafields->fetch_name_optionals_label('actioncomm');
|
$extralabels=$extrafields->fetch_name_optionals_label('actioncomm',true);
|
||||||
foreach($extrafields->attribute_label as $key=>$label)
|
foreach($extrafields->attribute_label as $key=>$label)
|
||||||
{
|
{
|
||||||
$key='options_'.$key;
|
$key='options_'.$key;
|
||||||
|
|||||||
@ -653,7 +653,7 @@ function createOrder($authentication,$order)
|
|||||||
foreach($arrayoflines as $key => $line)
|
foreach($arrayoflines as $key => $line)
|
||||||
{
|
{
|
||||||
// $key can be 'line' or '0','1',...
|
// $key can be 'line' or '0','1',...
|
||||||
$newline=new OrderLigne($db);
|
$newline=new OrderLine($db);
|
||||||
|
|
||||||
$newline->type=$line['type'];
|
$newline->type=$line['type'];
|
||||||
$newline->desc=$line['desc'];
|
$newline->desc=$line['desc'];
|
||||||
|
|||||||
@ -123,7 +123,7 @@ $thirdparty_fields= array(
|
|||||||
//Retreive all extrafield for thirdsparty
|
//Retreive all extrafield for thirdsparty
|
||||||
// fetch optionals attributes and labels
|
// fetch optionals attributes and labels
|
||||||
$extrafields=new ExtraFields($db);
|
$extrafields=new ExtraFields($db);
|
||||||
$extralabels=$extrafields->fetch_name_optionals_label('company');
|
$extralabels=$extrafields->fetch_name_optionals_label('company',true);
|
||||||
if (count($extrafields)>0) {
|
if (count($extrafields)>0) {
|
||||||
$extrafield_array = array();
|
$extrafield_array = array();
|
||||||
}
|
}
|
||||||
@ -328,7 +328,7 @@ function getThirdParty($authentication,$id='',$ref='',$ref_ext='')
|
|||||||
//Retreive all extrafield for thirdsparty
|
//Retreive all extrafield for thirdsparty
|
||||||
// fetch optionals attributes and labels
|
// fetch optionals attributes and labels
|
||||||
$extrafields=new ExtraFields($db);
|
$extrafields=new ExtraFields($db);
|
||||||
$extralabels=$extrafields->fetch_name_optionals_label('company');
|
$extralabels=$extrafields->fetch_name_optionals_label('company',true);
|
||||||
//Get extrafield values
|
//Get extrafield values
|
||||||
$thirdparty->fetch_optionals($thirdparty->id,$extralabels);
|
$thirdparty->fetch_optionals($thirdparty->id,$extralabels);
|
||||||
|
|
||||||
@ -442,7 +442,7 @@ function createThirdParty($authentication,$thirdparty)
|
|||||||
//Retreive all extrafield for thirdsparty
|
//Retreive all extrafield for thirdsparty
|
||||||
// fetch optionals attributes and labels
|
// fetch optionals attributes and labels
|
||||||
$extrafields=new ExtraFields($db);
|
$extrafields=new ExtraFields($db);
|
||||||
$extralabels=$extrafields->fetch_name_optionals_label('company');
|
$extralabels=$extrafields->fetch_name_optionals_label('company',true);
|
||||||
foreach($extrafields->attribute_label as $key=>$label)
|
foreach($extrafields->attribute_label as $key=>$label)
|
||||||
{
|
{
|
||||||
$key='options_'.$key;
|
$key='options_'.$key;
|
||||||
|
|||||||
@ -109,6 +109,7 @@ $server->wsdl->addComplexType(
|
|||||||
'pass_indatabase_crypted' => array('name'=>'pass_indatabase_crypted','type'=>'xsd:string'),
|
'pass_indatabase_crypted' => array('name'=>'pass_indatabase_crypted','type'=>'xsd:string'),
|
||||||
'datec' => array('name'=>'datec','type'=>'xsd:dateTime'),
|
'datec' => array('name'=>'datec','type'=>'xsd:dateTime'),
|
||||||
'datem' => array('name'=>'datem','type'=>'xsd:dateTime'),
|
'datem' => array('name'=>'datem','type'=>'xsd:dateTime'),
|
||||||
|
'fk_thirdparty' => array('name'=>'fk_thirdparty','type'=>'xsd:string'),
|
||||||
'fk_socpeople' => array('name'=>'fk_socpeople','type'=>'xsd:string'),
|
'fk_socpeople' => array('name'=>'fk_socpeople','type'=>'xsd:string'),
|
||||||
'fk_member' => array('name'=>'fk_member','type'=>'xsd:string'),
|
'fk_member' => array('name'=>'fk_member','type'=>'xsd:string'),
|
||||||
'datelastlogin' => array('name'=>'datelastlogin','type'=>'xsd:dateTime'),
|
'datelastlogin' => array('name'=>'datelastlogin','type'=>'xsd:dateTime'),
|
||||||
@ -303,7 +304,7 @@ function getUser($authentication,$id,$ref='',$ref_ext='')
|
|||||||
'pass_indatabase_crypted' => $user->pass_indatabase_crypted,
|
'pass_indatabase_crypted' => $user->pass_indatabase_crypted,
|
||||||
'datec' => dol_print_date($user->datec,'dayhourrfc'),
|
'datec' => dol_print_date($user->datec,'dayhourrfc'),
|
||||||
'datem' => dol_print_date($user->datem,'dayhourrfc'),
|
'datem' => dol_print_date($user->datem,'dayhourrfc'),
|
||||||
'societe_id' => $user->societe_id,
|
'fk_thirdparty' => $user->societe_id,
|
||||||
'fk_socpeople' => $user->fk_socpeople,
|
'fk_socpeople' => $user->fk_socpeople,
|
||||||
'fk_member' => $user->fk_member,
|
'fk_member' => $user->fk_member,
|
||||||
'webcal_login' => $user->webcal_login,
|
'webcal_login' => $user->webcal_login,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user