admin chnageg

This commit is contained in:
kshitige
2024-05-30 19:06:30 +05:30
parent 0d7f1a4a3b
commit 7f67bf96b5
7 changed files with 25 additions and 18 deletions

View File

@@ -387,8 +387,9 @@ class OverviewController extends Controller
$newData = collect();
foreach($marketPlaceBuyerFrom as $item){
if($item->table == 'marketplace_fre_sellers'){
$item['data'] = MarketplaceFractionalRealEstateSeller::with('seller', 'company',)->where('id',$item->associated_id)->first();
$item['data'] = MarketplaceFractionalRealEstateSeller::with('seller.users', 'company',)->where('id',$item->associated_id)->first();
$newData->push($item);
// dd( $item['data']);
}
else if($item->table == 'marketplace_aif_sellers')
{
@@ -480,4 +481,4 @@ class OverviewController extends Controller
return response()->json(["status" => 400, 'message' => 'Transaction Cannot Be Updated!'], 400);
}
}
}
}