tooltip feature is added to rows of reports
This commit is contained in:
parent
a0f453d2bf
commit
5afb369ef5
@ -13,3 +13,7 @@
|
||||
@include($class->views['content'])
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('scripts_start')
|
||||
<script src="{{ asset('public/js/common/reports.js?v=' . version('short')) }}"></script>
|
||||
@endpush
|
@ -1,6 +1,14 @@
|
||||
@if ($row_total = array_sum($rows))
|
||||
<tr class="row rp-border-top-1 font-size-unset">
|
||||
<td class="{{ $class->column_name_width }} long-texts pr-0">{{ $class->row_names[$table][$id] }}</td>
|
||||
<td class="{{ $class->column_name_width }} long-texts pr-0">
|
||||
<el-tooltip
|
||||
content="{{ $class->row_names[$table][$id] }}"
|
||||
effect="dark"
|
||||
:open-delay="100"
|
||||
placement="top">
|
||||
<span>{{ $class->row_names[$table][$id] }}</span>
|
||||
</el-tooltip>
|
||||
</td>
|
||||
@foreach($rows as $row)
|
||||
<td class="{{ $class->column_value_width }} text-right px-0">@money($row, setting('default.currency'), true)</td>
|
||||
@endforeach
|
||||
|
Loading…
x
Reference in New Issue
Block a user