Merge pull request #362 from Ritikeshyadav/RitikeshFreeu
Ritikesh freeu
This commit is contained in:
@@ -170,6 +170,7 @@ class ManageCompaniesController extends Controller
|
||||
|
||||
public function getCompaniesData()
|
||||
{
|
||||
return $this->company->getActiveCompanies();
|
||||
$data['data'] = $this->company->getActiveCompanies();
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -539,7 +539,7 @@ class MarketPlaceController extends Controller
|
||||
'no_of_units_you_wish_to_buy' => $request->no_of_units_you_wish_to_buy,
|
||||
'offer_price_per_unit' => $request->offer_price_per_unit,
|
||||
// 'total_purchase_value' => $request->total_purchase_value,
|
||||
'total_purchase_value' => $request->no_of_units_you_wish_to_buy * $request->offer_price_per_unit
|
||||
'total_purchase_value' => ($request->no_of_units_you_wish_to_buy == 0 && $request->offer_price_per_unit == 0) ? $request->total_purchase_value : $request->no_of_units_you_wish_to_buy * $request->offer_price_per_unit,
|
||||
]);
|
||||
$user = ModelsUser::find($request->user()->id);
|
||||
if ($buyerForm) {
|
||||
@@ -631,7 +631,7 @@ class MarketPlaceController extends Controller
|
||||
};
|
||||
if (MarketplaceFractionalRealEstateSeller::where('slug', $slug)->exists()) {
|
||||
$offering['type'] = 'fractional-real-estate';
|
||||
$marketFRE = MarketplaceFractionalRealEstateSeller::where('slug', $slug)->first();
|
||||
$marketFRE = MarketplaceFractionalRealEstateSeller::with('company')->where('slug', $slug)->first();
|
||||
$offering['own-product'] = MarketplaceSellerForm::where(['id' => $marketFRE->seller_forms_id, 'users_id' => auth('sanctum')->id()])->exists();
|
||||
$offering['data'] = $marketFRE;
|
||||
// dd($marketFRE);
|
||||
|
||||
@@ -57991,4 +57991,7 @@ label.error {
|
||||
}
|
||||
.ck.ck-content.ck-focused {
|
||||
height: 300px;
|
||||
}
|
||||
#kt_profile_details_view svg.svg-inline--fa.fa-download:hover {
|
||||
color: #c18948;
|
||||
}
|
||||
@@ -1434,4 +1434,7 @@ label.error {
|
||||
}
|
||||
.chat-msgs {
|
||||
height: 90% !important;
|
||||
}
|
||||
#kt_profile_details_view svg.svg-inline--fa.fa-download:hover {
|
||||
color: #c18948;
|
||||
}
|
||||
@@ -1069,4 +1069,7 @@ table.dataTable tbody tr {
|
||||
}
|
||||
label.error {
|
||||
color: red !important;
|
||||
}
|
||||
#kt_profile_details_view svg.svg-inline--fa.fa-download:hover {
|
||||
color: #c18948;
|
||||
}
|
||||
Reference in New Issue
Block a user