Fix link to reconciliation page
This commit is contained in:
parent
6c42535eb2
commit
928330c44b
@ -1093,7 +1093,7 @@ if ($resql)
|
|||||||
}
|
}
|
||||||
|
|
||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
print '<input type="checkbox" id="selectAll" />';
|
print '<input type="checkbox" id="selectAll" title="'.dol_escape_htmltag($langs->trans("SelectAll")).'" />';
|
||||||
print ' <script type="text/javascript">
|
print ' <script type="text/javascript">
|
||||||
$("input#selectAll").change(function() {
|
$("input#selectAll").change(function() {
|
||||||
$("input[type=checkbox][name^=rowid]").prop("checked", $(this).is(":checked"));
|
$("input[type=checkbox][name^=rowid]").prop("checked", $(this).is(":checked"));
|
||||||
|
|||||||
@ -92,14 +92,14 @@ $fieldstosearchall = array(
|
|||||||
|
|
||||||
$checkedtypetiers = 0;
|
$checkedtypetiers = 0;
|
||||||
$arrayfields = array(
|
$arrayfields = array(
|
||||||
'b.ref'=>array('label'=>$langs->trans("BankAccounts"), 'checked'=>1),
|
'b.ref'=>array('label'=>$langs->trans("BankAccounts"), 'checked'=>1, 'position'=>10),
|
||||||
'accountype'=>array('label'=>$langs->trans("Type"), 'checked'=>1),
|
'b.label'=>array('label'=>$langs->trans("Label"), 'checked'=>1, 'position'=>12),
|
||||||
'b.label'=>array('label'=>$langs->trans("Label"), 'checked'=>1),
|
'accountype'=>array('label'=>$langs->trans("Type"), 'checked'=>1, 'position'=>14),
|
||||||
'b.number'=>array('label'=>$langs->trans("AccountIdShort"), 'checked'=>1),
|
'b.number'=>array('label'=>$langs->trans("AccountIdShort"), 'checked'=>1, 'position'=>16),
|
||||||
'b.account_number'=>array('label'=>$langs->trans("AccountAccounting"), 'checked'=>(!empty($conf->accounting->enabled) || !empty($conf->accounting->enabled))),
|
'b.account_number'=>array('label'=>$langs->trans("AccountAccounting"), 'checked'=>(!empty($conf->accounting->enabled) || !empty($conf->accounting->enabled)), 'position'=>18),
|
||||||
'b.fk_accountancy_journal'=>array('label'=>$langs->trans("AccountancyJournal"), 'checked'=>(!empty($conf->accounting->enabled) || !empty($conf->accounting->enabled))),
|
'b.fk_accountancy_journal'=>array('label'=>$langs->trans("AccountancyJournal"), 'checked'=>(!empty($conf->accounting->enabled) || !empty($conf->accounting->enabled)), 'position'=>20),
|
||||||
'toreconcile'=>array('label'=>$langs->trans("TransactionsToConciliate"), 'checked'=>1),
|
'toreconcile'=>array('label'=>$langs->trans("TransactionsToConciliate"), 'checked'=>1, 'position'=>50),
|
||||||
'b.currency_code'=>array('label'=>$langs->trans("Currency"), 'checked'=>0),
|
'b.currency_code'=>array('label'=>$langs->trans("Currency"), 'checked'=>0, 'position'=>22),
|
||||||
'b.datec'=>array('label'=>$langs->trans("DateCreation"), 'checked'=>0, 'position'=>500),
|
'b.datec'=>array('label'=>$langs->trans("DateCreation"), 'checked'=>0, 'position'=>500),
|
||||||
'b.tms'=>array('label'=>$langs->trans("DateModificationShort"), 'checked'=>0, 'position'=>500),
|
'b.tms'=>array('label'=>$langs->trans("DateModificationShort"), 'checked'=>0, 'position'=>500),
|
||||||
'b.clos'=>array('label'=>$langs->trans("Status"), 'checked'=>1, 'position'=>1000),
|
'b.clos'=>array('label'=>$langs->trans("Status"), 'checked'=>1, 'position'=>1000),
|
||||||
@ -525,7 +525,7 @@ foreach ($accounts as $key=>$type)
|
|||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
setEventMessages($objecttmp->error, $objecttmp->errors, 'errors');
|
setEventMessages($objecttmp->error, $objecttmp->errors, 'errors');
|
||||||
} else {
|
} else {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/compta/bank/bankentries_list.php?id='.$objecttmp->id.'&search_conciliated=0">';
|
print '<a href="'.DOL_URL_ROOT.'/compta/bank/bankentries_list.php?action=reconcile&sortfield=b.datev,b.dateo,b.rowid&sortorder=asc,asc,asc&id='.$objecttmp->id.'&search_account='.$objecttmp->id.'&search_conciliated=0&contextpage=banktransactionlist">';
|
||||||
print '<span class="badge badge-info classfortooltip" title="'.dol_htmlentities($langs->trans("TransactionsToConciliate")).'">';
|
print '<span class="badge badge-info classfortooltip" title="'.dol_htmlentities($langs->trans("TransactionsToConciliate")).'">';
|
||||||
print $result->nbtodo;
|
print $result->nbtodo;
|
||||||
print '</span>';
|
print '</span>';
|
||||||
|
|||||||
@ -111,7 +111,7 @@ Refund=Refund
|
|||||||
SocialContributionsPayments=Social/fiscal taxes payments
|
SocialContributionsPayments=Social/fiscal taxes payments
|
||||||
ShowVatPayment=Show VAT payment
|
ShowVatPayment=Show VAT payment
|
||||||
TotalToPay=Total to pay
|
TotalToPay=Total to pay
|
||||||
BalanceVisibilityDependsOnSortAndFilters=Balance is visible in this list only if table is sorted ascending on %s and filtered for 1 bank account
|
BalanceVisibilityDependsOnSortAndFilters=Balance is visible in this list only if table is sorted on %s and filtered on 1 bank account (with no other filters)
|
||||||
CustomerAccountancyCode=Customer accounting code
|
CustomerAccountancyCode=Customer accounting code
|
||||||
SupplierAccountancyCode=Vendor accounting code
|
SupplierAccountancyCode=Vendor accounting code
|
||||||
CustomerAccountancyCodeShort=Cust. account. code
|
CustomerAccountancyCodeShort=Cust. account. code
|
||||||
|
|||||||
@ -197,6 +197,7 @@ ReOpen=Re-Open
|
|||||||
Upload=Upload
|
Upload=Upload
|
||||||
ToLink=Link
|
ToLink=Link
|
||||||
Select=Select
|
Select=Select
|
||||||
|
SelectAll=Select all
|
||||||
Choose=Choose
|
Choose=Choose
|
||||||
Resize=Resize
|
Resize=Resize
|
||||||
ResizeOrCrop=Resize or Crop
|
ResizeOrCrop=Resize or Crop
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user