chevron styling when active collapse
This commit is contained in:
@ -50,7 +50,7 @@
|
|||||||
{{ $class->row_names[$table_key][$id] }}
|
{{ $class->row_names[$table_key][$id] }}
|
||||||
@if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id]))
|
@if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id]))
|
||||||
<button type="button" class="align-text-top flex" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)">
|
<button type="button" class="align-text-top flex" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)">
|
||||||
<span class="material-icons transform transition-all text-lg leading-none">navigate_next</span>
|
<span class="material-icons transform rotate-90 transition-all text-lg leading-none">expand_more</span>
|
||||||
</button>
|
</button>
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
@foreach($class->tables as $table_key => $table_name)
|
||||||
|
@php $grand_total = array_sum($class->footer_totals[$table_key]); @endphp
|
||||||
|
|
||||||
|
<div class="w-full lg:w-6/12">
|
||||||
|
@include($class->views['summary.table.header'])
|
||||||
|
@include($class->views['summary.table.body'])
|
||||||
|
@include($class->views['summary.table.footer'])
|
||||||
|
</div>
|
||||||
|
@endforeach
|
@ -52,7 +52,7 @@
|
|||||||
<span>{{ $class->row_names[$table_key][$id] }}</span>
|
<span>{{ $class->row_names[$table_key][$id] }}</span>
|
||||||
@if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id]))
|
@if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id]))
|
||||||
<button type="button" class="align-text-top flex" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)">
|
<button type="button" class="align-text-top flex" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)">
|
||||||
<span class="material-icons transform transition-all text-lg leading-none">navigate_next</span>
|
<span class="material-icons transform rotate-90 transition-all text-lg leading-none">navigate_next</span>
|
||||||
</button>
|
</button>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
node="child-{{ $category->id }}"
|
node="child-{{ $category->id }}"
|
||||||
onClick="toggleSub('child-{{ $category->id }}', event)"
|
onClick="toggleSub('child-{{ $category->id }}', event)"
|
||||||
>
|
>
|
||||||
<span class="material-icons transform transition-all text-lg leading-none align-middle text-white">navigate_next</span>
|
<span class="material-icons transform rotate-90 transition-all text-lg leading-none align-middle text-white">chevron_right</span>
|
||||||
</button>
|
</button>
|
||||||
</x-tooltip>
|
</x-tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
node="child-{{ $sub_category->id }}"
|
node="child-{{ $sub_category->id }}"
|
||||||
onClick="toggleSub('child-{{ $sub_category->id }}', event)"
|
onClick="toggleSub('child-{{ $sub_category->id }}', event)"
|
||||||
>
|
>
|
||||||
<span class="material-icons transform transition-all text-lg leading-none align-middle text-white">navigate_next</span>
|
<span class="material-icons transform rotate-90 transition-all text-lg leading-none align-middle text-white">chevron_right</span>
|
||||||
</button>
|
</button>
|
||||||
</x-tooltip>
|
</x-tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user