fixing issues
This commit is contained in:
@@ -194,7 +194,19 @@ class ManageUserProductController extends Controller
|
||||
->join('user_kycs', 'users.id', 'user_kycs.users_id')
|
||||
->where('user_kycs.status', 'Approved')
|
||||
->pluck('users.name', 'users.id');
|
||||
$aifProductNames = $this->getAllProductNames([Category::VentureCapitalFundId, Category::InfrastructureFundId, Category::AngelFundId, Category::PrivateEquityFundId, Category::DebtFundId, Category::PrivateRealEstateFundId, Category::PrivateInvestmentInPublicEquityFundId,Category::LongOnlyFundId,Category::PrivateCreditFundId]);
|
||||
$aifProductNames = $this->getAllProductNames([
|
||||
Category::VentureCapitalFundId,
|
||||
Category::AngelFundId,
|
||||
Category::InfrastructureFundId,
|
||||
Category::FundForDistressedAssetId,
|
||||
Category::PrivateCreditFundId,
|
||||
Category::PrivateRealEstateFundId,
|
||||
Category::PrivateEquityFundId,
|
||||
Category::HedgeFundId,
|
||||
Category::PrivateInvestmentInPublicEquityFundId,
|
||||
Category::LongOnlyFundId,
|
||||
]);
|
||||
// dd($aifProductNames->toArray());
|
||||
$freProductNames = $this->getAllProductNames([Category::FractionalRealEstateId]);
|
||||
// $p2pProductNames = $this->getAllProductNames(Category::PeerToPeerLendingId);
|
||||
// $ifaProductNames = $this->getAllProductNames(Category::InvoiceDiscountingId, Category::CleanAndGreenAssetsId, Category::VentureDebtId, Category::HighYieldFinanceId, Category::SecuritizedDebtInstrumentId, Category::LeaseBasedFinancingId, Category::RevenueBasedFinancingId);
|
||||
|
||||
@@ -163,7 +163,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
->where(['status' => true, 'categories_id' => 28])
|
||||
->where('slug', '!=', $slug)
|
||||
->get();
|
||||
$productData = AlternativeInvestmentFund::where('slug',$slug)->first();
|
||||
$productData = AlternativeInvestmentFund::where('slug', $slug)->first();
|
||||
// dd($productData,$slug,$ventureCapitalFund);
|
||||
$productData = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($ventureCapitalFund, $otherVCP, $productData);
|
||||
@@ -182,7 +182,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
$productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
|
||||
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($productData);
|
||||
return view('Frontend.Pages.alternative-investment-fund.infrastructure-fund-product', compact('infrastructureFund', 'otherIF', 'productData','product'));
|
||||
return view('Frontend.Pages.alternative-investment-fund.infrastructure-fund-product', compact('infrastructureFund', 'otherIF', 'productData', 'product'));
|
||||
}
|
||||
|
||||
public function angelFundProduct($slug)
|
||||
@@ -196,7 +196,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
$productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
|
||||
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($product);
|
||||
return view('Frontend.Pages.alternative-investment-fund.angel-fund-product', compact('angelFund', 'otherAF', 'productData','product'));
|
||||
return view('Frontend.Pages.alternative-investment-fund.angel-fund-product', compact('angelFund', 'otherAF', 'productData', 'product'));
|
||||
}
|
||||
|
||||
public function privateEquityFundProduct($slug)
|
||||
@@ -240,7 +240,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
$productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
|
||||
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($productData);
|
||||
return view('Frontend.Pages.alternative-investment-fund.fund-for-distressed-asset-product', compact('fundForDistressedAsset', 'otherFFDA', 'productData','product'));
|
||||
return view('Frontend.Pages.alternative-investment-fund.fund-for-distressed-asset-product', compact('fundForDistressedAsset', 'otherFFDA', 'productData', 'product'));
|
||||
}
|
||||
|
||||
public function privateRealEstateFundProduct($slug)
|
||||
@@ -255,7 +255,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
$productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
|
||||
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($productData);
|
||||
return view('Frontend.Pages.alternative-investment-fund.private-real-estate-fund-product', compact('realEstate', 'otherPREF', 'productData','product'));
|
||||
return view('Frontend.Pages.alternative-investment-fund.private-real-estate-fund-product', compact('realEstate', 'otherPREF', 'productData', 'product'));
|
||||
}
|
||||
|
||||
public function hedgeFundProduct($slug)
|
||||
@@ -272,7 +272,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($productData);
|
||||
// dd($productData);
|
||||
return view('Frontend.Pages.alternative-investment-fund.hedge-fund-product', compact('hedgeFund', 'otherHF', 'productData','product'));
|
||||
return view('Frontend.Pages.alternative-investment-fund.hedge-fund-product', compact('hedgeFund', 'otherHF', 'productData', 'product'));
|
||||
}
|
||||
|
||||
public function privateInvestmentPublicEquityProduct($slug)
|
||||
@@ -289,7 +289,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
$productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
|
||||
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($otherPIPE);
|
||||
return view('Frontend.Pages.alternative-investment-fund.private-investment-public-equity-product', compact('pipe', 'otherPIPE', 'productData','product'));
|
||||
return view('Frontend.Pages.alternative-investment-fund.private-investment-public-equity-product', compact('pipe', 'otherPIPE', 'productData', 'product'));
|
||||
}
|
||||
|
||||
// public function ventureCapital(){
|
||||
@@ -323,7 +323,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
public function infrastructure($type = 'Open')
|
||||
{
|
||||
try {
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type',$type)->infrastructureFund()->active()->get()))
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type', $type)->infrastructureFund()->active()->get()))
|
||||
->response()
|
||||
->setStatusCode(200);
|
||||
} catch (\Exception $e) {
|
||||
@@ -345,7 +345,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
public function angelFundAllData($type = 'Open')
|
||||
{
|
||||
try {
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type',$type)->angelFund()->active()->get()))
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type', $type)->angelFund()->active()->get()))
|
||||
->response()
|
||||
->setStatusCode(200);
|
||||
} catch (\Exception $e) {
|
||||
@@ -367,7 +367,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
public function privateEquityAllData($type = 'Open')
|
||||
{
|
||||
try {
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type',$type)->privateEquityFund()->active()->get()))
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type', $type)->privateEquityFund()->active()->get()))
|
||||
->response()
|
||||
->setStatusCode(200);
|
||||
} catch (\Exception $e) {
|
||||
@@ -389,7 +389,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
public function debtFundAllData($type = 'Open')
|
||||
{
|
||||
try {
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type',$type)->debtFund()->active()->get()))
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type', $type)->debtFund()->active()->get()))
|
||||
->response()
|
||||
->setStatusCode(200);
|
||||
} catch (\Exception $e) {
|
||||
@@ -411,7 +411,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
public function privateRealEstateFundAllData($type = 'Open')
|
||||
{
|
||||
try {
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type',$type)->privateRealEstateFund()->active()->get()))
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type', $type)->privateRealEstateFund()->active()->get()))
|
||||
->response()
|
||||
->setStatusCode(200);
|
||||
} catch (\Exception $e) {
|
||||
@@ -433,7 +433,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
public function fundForDistressedAssetAllData($type = 'Open')
|
||||
{
|
||||
try {
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type',$type)->fundForDistressedAsset()->active()->get()))
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type', $type)->fundForDistressedAsset()->active()->get()))
|
||||
->response()
|
||||
->setStatusCode(200);
|
||||
} catch (\Exception $e) {
|
||||
@@ -455,7 +455,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
public function hedgeFundAllData($type = 'Open')
|
||||
{
|
||||
try {
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type',$type)->hedgeFund()->active()->get()))
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies')->where('type', $type)->hedgeFund()->active()->get()))
|
||||
->response()
|
||||
->setStatusCode(200);
|
||||
} catch (\Exception $e) {
|
||||
@@ -477,7 +477,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
public function longOnlyEquityFundAllData($type = 'Open')
|
||||
{
|
||||
try {
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies','product_images','categorys')->where('type',$type)->longOnlyEquityFund()->active()->get()))
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies', 'product_images', 'categorys')->where('type', $type)->longOnlyEquityFund()->active()->get()))
|
||||
->response()
|
||||
->setStatusCode(200);
|
||||
} catch (\Exception $e) {
|
||||
@@ -500,7 +500,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
public function privateCreditFundAllData($type = 'Open')
|
||||
{
|
||||
try {
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies','product_images')->where('type',$type)->privateCreditFund()->active()->get()))
|
||||
return (new test(Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies', 'product_images')->where('type', $type)->privateCreditFund()->active()->get()))
|
||||
->response()
|
||||
->setStatusCode(200);
|
||||
} catch (\Exception $e) {
|
||||
@@ -576,7 +576,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($otherHF);
|
||||
// dd($longOnlyEquityFund, $slug);
|
||||
return view('Frontend.Pages.alternative-investment-fund.long-only-equity-fund-product', compact('longOnlyEquityFund', 'otherHF', 'productData','product'));
|
||||
return view('Frontend.Pages.alternative-investment-fund.long-only-equity-fund-product', compact('longOnlyEquityFund', 'otherHF', 'productData', 'product'));
|
||||
}
|
||||
public function privateCreditFund()
|
||||
{
|
||||
@@ -614,4 +614,4 @@ class AlternativeInvestmentFundController extends Controller
|
||||
// dd($privateCreditFund);
|
||||
return view('Frontend.Pages.alternative-investment-fund.private-credit-fund-product', compact('privateCreditFund', 'otherPEF', 'productData'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,14 +61,14 @@ class AlternativeInvestmentFundImport implements ToCollection, WithHeadingRow
|
||||
'total_views' => 0,
|
||||
'status' => 0,
|
||||
'created_by' => auth()->user()->id,
|
||||
'description'=> $row['description'] ?? null,
|
||||
'description' => $row['description'] ?? null,
|
||||
]);
|
||||
|
||||
$count = AlternativeInvestmentFund::where('fund_name',$row['name_of_the_fund'])->count();
|
||||
$count = AlternativeInvestmentFund::where('fund_name', $row['name_of_the_fund'])->count();
|
||||
|
||||
AlternativeInvestmentFund::create([
|
||||
'products_id' => $product->id,
|
||||
'slug' => $count < 1 ? Str::slug($row['name_of_the_fund']) : Str::slug($row['name_of_the_fund']).'-'.$count+1,
|
||||
'slug' => $count < 1 ? Str::slug($row['name_of_the_fund']) : Str::slug($row['name_of_the_fund']) . '-' . $count + 1,
|
||||
'fund_name' => $row['name_of_the_fund'],
|
||||
'registration_number' => $row['registration_no'] ?? null,
|
||||
'fund_category' => $row['fund_category_iiiiii'],
|
||||
|
||||
@@ -20,7 +20,7 @@ class RealEstateImport implements ToCollection, WithHeadingRow
|
||||
*/
|
||||
protected $category_id;
|
||||
|
||||
public function __construct($category_id,)
|
||||
public function __construct($category_id)
|
||||
{
|
||||
$this->category_id= $category_id;
|
||||
}
|
||||
@@ -54,7 +54,7 @@ class RealEstateImport implements ToCollection, WithHeadingRow
|
||||
public function collection(Collection $rows)
|
||||
{
|
||||
Validator::make($rows->toArray(), $this->rules(), $this->customValidationMessages($rows))->validate();
|
||||
|
||||
// dd($rows, $this->category_id == 20 ? 'Global' : ($this->category_id == 21 ? 'Global' : ($this->category_id == 22 ? 'Global' : 'India')));
|
||||
foreach ($rows as $row) {
|
||||
$product = Product::create([
|
||||
'tables_id' => Table::RealEstateTable,
|
||||
@@ -85,8 +85,8 @@ class RealEstateImport implements ToCollection, WithHeadingRow
|
||||
'construction_status' => $row['construction_status'] ?? null,
|
||||
// 'launch_date' => getConvertedDate($row['launch_date']) ?? null,
|
||||
// 'completed_in' => getConvertedDate($row['completed_in']) ?? null,
|
||||
'launch_date' => $row['launch_date'] ? getConvertedDate($row['launch_date']) : null,
|
||||
'completed_in' => $row['completed_in'] ? getConvertedDate($row['completed_in']) : null,
|
||||
'launch_date' => getConvertedDate($row['launch_date']) ? getConvertedDate($row['launch_date']) : null,
|
||||
'completed_in' => getConvertedDate($row['completed_in']) ? getConvertedDate($row['completed_in']) : null,
|
||||
'total_units' => $row['total_units'] ?? null,
|
||||
'unit_type' => $row['unit_type'] ?? null,
|
||||
'no_of_restrooms' => $row['no_of_restrooms'] ?? null,
|
||||
|
||||
@@ -32,7 +32,7 @@ class Category extends Model
|
||||
|
||||
const GlobalVentureDebtId = 36;
|
||||
|
||||
const GlobalPrivateEquityFundId = 13;
|
||||
const PrivateEquityFundId = 13;
|
||||
|
||||
// const GlobalPrivateEquityFundId = 39;
|
||||
|
||||
@@ -76,7 +76,7 @@ class Category extends Model
|
||||
|
||||
const AngelFundId = 30;
|
||||
|
||||
const PrivateEquityFundId = 31;
|
||||
const GlobalPrivateEquityFundId = 31;
|
||||
|
||||
const DebtFundId = 32;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ class RealEstate extends Model
|
||||
{
|
||||
use HasFactory, SoftDeletes;
|
||||
|
||||
protected $fillable = ['products_id','slug','property_name','property_location','project_type','current_status','price_per_sq_ft','booking_amount','price_range','total_price','transaction_type','project_code_or_rera_id','built_up_area','carpet_area','area_in_sq_ft','construction_status','launch_date','completed_in','total_units','unit_type','no_of_bedrooms','no_of_restrooms','no_of_floors','furnished_status','commencement_certificate','occupancy_certificate','total_towers','builder_details','landmarks','amenities','elevators','car_parking','electricity_status','fire_safety_measures','water_facility','price_negotiable','maintenance_fees','nearest_railway_metro_station','pre_leased','tenant_details','facilities_features','construction_age','remarks','location','country'];
|
||||
protected $fillable = ['products_id','slug','property_name','property_location','project_type','current_status','price_per_sq_ft','booking_amount','price_range','total_price','transaction_type','project_code_or_rera_id','built_up_area','carpet_area','area_in_sq_ft','construction_status','launch_date','completed_in','total_units','unit_type','no_of_bedrooms','no_of_restrooms','no_of_floors','furnished_status','commencement_certificate','occupancy_certificate','total_towers','builder_details','landmarks','amenities','elevators','car_parking','electricity_status','fire_safety_measures','water_facility','price_negotiable','maintenance_fees','nearest_railway_metro_station','pre_leased','tenant_details','facilities_features','construction_age','remarks','location','country','geographic_focus'];
|
||||
|
||||
public function photo(){
|
||||
return $this->hasOne(ProductPhotoDocuments::class,'real_estates_id')->where('type',0);
|
||||
|
||||
@@ -141,6 +141,7 @@
|
||||
<label> <b class='fw-bold'>Open Date</b>: {{$alternativeInvestmentFund->alternativeInvestmentFund->open_date ?? 'N/A'}}</label>
|
||||
</div>
|
||||
</div>
|
||||
@dd
|
||||
<div class="col-md-6 my-3 {{dNone($alternativeInvestmentFund->alternativeInvestmentFund->first_close_date)}}">
|
||||
<div class="veiw_detials_area">
|
||||
<label> <b class='fw-bold'>1st Close Date</b>: {{$alternativeInvestmentFund->alternativeInvestmentFund->first_close_date ?? 'N/A'}}</label>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -40,37 +40,37 @@
|
||||
<input type="hidden" id="table" name="table" value="{{$table}}">
|
||||
<div class="row">
|
||||
<div class="form-group col-md-6">
|
||||
<label>Name</label>
|
||||
<label>Name <span class="color-red">*</span></label>
|
||||
<input type="text" name="name" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" value="{{$userData->name}}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>City</label>
|
||||
<label>City <span class="color-red">*</span></label>
|
||||
<input type="text" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" name="city">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Country</label>
|
||||
<label>Country <span class="color-red">*</span></label>
|
||||
<input type="text" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" name="country">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Contact Number</label>
|
||||
<label>Contact Number <span class="color-red">*</span></label>
|
||||
<input type="text" name="contact_number" minlength="10" maxlength="10" onkeydown="return /^[0-9]{9}+$/i.test(event.key)" value="{{$userData->contact_number}}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Email</label>
|
||||
<label>Email <span class="color-red">*</span></label>
|
||||
<input type="email" name="email_id" id="email_id" value="{{$userData->email}}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>No. Of Units You Wish To Buy</label>
|
||||
<label>No. Of Units You Wish To Buy <span class="color-red">*</span></label>
|
||||
<input type="number" name="no_of_units_you_wish_to_buy" id="no_of_units_you_wish_to_buy" placeholder="Eg: 500">
|
||||
<div id="no_of_units_value_error" style="color: red; display: none;">No. Of Units You Wish To Buy must be greater than 0.</div>
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Offer Price per Unit</label>
|
||||
<label>Offer Price per Unit <span class="color-red">*</span></label>
|
||||
<input type="number" name="offer_price_per_unit" id="offer_price_per_unit" placeholder="Eg: 500">
|
||||
<div id="offer_price_per_unit_value_error" style="color: red; display: none;">Offer Price per Unit must be greater than 0.</div>
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Total Purchase Value</label>
|
||||
<label>Total Purchase Value <span class="color-red">*</span></label>
|
||||
<input type="number" name="total_purchase_value" id="total_purchase_value" readonly>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
@@ -98,23 +98,23 @@
|
||||
<input type="hidden" id="table" name="table" value="{{$table}}">
|
||||
<div class="row">
|
||||
<div class="form-group col-md-6">
|
||||
<label>Name</label>
|
||||
<label>Name <span class="color-red">*</span></label>
|
||||
<input type="text" name="name" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" value="{{$userData->name}}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>City</label>
|
||||
<label>City <span class="color-red">*</span></label>
|
||||
<input type="text" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" name="city" value="{{$dataOfBuyerForm->city}}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Country</label>
|
||||
<label>Country <span class="color-red">*</span></label>
|
||||
<input type="text" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" name="country" value="{{$dataOfBuyerForm->country}}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Contact Number</label>
|
||||
<label>Contact Number <span class="color-red">*</span></label>
|
||||
<input type="text" name="contact_number" minlength="10" maxlength="10" onkeydown="return /^[0-9]{9}+$/i.test(event.key)" value="{{$userData->contact_number}}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Email</label>
|
||||
<label>Email <span class="color-red">*</span></label>
|
||||
<input type="email" name="email_id" id="email_id" value="{{$userData->email}}">
|
||||
</div>
|
||||
{{-- <div class="form-group col-md-6">
|
||||
@@ -126,7 +126,7 @@
|
||||
<input type="number" name="offer_price_per_unit" id="offer_price_per_unit" placeholder="Eg: 500">
|
||||
</div> --}}
|
||||
<div class="form-group col-md-6">
|
||||
<label>Total Purchase Value</label>
|
||||
<label>Total Purchase Value <span class="color-red">*</span></label>
|
||||
<input type="number" id="total_purchase_value" name="total_purchase_value">
|
||||
<div id="purchase_value_error" style="color: red; display: none;">Total Purchase Value must be greater than 0.</div>
|
||||
</div>
|
||||
|
||||
@@ -45,44 +45,44 @@
|
||||
<input type="hidden" id="table" name="table" value="{{ $table }}">
|
||||
<div class="row">
|
||||
<div class="form-group col-md-6">
|
||||
<label>Name</label>
|
||||
<label>Name <span class="color-red">*</span></label>
|
||||
<input type="text" name="name" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)"
|
||||
value="{{ $investedData->name }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>City</label>
|
||||
<label>City <span class="color-red">*</span></label>
|
||||
<input type="text" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" name="city"
|
||||
value="{{ $investedData->city }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Country</label>
|
||||
<label>Country <span class="color-red">*</span></label>
|
||||
<input type="text" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" name="country"
|
||||
value="{{ $investedData->country }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Contact Number</label>
|
||||
<label>Contact Number <span class="color-red">*</span></label>
|
||||
<input type="text" name="contact_number" minlength="10" maxlength="10"
|
||||
onkeydown="return /^[0-9]{9}+$/i.test(event.key)"
|
||||
value="{{ $investedData->contact_number }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Email</label>
|
||||
<label>Email <span class="color-red">*</span></label>
|
||||
<input type="email" name="email_id" id="email_id" value="{{ $investedData->email_id }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>No. Of Units You Wish To Buy</label>
|
||||
<label>No. Of Units You Wish To Buy <span class="color-red">*</span></label>
|
||||
<input type="number" name="no_of_units_you_wish_to_buy" id="no_of_units_you_wish_to_buy"
|
||||
placeholder="Eg: 500" value="{{ $investedData->no_of_units_you_wish_to_buy }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Offer Price per Unit</label>
|
||||
<label>Offer Price per Unit <span class="color-red">*</span></label>
|
||||
<input type="number" name="offer_price_per_unit" id="offer_price_per_unit"
|
||||
placeholder="Eg: 500"
|
||||
value="{{ preg_replace('/[^0-9]/', '', $investedData->offer_price_per_unit) }}">
|
||||
{{-- {{preg_replace('/[^0-9]/', '', $investedData->offer_price_per_unit)}} --}}
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Total Purchase Value</label>
|
||||
<label>Total Purchase Value <span class="color-red">*</span></label>
|
||||
<input type="number" name="total_purchase_value" id="total_purchase_value" readonly
|
||||
value="{{ preg_replace('/[^0-9]/', '', $investedData->total_purchase_value) }}">
|
||||
</div>
|
||||
@@ -121,28 +121,28 @@
|
||||
<input type="hidden" id="table" name="table" value="{{ $table }}">
|
||||
<div class="row">
|
||||
<div class="form-group col-md-6">
|
||||
<label>Name</label>
|
||||
<label>Name <span class="color-red">*</span></label>
|
||||
<input type="text" name="name" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)"
|
||||
value="{{ $investedData->name }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>City</label>
|
||||
<label>City <span class="color-red">*</span></label>
|
||||
<input type="text" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" name="city"
|
||||
value="{{ $investedData->city }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Country</label>
|
||||
<label>Country <span class="color-red">*</span></label>
|
||||
<input type="text" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" name="country"
|
||||
value="{{ $investedData->country }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Contact Number</label>
|
||||
<label>Contact Number <span class="color-red">*</span></label>
|
||||
<input type="text" name="contact_number" minlength="10" maxlength="10"
|
||||
onkeydown="return /^[0-9]{9}+$/i.test(event.key)"
|
||||
value="{{ $investedData->contact_number }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Email</label>
|
||||
<label>Email <span class="color-red">*</span></label>
|
||||
<input type="email" name="email_id" id="email_id"
|
||||
value="{{ $investedData->email_id }}">
|
||||
</div>
|
||||
@@ -155,7 +155,7 @@
|
||||
<input type="number" name="offer_price_per_unit" id="offer_price_per_unit" placeholder="Eg: 500" value="{{preg_replace('/[^0-9]/', '', $investedData->offer_price_per_unit)}}">
|
||||
</div> --}}
|
||||
<div class="form-group col-md-6">
|
||||
<label>Total Purchase Value</label>
|
||||
<label>Total Purchase Value <span class="color-red">*</span></label>
|
||||
<input type="number" name="total_purchase_value"
|
||||
value="{{ preg_replace('/[^0-9]/', '', $investedData->total_purchase_value) }}">
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
@csrf
|
||||
<div class="row">
|
||||
<div class="form-group col-md-6">
|
||||
<label>Property Name</label>
|
||||
<label>Property Name <span class="color-red">*</span></label>
|
||||
<input type="text" name="property_name" value="{{ $freProduct->property_name }}">
|
||||
</div>
|
||||
{{-- <div class="form-group col-md-6">
|
||||
@@ -44,7 +44,7 @@
|
||||
</select>
|
||||
</div> --}}
|
||||
<div class="form-group col-md-6">
|
||||
<label>Property Address</label>
|
||||
<label>Property Address <span class="color-red">*</span></label>
|
||||
<input type="text" name="property_address" value="{{ $freProduct->property_address }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
@@ -52,7 +52,7 @@
|
||||
<input type="text" name="property_grade" value="{{ $freProduct->property_grade }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Asset Type</label>
|
||||
<label>Asset Type <span class="color-red">*</span></label>
|
||||
<!-- <input type="text" name="asset_type" value="{{ $freProduct->asset_type }}"> -->
|
||||
<select name="asset_type" id="">
|
||||
<option value="">Please Select Asset Type</option>
|
||||
@@ -62,7 +62,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Annual Rental Yield Earned</label>
|
||||
<label>Annual Rental Yield Earned <span class="color-red">*</span></label>
|
||||
<input type="text" name="annual_rental_yield_earned"
|
||||
value="{{ $freProduct->annual_rental_yield_earned }}">
|
||||
</div>
|
||||
@@ -71,7 +71,7 @@
|
||||
<input type="text" name="rental_escalation" value="{{ $freProduct->rental_escalation }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Fractional Real Estate Platform</label>
|
||||
<label>Fractional Real Estate Platform <span class="color-red">*</span></label>
|
||||
<select name="fractional_real_estate_platform" id="">
|
||||
<option value="">Please Select Platform</option>
|
||||
@foreach ($companies as $company)
|
||||
@@ -80,24 +80,24 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Date Of Investment</label>
|
||||
<label>Date Of Investment <span class="color-red">*</span></label>
|
||||
<input type="date" name="date_of_investment" id="date_of_investment" value="{{ $freProduct->date_of_investment }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Original Amount Invested</label>
|
||||
<label>Original Amount Invested <span class="color-red">*</span></label>
|
||||
<input type="number" name="original_amount_invested"
|
||||
value="{{ $freProduct->original_amount_invested }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Current Market Value of the Property</label>
|
||||
<label>Current Market Value of the Property <span class="color-red">*</span></label>
|
||||
<input type="number" name="current_market_value_of_the_property" value="">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Expected Selling Price</label>
|
||||
<label>Expected Selling Price <span class="color-red">*</span></label>
|
||||
<input type="number" name="expected_selling_price" value="">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Latest Valuation Date</label>
|
||||
<label>Latest Valuation Date <span class="color-red">*</span></label>
|
||||
<input type="date" id="latest_valuation_date" name="latest_valuation_date">
|
||||
</div>
|
||||
<div class="form-check">
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</div>
|
||||
<div class="dics">
|
||||
<h4>Total Price: {{ $data->real_estate->total_price }}</h4>
|
||||
<p>{{ $data->real_estate->remarks }}</p>
|
||||
<p>{{Str::limit($data->description,250)}}</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
</div>
|
||||
<div class="dics">
|
||||
<h4>Total Price: {{$data->real_estate->total_price}}</h4>
|
||||
<p>{{$data->real_estate->property_location}}</p>
|
||||
{{-- <p>{{$data->real_estate->property_location}}</p> --}}
|
||||
<p>{{Str::limit($data->description,250)}}</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<p class="cate">Category: {{$ffdaData->categorys->category_name}}</p>
|
||||
<div class="dics">
|
||||
<h4>Minimum Investment: {{$ffdaData->realEstate->total_price}}</h4>
|
||||
<p>{{Str::limit($ffdaData->realEstate->facilities_features,250)}}</p>
|
||||
<p>{{Str::limit($ffdaData->description,250)}}</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user