Merge branch 'main' of https://github.com/Ritikeshyadav/my-freeu into megha
This commit is contained in:
@@ -135,6 +135,7 @@ class ManageLeadController extends Controller
|
||||
|
||||
public function editLead($id)
|
||||
{
|
||||
// dd($this->lead->edit($id));
|
||||
return view('Admin.Pages.manage_leads.edit-lead', [
|
||||
'lead' => $this->lead->edit($id),
|
||||
'users' => User::admins()->get(),
|
||||
|
||||
@@ -59,7 +59,7 @@ class ManageSubAdminController extends Controller
|
||||
if (!$check) {
|
||||
abort(404);
|
||||
}
|
||||
$subAdmin = User::where(['role' => 2])->whereNotIn('id', [auth()->user()->id])->orderBy('last_login','desc')->get();
|
||||
$subAdmin = User::where(['role' => 2])->whereNotIn('id', [auth()->user()->id])->orderBy('created_at','desc')->get();
|
||||
// $subAdmin = User::where('status', 1)->whereIn('role', ['1', '2'])->whereNotIn('id', [auth()->user()->id])->latest()->get();
|
||||
// dd($subAdmin);
|
||||
return view('Admin.sub_admin_list', ['subAdmin' => $subAdmin]);
|
||||
@@ -72,9 +72,9 @@ class ManageSubAdminController extends Controller
|
||||
$validator = Validator::make($request->post(), [
|
||||
'name' => 'required',
|
||||
// 'address' => 'required',
|
||||
'mobile_number' => 'required',
|
||||
'mobile_number' => 'required|unique:users,contact_number',
|
||||
'password' => 'required',
|
||||
'email' => 'required',
|
||||
'email' => 'required|unique:users',
|
||||
], [
|
||||
'unique' => ':attribute should be unique',
|
||||
'required' => ':attribute is required'
|
||||
@@ -86,14 +86,14 @@ class ManageSubAdminController extends Controller
|
||||
// $principalType = Iam_Principal_Type::find($request->role_type);
|
||||
$emailAlreadyExists = User::where('email',$request->email)->exists();
|
||||
$contactAlreadyExists = User::where('contact_number',$request->contact_number)->exists();
|
||||
if($emailAlreadyExists)
|
||||
{
|
||||
return response()->json(['status' => 400, 'message' =>'email should be unique']);
|
||||
}
|
||||
if($contactAlreadyExists)
|
||||
{
|
||||
return response()->json(['status' => 400, 'message' =>'Mobile number should be unique']);
|
||||
}
|
||||
// if($emailAlreadyExists)
|
||||
// {
|
||||
// return response()->json(['status' => 400, 'message' =>'email should be unique']);
|
||||
// }
|
||||
// if($contactAlreadyExists)
|
||||
// {
|
||||
// return response()->json(['status' => 400, 'message' =>'Mobile number should be unique']);
|
||||
// }
|
||||
|
||||
// defining user type
|
||||
if ($request->role_type == 1) {
|
||||
|
||||
@@ -40,6 +40,7 @@ class ManageTestimonialController extends Controller
|
||||
|
||||
public function store_testimonial(StoreTestimonialRequest $request)
|
||||
{
|
||||
// dd($request->all());
|
||||
$testimonialAdded = $this->testimonial->store($request);
|
||||
return $testimonialAdded ?
|
||||
$this->response('Testimonial Added Successfully!', 200) :
|
||||
@@ -48,6 +49,7 @@ class ManageTestimonialController extends Controller
|
||||
|
||||
public function edit_testimonial($id)
|
||||
{
|
||||
// dd($this->testimonial->show($id));
|
||||
return view('Admin.Pages.manage_cms.manage_testimonials.edit_testimonial', [
|
||||
'testimonial_data' => $this->testimonial->show($id),
|
||||
]);
|
||||
|
||||
@@ -31,13 +31,13 @@ class ProfileController extends Controller
|
||||
|
||||
public function update(Request $request)
|
||||
{
|
||||
// dd($request->all());
|
||||
dd($request->all());
|
||||
$validator = Validator::make($request->all(), [
|
||||
'name' => 'required|regex:/^[a-zA-Z ]+$/u|max:255',
|
||||
// 'email' => 'required|unique:users,email,' . $request->id . '',
|
||||
// 'contact_number' => 'required|numeric|digits:10|unique:users,contact_number,' . $request->id . '',
|
||||
'profile_image' => 'image|mimes:jpeg,jpg,png|max:2000',
|
||||
'address' => 'required|max:255'
|
||||
'address' => 'max:255'
|
||||
], [
|
||||
'required' => 'The :attribute field must be required',
|
||||
// 'unique' => 'The :attribute field must be unique',
|
||||
@@ -57,7 +57,7 @@ class ProfileController extends Controller
|
||||
$addUser = User::where('id', $request->id)->update([
|
||||
'name' => $request->name,
|
||||
// 'contact_number' => $request->contact_number,
|
||||
'address' => $request->address,
|
||||
'address' => $request->address ?? null,
|
||||
// 'email' => $request->email,
|
||||
'profile_image' => $image,
|
||||
]);
|
||||
@@ -86,7 +86,7 @@ class ProfileController extends Controller
|
||||
|
||||
public function updateAPI(Request $request)
|
||||
{
|
||||
|
||||
// dd($request->all());
|
||||
$validator = Validator::make($request->all(), [
|
||||
'name' => 'required',
|
||||
// 'email' => 'required',
|
||||
@@ -102,7 +102,7 @@ class ProfileController extends Controller
|
||||
|
||||
$validationMessage = $this->validationError($validator);
|
||||
if ($validationMessage) {
|
||||
return response()->json(['status' => 400, 'message' => $validationMessage], 400);
|
||||
return response()->json(['status' => 400, 'message' => $validationMessage], 402);
|
||||
}
|
||||
|
||||
$user = User::find($request->user()->id);
|
||||
@@ -133,14 +133,16 @@ class ProfileController extends Controller
|
||||
//update
|
||||
$validator = validator::make($request->all(), [
|
||||
'email' => 'required|unique:users,email',
|
||||
'contact_number' => 'required|unique:users,contact_number,' . $request->user()->id . '',
|
||||
], [
|
||||
'required' => 'The :attribute field must be required',
|
||||
'unique' => 'The :attribute field must be unique',
|
||||
]);
|
||||
$validationMessage = $this->validationError($validator);
|
||||
if ($validationMessage) {
|
||||
return response()->json(['status' => 400, 'message' => $validationMessage]);
|
||||
return response()->json(['status' => 400, 'message' => $validationMessage],402);
|
||||
}
|
||||
// dd('both');
|
||||
$emailotp = rand(1000, 9999);
|
||||
$mailData = [
|
||||
'title' => 'Mail from Jerichoalternatives.in',
|
||||
@@ -152,12 +154,12 @@ class ProfileController extends Controller
|
||||
|
||||
//mobile no,
|
||||
|
||||
$validator = validator::make($request->all(), [
|
||||
'contact_number' => 'required|unique:users,contact_number,' . $request->user()->id . '',
|
||||
], [
|
||||
'required' => 'The :attribute field must be required',
|
||||
'unique' => 'The :attribute field must be unique',
|
||||
]);
|
||||
// $validator = validator::make($request->all(), [
|
||||
// 'contact_number' => 'required|unique:users,contact_number,' . $request->user()->id . '',
|
||||
// ], [
|
||||
// 'required' => 'The :attribute field must be required',
|
||||
// 'unique' => 'The :attribute field must be unique',
|
||||
// ]);
|
||||
$otp = rand(1000, 9999);
|
||||
// Session::put('contact_number', $request->newcontact_number);
|
||||
// Session::put('mobile_otp', $otp);
|
||||
@@ -187,8 +189,9 @@ class ProfileController extends Controller
|
||||
]);
|
||||
$validationMessage = $this->validationError($validator);
|
||||
if ($validationMessage) {
|
||||
return response()->json(['status' => 400, 'message' => $validationMessage]);
|
||||
return response()->json(['status' => 400, 'message' => $validationMessage],402);
|
||||
}
|
||||
// dd('email');
|
||||
$emailotp = rand(1000, 9999);
|
||||
$mailData = [
|
||||
'title' => 'Mail from Jerichoalternatives.in',
|
||||
@@ -215,6 +218,12 @@ class ProfileController extends Controller
|
||||
'required' => 'The :attribute field must be required',
|
||||
'unique' => 'The :attribute field must be unique',
|
||||
]);
|
||||
$validationMessage = $this->validationError($validator);
|
||||
if ($validationMessage) {
|
||||
return response()->json(['status' => 400, 'message' => $validationMessage],402);
|
||||
}
|
||||
|
||||
// dd('mobile');
|
||||
$otp = rand(1000, 9999);
|
||||
// Session::put('contact_number', $request->newcontact_number);
|
||||
// Session::put('mobile_otp', $otp);
|
||||
|
||||
@@ -37,7 +37,7 @@ class StoreLeadRequest extends FormRequest
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'users_id' => 'required',
|
||||
// 'users_id' => 'required',
|
||||
'lead_owner' => 'required',
|
||||
'products_id' => 'required',
|
||||
'lead_company' => 'nullable|string|max:255',
|
||||
|
||||
@@ -39,7 +39,7 @@ class StoreNRIKYC extends FormRequest
|
||||
'pan_card' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'proof_of_address_of_india' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'utility' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'rental_agreement' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
// 'rental_agreement' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'passport_size_photograph' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'cancelled_cheque' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'copy_of_cml' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
|
||||
@@ -38,8 +38,8 @@ class StoreNRIKYCApi extends FormRequest
|
||||
'tin' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'pan_card' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'proof_of_address_of_india' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'utility' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'rental_agreement' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'utility' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
// 'rental_agreement' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'passport_size_photograph' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'cancelled_cheque' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'copy_of_cml' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
|
||||
@@ -47,10 +47,10 @@ class StoreTestimonialRequest extends FormRequest
|
||||
// $this->client_images_one->move(public_path('/uploads/testimonials/images'), $image);
|
||||
// }
|
||||
// }
|
||||
// return array_merge(parent::validated(), [
|
||||
// 'rating' => $this->rating,
|
||||
// 'client_image' => $image
|
||||
// ]);
|
||||
return parent::validated();
|
||||
return array_merge(parent::validated(), [
|
||||
'rating' => $this->rating,
|
||||
// 'client_image' => $image
|
||||
]);
|
||||
// return parent::validated();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ class FundImport implements ToCollection, WithHeadingRow
|
||||
} else if ($this->category_id == Category::GlobalPrivateEquityFundId) {
|
||||
$init = 18;
|
||||
} else if ($this->category_id == Category::GlobalVentureCapitalFundId) {
|
||||
$init = 18;
|
||||
$init = 17;
|
||||
} else if($this->category_id == Category::GlobalHedgeFundId){
|
||||
$init = 18;
|
||||
} else if($this->category_id == Category::GlobalVentureDebtId){
|
||||
@@ -112,7 +112,8 @@ class FundImport implements ToCollection, WithHeadingRow
|
||||
'ytd' => $row['ytd'],
|
||||
'year1_return' => $row['1_year_return'],
|
||||
'year3_return' => $row['3_year_return'],
|
||||
'date_as_on' => array_key_exists('data_as_on',$row->toArray()) ? getConvertedDate($row['data_as_on']) ?? null : null,
|
||||
// 'date_as_on' => array_key_exists('data_as_on',$row->toArray()) ? getConvertedDate($row['data_as_on']) ?? null : null,
|
||||
'date_as_on' => getConvertedDate($row['data_as_on']) ?? null ,
|
||||
]);
|
||||
if ($returns) {
|
||||
foreach ($returns as $key => $value) {
|
||||
|
||||
@@ -10,7 +10,7 @@ class Fund extends Model
|
||||
{
|
||||
use HasFactory, SoftDeletes;
|
||||
|
||||
protected $fillable = ['products_id','slug','issuer','fund_name','fund_type','about_issuer','fund_description','sharpe_ratio','annualized_volatility','max_dropdown','isin','inception_date','fund_aum','expense_ratio','nav_per_unit','minimum_investment','ytd','year1_return','year3_return', 'data_as_on','geographic_focus'];
|
||||
protected $fillable = ['products_id','slug','issuer','fund_name','fund_type','about_issuer','fund_description','sharpe_ratio','annualized_volatility','max_dropdown','isin','inception_date','fund_aum','expense_ratio','nav_per_unit','minimum_investment','ytd','year1_return','year3_return', 'date_as_on','geographic_focus'];
|
||||
|
||||
protected $with = ['returns'];
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ class Lead extends Model
|
||||
{
|
||||
use HasFactory, SoftDeletes;
|
||||
|
||||
protected $fillable = ['users_id', 'lead_owner', 'products_id', 'lead_company', 'first_name', 'last_name', 'title', 'advisor', 'phone', 'email', 'mobile', 'website', 'total_employees', 'annual_revenue', 'industry', 'lead_source', 'lead_status', 'street', 'city', 'state', 'zip_code', 'country', 'description', 'created_by', 'modified_by'];
|
||||
protected $fillable = ['users_id', 'lead_owner', 'investor_name', 'products_id', 'lead_company', 'first_name', 'last_name', 'title', 'advisor', 'phone', 'email', 'mobile', 'website', 'total_employees', 'annual_revenue', 'industry', 'lead_source', 'lead_status', 'street', 'city', 'state', 'zip_code', 'country', 'description', 'created_by', 'modified_by'];
|
||||
|
||||
// for getting lead source name
|
||||
public function leadSource()
|
||||
|
||||
@@ -267,10 +267,11 @@ class KYCService
|
||||
$proof_of_address_of_foreign_utility_fileName = 'utility' . time() . $userId . '.' . $validated['utility']->getClientOriginalExtension();
|
||||
$proof_of_address_of_foreign_utility_path = $validated['utility']->storeAs('files/images/nri_kyc/utility', $proof_of_address_of_foreign_utility_fileName);
|
||||
}
|
||||
|
||||
$proof_of_address_of_foreign_rental_agreement_fileName = 'rental_agreement' . time() . $userId . '.' . $validated['rental_agreement']->getClientOriginalExtension();
|
||||
$proof_of_address_of_foreign_rental_agreement_path = $validated['rental_agreement']->storeAs('files/images/nri_kyc/rental_agreement', $proof_of_address_of_foreign_rental_agreement_fileName);
|
||||
|
||||
|
||||
if (array_key_exists('rental_agreement', $validated)) {
|
||||
$proof_of_address_of_foreign_rental_agreement_fileName = 'rental_agreement' . time() . $userId . '.' . $validated['rental_agreement']->getClientOriginalExtension();
|
||||
$proof_of_address_of_foreign_rental_agreement_path = $validated['rental_agreement']->storeAs('files/images/nri_kyc/rental_agreement', $proof_of_address_of_foreign_rental_agreement_fileName);
|
||||
}
|
||||
$passport_size_photograph_fileName = 'passport_size_photograph_' . time() . $userId . '.' . $validated['passport_size_photograph']->getClientOriginalExtension();
|
||||
$passport_size_photograph_path = $validated['passport_size_photograph']->storeAs('files/images/nri_kyc/passport_size_photograph', $passport_size_photograph_fileName);
|
||||
|
||||
@@ -304,7 +305,7 @@ class KYCService
|
||||
'pan_card' => $pan_card_path,
|
||||
'proof_of_address_of_india' => $proof_of_address_of_india_path,
|
||||
'utility' => $proof_of_address_of_foreign_utility_path,
|
||||
'rental_agreement' => $proof_of_address_of_foreign_rental_agreement_path,
|
||||
// 'rental_agreement' => $proof_of_address_of_foreign_rental_agreement_path,
|
||||
'passport_size_of_photograph' => $passport_size_photograph_path,
|
||||
'copy_of_cml' => $copy_of_cml_path,
|
||||
'cancelled_cheque_nro_or_nre_account' => $cancelled_cheque_path ?? null,
|
||||
|
||||
@@ -6516,4 +6516,12 @@ a.read_notification {
|
||||
}
|
||||
p.regist, p.regist a {
|
||||
color: #fff;
|
||||
}
|
||||
.rating i.fa.fa-star {
|
||||
margin-top: 20px;
|
||||
color: #ffbd59;
|
||||
}
|
||||
.about-inner-contain.aboutss:after {
|
||||
content: '';
|
||||
position: relative;
|
||||
}
|
||||
@@ -122,6 +122,16 @@ h6 {
|
||||
color: var(--bs-heading-color);
|
||||
}
|
||||
|
||||
.reset {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.reset span.toggle-password {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 17px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.h1,
|
||||
h1 {
|
||||
font-size: calc(1.3rem + 0.6vw);
|
||||
@@ -57974,4 +57984,10 @@ label.error {
|
||||
.form-control {
|
||||
height: 50px;
|
||||
line-height: 2;
|
||||
}
|
||||
.ck-blurred.ck.ck-content.ck-editor__editable.ck-rounded-corners.ck-editor__editable_inline {
|
||||
height: 300px;
|
||||
}
|
||||
.ck.ck-content.ck-focused {
|
||||
height: 300px;
|
||||
}
|
||||
@@ -1338,7 +1338,16 @@ td a.action_icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.reset {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.reset span.toggle-password {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 17px;
|
||||
font-size: 12px;
|
||||
}
|
||||
tr th:last-child {
|
||||
text-align: center !important;
|
||||
}
|
||||
@@ -1410,3 +1419,9 @@ tr.odd td.dataTables_empty:last-child, tr.even td.dataTables_empty:last-child {
|
||||
label.error {
|
||||
color: red !important;
|
||||
}
|
||||
.ck-blurred.ck.ck-content.ck-editor__editable.ck-rounded-corners.ck-editor__editable_inline {
|
||||
height: 300px;
|
||||
}
|
||||
.ck.ck-content.ck-focused {
|
||||
height: 300px;
|
||||
}
|
||||
@@ -9,6 +9,16 @@
|
||||
body {
|
||||
font-family: "Helvetica" !important;
|
||||
}
|
||||
.reset {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.reset span.toggle-password {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 17px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.userdet_Rw {
|
||||
display: flex;
|
||||
|
||||
BIN
public/uploads/profile/img/1718621881.jpg
Normal file
BIN
public/uploads/profile/img/1718621881.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -199,8 +199,8 @@
|
||||
<div class="modal-footer justify-content-center">
|
||||
<button type="button" class="btn btn-primary btn-hover-rise me-5" data-bs-dismiss="modal"
|
||||
aria-label="Close">Close</button>
|
||||
<button type="button" class="btn btn-primary btn-hover-rise" id="send_mail_replybtn"
|
||||
data-bs-target="#send_mail_reply">Reply an Email</button>
|
||||
{{-- <button type="button" class="btn btn-primary btn-hover-rise" id="send_mail_replybtn"
|
||||
data-bs-target="#send_mail_reply">Reply an Email</button> --}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -65,8 +65,7 @@
|
||||
<!-- <i class="fas fa-exclamation-circle ms-1 fs-7" data-bs-toggle="tooltip" title="Enter the contact's name."></i> -->
|
||||
</label>
|
||||
<!--begin::Image input-->
|
||||
<img src="{{ $blog->blog_image }}" class="image-input image-input-empty"
|
||||
style="height: 50%!important; width: 90% !important;">
|
||||
<img src="{{ $blog->blog_image }}" class="image-input image-input-empty">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<textarea class="ckeditor form-control form-control-solid max-h-100px resize-none" name="description" placeholder="Type Your message"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
{{-- <div class="row justify-content-between">
|
||||
<div class="row justify-content-between">
|
||||
|
||||
<div class="col-4">
|
||||
<div class="col-md-12 mt-5 row">
|
||||
@@ -61,7 +61,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
{{-- <div class="col-4">
|
||||
<div class="col-md-12 mt-5 row">
|
||||
<label class="fs-6 fw-semibold form-label mt-3">
|
||||
<span>Select Image</span>
|
||||
@@ -76,8 +76,8 @@
|
||||
<input style="" type="file" name="client_images_one" id="client_images" class="form-control form-control-solid">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
</div> --}}
|
||||
</div>
|
||||
<div id="inputContainer">
|
||||
<input style="display: none" type="file" name="client_img" id="testimonial_image" class="form-control form-control-solid">
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- <div class="row justify-content-between">
|
||||
<div class="row justify-content-between">
|
||||
<div class="col-4">
|
||||
<div class="col-md-12 mt-5 row">
|
||||
<label class="fs-6 fw-semibold form-label mt-3">
|
||||
@@ -56,7 +56,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
{{-- <div class="col-4">
|
||||
<div class="col-md-12 mt-5 row">
|
||||
<label class="fs-6 fw-semibold form-label mt-3">
|
||||
<span class="">Select Image</span>
|
||||
@@ -71,8 +71,8 @@
|
||||
<input type="file" name="client_images_one" id="client_images" class="form-control form-control-solid">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
</div> --}}
|
||||
</div>
|
||||
|
||||
<div class="submit_btn d-flex justify-content-center my-15">
|
||||
<button type="submit" id="update_testimonial_btn" class="btn btn-primary">Update</button>
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
</div>
|
||||
<div class="col-md-6 my-3 {{dNone($fund->funds->date_as_on)}}">
|
||||
<div class="veiw_detials_area">
|
||||
<label> <b class='fw-bold' class='fw-bold'>date As On</b>: {{$fund->funds->date_as_on ?? 'N/A'}}</label>
|
||||
<label> <b class='fw-bold' class='fw-bold'>Date As On</b>: {{$fund->funds->date_as_on ?? 'N/A'}}</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 my-3 {{dNone($fund->funds->year3_return)}}">
|
||||
|
||||
@@ -36,12 +36,13 @@
|
||||
</div>
|
||||
<div class="col-md-6 fv-row mb-4">
|
||||
<label class="required fs-6 fw-semibold mb-2">Investor</label>
|
||||
<select name="users_id" id="investor" class="form-select lead_owner">
|
||||
<input type="text" id="investor" class="form-control form-control-solid" placeholder="Enter Company" name="investor_name" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" />
|
||||
{{-- <select name="users_id" id="investor" class="form-select lead_owner">
|
||||
<option value="">Select a investor</option>
|
||||
@foreach($investor as $data)
|
||||
<option value="{{$data->id}}">{{$data->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</select> --}}
|
||||
</div>
|
||||
{{--<div class="col-md-6 fv-row mb-4">
|
||||
<label class="required fs-6 fw-semibold mb-2">Category</label>
|
||||
@@ -68,7 +69,7 @@
|
||||
<div class="col-md-6 fv-row mb-4">
|
||||
<label class=" fs-6 fw-semibold mb-2">Email</label>
|
||||
<!--pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$"-->
|
||||
<input type="email" class="form-control form-control-solid" readonly placeholder="Enter Email" name="email" id="email"/>
|
||||
<input type="email" class="form-control form-control-solid" placeholder="Enter Email" name="email" id="email"/>
|
||||
</div>
|
||||
<div class="col-md-6 fv-row mb-4">
|
||||
<label class=" fs-6 fw-semibold mb-2">Title</label>
|
||||
@@ -80,7 +81,7 @@
|
||||
</div>
|
||||
<div class="col-md-6 fv-row mb-4">
|
||||
<label class=" fs-6 fw-semibold mb-2">Phone</label>
|
||||
<input type="tel" minlength="10" readonly maxlength="10" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1');" class="form-control form-control-solid" placeholder="Enter Phone Number" name="phone" id="phone" />
|
||||
<input type="tel" minlength="10" maxlength="10" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1');" class="form-control form-control-solid" placeholder="Enter Phone Number" name="phone" id="phone" />
|
||||
</div>
|
||||
<div class="col-md-6 fv-row mb-4">
|
||||
<label class=" fs-6 fw-semibold mb-2">Lead Status</label>
|
||||
@@ -95,7 +96,7 @@
|
||||
</div>
|
||||
<div class="col-md-6 fv-row mb-4">
|
||||
<label class=" fs-6 fw-semibold mb-2">Full Name</label>
|
||||
<input type="text" class="form-control form-control-solid" readonly placeholder="Enter First Name" id="name" name="first_name" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" />
|
||||
<input type="text" class="form-control form-control-solid" placeholder="Enter First Name" id="name" name="first_name" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" />
|
||||
</div>
|
||||
{{--<div class="col-md-6 fv-row mb-4">
|
||||
<label class=" fs-6 fw-semibold mb-2">Last Name</label>
|
||||
@@ -233,23 +234,23 @@
|
||||
@endsection
|
||||
@section('scripts')
|
||||
<script>
|
||||
$('#investor').on('change',function(){
|
||||
id = $(this).val();
|
||||
$.ajax({
|
||||
url:"{{route('get-investor-detail')}}",
|
||||
type:'get',
|
||||
data:{'id':id},
|
||||
success:function(result){
|
||||
if(result.status == 200)
|
||||
{
|
||||
// console.log(result.data);
|
||||
$('#phone').val(result.data.contact_number);
|
||||
$('#email').val(result.data.email);
|
||||
$('#name').val(result.data.name);
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
// $('#investor').on('change',function(){
|
||||
// id = $(this).val();
|
||||
// $.ajax({
|
||||
// url:"{{route('get-investor-detail')}}",
|
||||
// type:'get',
|
||||
// data:{'id':id},
|
||||
// success:function(result){
|
||||
// if(result.status == 200)
|
||||
// {
|
||||
// // console.log(result.data);
|
||||
// $('#phone').val(result.data.contact_number);
|
||||
// $('#email').val(result.data.email);
|
||||
// $('#name').val(result.data.name);
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.lead_status').select2();
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</div>
|
||||
</td>
|
||||
<td class="d-flex align-items-center">
|
||||
<p class='full_name'>{{$lead->user->name}}</p>
|
||||
<p class='full_name'>{{$lead->user->name ?? $lead->investor_name}}</p>
|
||||
</td>
|
||||
<td>{{$lead->email}}</td>
|
||||
<td>{{$productName[$loop->index]['product_name']}}</td>
|
||||
|
||||
@@ -485,7 +485,7 @@
|
||||
<label class=" required fs-6 fw-semibold form-label mt-3">
|
||||
<span>Lead Owner</span>
|
||||
</label>
|
||||
<select name="lead_owner" id="" class="form-select">
|
||||
<select name="lead_owner" id="lead_owner" class="form-select">
|
||||
<option value="">Select a Lead Owner</option>
|
||||
@foreach ($users as $data)
|
||||
<option value="{{ $data->id }}"
|
||||
@@ -499,7 +499,7 @@
|
||||
<label class="fw-semibold form-label mt-3">
|
||||
<span>Products</span>
|
||||
</label>
|
||||
<select name="products_id" id="" class="form-select">
|
||||
<select name="products_id" id="products_id" class="form-select">
|
||||
<option value="">Select a Product</option>
|
||||
@foreach (getAllProductNames() as $data)
|
||||
<option value="{{ $data->id }}"
|
||||
@@ -627,16 +627,16 @@
|
||||
class="form-control form-control-solid">
|
||||
<option value="" disabled selected>Select Lead Source
|
||||
</option>
|
||||
<option value="Direct">Direct</option>
|
||||
<option value="Referral">Referral</option>
|
||||
<option value="Website Visitor">Website Visitor</option>
|
||||
<option value="Email Marketing">Email Marketing</option>
|
||||
<option value="Cold calling">Cold calling</option>
|
||||
<option value="Social Media">Social Media</option>
|
||||
<option value="Third-Party Lead Providers">Third-Party Lead
|
||||
<option value="Direct" {{$lead->lead_source == 'Direct' ? 'selected' : ''}}>Direct</option>
|
||||
<option value="Referral" {{$lead->lead_source == 'Referral' ? 'selected' : ''}}>Referral</option>
|
||||
<option value="Website Visitor" {{$lead->lead_source == 'Website Visitor' ? 'selected' : ''}}>Website Visitor</option>
|
||||
<option value="Email Marketing" {{$lead->lead_source == 'Email Marketing' ? 'selected' : ''}}>Email Marketing</option>
|
||||
<option value="Cold calling" {{$lead->lead_source == 'Cold calling' ? 'selected' : ''}}>Cold calling</option>
|
||||
<option value="Social Media" {{$lead->lead_source == 'Social Media' ? 'selected' : ''}}>Social Media</option>
|
||||
<option value="Third-Party Lead Providers" {{$lead->lead_source == 'Third-Party Lead Providers' ? 'selected' : ''}}>Third-Party Lead
|
||||
Providers</option>
|
||||
<option value="Webinar & Events">Webinar & Events</option>
|
||||
<option value="Others">Others</option>
|
||||
<option value="Webinar & Events" {{$lead->lead_source == 'Webinar & Events' ? 'selected' : ''}}>Webinar & Events</option>
|
||||
<option value="Others" {{$lead->lead_source == 'Others' ? 'selected' : ''}}>Others</option>
|
||||
{{-- @foreach ($users as $data) --}}
|
||||
|
||||
{{-- <option
|
||||
@@ -676,10 +676,10 @@
|
||||
<span>Investor</span>
|
||||
</label>
|
||||
<input type="text" class="form-control form-control-solid"
|
||||
name="user_name" readonly value='{{ $lead->user->name }}' />
|
||||
name="investor_name" readonly value='{{ $lead->user->name ?? $lead->investor_name }}' />
|
||||
<input type="text"
|
||||
class="form-control form-control-solid d-none" name="users_id"
|
||||
readonly value='{{ $lead->user->id }}' />
|
||||
readonly value='{{$lead->user->id ?? null}}' />
|
||||
{{-- <select name="users_id" id="" class="form-select">
|
||||
<option value="">Select an Investor</option> --}}
|
||||
{{-- @foreach ($investor as $data)
|
||||
@@ -3266,6 +3266,8 @@
|
||||
$('.lead_status').select2();
|
||||
$('.lead_source').select2();
|
||||
$('.lead_owner').select2();
|
||||
$('#products_id').select2();
|
||||
$('#lead_owner').select2();
|
||||
});
|
||||
|
||||
$('.convertChkbox').click(function() {
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</div>
|
||||
</td>
|
||||
<td class="d-flex align-items-center">
|
||||
<p class='full_name'>{{$lead->user->name}}</p>
|
||||
<p class='full_name'>{{$lead->user->name ?? $lead->investor_name}}</p>
|
||||
</td>
|
||||
<td>{{$lead->email}}</td>
|
||||
<td>{{$productName[$loop->index]['product_name']}}</td>
|
||||
|
||||
@@ -273,7 +273,7 @@
|
||||
{{ $loop->iteration }}
|
||||
</div>
|
||||
</td>
|
||||
<td>{{ $lead->user->name }}
|
||||
<td>{{ $lead->user->name ?? $lead->investor_name }}
|
||||
</td>
|
||||
<td>{{ $lead->email }}</td>
|
||||
<td>{{ $productName[$loop->index]['product_name'] }}</td>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
</div>
|
||||
</td>
|
||||
<td class="d-flex align-items-center">
|
||||
<p class='full_name'>{{$lead->user->name}}</p>
|
||||
<p class='full_name'>{{$lead->user->name ?? $lead->investor_name}}</p>
|
||||
</td>
|
||||
<td>{{$lead->email}}</td>
|
||||
<td>{{$productName[$loop->index]['product_name']}}</td>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</div>
|
||||
</td>
|
||||
<td class="d-flex align-items-center">
|
||||
<p class='full_name'>{{$lead->user->name}}</p>
|
||||
<p class='full_name'>{{$lead->user->name ?? $lead->investor_name}}</p>
|
||||
</td>
|
||||
<td>{{$lead->email}}</td>
|
||||
<td>{{$productName[$loop->index]['product_name']}}</td>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</div>
|
||||
</td>
|
||||
<td class="d-flex align-items-center">
|
||||
<p class='full_name'>{{$lead->user->name}}</p>
|
||||
<p class='full_name'>{{$lead->user->name ?? $lead->investor_name}}</p>
|
||||
</td>
|
||||
<td>{{$lead->email}}</td>
|
||||
<td>{{$productName[$loop->index]['product_name']}}</td>
|
||||
|
||||
@@ -511,20 +511,21 @@
|
||||
</tr>
|
||||
<tr>
|
||||
{{-- @dd($lead) --}}
|
||||
<td>{{ $lead->owner ? $lead->owner->name : '--' }}</td>
|
||||
<td>{{ $lead->owner ? $lead->owner->name : 'N/A' }}</td>
|
||||
|
||||
{{-- <td>{{$lead->product->category->category_name ? $lead->product->category->category_name:'--'}}</td> --}}
|
||||
<td>{{ $lead->product->category->category_name ?? 'NA' }}</td>
|
||||
<td class="{{$lead->title ? '': 'd-none' }}">{{ $lead->title }}</td>
|
||||
<td>{{ $lead->first_name ? $lead->first_name : '--' }}</td>
|
||||
{{-- <td>{{$lead->product->category->category_name ? $lead->product->category->category_name:'N/A'}}</td> --}}
|
||||
<td>{{ $lead->product->category->category_name ?? 'N/A' }}</td>
|
||||
<td>{{ $lead->title ?? 'N/A' }}</td>
|
||||
<td>{{ $lead->first_name ? $lead->first_name : 'N/A' }}</td>
|
||||
<td><i class="fa fa-phone-square" aria-hidden="true"></i><a
|
||||
href="">{{ $lead->phone ? $lead->phone : '--' }}</a>
|
||||
href="">{{ $lead->phone ? $lead->phone : 'N/A' }}</a>
|
||||
</td>
|
||||
<td><i class="fa fa-phone-square" aria-hidden="true"></i><a
|
||||
href="">{{ $lead->mobile ? $lead->mobile : '--' }}</a>
|
||||
href="">{{ $lead->mobile ? $lead->mobile : 'N/A' }}</a>
|
||||
</td>
|
||||
<td>{{ $lead->leadSource ? $lead->leadSource->name : '--' }}</td>
|
||||
<td>{{ $lead->modified_by ?? '--' }}</td>
|
||||
<td>{{ $lead->lead_source ?? 'N/A' }}</td>
|
||||
<td>{{ $lead->annual_revenue ?? 'N/A' }}</td>
|
||||
<td>{{ $lead->total_employees ?? 'N/A' }}</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@@ -9,82 +9,88 @@
|
||||
<div class="d-flex flex-root bgs align-items-center" id="kt_app_root">
|
||||
<!--begin::Authentication - Sign-in -->
|
||||
<div class="container">
|
||||
<div class="row w-100">
|
||||
<!--begin::Body-->
|
||||
@if(!$expirePage)
|
||||
<div class="col-md-12">
|
||||
<!--begin::Wrapper-->
|
||||
<div class="bg-body d-flex flex-center rounded-4 p-10">
|
||||
<!--begin::Content-->
|
||||
<div class="w-md-400px">
|
||||
<!--begin::Form-->
|
||||
<form class="form w-100" id="update_password" method="POST">
|
||||
@csrf
|
||||
<!--begin::Heading-->
|
||||
<div class="text-center mb-11">
|
||||
<!--begin::Title-->
|
||||
<h1 class="text-dark fw-bolder mb-3">Reset Your Password</h1>
|
||||
<!--end::Title-->
|
||||
<!--begin::Subtitle-->
|
||||
{{-- <div class="text-gray-800 fw-semibold fs-5">En</div> --}}
|
||||
<!-- <div class="text-gray-500 fw-semibold fs-7">Login Through</div> -->
|
||||
<div class="row w-100">
|
||||
<!--begin::Body-->
|
||||
@if (!$expirePage)
|
||||
<div class="col-md-12">
|
||||
<!--begin::Wrapper-->
|
||||
<div class="bg-body d-flex flex-center rounded-4 p-10">
|
||||
<!--begin::Content-->
|
||||
<div class="w-md-400px">
|
||||
<!--begin::Form-->
|
||||
<form class="form w-100" id="update_password" method="POST">
|
||||
@csrf
|
||||
<!--begin::Heading-->
|
||||
<div class="text-center mb-11">
|
||||
<!--begin::Title-->
|
||||
<h1 class="text-dark fw-bolder mb-3">Reset Your Password</h1>
|
||||
<!--end::Title-->
|
||||
<!--begin::Subtitle-->
|
||||
{{-- <div class="text-gray-800 fw-semibold fs-5">En</div> --}}
|
||||
<!-- <div class="text-gray-500 fw-semibold fs-7">Login Through</div> -->
|
||||
|
||||
<!--end::Subtitle=-->
|
||||
</div>
|
||||
<!--begin::Heading-->
|
||||
<!--begin::Input group=-->
|
||||
<div class="fv-row mb-8">
|
||||
<!--begin::Email-->
|
||||
<input type="hidden" name="email" value="{{ $email }}" autocomplete="off"
|
||||
class="form-control bg-transparent" />
|
||||
<!--end::Email-->
|
||||
</div>
|
||||
<!--end::Input group=-->
|
||||
<div class="fv-row mb-3">
|
||||
<!--begin::Password-->
|
||||
<input type="password" placeholder="Enter new password" name="password" autocomplete="off"
|
||||
class="form-control bg-transparent" />
|
||||
<!--end::Password-->
|
||||
</div>
|
||||
<div class="fv-row mb-3">
|
||||
<!--begin::Password-->
|
||||
<input type="password" placeholder="Confirm new password" name="confirm_password"
|
||||
autocomplete="off" class="form-control bg-transparent" />
|
||||
<!--end::Password-->
|
||||
</div>
|
||||
<!--end::Input group=-->
|
||||
<!--begin::Submit button-->
|
||||
<div class="d-grid mt-15 mb-10 text-center">
|
||||
{{-- <a href="./otp.php" class=" btn btn-primary">
|
||||
<!--end::Subtitle=-->
|
||||
</div>
|
||||
<!--begin::Heading-->
|
||||
<!--begin::Input group=-->
|
||||
<div class="fv-row mb-8">
|
||||
<!--begin::Email-->
|
||||
<input type="hidden" name="email" value="{{ $email }}"
|
||||
autocomplete="off" class="form-control bg-transparent" />
|
||||
<!--end::Email-->
|
||||
</div>
|
||||
<!--end::Input group=-->
|
||||
<div class="fv-row mb-3 reset">
|
||||
<!--begin::Password-->
|
||||
<span toggle="#password-field"
|
||||
class="fa fa-fw fa-eye field-icon toggle-password"></span>
|
||||
<input type="password" placeholder="Enter new password" name="password"
|
||||
autocomplete="off" class="form-control bg-transparent" />
|
||||
<!--end::Password-->
|
||||
</div>
|
||||
<div class="fv-row mb-3 reset">
|
||||
<!--begin::Password-->
|
||||
<span toggle="#password-field"
|
||||
class="fa fa-fw fa-eye field-icon toggle-password"></span>
|
||||
<input type="password" placeholder="Confirm new password"
|
||||
name="confirm_password" autocomplete="off"
|
||||
class="form-control bg-transparent" />
|
||||
<!--end::Password-->
|
||||
</div>
|
||||
<!--end::Input group=-->
|
||||
<!--begin::Submit button-->
|
||||
<div class="d-grid mt-15 mb-10 text-center">
|
||||
{{-- <a href="./otp.php" class=" btn btn-primary">
|
||||
<span class="indicator-label">Sign In</span>
|
||||
</a> --}}
|
||||
<button type="submit" class="btn btn-primary">
|
||||
<span class="indicator-label update_btn">Update</span>
|
||||
</button>
|
||||
<button type="submit" class="btn btn-primary">
|
||||
<span class="indicator-label update_btn">Update</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="alert d-none" role="alert" id="result">
|
||||
<strong id="message"></strong>
|
||||
</div>
|
||||
<!--end::Submit button-->
|
||||
<!--begin::Sign up-->
|
||||
<div class="text-gray-500 text-center fw-semibold fs-6 d-none">Reset Mail has been
|
||||
send on
|
||||
your mail</div>
|
||||
<!--end::Sign up-->
|
||||
</form>
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
<div class="alert d-none" role="alert" id="result">
|
||||
<strong id="message"></strong>
|
||||
</div>
|
||||
<!--end::Submit button-->
|
||||
<!--begin::Sign up-->
|
||||
<div class="text-gray-500 text-center fw-semibold fs-6 d-none">Reset Mail has been send on
|
||||
your mail</div>
|
||||
<!--end::Sign up-->
|
||||
</form>
|
||||
<!--end::Form-->
|
||||
<!--end::Content-->
|
||||
</div>
|
||||
<!--end::Wrapper-->
|
||||
</div>
|
||||
<!--end::Content-->
|
||||
</div>
|
||||
<!--end::Wrapper-->
|
||||
</div>
|
||||
@else
|
||||
<div class="col-md-12 text-center">
|
||||
<h1>Page has Expired</h1>
|
||||
</div>
|
||||
@endif
|
||||
<!--end::Body-->
|
||||
<!--begin::Aside-->
|
||||
{{-- <div class="col-md-6">
|
||||
@else
|
||||
<div class="col-md-12 text-center">
|
||||
<h1>Page has Expired</h1>
|
||||
</div>
|
||||
@endif
|
||||
<!--end::Body-->
|
||||
<!--begin::Aside-->
|
||||
{{-- <div class="col-md-6">
|
||||
<!--begin::Content-->
|
||||
<div class="d-flex flex-column flex-center pb-0 pb-lg-10 p-10 w-100">
|
||||
<!--begin::Image-->
|
||||
@@ -94,82 +100,98 @@
|
||||
</div>
|
||||
<!--end::Content-->
|
||||
</div> --}}
|
||||
<!--end::Authentication - Sign-in-->
|
||||
<!--end::Authentication - Sign-in-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@section('scripts')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$.validator.addMethod("StrongPassword", function(value) {
|
||||
return /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/.test(
|
||||
value
|
||||
);
|
||||
},
|
||||
"Password Must Contain <br> 8 characters <br> At least 1 uppercase letter and symbol <br> Has a number"
|
||||
);
|
||||
|
||||
$("#update_password").validate({
|
||||
ignore: [],
|
||||
debug: false,
|
||||
rules: {
|
||||
email: {
|
||||
required: true,
|
||||
},
|
||||
password: {
|
||||
required: true,
|
||||
StrongPassword: true,
|
||||
},
|
||||
confirm_password: {
|
||||
required: true,
|
||||
// equalTo: '#password',
|
||||
},
|
||||
},
|
||||
messages: {
|
||||
email: {
|
||||
required: "Please enter a valid email",
|
||||
},
|
||||
password: {
|
||||
required: "This field is required",
|
||||
},
|
||||
confirm_password: {
|
||||
required: "This field is required",
|
||||
// equalTo: "Password not matched",
|
||||
},
|
||||
},
|
||||
submitHandler: function(form) {
|
||||
var formData = new FormData(form);
|
||||
// $('.update_btn').prop('disabled',true);
|
||||
// $('.update_btn').html('Wait');
|
||||
$.ajax({
|
||||
url: "{{ route('admin.update-password') }}",
|
||||
type: "POST",
|
||||
data: formData,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
dataType: "json",
|
||||
success: function(result) {
|
||||
if (result.status == 200) {
|
||||
$('#result').removeClass('d-none alert-warning');
|
||||
$('#result').addClass('alert-success');
|
||||
$('#message').html(result.message);
|
||||
setTimeout(function() {
|
||||
$('#result').addClass('d-none');
|
||||
window.location.href =
|
||||
"{{ route('admin.login') }}";
|
||||
}, 5000);
|
||||
} else {
|
||||
$('#result').removeClass('d-none alert-success');
|
||||
$('#result').addClass('alert-warning');
|
||||
$('#message').html(result.message);
|
||||
setTimeout(function() {
|
||||
$('#result').addClass('d-none');
|
||||
}, 5000);
|
||||
}
|
||||
},
|
||||
});
|
||||
},
|
||||
</div>
|
||||
@endsection
|
||||
@section('scripts')
|
||||
<script>
|
||||
$(".toggle-password").click(function() {
|
||||
// alert('hello');
|
||||
$(this).toggleClass("fa-eye fa-eye-slash");
|
||||
var input = $(this).next().prop('type');
|
||||
// var input = $(this).closest('input').prop('type');
|
||||
// console.log(input);
|
||||
// alert(input);
|
||||
// var input = $($(this).attr("toggle"));
|
||||
if (input == "password") {
|
||||
$(this).next().prop("type", "text");
|
||||
} else {
|
||||
$(this).next().prop("type", "password");
|
||||
// input.prop("type", "password");
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
|
||||
$(document).ready(function() {
|
||||
$.validator.addMethod("StrongPassword", function(value) {
|
||||
return /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/.test(
|
||||
value
|
||||
);
|
||||
},
|
||||
"Password Must Contain <br> 8 characters <br> At least 1 uppercase letter and symbol <br> Has a number"
|
||||
);
|
||||
|
||||
$("#update_password").validate({
|
||||
ignore: [],
|
||||
debug: false,
|
||||
rules: {
|
||||
email: {
|
||||
required: true,
|
||||
},
|
||||
password: {
|
||||
required: true,
|
||||
StrongPassword: true,
|
||||
},
|
||||
confirm_password: {
|
||||
required: true,
|
||||
// equalTo: '#password',
|
||||
},
|
||||
},
|
||||
messages: {
|
||||
email: {
|
||||
required: "Please enter a valid email",
|
||||
},
|
||||
password: {
|
||||
required: "This field is required",
|
||||
},
|
||||
confirm_password: {
|
||||
required: "This field is required",
|
||||
// equalTo: "Password not matched",
|
||||
},
|
||||
},
|
||||
submitHandler: function(form) {
|
||||
var formData = new FormData(form);
|
||||
// $('.update_btn').prop('disabled',true);
|
||||
// $('.update_btn').html('Wait');
|
||||
$.ajax({
|
||||
url: "{{ route('admin.update-password') }}",
|
||||
type: "POST",
|
||||
data: formData,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
dataType: "json",
|
||||
success: function(result) {
|
||||
if (result.status == 200) {
|
||||
$('#result').removeClass('d-none alert-warning');
|
||||
$('#result').addClass('alert-success');
|
||||
$('#message').html(result.message);
|
||||
setTimeout(function() {
|
||||
$('#result').addClass('d-none');
|
||||
window.location.href =
|
||||
"{{ route('admin.login') }}";
|
||||
}, 5000);
|
||||
} else {
|
||||
$('#result').removeClass('d-none alert-success');
|
||||
$('#result').addClass('alert-warning');
|
||||
$('#message').html(result.message);
|
||||
setTimeout(function() {
|
||||
$('#result').addClass('d-none');
|
||||
}, 5000);
|
||||
}
|
||||
},
|
||||
});
|
||||
},
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
</svg><!-- <i class="fa-solid fa-clock-rotate-left"></i> Font Awesome fontawesome.com -->
|
||||
</a>
|
||||
|
||||
<a class="action_icon back_route" data-bs-toggle="tooltip" data-bs-custom-class="tooltip-inverse" data-bs-placement="top" title="Reject" onclick="listingStatus({{$data->id}},'Rejected','{{$table}}')">
|
||||
<a class="action_icon back_route" data-bs-toggle="tooltip" data-bs-custom-class="tooltip-inverse" data-bs-placement="top" title="Reject" onclick="listingStatus({{$data->id}},'Rejected','{{$table}}','{{$data->seller->email}}')">
|
||||
<svg class="svg-inline--fa fa-ban" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="ban" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg="">
|
||||
<path fill="currentColor" d="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256z"></path>
|
||||
</svg><!-- <i class="fa-solid fa-ban"></i> Font Awesome fontawesome.com -->
|
||||
|
||||
@@ -252,7 +252,7 @@
|
||||
@foreach ($leads as $lead)
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td>{{ $lead->user->name }}</td>
|
||||
<td>{{ $lead->user->name ?? $lead->investor_name}}</td>
|
||||
<td>{{ $lead->lead_company ?? 'N/A' }}</td>
|
||||
<td>{{ $lead->email }}</td>
|
||||
<td>{{ $lead->mobile }}</td>
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>{{$data['company_name']}}</h2>
|
||||
<p><span>Partner Platform :</span><img src="{{$data['company_logo']}}">{{$data['company_name']}}</p>
|
||||
{{-- <p><span>Partner Platform :</span><img src="{{$data['company_logo']}}">{{$data['company_name']}}</p> --}}
|
||||
{{-- <p><span>Partner Platform :</span>{{$data['company_name']}}</p> --}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>{{$data['company_name']}}</h2>
|
||||
<p><span>Partner Platform :</span><img src="{{$data['company_logo']}}">{{$data['company_name']}}</p>
|
||||
{{-- <p><span>Partner Platform :</span><img src="{{$data['company_logo']}}">{{$data['company_name']}}</p> --}}
|
||||
{{-- <p><span>Partner Platform :</span>{{$data['company_name']}}</p> --}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -25,11 +25,12 @@
|
||||
|
||||
<div class="jiraf-content">
|
||||
|
||||
<h2>{{$data['company_name']}}</h2>
|
||||
{{-- <h2>{{$data['company_name']}}</h2> --}}
|
||||
|
||||
<!-- <p><span>Status :</span>Navi Technologies CDNAV003</p> -->
|
||||
|
||||
<p><span>Partner Platform :</span><img src="{{$data['company_logo']}}" />{{$data['company_name']}}</p>
|
||||
{{-- <p><span>Partner Platform :</span><img src="{{$data['company_logo']}}" />{{$data['company_name']}}</p> --}}
|
||||
<p><span>Partner Platform :</span>{{$data['company_name']}}</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
debug: false,
|
||||
rules: {
|
||||
name: 'required',
|
||||
address: 'required',
|
||||
// address: 'required',
|
||||
// address: {
|
||||
// required: true,
|
||||
// address: true,
|
||||
@@ -220,7 +220,7 @@
|
||||
messages: {
|
||||
name: 'Please enter your name',
|
||||
// email: 'Please enter your email',
|
||||
address: 'Please enter your address',
|
||||
// address: 'Please enter your address',
|
||||
// contact_number: {
|
||||
// required: 'Please enter your contact number',
|
||||
// digits: 'Please enter digits',
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<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 <span class="color-red">*</span></label>
|
||||
<label>Total Purchase Value</label>
|
||||
<input type="number" name="total_purchase_value" id="total_purchase_value" readonly>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
{{-- {{preg_replace('/[^0-9]/', '', $investedData->offer_price_per_unit)}} --}}
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label>Total Purchase Value <span class="color-red">*</span></label>
|
||||
<label>Total Purchase Value </label>
|
||||
<input type="number" name="total_purchase_value" id="total_purchase_value" readonly
|
||||
value="{{ preg_replace('/[^0-9]/', '', $investedData->total_purchase_value) }}">
|
||||
</div>
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
<input type="file" id="pan_card" name="pan_card" class="iv-input form-control p-2" accept="image/jpeg,image/png,image/jpg,application/pdf">
|
||||
</div>
|
||||
<div class="col-md-6 mb-4">
|
||||
<label class="mandatory" for="resident">Proof of Address (In India) (Any One) (Passport / Driving License / Bank Passbook)</label>
|
||||
<label class="mandatory" for="resident">Proof of Address (In India) (Any One) (Passport / Driving License / Bank Passbook / Rental Agreement)</label>
|
||||
<input type="file" id="proof_of_address_of_india" name="proof_of_address_of_india" class="iv-input form-control p-2" accept="image/jpeg,image/png,image/jpg,application/pdf">
|
||||
|
||||
</div>
|
||||
@@ -109,13 +109,13 @@
|
||||
name="proof_of_address_of_foreign" class="iv-input form-control p-2">
|
||||
</div>--}}
|
||||
<div class="col-md-6 mb-4">
|
||||
<label class="mandatory" for="occupation">Proof of Address (Foreign Country) [Utility Bill]</label>
|
||||
<label class="mandatory" for="occupation">Proof of Address (Foreign Country) (Any One) [Utility Bill / Rental Agreement / Passport]</label>
|
||||
<input type="file" id="utility" name="utility" class="iv-input form-control p-2" accept="image/jpeg,image/png,image/jpg,application/pdf">
|
||||
</div>
|
||||
<div class="col-md-6 mb-4">
|
||||
{{-- <div class="col-md-6 mb-4">
|
||||
<label class="mandatory" for="occupation">Proof of Address (In India) [Rental Agreement]</label>
|
||||
<input type="file" id="rental_agreement" name="rental_agreement" class="iv-input form-control p-2" accept="image/jpeg,image/png,image/jpg,application/pdf">
|
||||
</div>
|
||||
</div> --}}
|
||||
<div class="col-md-6 mb-4">
|
||||
<label class="mandatory" for="dob">Recent Passport size photograph</label>
|
||||
<input type="file" id="passport_size_photograph" name="passport_size_photograph" class="iv-input form-control p-2" accept="image/jpeg,image/png,image/jpg,application/pdf">
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
|
||||
{{-- testimonial slider --}}
|
||||
@if(count($testimonial))
|
||||
{{-- testimonial slider --}}
|
||||
@if (count($testimonial))
|
||||
<div class="testi_slider_sec">
|
||||
<div class="container">
|
||||
<div class="bg-brown-head mb-4">
|
||||
@@ -8,17 +7,28 @@
|
||||
</div>
|
||||
<div id="testimonial_sliders">
|
||||
@foreach ($testimonial as $singleTestimonial)
|
||||
<div class="inn_testi">
|
||||
<div class="inn_to_testi">
|
||||
{{-- <img src="http://localhost/freeu/my-freeu/public/assets/media/FrontendImages/menu-logo.png"> --}}
|
||||
<h2>{{$singleTestimonial->description}}</h2>
|
||||
<p>{{$singleTestimonial->client_name}} <br> <span>{{$singleTestimonial->client_designation_company_name}}</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="inn_testi">
|
||||
<div class="inn_to_testi">
|
||||
{{-- <img src="http://localhost/freeu/my-freeu/public/assets/media/FrontendImages/menu-logo.png"> --}}
|
||||
<h2>{{ $singleTestimonial->description }}</h2>
|
||||
<p>{{ $singleTestimonial->client_name }} <br>
|
||||
<span>{{ $singleTestimonial->client_designation_company_name }}</span></p>
|
||||
<div class="rating">
|
||||
@php($count = 1)
|
||||
@for($i=$singleTestimonial->rating; $i>=1; $i--)
|
||||
@php($count++)
|
||||
<i class="fa fa-star" aria-hidden="true"></i>
|
||||
@endfor
|
||||
@for($i=$count; $i<=5; $i++)
|
||||
<i class="fa fa-star-o" aria-hidden="true"></i>
|
||||
@endfor
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- testimonial slider --}}
|
||||
{{-- testimonial slider --}}
|
||||
|
||||
@@ -1,102 +1,101 @@
|
||||
<?php $currentPage = "why_freeU" ?>
|
||||
<?php $currentPage = 'why_freeU'; ?>
|
||||
|
||||
@extends('Frontend.layouts.master')
|
||||
|
||||
|
||||
|
||||
@section('content')
|
||||
|
||||
<!--<div class="inner-banner-about inner-banner">-->
|
||||
<!-- <div class="overlay"></div>-->
|
||||
<!-- <div class="container">-->
|
||||
<!-- <h2>About Us</h2>-->
|
||||
<!-- </div>-->
|
||||
<!--</div>-->
|
||||
<!--<div class="inner-banner-about inner-banner">-->
|
||||
<!-- <div class="overlay"></div>-->
|
||||
<!-- <div class="container">-->
|
||||
<!-- <h2>About Us</h2>-->
|
||||
<!-- </div>-->
|
||||
<!--</div>-->
|
||||
|
||||
|
||||
<div class="about-inner-contain">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-12">
|
||||
<h4>Vision: Leading Asia's Alternative Investment Frontier</h4>
|
||||
<p>Jericho Alternatives aspires to be Asia's premier platform for alternative assets, distinguished by our commitment to innovation, global reach, and continuous evolution guided by deep expertise and local insights. We envision establishing a thriving secondary marketplace that enhances liquidity, contributing to the evolution of alternative assets into a dynamic and liquid market.</p>
|
||||
<h4>Mission: Revolutionizing Alternative Assets</h4>
|
||||
<p>Our mission is to revolutionize the alternative asset landscape by empowering investors with insights, transparency, and accessibility for more lucrative and informed investment decisions. Recognizing the underrepresentation of alternative assets in India, our mission is to bridge this gap, bringing comprehensive understanding and accessible investment opportunities to the forefront of the Indian market.</p>
|
||||
<!--<img src="{{asset('public/assets/media/FrontendImages/about-frame.jpg')}}">-->
|
||||
|
||||
<!--Rohit-->
|
||||
<h4>Addressing Key Challenges</h4>
|
||||
<p>Our platform is designed to tackle three primary challenges in the alternative assets market:</p>
|
||||
<ul>
|
||||
<li><strong>Enhancing Investor Knowledge:</strong> We offer extensive research and resources to educate investors about the potential of alternative assets, aiding in informed decision-making.</li>
|
||||
<li><strong>Centralizing Asset Information:</strong> We eliminate the need for investors to navigate multiple platforms for different assets, offering a single, unified source for diverse investment opportunities.</li>
|
||||
<li><strong>Resolving Illiquidity Concerns:</strong> Our secondary marketplace provides a much-needed solution for the liquidity issues traditionally associated with alternative assets.</li>
|
||||
</ul>
|
||||
<h4>Our Solution</h4>
|
||||
<p>We are proud to be India's first secondary marketplace for alternative assets. Understanding the hesitation of investors towards the lock-in nature of these assets, we offer a unique solution: a platform for the sale and purchase of illiquid investments.
|
||||
This mitigates the concern of long-term commitments and provides a safety net for unforeseen liquidity needs.</p>
|
||||
<h4>Strategic Marketplace for Asset Managers</h4>
|
||||
<p>In addition to serving individual (HNWI & Ultra HNWI) and institutional investors, we offer a strategic avenue for asset managers to trade holdings in investee companies. This dual approach positions us as a comprehensive marketplace catering to both individual investors and institutional asset managers.</p>
|
||||
<h4>Jericho Alternatives at the Forefront of AI</h4>
|
||||
<ul style="padding-bottom: 4rem;">
|
||||
<li><strong>Investor Matching with Assets:</strong> AI algorithms can match investors with suitable alternative assets based on their investment profiles, preferences, and risk tolerance.</li>
|
||||
<li><strong>Liquidity Analysis:</strong> AI can assess and predict the liquidity of alternative assets, providing valuable insights for both buyers and sellers in secondary markets.</li>
|
||||
<li><strong>Efficient Settlement Processes:</strong> AI can streamline settlement processes for both primary and secondary transactions, reducing the time and complexity involved.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class='row founder'>
|
||||
<h4>Founder - Mr. Abhishek Sipani</h4>
|
||||
<div class="col-md-6">
|
||||
<img src="{{asset('public/assets/media/FrontendImages/founder.png')}}">
|
||||
</div>
|
||||
<div class="col-md-6 founder-info">
|
||||
<p>Abhishek has over 18 years of extensive experience in banking and financial markets.In 2016,
|
||||
he launched Jericho Ventures, a boutique financial services firm catering to high-net-worth individuals.
|
||||
Under his guidance, the firm now oversees assets totaling $34 Million for more than 75 families.</p>
|
||||
</div>
|
||||
<div class='col-md-12 founder-info'>
|
||||
<p> Before embarking on his entrepreneurial venture, he has worked with top firms like HSBC Bank, Kotak Securities, and Religare Macquarie Private Wealth.
|
||||
Abhishek holds an MBA and a CFP (Certified Financial Planner from FPSB), enhancing his deep understanding of financial services.
|
||||
His career spans various aspects of finance, from investment strategies to client management, demonstrating his comprehensive expertise in the industry.</p>
|
||||
</div>
|
||||
<div class="about-inner-contain aboutss">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-12">
|
||||
<h4>Vision: Leading Asia's Alternative Investment Frontier</h4>
|
||||
<p>Jericho Alternatives aspires to be Asia's premier platform for alternative assets, distinguished by
|
||||
our commitment to innovation, global reach, and continuous evolution guided by deep expertise and
|
||||
local insights. We envision establishing a thriving secondary marketplace that enhances liquidity,
|
||||
contributing to the evolution of alternative assets into a dynamic and liquid market.</p>
|
||||
<h4>Mission: Revolutionizing Alternative Assets</h4>
|
||||
<p>Our mission is to revolutionize the alternative asset landscape by empowering investors with
|
||||
insights, transparency, and accessibility for more lucrative and informed investment decisions.
|
||||
Recognizing the underrepresentation of alternative assets in India, our mission is to bridge this
|
||||
gap, bringing comprehensive understanding and accessible investment opportunities to the forefront
|
||||
of the Indian market.</p>
|
||||
<!--<img src="{{ asset('public/assets/media/FrontendImages/about-frame.jpg') }}">-->
|
||||
|
||||
<!--Rohit-->
|
||||
<h4>Addressing Key Challenges</h4>
|
||||
<p>Our platform is designed to tackle three primary challenges in the alternative assets market:</p>
|
||||
<ul>
|
||||
<li><strong>Enhancing Investor Knowledge:</strong> We offer extensive research and resources to
|
||||
educate investors about the potential of alternative assets, aiding in informed decision-making.
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="">
|
||||
<img src="{{asset('public/assets/media/FrontendImages/jerico-team.png')}}">
|
||||
<div class="col-md-6">
|
||||
<div class='row founder'>
|
||||
<h4>Founder - Mr. Abhishek Sipani</h4>
|
||||
<div class="col-md-6">
|
||||
<img src="{{ asset('public/assets/media/FrontendImages/founder.png') }}">
|
||||
</div>
|
||||
<div class="col-md-6 founder-info">
|
||||
<p>Abhishek has over 18 years of extensive experience in banking and financial markets.In 2016,
|
||||
he launched Jericho Ventures, a boutique financial services firm catering to high-net-worth
|
||||
individuals.
|
||||
Under his guidance, the firm now oversees assets totaling $34 Million for more than 75
|
||||
families.</p>
|
||||
</div>
|
||||
<div class='col-md-12 founder-info'>
|
||||
<p> Before embarking on his entrepreneurial venture, he has worked with top firms like HSBC
|
||||
Bank, Kotak Securities, and Religare Macquarie Private Wealth.
|
||||
Abhishek holds an MBA and a CFP (Certified Financial Planner from FPSB), enhancing his deep
|
||||
understanding of financial services.
|
||||
His career spans various aspects of finance, from investment strategies to client
|
||||
management, demonstrating his comprehensive expertise in the industry.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<ul>
|
||||
<li><strong>Centralizing Asset Information:</strong> We eliminate the need for investors to navigate
|
||||
multiple platforms for different assets, offering a single, unified source for diverse
|
||||
investment opportunities.</li>
|
||||
<li><strong>Resolving Illiquidity Concerns:</strong> Our secondary marketplace provides a
|
||||
much-needed solution for the liquidity issues traditionally associated with alternative assets.
|
||||
</li>
|
||||
</ul>
|
||||
<h4>Our Solution</h4>
|
||||
<p>We are proud to be India's first secondary marketplace for alternative assets. Understanding the
|
||||
hesitation of investors towards the lock-in nature of these assets, we offer a unique solution: a
|
||||
platform for the sale and purchase of illiquid investments.
|
||||
This mitigates the concern of long-term commitments and provides a safety net for unforeseen
|
||||
liquidity needs.</p>
|
||||
<h4>Strategic Marketplace for Asset Managers</h4>
|
||||
<p>In addition to serving individual (HNWI & Ultra HNWI) and institutional investors, we offer a
|
||||
strategic avenue for asset managers to trade holdings in investee companies. This dual approach
|
||||
positions us as a comprehensive marketplace catering to both individual investors and institutional
|
||||
asset managers.</p>
|
||||
<h4>Jericho Alternatives at the Forefront of AI</h4>
|
||||
<ul style="padding-bottom: 4rem;">
|
||||
<li><strong>Investor Matching with Assets:</strong> AI algorithms can match investors with suitable
|
||||
alternative assets based on their investment profiles, preferences, and risk tolerance.</li>
|
||||
<li><strong>Liquidity Analysis:</strong> AI can assess and predict the liquidity of alternative
|
||||
assets, providing valuable insights for both buyers and sellers in secondary markets.</li>
|
||||
<li><strong>Efficient Settlement Processes:</strong> AI can streamline settlement processes for both
|
||||
primary and secondary transactions, reducing the time and complexity involved.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--<div class='row team'>-->
|
||||
<!-- <div class='col-md-12'>-->
|
||||
<!-- <div class='row fo'>-->
|
||||
<!-- <div class='col-md-6'>-->
|
||||
<!-- <p>Founder</p>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class='col-md-6'>-->
|
||||
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class='row rpo'>-->
|
||||
<!-- <div class='col-md-6'>-->
|
||||
<!-- <p>Research/product/Operations</p>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class='col-md-6'>-->
|
||||
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class='row td'>-->
|
||||
<!-- <div class='col-md-6'>-->
|
||||
<!-- <p>Technology & Development</p>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class='col-md-6'>-->
|
||||
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!--</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user