Merge remote-tracking branch 'upstream/develop' into 14a36
This commit is contained in:
commit
c2f7e15add
@ -77,7 +77,11 @@ $test = empty($conf->syslog->enabled);
|
|||||||
if ($test) {
|
if ($test) {
|
||||||
print img_picto('', 'tick.png').' '.$langs->trans("NotInstalled").' - '.$langs->trans("NotSlowedDownByThis");
|
print img_picto('', 'tick.png').' '.$langs->trans("NotInstalled").' - '.$langs->trans("NotSlowedDownByThis");
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'warning').' '.$langs->trans("ModuleActivated", $langs->transnoentities("Syslog"));
|
if ($conf->global->SYSLOG_LEVEL > LOG_NOTICE) {
|
||||||
|
print img_picto('', 'warning').' '.$langs->trans("ModuleActivatedWithTooHighLogLevel", $langs->transnoentities("Syslog"));
|
||||||
|
} else {
|
||||||
|
print img_picto('', 'tick.png').' '.$langs->trans("ModuleSyslogActivatedButLevelNotTooVerbose", $langs->transnoentities("Syslog"), $conf->global->SYSLOG_LEVEL);
|
||||||
|
}
|
||||||
//print ' '.$langs->trans("MoreInformation").' <a href="'.DOL_URL_ROOT.'/admin/system/xdebug.php'.'">XDebug admin page</a>';
|
//print ' '.$langs->trans("MoreInformation").' <a href="'.DOL_URL_ROOT.'/admin/system/xdebug.php'.'">XDebug admin page</a>';
|
||||||
}
|
}
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|||||||
@ -2061,9 +2061,11 @@ UseDebugBar=Use the debug bar
|
|||||||
DEBUGBAR_LOGS_LINES_NUMBER=Number of last log lines to keep in console
|
DEBUGBAR_LOGS_LINES_NUMBER=Number of last log lines to keep in console
|
||||||
WarningValueHigherSlowsDramaticalyOutput=Warning, higher values slows dramaticaly output
|
WarningValueHigherSlowsDramaticalyOutput=Warning, higher values slows dramaticaly output
|
||||||
ModuleActivated=Module %s is activated and slows the interface
|
ModuleActivated=Module %s is activated and slows the interface
|
||||||
|
ModuleActivatedWithTooHighLogLevel=Module %s is activated with a too high logging level (try to use a lower level for better performances)
|
||||||
ModuleSyslogActivatedButLevelNotTooVerbose=Module %s is activated and log level (%s) is correct (not too verbose)
|
ModuleSyslogActivatedButLevelNotTooVerbose=Module %s is activated and log level (%s) is correct (not too verbose)
|
||||||
IfYouAreOnAProductionSetThis=If you are on a production environment, you should set this property to %s.
|
IfYouAreOnAProductionSetThis=If you are on a production environment, you should set this property to %s.
|
||||||
AntivirusEnabledOnUpload=Antivirus enabled on uploaded files
|
AntivirusEnabledOnUpload=Antivirus enabled on uploaded files
|
||||||
|
SomeFilesOrDirInRootAreWritable=Some files or directories are not in a read-only mode
|
||||||
EXPORTS_SHARE_MODELS=Export models are share with everybody
|
EXPORTS_SHARE_MODELS=Export models are share with everybody
|
||||||
ExportSetup=Setup of module Export
|
ExportSetup=Setup of module Export
|
||||||
ImportSetup=Setup of module Import
|
ImportSetup=Setup of module Import
|
||||||
|
|||||||
@ -520,10 +520,10 @@ YouMustCreateStandardInvoiceFirstDesc=You have to create a standard invoice firs
|
|||||||
PDFCrabeDescription=Invoice PDF template Crabe. A complete invoice template (old implementation of Sponge template)
|
PDFCrabeDescription=Invoice PDF template Crabe. A complete invoice template (old implementation of Sponge template)
|
||||||
PDFSpongeDescription=Invoice PDF template Sponge. A complete invoice template
|
PDFSpongeDescription=Invoice PDF template Sponge. A complete invoice template
|
||||||
PDFCrevetteDescription=Invoice PDF template Crevette. A complete invoice template for situation invoices
|
PDFCrevetteDescription=Invoice PDF template Crevette. A complete invoice template for situation invoices
|
||||||
TerreNumRefModelDesc1=Return number with format %syymm-nnnn for standard invoices and %syymm-nnnn for credit notes where yy is year, mm is month and nnnn is a sequence with no break and no return to 0
|
TerreNumRefModelDesc1=Return number in the format %syymm-nnnn for standard invoices and %syymm-nnnn for credit notes where yy is year, mm is month and nnnn is a sequencial auto-incrementing number with no break and no return to 0
|
||||||
MarsNumRefModelDesc1=Return number with format %syymm-nnnn for standard invoices, %syymm-nnnn for replacement invoices, %syymm-nnnn for down payment invoices and %syymm-nnnn for credit notes where yy is year, mm is month and nnnn is a sequence with no break and no return to 0
|
MarsNumRefModelDesc1=Return number in the format %syymm-nnnn for standard invoices, %syymm-nnnn for replacement invoices, %syymm-nnnn for down payment invoices and %syymm-nnnn for credit notes where yy is year, mm is month and nnnn is a sequencial auto-incrementing number with no break and no return to 0
|
||||||
TerreNumRefModelError=A bill starting with $syymm already exists and is not compatible with this model of sequence. Remove it or rename it to activate this module.
|
TerreNumRefModelError=A bill starting with $syymm already exists and is not compatible with this model of sequence. Remove it or rename it to activate this module.
|
||||||
CactusNumRefModelDesc1=Return number with format %syymm-nnnn for standard invoices, %syymm-nnnn for credit notes and %syymm-nnnn for down payment invoices where yy is year, mm is month and nnnn is a sequence with no break and no return to 0
|
CactusNumRefModelDesc1=Return number in the format %syymm-nnnn for standard invoices, %syymm-nnnn for credit notes and %syymm-nnnn for down payment invoices where yy is year, mm is month and nnnn is a sequencial auto-incrementing number with no break and no return to 0
|
||||||
EarlyClosingReason=Early closing reason
|
EarlyClosingReason=Early closing reason
|
||||||
EarlyClosingComment=Early closing note
|
EarlyClosingComment=Early closing note
|
||||||
##### Types de contacts #####
|
##### Types de contacts #####
|
||||||
|
|||||||
@ -93,7 +93,7 @@ AddSupplierIntoCategory=Assign category to supplier
|
|||||||
ShowCategory=Show tag/category
|
ShowCategory=Show tag/category
|
||||||
ByDefaultInList=By default in list
|
ByDefaultInList=By default in list
|
||||||
ChooseCategory=Choose category
|
ChooseCategory=Choose category
|
||||||
StocksCategoriesArea=Warehouses Categories
|
StocksCategoriesArea=Warehouse Categories
|
||||||
ActionCommCategoriesArea=Events Categories
|
ActionCommCategoriesArea=Event Categories
|
||||||
WebsitePagesCategoriesArea=Page-Container Categories
|
WebsitePagesCategoriesArea=Page-Container Categories
|
||||||
UseOrOperatorForCategories=Use or operator for categories
|
UseOrOperatorForCategories=Use or operator for categories
|
||||||
|
|||||||
@ -449,7 +449,7 @@ CurrentOutstandingBill=Current outstanding bill
|
|||||||
OutstandingBill=Max. for outstanding bill
|
OutstandingBill=Max. for outstanding bill
|
||||||
OutstandingBillReached=Max. for outstanding bill reached
|
OutstandingBillReached=Max. for outstanding bill reached
|
||||||
OrderMinAmount=Minimum amount for order
|
OrderMinAmount=Minimum amount for order
|
||||||
MonkeyNumRefModelDesc=Return a number with the format %syymm-nnnn for the customer code and %syymm-nnnn for the vendor code where yy is year, mm is month and nnnn is a sequence with no break and no return to 0.
|
MonkeyNumRefModelDesc=Return a number in the format %syymm-nnnn for the customer code and %syymm-nnnn for the vendor code where yy is year, mm is month and nnnn is a sequencial auto-incrementing number with no break and no return to 0.
|
||||||
LeopardNumRefModelDesc=The code is free. This code can be modified at any time.
|
LeopardNumRefModelDesc=The code is free. This code can be modified at any time.
|
||||||
ManagingDirectors=Manager(s) name (CEO, director, president...)
|
ManagingDirectors=Manager(s) name (CEO, director, president...)
|
||||||
MergeOriginThirdparty=Duplicate third party (third party you want to delete)
|
MergeOriginThirdparty=Duplicate third party (third party you want to delete)
|
||||||
|
|||||||
@ -231,7 +231,7 @@ Pcg_subtype=Pcg subtype
|
|||||||
InvoiceLinesToDispatch=Invoice lines to dispatch
|
InvoiceLinesToDispatch=Invoice lines to dispatch
|
||||||
ByProductsAndServices=By product and service
|
ByProductsAndServices=By product and service
|
||||||
RefExt=External ref
|
RefExt=External ref
|
||||||
ToCreateAPredefinedInvoice=To create a template invoice, create a standard invoice, then, without validating it, click onto button "%s".
|
ToCreateAPredefinedInvoice=To create a template invoice, create a standard invoice, then, without validating it, click on button "%s".
|
||||||
LinkedOrder=Link to order
|
LinkedOrder=Link to order
|
||||||
Mode1=Method 1
|
Mode1=Method 1
|
||||||
Mode2=Method 2
|
Mode2=Method 2
|
||||||
|
|||||||
@ -314,7 +314,7 @@ LastUpdated=Latest update
|
|||||||
CorrectlyUpdated=Correctly updated
|
CorrectlyUpdated=Correctly updated
|
||||||
PropalMergePdfProductActualFile=Files use to add into PDF Azur are/is
|
PropalMergePdfProductActualFile=Files use to add into PDF Azur are/is
|
||||||
PropalMergePdfProductChooseFile=Select PDF files
|
PropalMergePdfProductChooseFile=Select PDF files
|
||||||
IncludingProductWithTag=Including product/service with tag
|
IncludingProductWithTag=Include products/services with tag
|
||||||
DefaultPriceRealPriceMayDependOnCustomer=Default price, real price may depend on customer
|
DefaultPriceRealPriceMayDependOnCustomer=Default price, real price may depend on customer
|
||||||
WarningSelectOneDocument=Please select at least one document
|
WarningSelectOneDocument=Please select at least one document
|
||||||
DefaultUnitToShow=Unit
|
DefaultUnitToShow=Unit
|
||||||
|
|||||||
@ -19,8 +19,8 @@ Stock=Stock
|
|||||||
Stocks=Stocks
|
Stocks=Stocks
|
||||||
MissingStocks=Missing stocks
|
MissingStocks=Missing stocks
|
||||||
StockAtDate=Stocks at date
|
StockAtDate=Stocks at date
|
||||||
StockAtDateInPast=Date in past
|
StockAtDateInPast=Date in the past
|
||||||
StockAtDateInFuture=Date in future
|
StockAtDateInFuture=Date in the future
|
||||||
StocksByLotSerial=Stocks by lot/serial
|
StocksByLotSerial=Stocks by lot/serial
|
||||||
LotSerial=Lots/Serials
|
LotSerial=Lots/Serials
|
||||||
LotSerialList=List of lot/serials
|
LotSerialList=List of lot/serials
|
||||||
@ -37,8 +37,8 @@ AllWarehouses=All warehouses
|
|||||||
IncludeEmptyDesiredStock=Include also negative stock with undefined desired stock
|
IncludeEmptyDesiredStock=Include also negative stock with undefined desired stock
|
||||||
IncludeAlsoDraftOrders=Include also draft orders
|
IncludeAlsoDraftOrders=Include also draft orders
|
||||||
Location=Location
|
Location=Location
|
||||||
LocationSummary=Short name location
|
LocationSummary=Short name of location
|
||||||
NumberOfDifferentProducts=Number of different products
|
NumberOfDifferentProducts=Number of unique products
|
||||||
NumberOfProducts=Total number of products
|
NumberOfProducts=Total number of products
|
||||||
LastMovement=Latest movement
|
LastMovement=Latest movement
|
||||||
LastMovements=Latest movements
|
LastMovements=Latest movements
|
||||||
@ -98,7 +98,7 @@ RealStockDesc=Physical/real stock is the stock currently in the warehouses.
|
|||||||
RealStockWillAutomaticallyWhen=The real stock will be modified according to this rule (as defined in the Stock module):
|
RealStockWillAutomaticallyWhen=The real stock will be modified according to this rule (as defined in the Stock module):
|
||||||
VirtualStock=Virtual stock
|
VirtualStock=Virtual stock
|
||||||
VirtualStockAtDate=Virtual stock at date
|
VirtualStockAtDate=Virtual stock at date
|
||||||
VirtualStockAtDateDesc=Virtual stock once all pending orders that are planned to be done before the date will be finished
|
VirtualStockAtDateDesc=Virtual stock once all the pending orders that are planned to be processed before the chosen date will be finished
|
||||||
VirtualStockDesc=Virtual stock is the calculated stock available once all open/pending actions (that affect stocks) are closed (purchase orders received, sales orders shipped, manufacturing orders produced, etc)
|
VirtualStockDesc=Virtual stock is the calculated stock available once all open/pending actions (that affect stocks) are closed (purchase orders received, sales orders shipped, manufacturing orders produced, etc)
|
||||||
AtDate=At date
|
AtDate=At date
|
||||||
IdWarehouse=Id warehouse
|
IdWarehouse=Id warehouse
|
||||||
@ -147,7 +147,7 @@ Replenishments=Replenishments
|
|||||||
NbOfProductBeforePeriod=Quantity of product %s in stock before selected period (< %s)
|
NbOfProductBeforePeriod=Quantity of product %s in stock before selected period (< %s)
|
||||||
NbOfProductAfterPeriod=Quantity of product %s in stock after selected period (> %s)
|
NbOfProductAfterPeriod=Quantity of product %s in stock after selected period (> %s)
|
||||||
MassMovement=Mass movement
|
MassMovement=Mass movement
|
||||||
SelectProductInAndOutWareHouse=Select a source warehouse and a target warehouse, a product and a quantity then click "%s". Once this is done for all required movements, click onto "%s".
|
SelectProductInAndOutWareHouse=Select a source warehouse and a target warehouse, a product and a quantity then click "%s". Once this is done for all required movements, click on "%s".
|
||||||
RecordMovement=Record transfer
|
RecordMovement=Record transfer
|
||||||
ReceivingForSameOrder=Receipts for this order
|
ReceivingForSameOrder=Receipts for this order
|
||||||
StockMovementRecorded=Stock movements recorded
|
StockMovementRecorded=Stock movements recorded
|
||||||
@ -238,7 +238,7 @@ StockIsRequiredToChooseWhichLotToUse=Stock is required to choose which lot to us
|
|||||||
ForceTo=Force to
|
ForceTo=Force to
|
||||||
AlwaysShowFullArbo=Display full tree of warehouse on popup of warehouse links (Warning: This may decrease dramatically performances)
|
AlwaysShowFullArbo=Display full tree of warehouse on popup of warehouse links (Warning: This may decrease dramatically performances)
|
||||||
StockAtDatePastDesc=You can view here the stock (real stock) at a given date in the past
|
StockAtDatePastDesc=You can view here the stock (real stock) at a given date in the past
|
||||||
StockAtDateFutureDesc=You can view here the stock (virtual stock) at a given date in future
|
StockAtDateFutureDesc=You can view here the stock (virtual stock) at a given date in the future
|
||||||
CurrentStock=Current stock
|
CurrentStock=Current stock
|
||||||
InventoryRealQtyHelp=Set value to 0 to reset qty<br>Keep field empty, or remove line, to keep unchanged
|
InventoryRealQtyHelp=Set value to 0 to reset qty<br>Keep field empty, or remove line, to keep unchanged
|
||||||
UpdateByScaning=Fill real qty by scaning
|
UpdateByScaning=Fill real qty by scaning
|
||||||
|
|||||||
@ -492,7 +492,7 @@ if ($action == 'create') {
|
|||||||
// Bank
|
// Bank
|
||||||
if (!empty($conf->banque->enabled)) {
|
if (!empty($conf->banque->enabled)) {
|
||||||
print '<tr><td id="label_fk_account">';
|
print '<tr><td id="label_fk_account">';
|
||||||
print $form->editfieldkey('BankAccount', 'selectaccountid', '', $object, 0, 'string', '', 1).'</td><td>';
|
print $form->editfieldkey('DefaultBankAccount', 'selectaccountid', '', $object, 0, 'string', '', 1).'</td><td>';
|
||||||
print img_picto('', 'bank_account', 'class="paddingrighonly"');
|
print img_picto('', 'bank_account', 'class="paddingrighonly"');
|
||||||
$form->select_comptes($accountid, "accountid", 0, '', 1); // Affiche liste des comptes courant
|
$form->select_comptes($accountid, "accountid", 0, '', 1); // Affiche liste des comptes courant
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
@ -500,7 +500,7 @@ if ($action == 'create') {
|
|||||||
|
|
||||||
// Type payment
|
// Type payment
|
||||||
print '<tr><td id="label_type_payment">';
|
print '<tr><td id="label_type_payment">';
|
||||||
print $form->editfieldkey('PaymentMode', 'selectpaymenttype', '', $object, 0, 'string', '', 1).'</td><td>';
|
print $form->editfieldkey('DefaultPaymentMode', 'selectpaymenttype', '', $object, 0, 'string', '', 1).'</td><td>';
|
||||||
$form->select_types_paiements(GETPOST("paymenttype", 'aZ09'), "paymenttype", '');
|
$form->select_types_paiements(GETPOST("paymenttype", 'aZ09'), "paymenttype", '');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
@ -687,12 +687,12 @@ if ($id) {
|
|||||||
print '<table class="border centpercent tableforfield">';
|
print '<table class="border centpercent tableforfield">';
|
||||||
|
|
||||||
if ($action == 'edit') {
|
if ($action == 'edit') {
|
||||||
print '<tr><td>'.$langs->trans("DateStartPeriod")."</td><td>";
|
print '<tr><td class="titlefield">'.$langs->trans("DateStartPeriod")."</td><td>";
|
||||||
print $form->selectDate($object->datesp, 'datesp', 0, 0, 0, 'datesp', 1);
|
print $form->selectDate($object->datesp, 'datesp', 0, 0, 0, 'datesp', 1);
|
||||||
print "</td></tr>";
|
print "</td></tr>";
|
||||||
} else {
|
} else {
|
||||||
print "<tr>";
|
print "<tr>";
|
||||||
print '<td>' . $langs->trans("DateStartPeriod") . '</td><td>';
|
print '<td class="titlefield">' . $langs->trans("DateStartPeriod") . '</td><td>';
|
||||||
print dol_print_date($object->datesp, 'day');
|
print dol_print_date($object->datesp, 'day');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
@ -723,10 +723,10 @@ if ($id) {
|
|||||||
print '<tr><td>' . $langs->trans("Amount") . '</td><td>' . price($object->amount, 0, $outputlangs, 1, -1, -1, $conf->currency) . '</td></tr>';
|
print '<tr><td>' . $langs->trans("Amount") . '</td><td>' . price($object->amount, 0, $outputlangs, 1, -1, -1, $conf->currency) . '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mode of payment
|
// Default mode of payment
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
print '<table class="nobordernopadding" width="100%"><tr><td>';
|
print '<table class="nobordernopadding" width="100%"><tr><td>';
|
||||||
print $langs->trans('PaymentMode');
|
print $langs->trans('DefaultPaymentMode');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if ($action != 'editmode')
|
if ($action != 'editmode')
|
||||||
print '<td class="right"><a class="editfielda" href="'.$_SERVER["PHP_SELF"].'?action=editmode&id='.$object->id.'">'.img_edit($langs->trans('SetMode'), 1).'</a></td>';
|
print '<td class="right"><a class="editfielda" href="'.$_SERVER["PHP_SELF"].'?action=editmode&id='.$object->id.'">'.img_edit($langs->trans('SetMode'), 1).'</a></td>';
|
||||||
@ -740,11 +740,11 @@ if ($id) {
|
|||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Bank Account
|
// Default Bank Account
|
||||||
if (!empty($conf->banque->enabled)) {
|
if (!empty($conf->banque->enabled)) {
|
||||||
print '<tr><td class="nowrap">';
|
print '<tr><td class="nowrap">';
|
||||||
print '<table width="100%" class="nobordernopadding"><tr><td class="nowrap">';
|
print '<table width="100%" class="nobordernopadding"><tr><td class="nowrap">';
|
||||||
print $langs->trans('BankAccount');
|
print $langs->trans('DefaultBankAccount');
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if ($action != 'editbankaccount' && $user->rights->salaries->write) {
|
if ($action != 'editbankaccount' && $user->rights->salaries->write) {
|
||||||
print '<td class="right"><a class="editfielda" href="'.$_SERVER["PHP_SELF"].'?action=editbankaccount&id='.$object->id.'">'.img_edit($langs->trans('SetBankAccount'), 1).'</a></td>';
|
print '<td class="right"><a class="editfielda" href="'.$_SERVER["PHP_SELF"].'?action=editbankaccount&id='.$object->id.'">'.img_edit($langs->trans('SetBankAccount'), 1).'</a></td>';
|
||||||
|
|||||||
@ -29,7 +29,7 @@ require_once DOL_DOCUMENT_ROOT.'/salaries/class/paymentsalary.class.php';
|
|||||||
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
|
||||||
|
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->load("bills");
|
$langs->loadLangs(array("banks", "bills"));
|
||||||
|
|
||||||
$action = GETPOST('action', 'alpha');
|
$action = GETPOST('action', 'alpha');
|
||||||
$cancel = GETPOST('cancel', 'alpha');
|
$cancel = GETPOST('cancel', 'alpha');
|
||||||
@ -78,7 +78,7 @@ if ($action == 'add_payment' || ($action == 'confirm_paiement' && $confirm == 'y
|
|||||||
$action = 'create';
|
$action = 'create';
|
||||||
}
|
}
|
||||||
if (!empty($conf->banque->enabled) && !(GETPOST("accountid", 'int') > 0)) {
|
if (!empty($conf->banque->enabled) && !(GETPOST("accountid", 'int') > 0)) {
|
||||||
setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("AccountToCredit")), null, 'errors');
|
setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("AccountToDebit")), null, 'errors');
|
||||||
$error++;
|
$error++;
|
||||||
$action = 'create';
|
$action = 'create';
|
||||||
}
|
}
|
||||||
@ -223,6 +223,7 @@ if ($action == 'create') {
|
|||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td class="fieldrequired">'.$langs->trans('AccountToDebit').'</td>';
|
print '<td class="fieldrequired">'.$langs->trans('AccountToDebit').'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
|
print img_picto('', 'bank_account', 'class="pictofixedwidth"');
|
||||||
$form->select_comptes(GETPOSTISSET("accountid") ? GETPOST("accountid", 'int') : $salary->accountid, "accountid", 0, '', 1); // Show opend bank account list
|
$form->select_comptes(GETPOSTISSET("accountid") ? GETPOST("accountid", 'int') : $salary->accountid, "accountid", 0, '', 1); // Show opend bank account list
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user