D
Size: a a a
D
LA
S
SW
SP
S
SP
S
SP
SP
SP
A
A
SP
SP
4
$query = CertificateTemplate::query();
foreach ($surveyTemplates as $template) {
$query->orWhere(function ($query) use ($template) {
$query->where('category_id', $template->category_id)
->where('convention', $template->convention)
->where('prerequisites', 'LIKE', "%{$template->type}%");
});
}
$result = $query->get();
A
SP
A
SP