Azeem812

Azeem812

Member Since 3 Months Ago

Experience Points
660
Total
Experience

4,340 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
0
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
660 XP
Sep
25
2 days ago
Activity icon

Started a new Conversation How To Write Javascript If Condition Inside Dynamic Table ?

var tbody = document.getElementById("mytbody"); for(var i=0; i<deliever_shedule_item.length; i++){ const html = ` ${i+1} ${deliever_shedule_item[i].item.no} ${deliever_shedule_item[i].item.name} ${deliever_shedule_item[i].demand} ${deliever_shedule_item[i].issued} ${Math.ceil(deliever_shedule_item[i].demand/deliever_shedule_item[i].item.pkts)} x ${deliever_shedule_item[i].item.pkts} ${deliever_shedule_item[i].remarks}

                    </tr>
                `
                $('#mytbody').append(html)
                }     

i want to apply if condition on this ${deliever_shedule_item[i].remarks} , if remarks value exist then show othersise no anything

Sep
24
3 days ago
Activity icon

Replied to How To Access All Variable Data In In Ajax Success Function ?

I want to show all values in html table

Activity icon

Replied to How To Access All Variable Data In In Ajax Success Function ?

It shows undifiend in consol because data in ajax request in array formate

Activity icon

Started a new Conversation How To Access All Variable Data In In Ajax Success Function ?

Here is my controller public function detail(Request $request) { $item = DeliverySchedule::find($request->id); $item2 = DeliveryScheduleItem::where('delivery_schedule_id',$item->id)->get(); // updae query accordingly TODO // $rtn = [ // 'status' => $item ? true : false, // 'data' => $item, // ]; $array= array($item,$item2); // echo json_encode($array);

    return response()->json($array, 200);
}

this is ajax request data show in networks

{id: 3, batch_no: "11", color: "Pink", title: "Az3", type: "Regular", vendor_code: null, dc_no: null,…} batch_no: "11" color: "Pink" created_at: "2020-09-23 19:38:43" dc_no: null id: 3 status: null title: "Az3" type: "Regular" updated_at: "2020-09-23 19:38:43" vendor_code: null 1: [{id: 3, delivery_schedule_id: 3, item_id: 1, demand: 33, issued: 0, remarks: null, status: null,…}] 0: {id: 3, delivery_schedule_id: 3, item_id: 1, demand: 33, issued: 0, remarks: null, status: null,…} created_at: "2020-09-23 19:38:44" delivery_schedule_id: 3 demand: 33 id: 3 issued: 0 item_id: 1 remarks: null status: null updated_at: "2020-09-23 19:38:44"

how to show all data in html table ,here is my ajax script $.ajax({ type:'POST', url:'/delivery-schedule/detail', dataType: 'json', data: { _token: _token, id: id }, success:function(result) {

        const item =result.data; 
        console.log(item);

}

Sep
15
1 week ago
Activity icon

Started a new Conversation Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Class 'App\Exports\IncomeExpenseReportExport3' Not Found

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Class 'App\Exports\IncomeExpenseReportExport3' not found

But already i used this in controller use App\Exports\IncomeExpenseReportExport3; i am working on Laravel excel

this is my exportable class IncomeExpenseReportExport3

Sep
12
2 weeks ago
Activity icon

Replied to New Routes Problem

thanks for reply ,my problem was solved

Activity icon

Started a new Conversation New Routes Problem

I am working on another developer project in laravel , problem is here when i am register new route and hit for loading ,it give me a 500 server error, But the Developer all routes run correctly, what is the reason behind

developer routes Route::post('/update_myaccount','[email protected]'); Route::get('/my-account', function () { $users = Auth::User(); return view('frontend/modules/my-account',compact('users')); })->middleware('role:user');

Route::resource('fileupload','FileUploadController');

Route::get('/images', function () { $uploadedfiles = FileUpload::where('uploadedBy','=', Auth::User()->name)->get(); return view('frontend/modules/images',compact('uploadedfiles')); }); //

And this is my routes Route::get('/mychat', '[email protected]')->name('mychat.inbox')->middleware('role:user'); Route::get('/load-latest-messages', '[email protected]')->middleware('role:user'); Route::post('/send', '[email protected]')->middleware('role:user'); Route::get('/fetch-old-messages', '[email protected]')->middleware('role:user');

Sep
09
2 weeks ago
Activity icon

Replied to How To Assign Value To Global Variable Outsie Of A Function

     var MyTotal = 
      function add_row()
                {
                    
                var table=document.getElementById("data_table");
                  var table_len=(table.rows.length)++;
                  
                var row = table.insertRow(table_len).outerHTML="<tr id='row"+table_len+"'><td>"+table_len+"</td><td><input type='checkbox' id='select"+table_len+"' class='save' onclick='calculateTotal("+table_len+")'></td><td><input type='text'></td><td><input id='price"+table_len+"' type='number'></td> <td><input id='qty"+table_len+"' type='number'></td> <td><input type='text' id='total' readonly='readonly' >"+MyTotal+"</td><td><input type='button' name='button1' value='Delete' onclick='delete_row("+table_len+")'></td></tr>";
              
                }
             function calculateTotal(no){
                
                var price=document.getElementById("price"+no).value;
               
                var qty=document.getElementById("qty"+no).value;
                    
                    
                var total=price*qty; 
                  alert(total);
                
                return total;
             }

i want to assign total variable value to global variable MyTotal,?

Activity icon

Replied to How To Assign Value To Global Variable Outsie Of A Function

I am working with Dynamic add row table in javascript,but i am facing problem to print total in the table

Activity icon

Replied to How To Assign Value To Global Variable Outsie Of A Function

TypeError: Cannot read property 'value' of null

at this line of code var price=document.getElementById("price"+no).value;

Activity icon

Started a new Conversation How To Assign Value To Global Variable Outsie Of A Function

var MyTotal

function calculateTotal(no){

                var price=document.getElementById("price"+no).value;
               
                var qty=document.getElementById("qty"+no).value;
                    
                    
                var total=price*qty; 
                  alert(total);
               
                return total;

i want to assign total variable value to MyTotal variable,how do this?

Jun
30
2 months ago
Activity icon

Started a new Conversation Laravel 5.8 Rating Star Package

please tell me best rating star package for laravel 5.8.Currently i am using willvincent/laravel-rateable but error occur during instalation.here is erroe

Installation failed, reverting ./composer.json to its original content.

Jun
14
3 months ago
Activity icon

Replied to Laravel-websockekts Vs Laravel-echo?

Laravel websocket is good ,but i lot of hard working to develop broadcasting chat system.

Activity icon

Started a new Conversation How To Make Buyer And Seller Reviews System In Laravel ? Like Fiverr

I have a Rental System where Seller upload products and Buyer get product for rent,but i need to add script how buyer and seller gives reviews to each other?

Jun
08
3 months ago
Activity icon

Replied to I Want To Select A Category And Filter The Results Based On That?

Ok I am reading it,thanks for reply me.

Activity icon

Started a new Conversation I Want To Select A Category And Filter The Results Based On That?

I am currently working on ecommerce site which have multiple categories and products. I want to select category and filter products using search form.please tell me because i am bigginer

Activity icon

Replied to How To Search Product With Category Using Search Form ?

I am currently working on ecommerce site with multple categories and multiple products.

Activity icon

Replied to How To Search Product With Category Using Search Form ?

Yes Man i want this ,but how? ,please tell me with complete solution.

Activity icon

Started a new Conversation How To Search Product With Category Using Search Form ?

All Categories @foreach ($categories as $key=> $category) @if ($category->children) @foreach ($category->children as $key=> $child) {{$child->name}}
									@endforeach
									@endif
									@endforeach
								
								</select>
								<button class="search-btn"><i class="fa fa-search"></i></button>
							</form>
Jun
06
3 months ago
Activity icon

Replied to Saving Image In Public Directory Using Seeder

In config/filesystems.php, you could do this... change the root element in public

'disks' => [ 'public' => [ 'driver' => 'local', 'root' => public_path() . '/uploads', 'url' => env('APP_URL').'/public', 'visibility' => 'public', ] ]

read it https://laravel.com/docs/7.x/structure

Jun
05
3 months ago
Activity icon

Replied to Create Relationships For Group With Teacher / Students

Please explain your shortly business logic,so i know what you want to do?

Activity icon

Replied to Installing Laravel On Shared Hosting

firstly you run your project on locally ,then upload on shared hosting after resolving issue.

Activity icon

Replied to Seeding Error

Integrity constraint violation: 1048 Column 'created_by' cannot be null This error occur when you not providing value in created _by column,this value take from user table

Activity icon

Replied to Join With 'where' Clause

You solved your problems by using this code $user=Auth::User(); $cartitems=DB::table('cart_items') ->join('products','products.id', "=", 'cart_items.product_id') ->select('products.', 'cart_items.') ->where('user_id',$user->id) ->get();