diff --git a/app/Jobs/ProcessAccountDataJob.php b/app/Jobs/ProcessAccountDataJob.php index bff829c..71bd8da 100644 --- a/app/Jobs/ProcessAccountDataJob.php +++ b/app/Jobs/ProcessAccountDataJob.php @@ -44,12 +44,6 @@ return; } - // Skip the _parameter folder - if ($this->period === '_parameter') { - Log::info("Skipping _parameter folder"); - return; - } - // Construct the filename based on the period folder name $filename = "{$this->period}.ST.ACCOUNT.csv"; $filePath = "{$this->period}/$filename"; diff --git a/app/Jobs/ProcessAtmTransactionJob.php b/app/Jobs/ProcessAtmTransactionJob.php index 6562ecb..b10badd 100644 --- a/app/Jobs/ProcessAtmTransactionJob.php +++ b/app/Jobs/ProcessAtmTransactionJob.php @@ -16,8 +16,6 @@ { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - private const PARAMETER_FOLDER = '_parameter'; - // Konstanta untuk nilai-nilai statis private const FILE_EXTENSION = '.ST.ATM.TRANSACTION.csv'; private const CSV_DELIMITER = '~'; @@ -67,12 +65,6 @@ return; } - // Skip the parameter folder - if ($this->period === self::PARAMETER_FOLDER) { - Log::info("Skipping " . self::PARAMETER_FOLDER . " folder"); - return; - } - $stats = $this->processPeriodFile(); Log::info("ProcessAtmTransactionJob completed. Total processed: {$stats['processed']}, Total errors: {$stats['errors']}"); diff --git a/app/Jobs/ProcessBillDetailDataJob.php b/app/Jobs/ProcessBillDetailDataJob.php index 56c0e75..522eaf9 100644 --- a/app/Jobs/ProcessBillDetailDataJob.php +++ b/app/Jobs/ProcessBillDetailDataJob.php @@ -42,11 +42,6 @@ return; } - // Skip the _parameter folder - if ($this->period === '_parameter') { - Log::info("Skipping _parameter folder"); - return; - } // Construct the filename based on the period folder name $filename = "{$this->period}.ST.AA.BILL.DETAILS.csv"; diff --git a/app/Jobs/ProcessCategoryDataJob.php b/app/Jobs/ProcessCategoryDataJob.php index 35dbc1d..3443d6b 100644 --- a/app/Jobs/ProcessCategoryDataJob.php +++ b/app/Jobs/ProcessCategoryDataJob.php @@ -43,12 +43,6 @@ return; } - // Skip the _parameter folder - if ($this->period === '_parameter') { - Log::info("Skipping _parameter folder"); - return; - } - // Construct the filename based on the period folder name $filename = "{$this->period}.ST.CATEGORY.csv"; $filePath = "{$this->period}/$filename"; diff --git a/app/Jobs/ProcessCompanyDataJob.php b/app/Jobs/ProcessCompanyDataJob.php index 4e25f7b..6529010 100644 --- a/app/Jobs/ProcessCompanyDataJob.php +++ b/app/Jobs/ProcessCompanyDataJob.php @@ -45,12 +45,6 @@ return; } - // Skip the _parameter folder - if ($this->period === '_parameter') { - Log::info("Skipping _parameter folder"); - return; - } - // Construct the filepath based on the period folder name $fileName = "{$this->period}.{$this->filename}"; $filePath = "{$this->period}/$fileName"; diff --git a/app/Jobs/ProcessCustomerDataJob.php b/app/Jobs/ProcessCustomerDataJob.php index 23d68fc..afe33c8 100644 --- a/app/Jobs/ProcessCustomerDataJob.php +++ b/app/Jobs/ProcessCustomerDataJob.php @@ -36,12 +36,6 @@ return; } - // Skip the _parameter folder - if ($this->period === '_parameter') { - Log::info("Skipping _parameter folder"); - return; - } - // Construct the filename based on the period folder name $filename = "{$this->period}.ST.CUSTOMER.csv"; $filePath = "{$this->period}/$filename"; diff --git a/app/Jobs/ProcessDataCaptureDataJob.php b/app/Jobs/ProcessDataCaptureDataJob.php index da06468..70ab0a9 100644 --- a/app/Jobs/ProcessDataCaptureDataJob.php +++ b/app/Jobs/ProcessDataCaptureDataJob.php @@ -45,12 +45,6 @@ return; } - // Skip the _parameter folder - if ($this->period === '_parameter') { - Log::info("Skipping _parameter folder"); - return; - } - // Construct the filepath based on the period folder name $fileName = "{$this->period}.{$this->filename}"; $filePath = "{$this->period}/$fileName"; diff --git a/app/Jobs/ProcessFundsTransferDataJob.php b/app/Jobs/ProcessFundsTransferDataJob.php index 6835748..a94d2ab 100644 --- a/app/Jobs/ProcessFundsTransferDataJob.php +++ b/app/Jobs/ProcessFundsTransferDataJob.php @@ -43,12 +43,6 @@ return; } - // Skip the _parameter folder - if ($this->period === '_parameter') { - Log::info("Skipping _parameter folder"); - return; - } - // Construct the filename based on the period folder name $filename = "{$this->period}.ST.FUNDS.TRANSFER.csv"; $filePath = "{$this->period}/$filename"; diff --git a/app/Jobs/ProcessStmtEntryDataJob.php b/app/Jobs/ProcessStmtEntryDataJob.php index 5029359..b572509 100644 --- a/app/Jobs/ProcessStmtEntryDataJob.php +++ b/app/Jobs/ProcessStmtEntryDataJob.php @@ -43,12 +43,6 @@ return; } - // Skip the _parameter folder - if ($this->period === '_parameter') { - Log::info("Skipping _parameter folder"); - return; - } - // Construct the filename based on the period folder name $filename = "{$this->period}.ST.STMT.ENTRY.csv"; $filePath = "{$this->period}/$filename"; diff --git a/app/Jobs/ProcessTellerDataJob.php b/app/Jobs/ProcessTellerDataJob.php index 118ab3d..d45f6d8 100644 --- a/app/Jobs/ProcessTellerDataJob.php +++ b/app/Jobs/ProcessTellerDataJob.php @@ -16,8 +16,6 @@ { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - private const PARAMETER_FOLDER = '_parameter'; - // Konstanta untuk nilai-nilai statis private const FILE_EXTENSION = '.ST.TELLER.csv'; private const CSV_DELIMITER = '~'; @@ -153,12 +151,6 @@ return; } - // Skip the parameter folder - if ($this->period === self::PARAMETER_FOLDER) { - Log::info("Skipping " . self::PARAMETER_FOLDER . " folder"); - return; - } - $stats = $this->processPeriodFile(); Log::info("ProcessTellerDataJob completed. Total processed: {$stats['processed']}, Total errors: {$stats['errors']}");