EG
https://github.com/mikehaertl/phpwkhtmltopdf
Size: a a a
EG
V
RK
RK
RK
V
RK
RK
RK
RK
V
V
BI
Model::with(['commets' => function($query){
$query->sum('mark');
}])->get();
O
withCount
или collection->sum
()VI
MR
{{ $location->comments()->sum('mark’) }}
VI
{{ $location->comments()->sum('mark’) }}
VI
MR