python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
One-To-Many-Relationship: How to sort data based on latest payments and based on their latest order ids
I have an Online Store project written in Laravel 5.8 and I can properly get the latest orders like this:
$orders = Order::query()->latest('orders.created_at');
And at the Blade:
@forelse($orders ...
memite7760
Votes: 0
Answers: 3
Need to pass the variable with same value from one function to another in laravel
i'm trying to pass the $customer_id variable from customer function to customerUpdate function , but i'm facing the error like 'undefined variable'
<?php
namespace App\Http\Controllers;
use Illumi...
Gowtham K
Votes: 0
Answers: 1