|
|
@ -130,7 +130,7 @@ class AssignMaterialController extends Controller |
|
|
|
"m.description as material_name", |
|
|
|
"m.description as material_name", |
|
|
|
"assign_material_to_activity.activity_id", |
|
|
|
"assign_material_to_activity.activity_id", |
|
|
|
"assign_material_to_activity.type", |
|
|
|
"assign_material_to_activity.type", |
|
|
|
"assign_material_to_activity.material_id" |
|
|
|
"assign_material_to_activity.material_id", |
|
|
|
) |
|
|
|
) |
|
|
|
->join("m_req_material as m", "m.id", "=", "assign_material_to_activity.material_id") |
|
|
|
->join("m_req_material as m", "m.id", "=", "assign_material_to_activity.material_id") |
|
|
|
->groupBy("m.description") |
|
|
|
->groupBy("m.description") |
|
|
|