Seperate Document Import/Export files into Invoice/Bill

This commit is contained in:
Burak Çakırel
2020-12-25 19:25:38 +03:00
parent de3c22299c
commit 3b965a39d2
45 changed files with 981 additions and 539 deletions

View File

@ -25,16 +25,6 @@ abstract class Import implements ToModel, SkipsOnError, SkipsOnFailure, WithBatc
public $empty_field = 'empty---';
/**
* @var string
*/
protected $type;
public function __construct(string $type = '')
{
$this->type = $type;
}
public function map($row): array
{
$row['company_id'] = session('company_id');