wallet batch polishing

This commit is contained in:
omair saleh
2022-02-07 13:10:15 +08:00
parent 4df9c9dbe5
commit 799829f58d
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -94,7 +94,8 @@ Route::get('/products', function (\App\Classes\Modules\Exports\Services\ExportsP
// dd($bookings);
//
//})->name('x2.data');
Route::get('/wallet/{id}/details', function ($id) {
Route::get('/wallet/{marking}/details', function ($marking) {
$id = \App\Models\Company::where('reference', '=', $marking)->first()->id;
return view('pages.wallet.index', ['id' => $id]);
})->name('wallet.details');