Merhaba, bir sisteme Excel Import entegrasyonu yapıyorum. Frontend kısmını hazırladım ancak bir türlü backenddeki hataları çözemiyorum. En uygun teklifi verene işi vereceğim.
app/Http/Controllers/Application/CustomerController.php
https://paste.ofcode.org/3swXNEkcYPFjN2m9yrrruU
app/Models/Customer.php
https://paste.ofcode.org/32PsvXf834qfCZWT3z3UbYi
app/Imports/UsersImport.php
https://paste.ofcode.org/tYLxiM5TYkgNPcpbq2uC6K
resources/views/application/customers/importexport.blade.php
https://paste.ofcode.org/AVtjYCk3QDZGUSDBRuMxwL
routes/web.php ilgili yer
// Application Routes
Route::group(['namespace' => 'Application', 'prefix' => '/{company_uid}', 'middleware' => ['installed', 'auth', 'dashboard']], function () {
// Company Dashboard
Route::get('/dashboard', 'DashboardController@index')->name('dashboard');
// Customers
Route::get('/customers', 'CustomerController@index')->name('customers');
Route::get('/customers/create', 'CustomerController@create')->name('customers.create');
Route::post('/customers/create', 'CustomerController@store')->name('customers.store');
Route::get('/customers/{customer}/details', 'CustomerController@details')->name('customers.details');
Route::get('/customers/{customer}/edit', 'CustomerController@edit')->name('customers.edit');
Route::post('/customers/{customer}/edit', 'CustomerController@update')->name('customers.update');
Route::get('/customers/{customer}/delete', 'CustomerController@delete')->name('customers.delete');
Route::get('/customers/importexport', 'CustomerController@importexport')->name('customers.importexport');
Route::post('/customers/import', 'CustomerController@import')->name('customers.import');
Veritabanı Yapısı

Excel Dosyam
