Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: htdocs/core/modules/contract/doc/doc_generic_contract_odt.modules.php
This commit is contained in:
commit
c8078b54b5
@ -171,6 +171,7 @@ then
|
|||||||
cp -pr $mydir/../../htdocs/install/doctemplates/* "$documentdir/doctemplates/"
|
cp -pr $mydir/../../htdocs/install/doctemplates/* "$documentdir/doctemplates/"
|
||||||
mkdir -p "$documentdir/ecm/Administrative documents"
|
mkdir -p "$documentdir/ecm/Administrative documents"
|
||||||
mkdir -p "$documentdir/ecm/Images"
|
mkdir -p "$documentdir/ecm/Images"
|
||||||
|
rm -f "$documentdir/doctemplates/"*/index.html
|
||||||
echo cp -pr $mydir/../../doc/images/* "$documentdir/ecm/Images"
|
echo cp -pr $mydir/../../doc/images/* "$documentdir/ecm/Images"
|
||||||
cp -pr $mydir/../../doc/images/* "$documentdir/ecm/Images"
|
cp -pr $mydir/../../doc/images/* "$documentdir/ecm/Images"
|
||||||
else
|
else
|
||||||
|
|||||||
@ -4534,7 +4534,7 @@ abstract class CommonObject
|
|||||||
if ($key != 'rowid' && $key != 'tms' && $key != 'fk_member' && ! is_int($key))
|
if ($key != 'rowid' && $key != 'tms' && $key != 'fk_member' && ! is_int($key))
|
||||||
{
|
{
|
||||||
// we can add this attribute to object
|
// we can add this attribute to object
|
||||||
if (in_array($extrafields->attributes[$this->table_element]['type'][$key], array('date','datetime')))
|
if (! empty($extrafields) && in_array($extrafields->attributes[$this->table_element]['type'][$key], array('date','datetime')))
|
||||||
{
|
{
|
||||||
//var_dump($extrafields->attributes[$this->table_element]['type'][$key]);
|
//var_dump($extrafields->attributes[$this->table_element]['type'][$key]);
|
||||||
$this->array_options["options_".$key]=$this->db->jdate($value);
|
$this->array_options["options_".$key]=$this->db->jdate($value);
|
||||||
|
|||||||
@ -329,7 +329,7 @@ class doc_generic_contract_odt extends ModelePDFContract
|
|||||||
$paramfreetext='contract_FREE_TEXT';
|
$paramfreetext='contract_FREE_TEXT';
|
||||||
if (! empty($conf->global->$paramfreetext))
|
if (! empty($conf->global->$paramfreetext))
|
||||||
{
|
{
|
||||||
$newfreetext=make_substitutions($conf->global->$paramfreetext,$substitutionarray);
|
$newfreetext=make_substitutions($conf->global->$paramfreetext,$tmparray);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -321,6 +321,8 @@ CREATE TABLE IF NOT EXISTS llx_expensereport_ik (
|
|||||||
active integer DEFAULT 1
|
active integer DEFAULT 1
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|
||||||
|
ALTER TABLE llx_expensereport_ik ADD COLUMN ikoffset double DEFAULT 0 NOT NULL;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS llx_c_exp_tax_cat (
|
CREATE TABLE IF NOT EXISTS llx_c_exp_tax_cat (
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
label varchar(48) NOT NULL,
|
label varchar(48) NOT NULL,
|
||||||
|
|||||||
@ -491,7 +491,7 @@ if (! $error && $db->connected && $action == "set")
|
|||||||
'thirdparties' => 'thirdparty',
|
'thirdparties' => 'thirdparty',
|
||||||
'usergroups' => 'usergroups',
|
'usergroups' => 'usergroups',
|
||||||
'users' => 'user',
|
'users' => 'user',
|
||||||
'usergroups' => 'usergroups',
|
'usergroups' => 'usergroups',
|
||||||
);
|
);
|
||||||
foreach($docs as $cursordir => $cursorfile)
|
foreach($docs as $cursordir => $cursorfile)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user