gidaban79

gidaban79

Member Since 3 Years Ago

leeds

Experience Points
11,760
Total
Experience

3,240 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
88
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 3
11,760 XP
Mar
26
4 days ago
Activity icon

Started a new Conversation Multi Vendor Invoice System

Hello guys,

i hope are you okay.

I am looking for some tutorials about make invoice system for customers on website. It will be a part of existing app.

After login each customer can add their own customers, services etc.

Maybe somebody did something similar?

Feb
29
1 month ago
Activity icon

Started a new Conversation Order In Route File

Hello guys,

i am wondering about order routes for example;

Route::get('/user');
Route::get('/user/notifications');
Route::get('/user/notifications/{notification}');
Route::get('/user/notifications/{notification}/read');

it is good way? or should be in different order ?

Feb
16
1 month ago
Activity icon

Replied to Select2 And Trigger Selected Option, Editing Entry.

@sti3bas unfortunately same effect, still not triggered.

thing is will works if i am using select2 also for searching ?

Activity icon

Started a new Conversation Select2 And Trigger Selected Option, Editing Entry.

Hello guys,

i am using in my project selec2 js library to searching companies and select one. it working fine however when i want to edit unfortunately change is not trigger.

$('#company_profile_id').select2().val({!! json_encode($companyListing->companyProfile()->pluck('id','company_name')) !!}).trigger('change'); //it should trigger 

            $('#company_profile_id').select2({
                placeholder: 'Select company',
                theme: 'bootstrap4',
                ajax: {
                    url: '/admin/API/company',
                    dataType: 'json',
                    delay: 250,
                    processResults: function (data) {
                        return {
                            results: $.map(data, function (item) {
                                return {
                                    text: item.company_name,
                                    id: item.id
                                }
                            })
                        };
                    },
                    cache: true
                }
            });
Activity icon

Replied to Laravel Validation Uniqu Rule

Sorry for late reply.

Problem solved, thanks

Feb
09
1 month ago
Activity icon

Replied to Laravel Validation Uniqu Rule

@ahmeddabak @snapey

Route::resource('/key-feature', 'Admins\KeyFeatureController', ['as' => 'admin']) ->except(['show']);

That is my route

Activity icon

Replied to Laravel Validation Uniqu Rule

i tried $this->keyFeature and $this->id and it return null.

Activity icon

Started a new Conversation Laravel Validation Uniqu Rule

Hello Guys hope are you well?

Welcome in this crazy saturday, i have some strange issue with validation rule. I am using form request validation for validate my data however in 3 previous cases it working well. What i do now wrong?

Validation rules

public function rules()
    {
        return [
            'title'       => [
                'required',
                'min:3',
                'max:190',
                Rule::unique('kitchen_key_features', 'title')->ignore($this->keyFeature)
            ],
            'description' => [
                'required',
                'min:10',
                'max:190'
            ]
        ];
    }

Update Method:

public function update(KitchenKeyFeatureRequest $request, KitchenKeyFeature $keyFeature)
    {
        $keyFeature->update($request->only(['title']));
        return redirect()->route('admin.key-feature.index')
            ->with('success', 'Kitchen Feature has been updated');
    }

i am getting error about tile is already taken when i am editing.

Dec
02
3 months ago
Activity icon

Replied to Emit Array To Parent?

I already attached code.

Dec
01
3 months ago
Activity icon

Replied to Emit Array To Parent?

Thanks working well :)

However i have another question,

how to emit it like

array [
    search_amenity [1,4,7,8]
]

because i have more than one checkbox list and i want to combine it in one array and post to controller

Nov
27
4 months ago
Activity icon

Started a new Conversation Emit Array To Parent?

Hello Guys,

I want to make a search based on vue.js and laravel.

I have already separe Parent and child component. I am trying to emmit selected checkboxes in child to parent component.

<template>

    <div class="col-4 text-left small">
        <span class="text-muted"><strong>Amenities:</strong></span>
        <div class="col-12-md" v-for="amenity in amenities.data">
            <div class="form-check">
                <input class="form-check-input" type="checkbox" v-model="search_amenity" :value="amenity.id"
                       :id="amenity.id" @click="onClickButton">
                <label class="form-check-label" :for="amenity.id">
                    {{amenity.name}}
                </label>
            </div>
        </div>
        <span>{{ search_amenity }}</span>
    </div>
</template>

<script>
    export default {
        name: "Amenities",
        data() {
            return {
                amenities: [],
                search_amenity: [],
            }
        },
        mounted() {
            this.fetch();
        },
        methods: {
            onClickButton(event) {
                this.$emit('search_amenity', this.search_amenity);
            },
            fetch() {
                axios.get('searchOptions/amenities')
                    .then(response => {
                        if (response.data) {
                            this.amenities = response.data
                        }
                    })
            }
        }
    }
</script>

<style scoped>

</style>

How you can see ' {{ search_amenity }}' i am displaying array of selected options as checkbox`s however in mi parent component i am catching values after second click.

What i am doing wrong ?