Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Core/Controller/ListCliente.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* This file is part of FacturaScripts
* Copyright (C) 2017-2025 Carlos Garcia Gomez <carlos@facturascripts.com>
* Copyright (C) 2017-2026 Carlos Garcia Gomez <carlos@facturascripts.com>
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The copyright header year was bumped from 2025 to 2026 in this PR, but the PR purpose is about bank account sorting labels. Unless there’s a project-wide policy to update headers (usually done in a dedicated sweep), consider reverting this line to avoid unrelated diff noise/inconsistency with the rest of the codebase (many files still show 2017-2025).

Suggested change
* Copyright (C) 2017-2026 Carlos Garcia Gomez <carlos@facturascripts.com>
* Copyright (C) 2017-2025 Carlos Garcia Gomez <carlos@facturascripts.com>

Copilot uses AI. Check for mistakes.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Expand Down Expand Up @@ -63,7 +63,7 @@ protected function createViewBankAccounts(string $viewName = 'ListCuentaBancoCli
{
$this->addView($viewName, 'CuentaBancoCliente', 'bank-accounts', 'fa-solid fa-piggy-bank')
->addSearchFields(['codcuenta', 'descripcion', 'iban', 'mandato', 'swift'])
->addOrderBy(['codcuenta'], 'bank-mandate')
->addOrderBy(['codcuenta'], 'code')
->addOrderBy(['descripcion'], 'description')
->addOrderBy(['iban'], 'iban')
->addOrderBy(['mandato'], 'bank-mandate')
Expand Down
Loading