Fix old products report

This commit is contained in:
Deon George
2022-08-01 21:06:57 +10:00
parent 7feec266b8
commit 360182b6bb
4 changed files with 34 additions and 36 deletions

View File

@@ -14,7 +14,8 @@ use App\Http\Controllers\{AdminController,
SearchController,
ServiceController,
SupplierController,
WelcomeController};
WelcomeController,
Wholesale\ReportController};
use App\Models\Supplier;
/*
@@ -94,7 +95,7 @@ Route::group(['middleware'=>['theme:adminlte-be','auth','role:wholesaler'],'pref
->whereIn('type',Supplier::offeringTypeKeys()->toArray())
->where('oo','[0-9]+');
//Route::get('report/products','Wholesale\ReportController@products');
Route::get('report/products',[ReportController::class,'products']);
// Charges - @todo This should probably go to resellers
Route::match(['get','post'],'charge/addedit/{o?}',[AdminController::class,'charge_addedit']);
Route::get('charge/unprocessed',[AdminController::class,'charge_unprocessed']);