updating cycle close request feature to get approval from national dashboard instead auto from system

This commit is contained in:
Alberto-Audrix committed 2026-09-09 14:18:39 +07:00
1 parent 3a868cf1db
commit e4dbfd0252
31 files changed
+1322 -182

No files matched your search

+6 -1
View File
@@ -93,7 +93,12 @@ const Header: React.FC<HeaderProps> = ({
{cycles.map((cycle) => (
<option key={cycle.id} value={cycle.id}>
{formatDateId(cycle.start_date)} (
{resolveCycleStatus(cycle) === 'active' ? 'Aktif' : 'Selesai'})
{resolveCycleStatus(cycle) === 'active'
? 'Aktif'
: resolveCycleStatus(cycle) === 'pending_close'
? 'Menunggu GM'
: 'Selesai'}
)
</option>
))}
</select>