fixed utilities import..

This commit is contained in:
Cüneyt Şentürk 2021-06-28 18:26:17 +03:00
parent cee54e9886
commit fcc8d4f29a

View File

@ -29,6 +29,8 @@ class Import
$total_rows = 0;
if (!empty($rows[0])) {
$total_rows = count($rows[0]);
} else if (!empty($sheets = $class->sheets())) {
$total_rows = count($rows[array_keys($sheets)[0]]);
}
$class->queue($file)->onQueue('imports')->chain([