mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 03:01:07 +03:30
print and new types and multi image
This commit is contained in:
@@ -165,9 +165,9 @@ class TestResultController extends Controller
|
||||
|
||||
public function show($id)
|
||||
{
|
||||
$TestResult = TestResult::with('input_values', 'user')->select('result', 'verified', 'autoclave_id','user_id','id')->findOrFail($id);
|
||||
$TestResult = TestResult::with('input_values', 'user.medical_center')->select('result', 'verified', 'autoclave_id','user_id','id', 'created_at')->findOrFail($id);
|
||||
$options = [];
|
||||
foreach ($TestResult->input_values as $key => $value) {
|
||||
foreach ($TestResult->input_values as $value) {
|
||||
$input = $value->input;
|
||||
|
||||
if ($input->parent_id != null && $input->parent['type'] == 'Form') {
|
||||
|
||||
Reference in New Issue
Block a user