1
1
<table class =" table table-striped" >
2
2
<tbody >
3
- <tr >
4
- <td >ID</td >
5
- <td >{{ $check -> getId () } } </td >
6
- </tr >
7
- <tr >
8
- <td >State</td >
9
- <td >
3
+ <tr >
4
+ <td >ID</td >
5
+ <td >{{ $check -> getId () } } </td >
6
+ </tr >
7
+ <tr >
8
+ <td >State</td >
9
+ <td >
10
10
<span class =" badge badge-{{ $check -> getState () == ' DONE' ? ' success' : ' secondary' } }" >
11
11
{{ $check -> getState () } }
12
12
</span >
13
- </td >
14
- </tr >
15
- <tr >
16
- <td >Created</td >
17
- <td >{{ $check -> getCreated ()-> format (' r' ) } } </td >
18
- </tr >
19
- <tr >
20
- <td >Last Updated</td >
21
- <td >{{ $check -> getLastUpdated ()-> format (' r' ) } } </td >
22
- </tr >
23
- <tr >
24
- <td >Resources Used</td >
25
- <td >{{ implode (' , ' , $check -> getResourcesUsed ()) } } </td >
26
- </tr >
13
+ </td >
14
+ </tr >
15
+ <tr >
16
+ <td >Created</td >
17
+ <td >{{ $check -> getCreated ()-> format (' r' ) } } </td >
18
+ </tr >
19
+ <tr >
20
+ <td >Last Updated</td >
21
+ <td >{{ $check -> getLastUpdated ()-> format (' r' ) } } </td >
22
+ </tr >
23
+ <tr >
24
+ <td >Resources Used</td >
25
+ <td >{{ implode (' , ' , $check -> getResourcesUsed ()) } } </td >
26
+ </tr >
27
27
28
28
29
- @if ($check -> getReport () )
29
+ @if ($check -> getReport () )
30
30
31
31
@if ($check -> getReport ()-> getRecommendation () )
32
- <tr >
33
- <td >Recommendation</td >
34
- <td >
35
- <table class =" table table-bordered" >
36
- <tbody >
32
+ <tr >
33
+ <td >Recommendation</td >
34
+ <td >
35
+ <table class =" table table-bordered" >
36
+ <tbody >
37
37
<tr >
38
38
<td >Value</td >
39
39
<td >{{ $check -> getReport ()-> getRecommendation ()-> getValue () } } </td >
46
46
<td >Recovery Suggestion</td >
47
47
<td >{{ $check -> getReport ()-> getRecommendation ()-> getRecoverySuggestion () } } </td >
48
48
</tr >
49
- </tbody >
50
- </table >
51
- </td >
52
- </tr >
49
+ </tbody >
50
+ </table >
51
+ </td >
52
+ </tr >
53
53
@endif
54
54
55
55
@if (count ($check -> getReport ()-> getBreakdown ()) > 0 )
56
- <tr >
57
- <td >Breakdown</td >
58
- <td >
59
- @foreach ($check -> getReport ()-> getBreakdown () as $breakdown )
60
- <table class =" table table-bordered" >
61
- <tbody >
62
- <tr >
63
- <td >Sub Check</td >
64
- <td >{{ $breakdown -> getSubCheck () } } </td >
65
- </tr >
66
- <tr >
67
- <td >Result</td >
68
- <td >{{ $breakdown -> getResult () } } </td >
69
- </tr >
70
- @if (count ($breakdown -> getDetails ()) > 0 )
71
- <tr >
72
- <td >Details</td >
73
- <td >
74
- <table class =" table table-striped" >
75
- <tbody >
76
- @foreach ($breakdown -> getDetails () as $details )
77
- <tr >
78
- <td >{{ $details -> getName () } } </td >
79
- <td >{{ $details -> getValue () } } </td >
80
- </tr >
81
- @endforeach
82
- </tbody >
83
- </table >
84
- </td >
85
- </tr >
86
- @endif
87
- </tbody >
88
- </table >
89
- @endforeach
90
- </td >
91
- </tr >
56
+ <tr >
57
+ <td >Breakdown</td >
58
+ <td >
59
+ @foreach ($check -> getReport ()-> getBreakdown () as $breakdown )
60
+ <table class =" table table-bordered" >
61
+ <tbody >
62
+ <tr >
63
+ <td >Sub Check</td >
64
+ <td >{{ $breakdown -> getSubCheck () } } </td >
65
+ </tr >
66
+ <tr >
67
+ <td >Result</td >
68
+ <td >{{ $breakdown -> getResult () } } </td >
69
+ </tr >
70
+ @if (count ($breakdown -> getDetails ()) > 0 )
71
+ <tr >
72
+ <td >Details</td >
73
+ <td >
74
+ <table class =" table table-striped" >
75
+ <tbody >
76
+ @foreach ($breakdown -> getDetails () as $details )
77
+ <tr >
78
+ <td >{{ $details -> getName () } } </td >
79
+ <td >{{ $details -> getValue () } } </td >
80
+ </tr >
81
+ @endforeach
82
+ </tbody >
83
+ </table >
84
+ </td >
85
+ </tr >
86
+ @endif
87
+ </tbody >
88
+ </table >
89
+ @endforeach
90
+ </td >
91
+ </tr >
92
92
@endif
93
93
94
- @endif
94
+ @endif
95
95
96
- @if (count ($check -> getGeneratedMedia ()) > 0 )
96
+ @if (count ($check -> getGeneratedMedia ()) > 0 )
97
97
<tr >
98
98
<td >Generated Media</td >
99
99
<td >
100
100
@foreach ($check -> getGeneratedMedia () as $media )
101
- <table class =" table table-striped" >
102
- <tbody >
101
+ <table class =" table table-striped" >
102
+ <tbody >
103
103
<tr >
104
104
<td >ID</td >
105
105
<td ><a href =" /media/{{ $media -> getId () } }" >{{ $media -> getId () } } </a ></td >
108
108
<td >Type</td >
109
109
<td >{{ $media -> getType () } } </td >
110
110
</tr >
111
- </tbody >
112
- </table >
111
+ </tbody >
112
+ </table >
113
113
@endforeach
114
114
</td >
115
115
</tr >
116
- @endif
116
+ @endif
117
+
118
+ @if ($check -> getType () == ' WATCHLIST_ADVANCED_CA' && $check -> getReport () != null )
119
+ <tr >
120
+ @include (' partial/watchlist_advanced_raw_media' , [' check' => $check ] )
121
+ </tr >
122
+ @endif
117
123
118
124
</tbody >
119
125
</table >
0 commit comments