Merge Invoice and Bill into Document

This commit is contained in:
Burak Çakırel
2020-12-24 01:28:38 +03:00
parent 830cc05957
commit 0c1424db47
436 changed files with 31655 additions and 37350 deletions

View File

@@ -25,6 +25,16 @@ 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');