Compare commits
2 Commits
336ef8cf3a
...
836cdfc49d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
836cdfc49d | ||
|
|
dcb6d43026 |
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
// Display summary of jobs queued
|
// Display summary of jobs queued
|
||||||
$jobCount = count($responseData['jobs'] ?? []);
|
$jobCount = count($responseData['jobs'] ?? []);
|
||||||
$this->info("Successfully queued {$jobCount} statement export jobs");
|
$this->info("Successfully queued {$accountNumber} statement export jobs");
|
||||||
|
|
||||||
return Command::SUCCESS;
|
return Command::SUCCESS;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|||||||
@@ -108,7 +108,9 @@ class ProcessSectorDataJob implements ShouldQueue
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$headers = (new Sector())->getFillable();
|
$headers = array_filter((new Sector())->getFillable(), function($field) {
|
||||||
|
return $field !== 'id';
|
||||||
|
});
|
||||||
$rowCount = 0;
|
$rowCount = 0;
|
||||||
|
|
||||||
while (($row = fgetcsv($handle, 0, self::CSV_DELIMITER)) !== false) {
|
while (($row = fgetcsv($handle, 0, self::CSV_DELIMITER)) !== false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user