fixed #155
This commit is contained in:
parent
1e096f722c
commit
b68c840cde
@ -88,6 +88,11 @@ class Vendors extends Controller
|
||||
|
||||
foreach ($rows as $row) {
|
||||
$data = $row->toArray();
|
||||
|
||||
if (empty($data['email'])) {
|
||||
$data['email'] = '';
|
||||
}
|
||||
|
||||
$data['company_id'] = session('company_id');
|
||||
|
||||
Vendor::create($data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user