diff --git a/app/src/Service/Contabilidad/Cartola/Santander/OfficeBanking.php b/app/src/Service/Contabilidad/Cartola/Santander/OfficeBanking.php index 15dd731..6e8c92e 100644 --- a/app/src/Service/Contabilidad/Cartola/Santander/OfficeBanking.php +++ b/app/src/Service/Contabilidad/Cartola/Santander/OfficeBanking.php @@ -19,6 +19,10 @@ class OfficeBanking extends Banco } $xlsx = $reader->load($filename); $sheet = $xlsx->getActiveSheet(); + $subtitle = $sheet->getCell('A1')->getCalculatedValue(); + if ($subtitle === 'Consulta de movimientos de Cuentas Corrientes') { + return true; + } $subtitle = $sheet->getCell('A2')->getCalculatedValue(); return $subtitle === 'Consulta de movimientos de Cuentas Corrientes'; }