Debug v24

This commit is contained in:
Laurent Destailleur 2026-07-09 23:55:10 +02:00
parent eabfca88c5
commit 52391ad574
2 changed files with 6 additions and 6 deletions

View file

@ -483,13 +483,12 @@ if ($resql) {
print load_fiche_titre($langs->trans("ProductsBinding"), '', 'title_accountancy');
print '<span class="opacitymedium">'.$langs->trans("InitAccountancyDesc").'</span><br>';
print '<br>';
print '<div class="info">'.$langs->trans("InitAccountancyDesc").'</div><br>';
// Select usage
print '<table class="noborder centpercent">';
print '<tr class="liste_titre">';
print '<td>'.$langs->trans('ProductUsage').'</td><td></td>';
print '<td>'.$langs->trans('AccountancyCodeToSet').'...</td><td></td>';
print "</tr>\n";
print '<tr class="oddeven"><td><input type="radio" id="accounting_product_mode1" name="accounting_product_mode" value="ACCOUNTANCY_SELL"'.($accounting_product_mode == 'ACCOUNTANCY_SELL' ? ' checked' : '').'> <label for="accounting_product_mode1">'.$langs->trans('OptionModeProductSell').'</label></td>';
print '<td>'.$langs->trans('OptionModeProductSellDesc');
@ -619,7 +618,7 @@ if ($resql) {
print '<td class="liste_titre">';
print '<input type="text" class="flat" size="6" name="search_current_account" id="search_current_account" value="'.dol_escape_htmltag($search_current_account).'">';
$listofvals = array('withoutvalidaccount' => $langs->trans("WithoutValidAccount"), 'withvalidaccount' => $langs->trans("WithValidAccount"));
print ' '.$langs->trans("or").' '.$form->selectarray('search_current_account_valid', $listofvals, $search_current_account_valid, 1);
print ' <span class="opacitymedium">'.$langs->trans("or").'</span> '.$form->selectarray('search_current_account_valid', $listofvals, $search_current_account_valid, 1);
print '</td>';
print '<td class="liste_titre">&nbsp;</td>';
// Action column

View file

@ -32,7 +32,7 @@ Chartofaccounts=Chart of accounts
ChartOfSubaccounts=Chart of individual accounts
ChartOfIndividualAccountsOfSubsidiaryLedger=Chart of individual accounts of the subsidiary ledger
CurrentDedicatedAccountingAccount=Current dedicated account
AssignDedicatedAccountingAccount=New account to assign
AssignDedicatedAccountingAccount=Accouting account to assign
InvoiceLabel=Invoice label
OverviewOfAmountOfLinesNotBound=Overview of amount of lines not bound to an accounting account
OverviewOfAmountOfLinesBound=Overview of amount of lines already bound to an accounting account
@ -486,7 +486,7 @@ GrandTotals = Grand Totals
ErrorAccountancyDirectoryNotDefined = Accountancy directory is not defined
## Tools - Init accounting account on product / service
InitAccountancy=Init accountancy
InitAccountancyDesc=This page can be used to initialize an accounting account on products and services that does not have accounting account defined for sales and purchases.
InitAccountancyDesc=This page can be used to initialize an accounting account on products and services that does not have predefined accounting accounts.
DefaultBindingDesc=This page can be used to set the default accounts (from the chart of account) to use to link business objects with an account, like payment salaries, donation, taxes and VAT, when no specific account were already set.
DefaultClosureDesc=This page can be used to set parameters used for accounting closures.
Options=Options
@ -645,3 +645,4 @@ ReturnAccount=Return
Clone=Clone
AlreadyReturnedAccount=Entry n°%s has already been reversed
SuccessReturnedAccount=Entry n°%s has been reversed
AccountancyCodeToSet=Accountancy code to set on products/services for