Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
767e842c68
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2013-2016 Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
|
/* Copyright (C) 2013-2016 Alexandre Spangaro <aspangaro@zendsi.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2014-2016 Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
|
/* Copyright (C) 2014-2016 Alexandre Spangaro <aspangaro@zendsi.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -176,12 +176,14 @@ if ($action == 'create')
|
|||||||
print $form->select_date(($date_end ? $date_end : - 1), 'fiscalyearend');
|
print $form->select_date(($date_end ? $date_end : - 1), 'fiscalyearend');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
/*
|
||||||
// Statut
|
// Statut
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td class="fieldrequired">' . $langs->trans("Status") . '</td>';
|
print '<td class="fieldrequired">' . $langs->trans("Status") . '</td>';
|
||||||
print '<td class="valeur">';
|
print '<td class="valeur">';
|
||||||
print $form->selectarray('statut', $statut2label, GETPOST('statut'));
|
print $form->selectarray('statut', $statut2label, GETPOST('statut'));
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
*/
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
@ -232,7 +234,8 @@ if ($action == 'create')
|
|||||||
|
|
||||||
// Statut
|
// Statut
|
||||||
print '<tr><td>' . $langs->trans("Statut") . '</td><td>';
|
print '<tr><td>' . $langs->trans("Statut") . '</td><td>';
|
||||||
print $form->selectarray('statut', $statut2label, $object->statut);
|
// print $form->selectarray('statut', $statut2label, $object->statut);
|
||||||
|
print $object->getLibStatut(4);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
@ -304,7 +307,7 @@ if ($action == 'create')
|
|||||||
|
|
||||||
print '<a class="butAction" href="' . $_SERVER["PHP_SELF"] . '?action=edit&id=' . $id . '">' . $langs->trans('Modify') . '</a>';
|
print '<a class="butAction" href="' . $_SERVER["PHP_SELF"] . '?action=edit&id=' . $id . '">' . $langs->trans('Modify') . '</a>';
|
||||||
|
|
||||||
print '<a class="butActionDelete" href="' . $_SERVER["PHP_SELF"] . '?action=delete&id=' . $id . '">' . $langs->trans('Delete') . '</a>';
|
// print '<a class="butActionDelete" href="' . $_SERVER["PHP_SELF"] . '?action=delete&id=' . $id . '">' . $langs->trans('Delete') . '</a>';
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4556,7 +4556,7 @@ abstract class CommonObject
|
|||||||
var parent = $(this).find("option[parent]:first").attr("parent");
|
var parent = $(this).find("option[parent]:first").attr("parent");
|
||||||
var infos = parent.split(":");
|
var infos = parent.split(":");
|
||||||
var parent_list = infos[0];
|
var parent_list = infos[0];
|
||||||
$("select[name=\"options_"+parent_list+"\"]").change(function() {
|
$("select[name=\""+parent_list+"\"]").change(function() {
|
||||||
showOptions(child_list, parent_list);
|
showOptions(child_list, parent_list);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2014 Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
|
/* Copyright (C) 2014-2017 Alexandre Spangaro <aspangaro@zendsi.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -89,7 +89,7 @@ class Fiscalyear extends CommonObject
|
|||||||
$sql.= " '".$this->label."'";
|
$sql.= " '".$this->label."'";
|
||||||
$sql.= ", '".$this->db->idate($this->date_start)."'";
|
$sql.= ", '".$this->db->idate($this->date_start)."'";
|
||||||
$sql.= ", ".($this->date_end ? "'".$this->db->idate($this->date_end)."'":"null");
|
$sql.= ", ".($this->date_end ? "'".$this->db->idate($this->date_end)."'":"null");
|
||||||
$sql.= ", ".$this->statut;
|
$sql.= ", 0";
|
||||||
$sql.= ", ".$conf->entity;
|
$sql.= ", ".$conf->entity;
|
||||||
$sql.= ", '".$this->db->idate($now)."'";
|
$sql.= ", '".$this->db->idate($now)."'";
|
||||||
$sql.= ", ". $user->id;
|
$sql.= ", ". $user->id;
|
||||||
|
|||||||
@ -284,7 +284,7 @@ class pdf_standard extends ModeleExpenseReport
|
|||||||
}
|
}
|
||||||
|
|
||||||
$iniY = $tab_top + 7;
|
$iniY = $tab_top + 7;
|
||||||
$curY = $tab_top + 7;
|
$initialY = $tab_top + 7;
|
||||||
$nexY = $tab_top + 7;
|
$nexY = $tab_top + 7;
|
||||||
|
|
||||||
// Loop on each lines
|
// Loop on each lines
|
||||||
@ -292,43 +292,41 @@ class pdf_standard extends ModeleExpenseReport
|
|||||||
{
|
{
|
||||||
$piece_comptable = $i +1;
|
$piece_comptable = $i +1;
|
||||||
|
|
||||||
$curY = $nexY;
|
|
||||||
$pdf->SetFont('','', $default_font_size - 2); // Into loop to work with multipage
|
$pdf->SetFont('','', $default_font_size - 2); // Into loop to work with multipage
|
||||||
$pdf->SetTextColor(0,0,0);
|
$pdf->SetTextColor(0,0,0);
|
||||||
|
|
||||||
$pdf->setTopMargin($tab_top_newpage);
|
$pdf->setTopMargin($tab_top_newpage);
|
||||||
$pdf->setPageOrientation('', 1, $heightforfooter+$heightforfreetext+$heightforinfotot); // The only function to edit the bottom margin of current page to set it.
|
$pdf->setPageOrientation('', 1, $heightforfooter+$heightforfreetext+$heightforinfotot); // The only function to edit the bottom margin of current page to set it.
|
||||||
$pageposbefore=$pdf->getPage();
|
$pageposbefore=$pdf->getPage();
|
||||||
|
$curY = $nexY;
|
||||||
// Description of product line
|
|
||||||
$curX = $this->posxcomment-1;
|
|
||||||
|
|
||||||
$showpricebeforepagebreak=1;
|
|
||||||
|
|
||||||
$pdf->SetFont('','', $default_font_size - 1);
|
$pdf->SetFont('','', $default_font_size - 1);
|
||||||
|
|
||||||
// Accountancy piece
|
// Accountancy piece
|
||||||
$pdf->SetXY($this->posxpiece, $curY);
|
$pdf->SetXY($this->posxpiece, $curY);
|
||||||
$pdf->writeHTMLCell($this->posxcomment-$this->posxpiece-0.8, 4, $this->posxpiece-1, $curY, $piece_comptable, 0, 1);
|
$pdf->writeHTMLCell($this->posxcomment-$this->posxpiece-0.8, 4, $this->posxpiece-1, $curY, $piece_comptable, 0, 1);
|
||||||
|
$curY = ($pdf->PageNo() > $pageposbefore) ? $pdf->GetY()-4 : $curY;
|
||||||
|
|
||||||
// Comments
|
// Comments
|
||||||
$pdf->SetXY($this->posxcomment, $curY);
|
$pdf->SetXY($this->posxcomment, $curY );
|
||||||
$pdf->writeHTMLCell($this->posxdate-$this->posxcomment-0.8, 4, $this->posxcomment-1, $curY, $object->lines[$i]->comments, 0, 1);
|
$pdf->writeHTMLCell($this->posxdate-$this->posxcomment-0.8, 4, $this->posxcomment-1, $curY, $object->lines[$i]->comments, 0, 1);
|
||||||
|
$curY = ($pdf->PageNo() > $pageposbefore) ? $pdf->GetY()-4 : $curY;
|
||||||
|
|
||||||
//nexY
|
// Date
|
||||||
$nexY = $pdf->GetY();
|
|
||||||
$pageposafter=$pdf->getPage();
|
|
||||||
$pdf->setPage($pageposbefore);
|
|
||||||
$pdf->setTopMargin($this->marge_haute);
|
|
||||||
$pdf->setPageOrientation('', 1, 0); // The only function to edit the bottom margin of current page to set it.
|
|
||||||
|
|
||||||
// Date
|
|
||||||
$pdf->SetXY($this->posxdate -1, $curY);
|
$pdf->SetXY($this->posxdate -1, $curY);
|
||||||
$pdf->MultiCell($this->posxtype-$this->posxdate-0.8, 4, dol_print_date($object->lines[$i]->date,"day",false,$outputlangs), 0, 'C');
|
$pdf->MultiCell($this->posxtype-$this->posxdate-0.8, 4, dol_print_date($object->lines[$i]->date,"day",false,$outputlangs), 0, 'C');
|
||||||
|
|
||||||
// Type
|
// Type
|
||||||
$pdf->SetXY($this->posxtype -1, $curY);
|
$pdf->SetXY($this->posxtype -1, $curY);
|
||||||
$pdf->MultiCell($this->posxprojet-$this->posxtype-0.8, 4, dol_trunc($outputlangs->transnoentities($object->lines[$i]->type_fees_code), 12), 0, 'C');
|
$nextColumnPosX = $this->posxup;
|
||||||
|
if (empty($conf->global->MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT)) {
|
||||||
|
$nextColumnPosX = $this->posxtva;
|
||||||
|
}
|
||||||
|
if (!empty($conf->projet->enabled)) {
|
||||||
|
$nextColumnPosX = $this->posxprojet;
|
||||||
|
}
|
||||||
|
|
||||||
|
$pdf->MultiCell($nextColumnPosX-$this->posxtype-0.8, 4, dol_trunc($outputlangs->transnoentities($object->lines[$i]->type_fees_code), 12), 0, 'C');
|
||||||
|
|
||||||
// Project
|
// Project
|
||||||
if (! empty($conf->projet->enabled))
|
if (! empty($conf->projet->enabled))
|
||||||
@ -344,34 +342,43 @@ class pdf_standard extends ModeleExpenseReport
|
|||||||
$vat_rate = pdf_getlinevatrate($object, $i, $outputlangs, $hidedetails);
|
$vat_rate = pdf_getlinevatrate($object, $i, $outputlangs, $hidedetails);
|
||||||
$pdf->SetXY($this->posxtva, $curY);
|
$pdf->SetXY($this->posxtva, $curY);
|
||||||
$pdf->MultiCell($this->posxup-$this->posxtva-0.8, 4,$vat_rate, 0, 'C');
|
$pdf->MultiCell($this->posxup-$this->posxtva-0.8, 4,$vat_rate, 0, 'C');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unit price
|
// Unit price
|
||||||
$pdf->SetXY($this->posxup, $curY);
|
$pdf->SetXY($this->posxup, $curY);
|
||||||
$pdf->MultiCell($this->posxqty-$this->posxup-0.8, 4,price($object->lines[$i]->value_unit), 0, 'R');
|
$pdf->MultiCell($this->posxqty-$this->posxup-0.8, 4,price($object->lines[$i]->value_unit), 0, 'R');
|
||||||
|
|
||||||
// Quantity
|
// Quantity
|
||||||
$pdf->SetXY($this->posxqty, $curY);
|
$pdf->SetXY($this->posxqty, $curY);
|
||||||
$pdf->MultiCell($this->postotalttc-$this->posxqty-0.8, 4,$object->lines[$i]->qty, 0, 'R');
|
$pdf->MultiCell($this->postotalttc-$this->posxqty-0.8, 4,$object->lines[$i]->qty, 0, 'R');
|
||||||
|
|
||||||
// Total with all taxes
|
// Total with all taxes
|
||||||
$pdf->SetXY($this->postotalttc-1, $curY);
|
$pdf->SetXY($this->postotalttc-1, $curY);
|
||||||
$pdf->MultiCell($this->page_largeur-$this->marge_droite-$this->postotalttc, 4, price($object->lines[$i]->total_ttc), 0, 'R');
|
$pdf->MultiCell($this->page_largeur-$this->marge_droite-$this->postotalttc, 4, price($object->lines[$i]->total_ttc), 0, 'R');
|
||||||
|
|
||||||
// Cherche nombre de lignes a venir pour savoir si place suffisante
|
//nexY
|
||||||
|
$nexY = $pdf->GetY();
|
||||||
|
$pageposafter=$pdf->getPage();
|
||||||
|
$pdf->setPage($pageposbefore);
|
||||||
|
$pdf->setTopMargin($this->marge_haute);
|
||||||
|
$pdf->setPageOrientation('', 1, 0); // The only function to edit the bottom margin of current page to set it.
|
||||||
|
|
||||||
|
$nblineFollowComment = 1;
|
||||||
|
// Cherche nombre de lignes a venir pour savoir si place suffisante
|
||||||
if ($i < ($nblignes - 1)) // If it's not last line
|
if ($i < ($nblignes - 1)) // If it's not last line
|
||||||
{
|
{
|
||||||
//on recupere la description du produit suivant
|
//Fetch current description to know on which line the next one should be placed
|
||||||
$follow_comment = $object->lines[$i+1]->comments;
|
$follow_comment = $object->lines[$i]->comments;
|
||||||
|
$follow_type = $object->lines[$i]->type_fees_code;
|
||||||
|
|
||||||
//on compte le nombre de ligne afin de verifier la place disponible (largeur de ligne 52 caracteres)
|
//on compte le nombre de ligne afin de verifier la place disponible (largeur de ligne 52 caracteres)
|
||||||
$nblineFollowComment = dol_nboflines_bis($follow_comment,52,$outputlangs->charset_output)*4;
|
$nbLineCommentNeed = dol_nboflines_bis($follow_comment,52,$outputlangs->charset_output);
|
||||||
}
|
$nbLineTypeNeed = dol_nboflines_bis($follow_type,4,$outputlangs->charset_output);
|
||||||
else // If it's last line
|
|
||||||
{
|
$nblineFollowComment = max($nbLineCommentNeed, $nbLineTypeNeed);
|
||||||
$nblineFollowComment = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$nexY+=4; // Passe espace entre les lignes
|
$nexY+=$nblineFollowComment*($pdf->getFontSize()*1.3); // Passe espace entre les lignes
|
||||||
|
|
||||||
// Detect if some page were added automatically and output _tableau for past pages
|
// Detect if some page were added automatically and output _tableau for past pages
|
||||||
while ($pagenb < $pageposafter)
|
while ($pagenb < $pageposafter)
|
||||||
@ -426,7 +433,7 @@ class pdf_standard extends ModeleExpenseReport
|
|||||||
$pdf->SetFont('','', 10);
|
$pdf->SetFont('','', 10);
|
||||||
|
|
||||||
// Show total area box
|
// Show total area box
|
||||||
$posy=$bottomlasttab+5;//$nexY+95;
|
$posy=$bottomlasttab+5;
|
||||||
$pdf->SetXY(100, $posy);
|
$pdf->SetXY(100, $posy);
|
||||||
$pdf->MultiCell(60, 5, $outputlangs->transnoentities("TotalHT"), 1, 'L');
|
$pdf->MultiCell(60, 5, $outputlangs->transnoentities("TotalHT"), 1, 'L');
|
||||||
$pdf->SetXY(160, $posy);
|
$pdf->SetXY(160, $posy);
|
||||||
|
|||||||
@ -72,7 +72,7 @@ class modAccounting extends DolibarrModules
|
|||||||
$this->conflictwith = array("modComptabilite"); // List of modules are in conflict with this module
|
$this->conflictwith = array("modComptabilite"); // List of modules are in conflict with this module
|
||||||
$this->phpmin = array(5, 3); // Minimum version of PHP required by module
|
$this->phpmin = array(5, 3); // Minimum version of PHP required by module
|
||||||
$this->need_dolibarr_version = array(3, 9); // Minimum version of Dolibarr required by module
|
$this->need_dolibarr_version = array(3, 9); // Minimum version of Dolibarr required by module
|
||||||
$this->langfiles = array("accountancy");
|
$this->langfiles = array("accountancy","compta");
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
$this->const = array();
|
$this->const = array();
|
||||||
@ -289,5 +289,22 @@ class modAccounting extends DolibarrModules
|
|||||||
//-------
|
//-------
|
||||||
$this->menu = 1; // This module add menu entries. They are coded into menu manager.
|
$this->menu = 1; // This module add menu entries. They are coded into menu manager.
|
||||||
|
|
||||||
|
// Exports
|
||||||
|
//--------
|
||||||
|
$r=0;
|
||||||
|
|
||||||
|
$r++;
|
||||||
|
$this->export_code[$r]=$this->rights_class.'_'.$r;
|
||||||
|
$this->export_label[$r]='Chartofaccounts';
|
||||||
|
$this->export_icon[$r]='accounting';
|
||||||
|
$this->export_permission[$r]=array(array("accounting","chartofaccount"));
|
||||||
|
$this->export_fields_array[$r]=array('ac.rowid'=>'ChartofaccountsId','ac.pcg_version'=>'Chartofaccounts','aa.rowid'=>'Id','aa.account_number'=>"AccountAccounting",'aa.label'=>"Label",'aa.account_parent'=>"Accountparent",'aa.pcg_type'=>"Pcgtype",'aa.pcg_subtype'=>'Pcgsubtype','aa.active'=>'Status');
|
||||||
|
$this->export_TypeFields_array[$r]=array('ac.rowid'=>'List:accounting_system:pcg_version','aa.account_number'=>"Text",'aa.label'=>"Text",'aa.pcg_type'=>'Text','aa.pcg_subtype'=>'Text','aa.active'=>'Status');
|
||||||
|
$this->export_entities_array[$r]=array('ac.rowid'=>"accounting",'ac.pcg_version'=>"accounting",'aa.rowid'=>'accounting','aa.account_number'=>"accounting",'aa.label'=>"accounting",'aa.accountparent'=>"accounting",'aa.pcg_type'=>"accounting",'aa.pcgsubtype'=>"accounting",'aa_active'=>"accounting");
|
||||||
|
|
||||||
|
$this->export_sql_start[$r]='SELECT DISTINCT ';
|
||||||
|
$this->export_sql_end[$r] =' FROM '.MAIN_DB_PREFIX.'accounting_account as aa, '.MAIN_DB_PREFIX.'accounting_system as ac';
|
||||||
|
$this->export_sql_end[$r] .=' WHERE ac.pcg_version = aa.fk_pcg_version AND aa.entity IN ('.getEntity('accounting', 1).') ';
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/modules/syslog/logHandler.php';
|
|||||||
class mod_syslog_file extends LogHandler implements LogHandlerInterface
|
class mod_syslog_file extends LogHandler implements LogHandlerInterface
|
||||||
{
|
{
|
||||||
var $code = 'file';
|
var $code = 'file';
|
||||||
|
var $lastTime = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return name of logger
|
* Return name of logger
|
||||||
@ -146,8 +147,15 @@ class mod_syslog_file extends LogHandler implements LogHandlerInterface
|
|||||||
LOG_DEBUG => 'DEBUG'
|
LOG_DEBUG => 'DEBUG'
|
||||||
);
|
);
|
||||||
|
|
||||||
$message = dol_print_date(time(),"%Y-%m-%d %H:%M:%S")." ".sprintf("%-7s", $logLevels[$content['level']])." ".sprintf("%-15s", $content['ip'])." ".($this->ident>0?str_pad('',$this->ident,' '):'').$content['message'];
|
$delay = "";
|
||||||
|
if (!empty($conf->global->MAIN_SYSLOG_SHOW_DELAY))
|
||||||
|
{
|
||||||
|
$now = microtime(true);
|
||||||
|
$delay = " ".sprintf("%05.3f", $this->lastTime != 0 ? $now - $this->lastTime : 0);
|
||||||
|
$this->lastTime = $now;
|
||||||
|
}
|
||||||
|
|
||||||
|
$message = dol_print_date(time(),"%Y-%m-%d %H:%M:%S").$delay." ".sprintf("%-7s", $logLevels[$content['level']])." ".sprintf("%-15s", $content['ip'])." ".($this->ident>0?str_pad('',$this->ident,' '):'').$content['message'];
|
||||||
fwrite($filefd, $message."\n");
|
fwrite($filefd, $message."\n");
|
||||||
fclose($filefd);
|
fclose($filefd);
|
||||||
@chmod($logfile, octdec(empty($conf->global->MAIN_UMASK)?'0664':$conf->global->MAIN_UMASK));
|
@chmod($logfile, octdec(empty($conf->global->MAIN_UMASK)?'0664':$conf->global->MAIN_UMASK));
|
||||||
|
|||||||
@ -543,7 +543,7 @@ if ($resql)
|
|||||||
if (!empty($obj->note_private) || !empty($obj->note_public))
|
if (!empty($obj->note_private) || !empty($obj->note_public))
|
||||||
{
|
{
|
||||||
print ' <span class="note">';
|
print ' <span class="note">';
|
||||||
print '<a href="'.DOL_URL_ROOT.'/commande/note.php?id='.$obj->rowid.'">'.img_picto($langs->trans("ViewPrivateNote"),'object_generic').'</a>';
|
print '<a href="'.DOL_URL_ROOT.'/expensereport/note.php?id='.$obj->rowid.'">'.img_picto($langs->trans("ViewPrivateNote"),'object_generic').'</a>';
|
||||||
print '</span>';
|
print '</span>';
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
@ -35,3 +35,9 @@ insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_
|
|||||||
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour) values (6,'PT_ORDER', 6,1, 'A réception de commande','A réception de commande',0,1);
|
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour) values (6,'PT_ORDER', 6,1, 'A réception de commande','A réception de commande',0,1);
|
||||||
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour) values (7,'PT_DELIVERY', 7,1, 'Livraison','Règlement à la livraison',0,1);
|
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour) values (7,'PT_DELIVERY', 7,1, 'Livraison','Règlement à la livraison',0,1);
|
||||||
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour) values (8,'PT_5050', 8,1, '50 et 50','Règlement 50% à la commande, 50% à la livraison',0,1);
|
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour) values (8,'PT_5050', 8,1, '50 et 50','Règlement 50% à la commande, 50% à la livraison',0,1);
|
||||||
|
|
||||||
|
-- add additional payment terms often needed in Austria
|
||||||
|
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour) values (9,'10D', 9,1, '10 jours','Réglement à 10 jours',0,10);
|
||||||
|
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour) values (10,'10DENDMONTH', 10,1, '10 jours fin de mois','Réglement à 10 jours fin de mois',1,10);
|
||||||
|
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour) values (11,'14D', 11,1, '14 jours','Réglement à 14 jours',0,14);
|
||||||
|
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour) values (12,'14DENDMONTH', 12,1, '14 jours fin de mois','Réglement à 14 jours fin de mois',1,14);
|
||||||
|
|||||||
@ -351,6 +351,14 @@ PaymentConditionShortPT_ORDER=Bestellung
|
|||||||
PaymentConditionPT_ORDER=Bei Bestellung
|
PaymentConditionPT_ORDER=Bei Bestellung
|
||||||
PaymentConditionShortPT_5050=50-50
|
PaymentConditionShortPT_5050=50-50
|
||||||
PaymentConditionPT_5050=50%% im Voraus, 50%% bei Lieferung
|
PaymentConditionPT_5050=50%% im Voraus, 50%% bei Lieferung
|
||||||
|
PaymentConditionShort10D=10 Tage
|
||||||
|
PaymentCondition10D=10 Tage netto
|
||||||
|
PaymentConditionShort10DENDMONTH=10 Tage ab Monatsende
|
||||||
|
PaymentCondition10DENDMONTH=Innerhalb von 10 Tagen, nach Monatsende
|
||||||
|
PaymentConditionShort14D=14 Tage
|
||||||
|
PaymentCondition14D=14 Tage netto
|
||||||
|
PaymentConditionShort14DENDMONTH=14 Tage ab Monatsende
|
||||||
|
PaymentCondition14DENDMONTH=Innerhalb von 14 Tagen, nach Monatsende
|
||||||
FixAmount=Fester Betrag
|
FixAmount=Fester Betrag
|
||||||
VarAmount=Variabler Betrag (%% tot.)
|
VarAmount=Variabler Betrag (%% tot.)
|
||||||
# PaymentType
|
# PaymentType
|
||||||
|
|||||||
@ -211,6 +211,7 @@ Modelcsv_ciel=Export towards Sage Ciel Compta or Compta Evolution
|
|||||||
Modelcsv_quadratus=Export towards Quadratus QuadraCompta
|
Modelcsv_quadratus=Export towards Quadratus QuadraCompta
|
||||||
Modelcsv_ebp=Export towards EBP
|
Modelcsv_ebp=Export towards EBP
|
||||||
Modelcsv_cogilog=Export towards Cogilog
|
Modelcsv_cogilog=Export towards Cogilog
|
||||||
|
ChartofaccountsId=Chart of accounts Id
|
||||||
|
|
||||||
## Tools - Init accounting account on product / service
|
## Tools - Init accounting account on product / service
|
||||||
InitAccountancy=Init accountancy
|
InitAccountancy=Init accountancy
|
||||||
|
|||||||
@ -379,11 +379,11 @@ ExtrafieldCheckBox=Checkbox
|
|||||||
ExtrafieldRadio=Radio button
|
ExtrafieldRadio=Radio button
|
||||||
ExtrafieldCheckBoxFromList= Checkbox from table
|
ExtrafieldCheckBoxFromList= Checkbox from table
|
||||||
ExtrafieldLink=Link to an object
|
ExtrafieldLink=Link to an object
|
||||||
ExtrafieldParamHelpselect=Parameters list have to be like key,value<br><br> for example : <br>1,value1<br>2,value2<br>3,value3<br>...<br><br>In order to have the list depending on another :<br>1,value1|parent_list_code:parent_key<br>2,value2|parent_list_code:parent_key
|
ExtrafieldParamHelpselect=Parameters list have to be like key,value<br><br> for example : <br>1,value1<br>2,value2<br>3,value3<br>...<br><br>In order to have the list depending on another complementary attribute list :<br>1,value1|options_<i>parent_list_code</i>:parent_key<br>2,value2|options_<i>parent_list_code</i>:parent_key <br><br>In order to have the list depending on another list :<br>1,value1|<i>parent_list_code</i>:parent_key<br>2,value2|<i>parent_list_code</i>:parent_key
|
||||||
ExtrafieldParamHelpcheckbox=Parameters list have to be like key,value<br><br> for example : <br>1,value1<br>2,value2<br>3,value3<br>...
|
ExtrafieldParamHelpcheckbox=Parameters list have to be like key,value<br><br> for example : <br>1,value1<br>2,value2<br>3,value3<br>...
|
||||||
ExtrafieldParamHelpradio=Parameters list have to be like key,value<br><br> for example : <br>1,value1<br>2,value2<br>3,value3<br>...
|
ExtrafieldParamHelpradio=Parameters list have to be like key,value<br><br> for example : <br>1,value1<br>2,value2<br>3,value3<br>...
|
||||||
ExtrafieldParamHelpsellist=Parameters list comes from a table<br>Syntax : table_name:label_field:id_field::filter<br>Example : c_typent:libelle:id::filter<br><br>filter can be a simple test (eg active=1) to display only active value<br>You can also use $ID$ in filter witch is the current id of current object<br>To do a SELECT in filter use $SEL$<br>if you want to filter on extrafields use syntax extra.fieldcode=... (where field code is the code of extrafield)<br><br>In order to have the list depending on another :<br>c_typent:libelle:id:parent_list_code|parent_column:filter
|
ExtrafieldParamHelpsellist=Parameters list comes from a table<br>Syntax : table_name:label_field:id_field::filter<br>Example : c_typent:libelle:id::filter<br><br>filter can be a simple test (eg active=1) to display only active value<br>You can also use $ID$ in filter witch is the current id of current object<br>To do a SELECT in filter use $SEL$<br>if you want to filter on extrafields use syntax extra.fieldcode=... (where field code is the code of extrafield)<br><br>In order to have the list depending on another complementary attribute list:<br>c_typent:libelle:id:options_<i>parent_list_code</i>|parent_column:filter <br><br>In order to have the list depending on another list:<br>c_typent:libelle:id:<i>parent_list_code</i>|parent_column:filter
|
||||||
ExtrafieldParamHelpchkbxlst=Parameters list comes from a table<br>Syntax : table_name:label_field:id_field::filter<br>Example : c_typent:libelle:id::filter<br><br>filter can be a simple test (eg active=1) to display only active value<br>You can also use $ID$ in filter witch is the current id of current object<br>To do a SELECT in filter use $SEL$<br>if you want to filter on extrafields use syntax extra.fieldcode=... (where field code is the code of extrafield)<br><br>In order to have the list depending on another :<br>c_typent:libelle:id:parent_list_code|parent_column:filter
|
ExtrafieldParamHelpchkbxlst=Parameters list comes from a table<br>Syntax : table_name:label_field:id_field::filter<br>Example : c_typent:libelle:id::filter<br><br>filter can be a simple test (eg active=1) to display only active value<br>You can also use $ID$ in filter witch is the current id of current object<br>To do a SELECT in filter use $SEL$<br>if you want to filter on extrafields use syntax extra.fieldcode=... (where field code is the code of extrafield)<br><br>In order to have the list depending on another complementary attribute list :<br>c_typent:libelle:id:options_<i>parent_list_code</i>|parent_column:filter <br><br>In order to have the list depending on another list:<br>c_typent:libelle:id:<i>parent_list_code</i>|parent_column:filter
|
||||||
ExtrafieldParamHelplink=Parameters must be ObjectName:Classpath<br>Syntax : ObjectName:Classpath<br>Example : Societe:societe/class/societe.class.php
|
ExtrafieldParamHelplink=Parameters must be ObjectName:Classpath<br>Syntax : ObjectName:Classpath<br>Example : Societe:societe/class/societe.class.php
|
||||||
LibraryToBuildPDF=Library used for PDF generation
|
LibraryToBuildPDF=Library used for PDF generation
|
||||||
WarningUsingFPDF=Warning: Your <b>conf.php</b> contains directive <b>dolibarr_pdf_force_fpdf=1</b>. This means you use the FPDF library to generate PDF files. This library is old and does not support a lot of features (Unicode, image transparency, cyrillic, arab and asiatic languages, ...), so you may experience errors during PDF generation.<br>To solve this and have a full support of PDF generation, please download <a href="http://www.tcpdf.org/" target="_blank">TCPDF library</a>, then comment or remove the line <b>$dolibarr_pdf_force_fpdf=1</b>, and add instead <b>$dolibarr_lib_TCPDF_PATH='path_to_TCPDF_dir'</b>
|
WarningUsingFPDF=Warning: Your <b>conf.php</b> contains directive <b>dolibarr_pdf_force_fpdf=1</b>. This means you use the FPDF library to generate PDF files. This library is old and does not support a lot of features (Unicode, image transparency, cyrillic, arab and asiatic languages, ...), so you may experience errors during PDF generation.<br>To solve this and have a full support of PDF generation, please download <a href="http://www.tcpdf.org/" target="_blank">TCPDF library</a>, then comment or remove the line <b>$dolibarr_pdf_force_fpdf=1</b>, and add instead <b>$dolibarr_lib_TCPDF_PATH='path_to_TCPDF_dir'</b>
|
||||||
|
|||||||
@ -355,6 +355,14 @@ PaymentConditionShortPT_ORDER=Order
|
|||||||
PaymentConditionPT_ORDER=On order
|
PaymentConditionPT_ORDER=On order
|
||||||
PaymentConditionShortPT_5050=50-50
|
PaymentConditionShortPT_5050=50-50
|
||||||
PaymentConditionPT_5050=50%% in advance, 50%% on delivery
|
PaymentConditionPT_5050=50%% in advance, 50%% on delivery
|
||||||
|
PaymentConditionShort10D=10 days
|
||||||
|
PaymentCondition10D=10 days
|
||||||
|
PaymentConditionShort10DENDMONTH=10 days of month-end
|
||||||
|
PaymentCondition10DENDMONTH=Within 10 days following the end of the month
|
||||||
|
PaymentConditionShort14D=14 days
|
||||||
|
PaymentCondition14D=14 days
|
||||||
|
PaymentConditionShort14DENDMONTH=14 days of month-end
|
||||||
|
PaymentCondition14DENDMONTH=Within 14 days following the end of the month
|
||||||
FixAmount=Fix amount
|
FixAmount=Fix amount
|
||||||
VarAmount=Variable amount (%% tot.)
|
VarAmount=Variable amount (%% tot.)
|
||||||
# PaymentType
|
# PaymentType
|
||||||
|
|||||||
@ -756,6 +756,7 @@ SomeTranslationAreUncomplete=Some languages may be partially translated or may c
|
|||||||
DirectDownloadLink=Direct download link
|
DirectDownloadLink=Direct download link
|
||||||
Download=Download
|
Download=Download
|
||||||
ActualizeCurrency=Update currency rate
|
ActualizeCurrency=Update currency rate
|
||||||
|
Fiscalyear=Fiscal year
|
||||||
# Week day
|
# Week day
|
||||||
Monday=Monday
|
Monday=Monday
|
||||||
Tuesday=Tuesday
|
Tuesday=Tuesday
|
||||||
|
|||||||
@ -351,6 +351,14 @@ PaymentConditionShortPT_ORDER=A commande
|
|||||||
PaymentConditionPT_ORDER=À réception de commande
|
PaymentConditionPT_ORDER=À réception de commande
|
||||||
PaymentConditionShortPT_5050=50/50
|
PaymentConditionShortPT_5050=50/50
|
||||||
PaymentConditionPT_5050=Règlement 50%% d'avance, 50%% à la livraison
|
PaymentConditionPT_5050=Règlement 50%% d'avance, 50%% à la livraison
|
||||||
|
PaymentConditionShort10D=10 jours
|
||||||
|
PaymentCondition10D=Règlement à 10 jours
|
||||||
|
PaymentConditionShort10DENDMONTH=10 jours fin de mois
|
||||||
|
PaymentCondition10DENDMONTH=Règlement à 10 jours fin de mois
|
||||||
|
PaymentConditionShort14D=14 jours
|
||||||
|
PaymentCondition14D=Règlement à 14 jours
|
||||||
|
PaymentConditionShort14DENDMONTH=14 jours fin de mois
|
||||||
|
PaymentCondition14DENDMONTH=Règlement à 14 jours fin de mois
|
||||||
FixAmount=Montant Fixe
|
FixAmount=Montant Fixe
|
||||||
VarAmount=Montant variable (%% tot.)
|
VarAmount=Montant variable (%% tot.)
|
||||||
# PaymentType
|
# PaymentType
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user