beracah.kings

beracah.kings

Member Since 2 Years Ago

Experience Points 1,400
Experience Level 1

3,600 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 7
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-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-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-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist 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.

16 Jul
1 week ago

beracah.kings started a new conversation Calendar Widget In Laravel

My requirement : a person can schedule for product delivery for 30 days on subscription basis. If he is unavailable during the 30 day period, he can cancel the delivery and can obtain refund for the cancelled days.

How to do this in Laravel. Is there any calendar widget available in Laravel. Can anybody advise on this please

24 Mar
3 months ago

beracah.kings left a reply on Inventory Handling

thank you. How does commerical ecommerce software like magento, handles inventory

23 Mar
4 months ago

beracah.kings started a new conversation Inventory Handling

Im designing an online shopping cart, What would be the ideal way to update the inventory if the order is not complete. Can anybody guide

21 Mar
4 months ago

beracah.kings started a new conversation Vuejs Vs JQuery

Im developing a spa with vuejs, Im using axios for getting/posting data. Sometimes the data is fetched correctly and displayed. But on occasions, the data is retrieved but not displayed correctly.

I have developed a jquery version of the same, it works perfectly. The vuejs version is very slow comparatively to jquery and Im running into time delay issues.

Is it a normal behaviour with vue, can it be rectified

20 Mar
4 months ago

beracah.kings left a reply on 419 Page Expired

Thank you for your time. The issue has been resolved with your timely help

beracah.kings left a reply on 419 Page Expired

Still I get that error message only. After including the URL

beracah.kings started a new conversation 419 Page Expired

I m trying to submit my form to payment gateway and payment gateway returns the user to the response page in my website. Im able to send the data to the payment gateway and when payment gateway returns the user back to my website, I get 419 | Page Expired error message.

What could be the reason for this error message. Could it be due to csrf token missing from the payment gateway response.

How to resolve

19 Mar
4 months ago

beracah.kings left a reply on Form Submission

yes tykus.

It is a simple form that has four text fields. In addition to the text fields, Im including two custom fields that has data retrieved through vuejs button(@click.prevent). If I try to submit the form with another button, it is not submitting. How to resolve this.

beracah.kings started a new conversation Form Submission

I have a form that submits to url in laravel. The form also includes a button that fetches through Vuejs. Now the issue is , when I submit the url that is linked to the controller, it doesnt work.

How to resolve

17 Mar
4 months ago

beracah.kings left a reply on Passing Values To Vue Js Form

thank you for your timely help. Javascript solved this easily. I wanted to store this auth id from laravel into vuejs and your solution worked out easily

beracah.kings left a reply on Passing Values To Vue Js Form

is it possible to access the data in a method inside root instance. I m using a method that submits the form through axios.

beracah.kings started a new conversation Passing Values To Vue Js Form

How to pass laravel data generated at the loading of the page into a vue js form like auth id

05 Mar
4 months ago

beracah.kings left a reply on Hotel Room Reservation Project

thank you prince. Any other workflow can be adopted, can you suggest

beracah.kings started a new conversation Hotel Room Reservation Project

I'm creating a hotel room reservation system. Room availability is based on the date range from bookings table. How to remove the rows in the bookings table if the user doesn't confirm the room registration (Rooms with unconfirmed status).

How to check availability of rooms for simultaneous users

27 Feb
4 months ago

beracah.kings left a reply on Displaying Data In Page

thank you for taking time. can you suggest any tutorial for providing a page like that.

26 Feb
4 months ago

beracah.kings left a reply on Displaying Data In Page

thank you. More or less the same. Is it possible to display the complete row data on an adjacent table. How to do it with laravel

two tables side by side. One contains table data with only select columns. When i click the row, the adjacent table shows the entire information.

Im displayng the left side table data with laravel

beracah.kings started a new conversation Displaying Data In Page

I have a page that displays data from some of the fields in the table. I want to display the entire table information on a modal box when i click on the row of the table. How to do it in Laravel. Please suggest

09 Feb
5 months ago

beracah.kings left a reply on Room Registration Advise

$roommaster = DB::table("roommasters")->select('roomid') ```

        ->whereNotIn('roomid', function ($query) use ($startTime2, $endTime2) {
        
        
            $query->select('roommasters_id')->distinct()
                ->from('bookingmasters')
                
                ```
                ->where(function ($query3) use ($startTime2, $endTime2) {
                    $query3
                        ->where('bookingenddate', '<', $startTime2);
                })
                ```
                
                ```
                ->orWhere(function ($query2) use ($startTime2, $endTime2) {
                    $query2
                        ->where('bookingstartdate', '>', $startTime2)
                        ->where('bookingstartdate', '>', $endTime2);
                });
                ``` 
        })
        ```
        ->get();

beracah.kings started a new conversation Room Registration Advise

My Requirement

Hotel Rooms to be booked on availability basis. The bookings are recorded in the bookingmaster table, with starting date and ending date as colulmns. Based on the availability of dates in the booking master table, the room ids are fetchd from roommaster table (roommaster id is referenced in the booking masters). Please advise

$roommaster = DB::table("roommasters")->select('roomid') ->whereIn('roomid', function ($query) use ($startTime2, $endTime2) { $query->select('roommasters_id') ->from('bookingmasters') ->where(function ($query3) use ($startTime2, $endTime2) { $query3 ->where('bookingenddate', '<', $startTime2); })

                ->orWhere(function ($query2) use ($startTime2, $endTime2) {
                    $query2
                        ->where('bookingstartdate', '>', $startTime2)
                        ->where('bookingstartdate', '>', $endTime2);
                });

        })

->get();

25 Nov
7 months ago

beracah.kings left a reply on Broke My Project After Renaming Controller

can you check the route list

beracah.kings left a reply on WhereBetween

I have a column that has birthdays of people. I want to retrieve names of people who celebrate their birthdays based on the user input of dates (ie. people who celebrate their birthdays between Oct 1 to Nov 21)

24 Nov
7 months ago

beracah.kings left a reply on WhereBetween

how to proceed if the year of birth is different

beracah.kings left a reply on Require Login For Certain Views?

Did you implement the auth middle ware in your admin controller. you can leave out views by using except in the construct of the controller

23 Nov
8 months ago

beracah.kings left a reply on WhereBetween

thanks realrandyallen and cronix, got your point.

beracah.kings left a reply on WhereBetween

thanks. how to proceed if the difference between the starting and ending dates are not fixed.

Something like 1-oct-2018 to 12-nov-2018

beracah.kings started a new conversation WhereBetween

I have a column that contains date of birth of people. I would like to extract data of people whose birthdays fall between a certain period (eg: for 15 days from today). How to do it in eloquent