fixed import export
This commit is contained in:
@ -4,10 +4,12 @@ namespace App\Imports\Common;
|
||||
|
||||
use App\Imports\Common\Sheets\Items as Base;
|
||||
use App\Imports\Common\Sheets\ItemTaxes;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Maatwebsite\Excel\Concerns\Importable;
|
||||
use Maatwebsite\Excel\Concerns\WithChunkReading;
|
||||
use Maatwebsite\Excel\Concerns\WithMultipleSheets;
|
||||
|
||||
class Items implements WithMultipleSheets
|
||||
class Items implements ShouldQueue, WithChunkReading, WithMultipleSheets
|
||||
{
|
||||
use Importable;
|
||||
|
||||
@ -18,4 +20,9 @@ class Items implements WithMultipleSheets
|
||||
'item_taxes' => new ItemTaxes(),
|
||||
];
|
||||
}
|
||||
|
||||
public function chunkSize(): int
|
||||
{
|
||||
return 100;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user