From 5e7326a4b635ef13ccac7854149ab3fbe3cb9e2c Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Mon, 16 Sep 2024 22:12:30 -0300 Subject: [PATCH] Limpieza --- .../Contabilidad/Cartola/Santander.php | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/app/src/Service/Contabilidad/Cartola/Santander.php b/app/src/Service/Contabilidad/Cartola/Santander.php index 477bd2c..2280498 100644 --- a/app/src/Service/Contabilidad/Cartola/Santander.php +++ b/app/src/Service/Contabilidad/Cartola/Santander.php @@ -4,25 +4,11 @@ namespace Incoviba\Service\Contabilidad\Cartola; use Psr\Http\Message\UploadedFileInterface; use PhpOffice\PhpSpreadsheet; use Incoviba\Common\Ideal\Cartola\Banco; -use Psr\Log\LoggerInterface; class Santander extends Banco { use withSubBancos; - /*public function process(UploadedFileInterface $file): array - { - $filename = $this->processUploadedFile($file); - try { - $subBanco = $this->getSubBanco($filename); - $data = $subBanco->processFile($filename); - return $subBanco->mapColumns($data); - } catch (InvalidArgumentException) { - $data = parent::processFile($filename); - return $this->mapColumns($data); - } - }*/ - protected function columnMap(): array { return [ @@ -105,14 +91,6 @@ class Santander extends Banco } $rowData[$column] = $value; } - /*if ($rowData['CARGO/ABONO'] === 'C') { - $rowData['MONTO'] = -$rowData['MONTO']; - $rowData['cargo'] = $rowData['MONTO']; - $rowData['abono'] = 0; - } else { - $rowData['cargo'] = 0; - $rowData['abono'] = $rowData['MONTO']; - }*/ $data []= $rowData; }