felicia00

Member Since 9 Months Ago

Experience Points
1,080
Total
Experience

3,920 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.

  • Community Pillar

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

Level 1
1,080 XP
Apr
14
1 month ago
Activity icon

Awarded Best Reply on How To Get Dropdown Data Using Vue JS?

Thanks but i have found the issue

Activity icon

Replied to How To Get Dropdown Data Using Vue JS?

Thanks but i have found the issue

Activity icon

Started a new Conversation VUE OnChange Function Not Working

How can i display my data once i select anything from the mod_accs_Role_ID? example i selected 1 in mod_accs_Role_ID then the role_Name would be display 'Hello' which all the data already stored in database

<div class="col-sm-6 form-group">
                            <label for="mod_accs_Role_ID" class="col-form-label">Role<span class="text-danger">*</span></label>
                            <select class="form-control" name="mod_accs_Role_ID" v-model="selected" v-on:change="onChange">
                                <option value="">Select Role</option>
                                <option v-for="item in sel_role" :value="item.role_id">{{item.role_Display}}</option>
                            </select>
                        </div>
                        <div class="col-sm-6 form-group">
                            <label for="role_Name" class="col-form-label">Role Action<span class="text-danger">*</span></label>
                            <select class="form-control not-editable" name="role_Name" disabled>{{selected}}</select>
                        </div>

JS

  var vm = new Vue({

            el: '#maint_module_ctrl',
            data: {
  
                sel_role: [],
                selected:""
            },

           
            methods: {

                onChange: function () {
                    var self = this
                    ajaxJsonProcess("get", apiPath + "/param/role-dropdown", "", function (inDat) {
                        self.sel_role = inDat;
                    }, dftError);
                },
Apr
13
1 month ago
Activity icon

Started a new Conversation How To Get Dropdown Data Using Vue JS?

my dropdown is not getting any value from my database, it keeps return {{item.cmp_Name}}, Is there anything i have missed?

 <label for="user_CompID" class="col-form-label">Company Name</label>
 <select class="form-control" name="user_CompID">
 <option value="">Select Company Name</option>
 <option v-for="item in sel_comp" :value="item.cmp_id">{{item.cmp_Name}}</option></select>
         
  var vm = new Vue({
            el: '#maint_user_ctrl',
            data: {
                sel_comp: []
            },
            created: function () {
                this.doLoadParam();
            },
                doLoadParam: function () {
                    var self = this;

                    ajaxJsonProcess("get", myPath + "/company-dropdown", "", function (inDat) {
                        self.sel_comp = inDat;
                    }, dftError);

                },
Mar
17
2 months ago
Activity icon

Started a new Conversation KEY UP NOT WORKING

So for this situation, i have trigger keyup on (.total_variation) & i wanna to use (.total_variation) divide ($("[name='my_value']")[i].value)

conclusion is i wanna use the keyup value (which didn't store in db) to do a calculation , but its not working

function Total(){
        var sum=0.00;
        $('#variation_val').each(function(){

            for (i = 0; i < $("[name='variation_val']").length; i++){
                if (!isEmpty($("[name='variation_val']")[i].value))
                    sum += parseFloat($("[name='variation_val']")[i].value);
            }
        });

        $('.total_variation').val(sum.toFixed(2));

    }

    function Total1(){
        var sum=0.00;
        var variation =$('.total_variation').text();;
        var claimedprice=0.00;
        $('#variation_perc').each(function(){
    
            for (i = 0; i < $("[name='variation_perc']").length; i++){
                if (!isEmpty($("[name='variation_perc']")[i].value))
   
                    claimedprice += parseFloat($("[name='my_value']")[i].value);
            }
        });
    
        $('.ttl_perc').text(((variation / claimedprice) * 100).toFixed(2));
    }
Feb
16
3 months ago
Activity icon

Started a new Conversation How To Not Passing NaN In Onkeyup?

how to handle keyup not passing NaN when there is any blank value?

temp += '<td><input name="total_value" type="number" class="form-control" dval="' + Data[i]["score"] + '" pattern="\d*" inputmode="decimal" /></td>';     

$("#original_score").html(item["Total_Scoring(%)"]);

                $("#new_score").html(item["Total_Scoring(%)"]);
                $("[name='total_value']").off("keyup");
                $("[name='total_value']").keyup(function(){
                    var sum = 0;
                    $("[name='total_value']").each(function(){
                        if (!isNaN(parseFloat($(this).val())))
                            sum += parseFloat($(this).val());
                        else
                            sum += parseFloat($(this).attr("dval"));
                    }) 



                    $("#new_score").html(((sum/full_score) * 100).toFixed(2));
                })

Feb
03
3 months ago
Activity icon

Started a new Conversation How To Make A Download Link In PHP

So the link was from my database & i wanna make it able to download when i click on but the 'Download' isnt come out

@foreach($response as $resp)
                        <td>
                            @if(isset($resp->{'Link'}) && !empty($resp->{'Link'}))
                            <a href="$resp->{'Link'}">
                                Download 
                            </a>
                            @endif
                        </td>
@endforeach
Jan
15
4 months ago
Activity icon

Started a new Conversation How To Make Validation For Checkbox(at Least 1 Column To Be Checked)

hi, so i have different name of checkbox & how can i make it if none of any of the checkbox being check then show validation

Below are from my Controller

         'chk1' => 'required_without_all: chk2, chk3',
         'chk2' => 'required_without_all: chk1,chk3',
         'chk3' => 'required_without_all:chk1chk2' ,

i would only want to show 1 message which stated that ' must check at least 1'

Dec
28
4 months ago
Activity icon

Awarded Best Reply on ToFixed Not Working For Keyup

SOVLEDDD

Activity icon

Started a new Conversation ToFixed Not Working For Keyup

May i know why am i hitting this error Uncaught TypeError: (cus+ worker).toFixed is not a function??

 $('#mybody').on("keyup",".add",function(){
        var parent = $(this).closest('tr');
        var cus= $(parent).find('#customer').val();
        var worker= $(parent).find('#worker').val();


        $(parent).find ('#total').val((cus+ worker).toFixed(2));
        });
``
Dec
08
5 months ago
Activity icon

Started a new Conversation Javascript Declaration Not Working

hi, so I've already declare the function, but why isnt running the code inside? Isn't running this tho "ajaxJsonProcess("post", oriPath + "/approvedthis", function()"

 var Approved=function()
   {
        ajaxJsonProcess("post", oriPath + "/approvedthis", function(){

                    prompt(Approved Successfully!", function()
                     {
                      location.reload();      
                     }
         });
   }

  if (Cus== "Customer1"){
       ajaxJsonProcess("get", urlMailPath + "/Cus Approved/", function(){Approved();});
           }
Dec
01
5 months ago
Activity icon

Started a new Conversation Namespace Declaration Problem

what is the problem?? i have check there is no any space before my <?php tag

Error show "Namespace declaration statement has to be the very first statement or after any declare call in the script"

<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
use Illuminate\Http\Request;
use Illuminate\Validation\Rule;
use Validator;
use Cookie;
 
class MyController extends Controller
{
    public function __construct()
    {
        $this->middleware('auth:token');
    }
``
Nov
20
5 months ago
Activity icon

Replied to Why My Total Is Not Sum-ing Up

means i only can apply the #val_perc for once only in my html

Activity icon

Replied to Why My Total Is Not Sum-ing Up

sorry i mean how can i trigger the onkeyup for multiple times? seems like i can use for one time only

Activity icon

Replied to Why My Total Is Not Sum-ing Up

ohhhh thank you! solved!! And do you know how can i put the #val_perc on div tag?

Activity icon

Started a new Conversation Why My Total Is Not Sum-ing Up

both my Total isnt working ;(

$('#variation_dtl').on("keyup",".minus",function(){
        var parent = $(this).closest('tr');
        var claimedprice= $(parent).find('#claimed_price').val();
        var unitprice= $(parent).find('#unt_price').val();
        var carval= $(parent).find('#car_val').val();


        for (i = 0; i < $("[name='val_perc']").length; i++){
            if (!isEmpty($("[name='val_perc']")[i].value))
              $(parent).find('#val_perc').val((((claimedprice - unitprice) / unitprice) * 100).toFixed(2));
              Total1();
        };

        for (i = 0; i < $("[name='carval']").length; i++){
           if (!isEmpty($("[name='carval']")[i].value))
              $(parent).find('#carval').val((claimedprice - unitprice).toFixed(2));
              Total();
        };
        });

below these two isnt working

        function Total(){
        var sum=0.00;
        $('#carval').each(function(){
        sum+=parseFloat($(this).val());
        });

        $('#total_val').val(sum.toFixed(2));
        }

        function Total1(){
        var sum=0.00;
        $('#val_perc').each(function(){
        sum+=parseFloat($(this).val());
        });

        $('#ttl_perc').val(sum.toFixed(2));
        }

})
Nov
16
6 months ago
Activity icon

Started a new Conversation How To Change The Button Color

how can i change the color for this button?

$('.export > button').html('<i class="fa fa-download fa-fw"></i>Download');