feat: Tambahkan model PeriodePelaporan dan update DatePicker

main
marszayn 2025-03-10 14:08:00 +07:00
parent d2102bfb5d
commit d2a8b8db84
2 changed files with 17 additions and 1 deletions

View File

@ -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',
];
}

View File

@ -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"
)}
>