pCon.basket - Plugin Development
    Preparing search index...

    Interface ReportSettings

    interface ReportSettings {
        attachments?: { readonly [template: string]: ReportAttachments };
        defaultTemplate: string | null;
        filterUserTemplates?: boolean;
        showAdoptReportButton?: boolean;
        templates: string[] | null;
    }
    Index
    attachments?: { readonly [template: string]: ReportAttachments }

    Predefined attachments for each template which will be added to every report. The name of the template is used as the key for the dictionary. If an empty string is used as the template name the provided attachments will be applied to all templates without explicitly defined attachments.

    defaultTemplate: string | null

    Name of the default template

    filterUserTemplates?: boolean

    If true, reporting templates assigned to the current user will also be filtered by the templates option. Otherwise, these templates will always be available.

    false
    
    showAdoptReportButton?: boolean

    If true, an Adopt Report button will be shown. The user can use this to inform the application, that current report should be stored as the final report for the current quote. If clicked the adoptReport property of the eventAfterGenerateReport event will be true.

    false
    
    templates: string[] | null

    Array of template names of report templates which should be available to the user. If null all available templates will be shown.