Commit Graph

7 Commits

Author SHA1 Message Date
c616072d6c Fix undefined variable $pages in Search() function - move initialization
Moved $pages array initialization outside of if/else block to prevent
undefined variable warning when search returns results (if block executes).
$pages is now initialized before the conditional logic.
2026-01-07 23:01:55 -06:00
5cdfc9c39a Fix undefined variable $pages in producto Search() function
Initialized $pages array in else block to prevent undefined variable
warning when no search criteria are provided and SQL returns results.
2026-01-07 22:58:08 -06:00
6b14b2620c Fix incorrect closing comment on Search3 function
Changed closing comment from '//Search' to '//Search3' to match
the actual function name, preventing confusion about which function
is ending.
2026-01-07 22:38:25 -06:00
b7ac70b629 Remove duplicate Search2() function declaration
Fixed 'Cannot redeclare Producto::Search2()' fatal error by
removing the duplicate function at line 778. The first Search2()
function (line 664) is the correct one with proper search
functionality including JOIN with proveedor table.
2026-01-07 22:37:21 -06:00
8878154a2b Fix undefined variable $pages in producto Search functions
Fixed 'Undefined variable $pages' error when no search criteria
are provided in Search3(), Search2(), and SearchDuplicados()
functions by initializing $pages array with proper pagination
structure in the else blocks.
2026-01-07 22:34:58 -06:00
3a5afa82fe Fix systematic errors in pagination, sucursal warnings, and fatal count() errors across multiple modules 2026-01-07 01:06:27 -06:00
3ae4be5957 Primer commit del sistema avantika sin cambios 2026-01-06 19:42:24 -06:00