first commit

This commit is contained in:
cj201199
2024-05-14 12:01:46 +05:30
parent 42ee49b463
commit 4fbc4a8f4f
7 changed files with 69 additions and 16 deletions

View File

@@ -248,12 +248,13 @@ class MarketPlaceController extends Controller
$id = $offering['data']->id;
$userData = array();
$user = ModelsUser::find(auth()->guard('users')->user()->id);
$dataOfBuyerForm = MarketplaceBuyerForm::first();
$userData = (object)[
'name' => $user->name ?? null,
'contact_number' => $user->contact_number ?? null,
'email' => $user->email ?? $user->email,
];
return view('Frontend.Pages.profile.market-list.buyer-form', compact('table', 'id', 'userData'));
return view('Frontend.Pages.profile.market-list.buyer-form', compact('table', 'id', 'userData','dataOfBuyerForm'));
}
//editBuyerForm start by hritik on 5-4-2024