MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

How to create custom pagination without datatable in laravel microservice

AJAXLaravel

Step 1:create button input in blade file

Step 2: declare variable like curtpage, pagelimit and total record

when you click the button then apply business logic inside jquery/javascript function

Step 3: when we get data after ajax success function then apply logic

Step 4: set routing in client side

Route::prefix(‘/touroperator’)->group(function () use ($namespace) {

Route::get('iternarydetail/{email}',"$tourcontroller@getiternary");

});

Step 5: get token and client id in client side controller using function

Step 6: set env and config flie

GET_MYHOLIDAYITERNARY_URL=/api/v1/j/iternarydetail

Step 6:set Routing in server side

 Route::get(‘iternarydetail/{email}’, ‘Admin\AdminTPController@iternarydetail’);

Step 7: apply pagination query inside sever side controller function

finally output view looks like

Rakesh K
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x