ЕК
Size: a a a
ЕК
ЕК
IA
SalaryPersonalSale::
with(['paymentType'])
->get()
->sortByDesc('paymentType.weight');
D
SalaryPersonalSale::
with(['paymentType'])
->get()
->sortByDesc('paymentType.weight');
D
SV
IA
D
D
D
IA
IA
SalaryPersonalSale::
with(['paymentType' =>
function ($q) {
$q->orderBy('weight', 'DESC');
}])
->get();
IA
IA
IA
IA
paymentType(): BelongsTo
{
return $this->belongsTo(SalaryPaymentType::
class)->orderByDesc('weight');
}
IA
R#
AS