-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated receipt advanced identity show profile
- Loading branch information
1 parent
9c0d163
commit a7473b9
Showing
3 changed files
with
88 additions
and
74 deletions.
There are no files selected for viewing
72 changes: 36 additions & 36 deletions
72
examples/digitalidentity/resources/views/partial/report.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 51 additions & 37 deletions
88
examples/profile/resources/views/partial/report.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,54 @@ | ||
@foreach ($report as $key => $value) | ||
<table> | ||
<thead> | ||
<tr> | ||
<td> | ||
<H2>{{ $key }}</H2> | ||
</td> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
@if (isset($value) && is_array($value)) | ||
@foreach ($value as $name => $result) | ||
@if (is_array($result)) | ||
@foreach ($result as $data => $view) | ||
@if (is_array($view)) | ||
@foreach ($view as $key2 => $value2) | ||
@if (is_array($value2)) | ||
{{json_encode($value2)}} | ||
@else | ||
<tr> | ||
<td><b>{{ $key2 }}</b><br>{{ $value2 }}</td> | ||
</tr> | ||
@endif | ||
@endforeach | ||
@else | ||
<tr> | ||
<td><b>{{ $data }}</b><br>{{ $view }}</td> | ||
</tr> | ||
@endif | ||
@endforeach | ||
@else | ||
<tr> | ||
@if (isset($key) && is_array($key)) | ||
@foreach ($report as $key => $value) | ||
<table> | ||
<thead> | ||
<tr> | ||
<td> | ||
<H2>{{ $key }}</H2> | ||
</td> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
@foreach ($value as $name => $result) | ||
@if (isset($result) && is_array($result)) | ||
@foreach ($result as $data => $view) | ||
@if (is_array($view)) | ||
@foreach ($view as $key2 => $value2) | ||
@if (is_array($value2)) | ||
{{json_encode($value2)}} | ||
@else | ||
<tr> | ||
<td><b>{{ $key2 }}</b><br>{{ $value2 }}</td> | ||
</tr> | ||
@endif | ||
@endforeach | ||
@else | ||
<tr> | ||
<td><b>{{ $data }}</b><br>{{ $view }}</td> | ||
</tr> | ||
@endif | ||
@endforeach | ||
@else | ||
<tr> | ||
<td><b>{{ $name }}</b><br>{{ $result }}</td> | ||
</tr> | ||
@endif | ||
</tr> | ||
@endif | ||
@endforeach | ||
|
||
</tbody> | ||
</table> | ||
@endforeach | ||
@else | ||
<table> | ||
@foreach ($report as $key => $value) | ||
<tr> | ||
<td> | ||
{{ $key }}<br/> | ||
<pre> | ||
{!! json_encode($value, JSON_PRETTY_PRINT) !!} | ||
</pre> | ||
</td> | ||
</tr> | ||
@endforeach | ||
@endif | ||
</tbody> | ||
</table> | ||
@endforeach | ||
@endif |