Jeg tror, du skal bruge quarter_year
først sådan her:
$last_figures = QuarterData::where('company_id', '=', $company->id)
->orderBy('quarter_year')->orderBy('quarter_number')->get();
Jeg tror, du skal bruge quarter_year
først sådan her:
$last_figures = QuarterData::where('company_id', '=', $company->id)
->orderBy('quarter_year')->orderBy('quarter_number')->get();