import { MultiSelectOption } from '../types/options.type'; export type CashAdvanceTableStatus = 'menunggu-approval' | 'aktif' | 'history'; export interface CreateEditCashAdvanceBody { person?: string; totalAdvance: number; salaryInstallment: number; bonusInstallment: number; } export interface EditCashAdvanceBody { isApprove: boolean; totalAdvance: number; salaryInstallment: number; bonusInstallment: number; } export interface CashAdvanceFilterQuery { employeeId?: string[]; status: string[]; submissionDate?: string[]; completionDate?: string[]; totalAdvance?: string[]; remainingAdvance?: string[]; } export interface CashAdvanceFilterOptionsParams { statusOption: boolean; } export interface CashAdvanceFilterOptionsResponse { statusOption: MultiSelectOption[]; } export interface CashAdvanceRequestOptionsResponse { employeeId: string; employeeName: string; email: string; } export type CashAdvanceFilterOptionsQuery = Partial>; export interface PayCashAdvanceBody { nominal: number; }