Laravel 10 and Vuejs 3 - Simple Invoice Application - Search Invoice

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025
  • iIn this video we are going to see how to search invoice of this Simple Invoice Application build with Laravel 10 and Vuejs 3.
    Professional contact: sharetutorialsdev@gmail.com

ความคิดเห็น • 13

  • @abcz___hello
    @abcz___hello ปีที่แล้ว

    waiting for upcoming

  • @TruongBanana
    @TruongBanana ปีที่แล้ว

    can you make more videos

  • @abulhasnattanvir8009
    @abulhasnattanvir8009 ปีที่แล้ว +1

    next video .... plz

  • @murobakuridze950
    @murobakuridze950 ปีที่แล้ว

    Can't find your porfolio website in larave and vue js I was in the middle of building process ;(

  • @siphomsiko
    @siphomsiko ปีที่แล้ว

    Hi I cant seem to retrieve customer data column after creating a relationship in Invoice Model. Ive done everything as per this tutorial.

    • @krillinsworld9439
      @krillinsworld9439 4 หลายเดือนก่อน

      The staging build is incorrect. If you open your database then look at the invoices table and correct the "customer_id" with the actual customers ID's of 1, 2, 3, 4 and 5 for each entry to match, your customer_name data will appear. If you have another issue with the invoice data, go back to that chapter as you missed something there.

  • @drakhellfallen6365
    @drakhellfallen6365 ปีที่แล้ว +1

    thnx again for the vid, hoping you upload how to add data to the database soon ^^

  • @hojoe7996
    @hojoe7996 ปีที่แล้ว +1

    it's a good tutorial, thanks

  • @vivekghongate3680
    @vivekghongate3680 11 หลายเดือนก่อน +2

    Used same get function for search also
    public function index(Request $request)
    {
    $getInvoice = Invoice::with([
    'customer' => fn ($q) => $q->select('id', 'first_name'),
    ])
    ->when($request->search != null, function($query) use ($request){
    $query->where('number', 'like', '%' . $request->search . '%');
    })
    ->latest('id')->get();
    return response()->json([
    'invoices' => $getInvoice,
    ], 200);
    }

  • @krillinsworld9439
    @krillinsworld9439 4 หลายเดือนก่อน +1

    So far, SO BAD. There are so many problems with this search function, it will NOT even search. It is so broken, the searchInvoice function throws an error of the function already being declared. I honestly do not even know why I am continuing this defunct project. It's a good learning curve I suppose for learning how to fix broken processes. OMG. If you call this good, I have some ocean front land for sale in Iowa!?

  • @abcz___hello
    @abcz___hello ปีที่แล้ว

    great job

  • @abulhasnattanvir8009
    @abulhasnattanvir8009 ปีที่แล้ว

    awesome video , thanks

  • @akmaljon2402
    @akmaljon2402 ปีที่แล้ว +1

    it's a good tutorial, thanks