feat: Tambahkan model PeriodePelaporan dan update DatePicker
parent
d2102bfb5d
commit
d2a8b8db84
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PeriodePelaporan extends Model
|
||||
{
|
||||
protected $table = 'PeriodePelaporan';
|
||||
protected $primaryKey = 'PeriodePelaporanId';
|
||||
protected $fillable = [
|
||||
'NamaPeriodePelaporan',
|
||||
'BulanAwal',
|
||||
'BulanSelesai',
|
||||
];
|
||||
}
|
|
@ -30,7 +30,7 @@ export function DatePickerWithRange({
|
|||
id="date"
|
||||
variant={"outline"}
|
||||
className={cn(
|
||||
"w-[300px] justify-start text-left font-normal",
|
||||
"w-full justify-start text-left font-normal",
|
||||
!date && "text-muted-foreground"
|
||||
)}
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue