diff --git a/app/Models/Account.php b/app/Models/Account.php
index 4df4ac9..7a6c7ea 100644
--- a/app/Models/Account.php
+++ b/app/Models/Account.php
@@ -72,7 +72,7 @@ class Account extends Model
public function getSwitchUrlAttribute()
{
- return sprintf('',$this->user_id);
+ return sprintf('',$this->user_id);
}
private function _address()
diff --git a/resources/theme/frontend/metronic/order.blade.php b/resources/theme/frontend/metronic/order.blade.php
index 185a4b3..69bec0a 100644
--- a/resources/theme/frontend/metronic/order.blade.php
+++ b/resources/theme/frontend/metronic/order.blade.php
@@ -87,8 +87,8 @@
{{ $errors->first('order_email') }}
diff --git a/routes/web.php b/routes/web.php
index 469697d..f1ab494 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -21,7 +21,6 @@ Route::get('image/generic/{width}/{height}/{color}/{name?}','MediaController@ima
Route::group(['middleware'=>['theme:adminlte-be','auth','role:wholesaler'],'prefix'=>'a'], function() {
Route::get('setup','AdminHomeController@setup');
Route::post('setup','AdminHomeController@setup_update');
- Route::get('switch/start/{id}','\Leenooks\Controllers\AdminController@user_switch_start')->name('switch.user.stop');
//Route::get('accounting/connect', 'AccountingController@connect');
});
@@ -33,6 +32,7 @@ Route::group(['middleware'=>['theme:adminlte-be','auth','role:reseller'],'prefix
Route::get('supplier/index', 'SuppliersController@index');
Route::get('supplier/create', 'SuppliersController@create');
Route::post('supplier/store', 'SuppliersController@store');
+ Route::get('switch/start/{id}','\Leenooks\Controllers\AdminController@user_switch_start')->name('switch.user.stop');
Route::get('home/{o}', 'UserHomeController@user');
});