import { type ListFrontEndInterface } from '../CommonType'

export interface InvoiceReportsInterface {
    parentCategoryList: ListFrontEndInterface[]
    categoryDropDownList: ListFrontEndInterface[]
    serviceDropDownList: ListFrontEndInterface[]
    regiterClientDetails: ListFrontEndInterface[]
    invoiceStatusReportList: StatusReporData
    paymentOptionList?: CorporateEntity[]
}
export interface CorporateEntity {
    id: string
    identifier: string
    displayName: string
    displayImageURL: string
    additionalDataOne: string
    additionalDataTwo: string
    additionalDataThree: string
    additionalDataFour: string
    additionalDataFive: string
}
interface BusinessDocumentTemplate {
    companyName: string
    addressOne: string
    addressTwo: string
    town: string
    country: string
    postCode: string
    companyLogo: string
    signatureLogo: string
    rubberStampLogo: string
    additionalImage: string
    homeNo: string
    workNo: string
    mobileNo: string
    emailAddress: string
    website: string
    documentFooterText: string
}

interface InvoiceStatus {
    invoiceId: number
    serviceProcessId: number
    serviceName: string
    year: string
    clientName: string
    clientNumber: string
    periodStartDate: string
    periodEndDate: string
    invoiceDate: string
    invoiceAmount: number
    paymentOptionName: string
    paidDate: string
    paidRemarks: string
    paidBy: string
    paymentStatus: string
    currentStatus: string
    serviceId: number
}

export interface StatusReporData {
    businessDocumentTemplate: BusinessDocumentTemplate
    invoiceStatusList: InvoiceStatus[]
}

export interface ReportServiceStatus {
    month: number
    year: number
    dateFlagId: number
    serviceId: number
    flagId: number
    companyTypeId: number
    clientCategoryId: number
    isDateAllowed: number
}

export interface StatusReportPayloadActionData {
    data: StatusReporData
}

export interface ReportDateInterface {
    fromDate: string
    toDate: string
}
