Merge pull request #175 from Ritikeshyadav/RitikeshFreeu

Ritikesh freeu
This commit is contained in:
Ritikeshyadav
2024-05-17 12:18:34 +05:30
committed by GitHub
4 changed files with 5 additions and 4 deletions

View File

@@ -129,7 +129,8 @@ class HandpickedInvestmentController extends Controller
$query->where('products.status', true);
$query->where('categories.status', true);
})
->paginate(6);
->paginate(1000000);
// ->get();
// dd($query, $categories);
$products->appends(['search' => $query, 'categories' => $this->encode_arr($categories)]);

View File

@@ -702,7 +702,7 @@
<!--begin::Input-->
<input type="text" class="form-control form-control-solid" readonly id="invester_name2" name="investor_name" />
</div>
<div class="form-box mb-5">
<div class="form-box mb-5 d-none">
<label class="fs-6 fw-semibold form-label mt-3">
<span>Product Category</span>
</label>

View File

@@ -334,7 +334,7 @@
function fetch_data(page, query, categories, assetType, geographicFocus) {
$.ajax({
type: 'get',
url: "http://localhost/jericho_28_march/primary-investment/fetch_data?page=" +
url: "/primary-investment/fetch_data?page=" +
page +
"&query=" + query + "&categories=" + categories + "&assetType=" +
assetType +

View File

@@ -122,6 +122,6 @@
<h3>No Data Found</h3>
@endforelse
</div>
<div class="pagination">{{ $products->links() }}</div>
{{-- <div class="pagination">{{ $products->links() }}</div> --}}
{{-- adarsh code ends --}}