feat: add month filter
parent
7a0a04d93e
commit
913fcc0643
|
|
@ -27,6 +27,16 @@
|
||||||
<div class="tabs tabs-lift">
|
<div class="tabs tabs-lift">
|
||||||
<input type="radio" name="my_tabs_3" class="tab checked:text-white [--tab-bg:green]" aria-label="Rapot" />
|
<input type="radio" name="my_tabs_3" class="tab checked:text-white [--tab-bg:green]" aria-label="Rapot" />
|
||||||
<div class="tab-content bg-base-100 border-base-300 p-0">
|
<div class="tab-content bg-base-100 border-base-300 p-0">
|
||||||
|
|
||||||
|
<!-- Filter Bulan -->
|
||||||
|
<div class="flex justify-end items-center gap-2 p-4">
|
||||||
|
<span class="whitespace-nowrap text-sm font-medium text-gray-700">Filter Bulan:</span>
|
||||||
|
<input type="month" id="filterBulanRapot"
|
||||||
|
class="px-4 py-2 border bg-white rounded-md w-[180px] sm:w-[200px]"
|
||||||
|
min="2020-01"
|
||||||
|
max="@DateTime.Now.ToString("yyyy-MM")"
|
||||||
|
value="@DateTime.Now.ToString("yyyy-MM")" />
|
||||||
|
</div>
|
||||||
<div class="overflow-x-auto">
|
<div class="overflow-x-auto">
|
||||||
<table class="table-zebra table" id="tableRapot">
|
<table class="table-zebra table" id="tableRapot">
|
||||||
<thead>
|
<thead>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue