add column in excel and showing discription

This commit is contained in:
cj201199
2024-05-03 16:41:09 +05:30
parent 23752671ad
commit c71779bbfc
29 changed files with 18 additions and 14 deletions

View File

@@ -210,7 +210,7 @@ class FractionalRealEstateController extends Controller
$fractionalRealEstate->save();
}
}
$type = Product::where('id', $fre->products_id)->update(['type' => $request->type]);
$type = Product::where('id', $fre->products_id)->update(['type' => $request->type,'description'=> $request->description]);
return response()->json(['status' => 200, 'message' => 'Fractional Real Estate Details Updated Successfully']);

View File

@@ -61,7 +61,8 @@ class FundImport implements ToCollection, WithHeadingRow
'categories_id' => $this->category_id,
'total_views' => 0,
'status' => 0,
'created_by' => auth()->user()->id
'created_by' => auth()->user()->id,
'description'=> $row['description'] ?? null
]);
if ($this->category_id == Category::GlobalMutualFundId) {

View File

@@ -60,7 +60,8 @@ class RealEstateImport implements ToCollection, WithHeadingRow
'categories_id' => $this->category_id,
'total_views' => 0,
'status' => 0,
'created_by' => auth()->user()->id
'created_by' => auth()->user()->id,
'description'=> $row['description'] ?? null
]);
$count = RealEstate::where('property_name',$row['property_name'])->count();
RealEstate::create([

View File

@@ -50,7 +50,8 @@ class StockFundsRealEstateExchangeImport implements ToCollection, WithHeadingRow
'categories_id' => $this->category_id,
'total_views' => 0,
'status' => 0,
'created_by' => auth()->user()->id
'created_by' => auth()->user()->id,
'description'=> $row['description'] ?? null
]);
$count = StockFundsRealEstateExchange::where('name',$row['stock_name'])->count();
// $count = StockFundsRealEstateExchange::where(function($query) use($row){

View File

@@ -420,7 +420,7 @@
<textarea class="form-control form-control-solid" rows="5" name="property_description" placeholder="Enter Property Description">{{$fractionalRealEstate->fractional_real_estate->property_description}}</textarea>
</div>
{{-- <div class="col-md-6 mt-4">
<div class="col-md-6 mt-4">
<label class="fs-6 fw-semibold form-label mt-3">
@@ -428,7 +428,7 @@
</label>
<textarea class="form-control form-control-solid" rows="5" name="description" placeholder="Enter description">{{$fractionalRealEstate->description}}</textarea>
</div> --}}
</div>
<div class="col-md-6 mt-4">
<label class="fs-6 fw-semibold form-label mt-3">

View File

@@ -41,7 +41,7 @@
<div class="dics">
<h4>Minimum Investment: {{ $data->alternative_investment_fund->minimum_investment }}
</h4>
<p>{{ $data->alternative_investment_fund->description }}</p>
<p>{{ $data->description }}</p>
</div>
</a>
</div>

View File

@@ -33,7 +33,8 @@
</div>
<div class="dics">
<h4>Minimum Investment: {{ $freData->fractional_real_estate->minimum_investment }}</h4>
<p>{{ $freData->fractional_real_estate->property_description }}</p>
{{-- <p>{{ $freData->fractional_real_estate->property_description }}</p> --}}
<p>{{ $freData->description }}</p>
</div>
</a>
</div>

View File

@@ -34,7 +34,7 @@
</div>
<div class="dics">
<h4>Minimum Investment: {{$data->alternative_investment_fund->minimum_investment}}</h4>
<p>{{$data->alternative_investment_fund->description}}</p>
<p>{{$data->description}}</p>
</div>
</a>
</div>

View File

@@ -40,7 +40,7 @@
<div class="dics">
<h4>Minimum Investment: {{ $data->alternative_investment_fund->minimum_investment }}
</h4>
<p>{{ $data->alternative_investment_fund->description }}</p>
<p>{{ $data->description }}</p>
</div>
</a>
</div>

View File

@@ -35,7 +35,7 @@
</div>
<div class="dics">
<h4>Minimum Investment: {{$data->alternative_investment_fund->minimum_investment}}</h4>
<p>{{$data->alternative_investment_fund->description}}</p>
<p>{{$data->description}}</p>
</div>
</a>
</div>

View File

@@ -42,7 +42,7 @@
<div class="dics">
<h4>Minimum Investment: {{ $data->alternative_investment_fund->minimum_investment }}
</h4>
<p>{{ $data->alternative_investment_fund->description }}</p>
<p>{{ $data->description }}</p>
</div>
</a>
</div>

View File

@@ -40,7 +40,7 @@
<div class="dics">
<h4>Minimum Investment: {{ $data->alternative_investment_fund->minimum_investment }}
</h4>
<p>{{ $data->alternative_investment_fund->description }}</p>
<p>{{ $data->description }}</p>
</div>
</a>
</div>

View File

@@ -35,7 +35,7 @@
</div>
<div class="dics">
<h4>Minimum Investment: {{$data->alternative_investment_fund->minimum_investment}}</h4>
<p>{{$data->alternative_investment_fund->description}}</p>
<p>{{$data->description}}</p>
</div>
</a>
</div>