fixing chnages

This commit is contained in:
cj201199
2024-05-17 11:43:34 +05:30
4 changed files with 19 additions and 17 deletions

View File

@@ -477,6 +477,7 @@ class DashboardController extends Controller
$id = \Crypt::decrypt($custom_id);
$data = MonthlyUpdateMaster::with('investor')->where('custom_id', '=', $id)->first();
$category = $data->categories;
$products_id = $data->products_id;
if ($category == "Fractional Real Estate") {
$data['category'] = 'Fractional Real Estate';
} elseif ($category == "Alternative Investment Fund") {
@@ -516,7 +517,7 @@ class DashboardController extends Controller
// 'email' => $userKyc ? $marketPlaceSellerForm->email ?? $user->email : null,
// 'declaration' => $userKyc ? $marketPlaceSellerForm->declaration ?? null : null,
// ];
return view('Frontend.Pages.profile.market-list.sale-form', compact('data', 'userData'));
return view('Frontend.Pages.profile.market-list.sale-form', compact('data', 'userData', 'products_id'));
}
public function sellerFormSubmit(Request $request)