22 lines
442 B
PHP
Raw Normal View History

2019-11-16 10:21:14 +03:00
<?php
namespace App\Imports\Common;
use App\Imports\Common\Sheets\Items as Base;
use App\Imports\Common\Sheets\ItemTaxes;
2021-04-18 02:47:02 +03:00
use Maatwebsite\Excel\Concerns\Importable;
use Maatwebsite\Excel\Concerns\WithMultipleSheets;
2019-11-16 10:21:14 +03:00
class Items implements WithMultipleSheets
2019-11-16 10:21:14 +03:00
{
2021-04-18 02:47:02 +03:00
use Importable;
public function sheets(): array
2019-11-16 10:21:14 +03:00
{
return [
'items' => new Base(),
'item_taxes' => new ItemTaxes(),
];
2019-11-16 10:21:14 +03:00
}
}