Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/3.8' into 3.9
Browse files Browse the repository at this point in the history
Conflicts:
	htdocs/install/pgsql/functions/functions.sql
  • Loading branch information
eldy committed Jul 6, 2016
2 parents e979753 + 148f2e4 commit a8f06d7
Show file tree
Hide file tree
Showing 38 changed files with 7,365 additions and 7,334 deletions.
390 changes: 195 additions & 195 deletions build/pad/DoliWamp.pml

Large diffs are not rendered by default.

404 changes: 202 additions & 202 deletions build/pad/Dolibarr.pml

Large diffs are not rendered by default.

464 changes: 232 additions & 232 deletions build/pad/pad_dolibarr.xml

Large diffs are not rendered by default.

450 changes: 225 additions & 225 deletions build/pad/pad_doliwamp.xml

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions htdocs/commande/orderstoinvoice.php
Expand Up @@ -70,6 +70,11 @@
$date_starty = dol_mktime(0,0,0,$_REQUEST["date_start_delymonth"],$_REQUEST["date_start_delyday"],$_REQUEST["date_start_delyyear"]); // Date for local PHP server
$date_endy = dol_mktime(23,59,59,$_REQUEST["date_end_delymonth"],$_REQUEST["date_end_delyday"],$_REQUEST["date_end_delyyear"]);

$extrafields = new ExtraFields($db);

// fetch optionals attributes and labels
$extralabels=$extrafields->fetch_name_optionals_label('facture');

if ($action == 'create')
{
if (is_array($selected) == false)
Expand Down Expand Up @@ -174,6 +179,9 @@
$object->remise_absolue = $_POST['remise_absolue'];
$object->remise_percent = $_POST['remise_percent'];

$ret = $extrafields->setOptionalsFromPost($extralabels,$object);
if ($ret < 0) $error++;

if ($_POST['origin'] && $_POST['originid'])
{
$object->origin = $_POST['origin'];
Expand Down Expand Up @@ -464,6 +472,12 @@
$parameters=array('objectsrc' => $objectsrc, 'idsrc' => $listoforders, 'colspan' => ' colspan="3"');
$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook

if (empty($reshook) && ! empty($extrafields->attribute_label))
{
$object=new Facture($db);
print $object->showOptionals($extrafields,'edit');
}

// Modele PDF
print '<tr><td>'.$langs->trans('Model').'</td>';
print '<td>';
Expand Down
Expand Up @@ -415,6 +415,7 @@ function write_file($object,$outputlangs,$srctemplatepath)
}
$project= new Project($this->db);
$project->fetch($object->fk_project);
$project->fetch_thirdparty();

$dir = $conf->projet->dir_output. "/" . $project->ref. "/";
$objectref = dol_sanitizeFileName($object->ref);
Expand Down Expand Up @@ -449,7 +450,7 @@ function write_file($object,$outputlangs,$srctemplatepath)

dol_mkdir($conf->projet->dir_temp);

$socobject=$object->thirdparty;
$socobject=$project->thirdparty;

// Make substitution
$substitutionarray=array(
Expand Down
14 changes: 14 additions & 0 deletions htdocs/fourn/commande/orderstoinvoice.php
Expand Up @@ -71,6 +71,11 @@
$date_starty = dol_mktime(0, 0, 0, $_REQUEST["date_start_delymonth"], $_REQUEST["date_start_delyday"], $_REQUEST["date_start_delyyear"]); // Date for local PHP server
$date_endy = dol_mktime(23, 59, 59, $_REQUEST["date_end_delymonth"], $_REQUEST["date_end_delyday"], $_REQUEST["date_end_delyyear"]);

$extrafields = new ExtraFields($db);

// fetch optionals attributes and labels
$extralabels=$extrafields->fetch_name_optionals_label('facture_fourn');

if ($action == 'create') {
if (is_array($selected) == false) {
$mesgs = array (
Expand Down Expand Up @@ -160,6 +165,9 @@
if (empty($object->date_echeance))
$object->date_echeance = $object->calculate_date_lim_reglement();

$ret = $extrafields->setOptionalsFromPost($extralabels,$object);
if ($ret < 0) $error++;

if ($_POST['origin'] && $_POST['originid']) {
$object->linked_objects = $orders_id;
$id = $object->create($user);
Expand Down Expand Up @@ -360,6 +368,12 @@
);
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook

if (empty($reshook) && ! empty($extrafields->attribute_label))
{
$object=new FactureFournisseur($db);
print $object->showOptionals($extrafields,'edit');
}

// Modele PDF
print '<tr><td>' . $langs->trans('Model') . '</td>';
print '<td>';
Expand Down
@@ -1,47 +1,47 @@
##
## PHPExcel
##
## Copyright (c) 2006 - 2013 PHPExcel
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
##
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##
## @category PHPExcel
## @package PHPExcel_Settings
## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
## @version ##VERSION##, ##DATE##
##
##
ArgumentSeparator = ;
##
## (For future use)
##
currencySymbol = Kč
##
## Excel Error Codes (For future use)
##
NULL = #NULL!
DIV0 = #DIV/0!
VALUE = #HODNOTA!
REF = #REF!
NAME = #NÁZEV?
NUM = #NUM!
NA = #N/A
##
## PHPExcel
##
## Copyright (c) 2006 - 2013 PHPExcel
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
##
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##
## @category PHPExcel
## @package PHPExcel_Settings
## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
## @version ##VERSION##, ##DATE##
##
##


ArgumentSeparator = ;


##
## (For future use)
##
currencySymbol = Kč


##
## Excel Error Codes (For future use)
##
NULL = #NULL!
DIV0 = #DIV/0!
VALUE = #HODNOTA!
REF = #REF!
NAME = #NÁZEV?
NUM = #NUM!
NA = #N/A

0 comments on commit a8f06d7

Please sign in to comment.