ilscipio/scipio-erp

View on GitHub
applications/marketing/widget/ReportForms.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
       xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">

    <form name="TrackingCodeReportOptions" type="single" target="TrackingCodeReport" title="${uiLabelMap.MarketingTrackingCodeReportTitle}"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <field name="fromDate" title="${uiLabelMap.CommonFrom} (${uiLabelMap.CommonDate}&gt;=)">
            <date-time type="timestamp"/>
        </field>
        <field name="thruDate" title="${uiLabelMap.CommonThru} (${uiLabelMap.CommonDate}&lt;)">
            <date-time type="timestamp"/>
        </field>

        <field name="trackingCodeId" title="${uiLabelMap.MarketingTrackingCode}">
            <drop-down allow-empty="true">
                <option key="" description="- ${uiLabelMap.CommonAny} -"/>
                <entity-options entity-name="TrackingCode" description="${trackingCodeId}">
                </entity-options>
            </drop-down>
        </field>

        <field name="submitAction" title="${uiLabelMap.CommonRun} ${uiLabelMap.MarketingTrackingCodeReportTitle}" widget-style="${styles.link_run_sys} ${styles.action_view}">
            <submit button-type="button"/>
        </field>
    </form>

    <form name="MarketingCampaignOptions" type="single" target="MarketingCampaignReport"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <field name="fromDate" title="${uiLabelMap.CommonFrom} (${uiLabelMap.CommonDate}&gt;=)">
            <date-time type="timestamp"/>
        </field>
        <field name="thruDate" title="${uiLabelMap.CommonThru} (${uiLabelMap.CommonDate}&lt;)">
            <date-time type="timestamp"/>
        </field>

         <field name="marketingCampaignId" title="${uiLabelMap.MarketingCampaign}">
            <drop-down allow-empty="true">
                <option key="" description="- ${uiLabelMap.CommonAny} -"/>
                <entity-options entity-name="MarketingCampaign" description="${campaignName}">
                </entity-options>
            </drop-down>
        </field>

        <field name="submitAction" title="${uiLabelMap.CommonRun} ${uiLabelMap.MarketingCampaignReportTitle}" widget-style="${styles.link_run_sys} ${styles.action_view}">
            <submit button-type="button"/>
        </field>
    </form>

    <form name="EmailStatusOptions" type="single" target="EmailStatusReport" 
            header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <field name="fromDate" title="${uiLabelMap.CommonFrom} (${uiLabelMap.CommonDate}&gt;=)">
            <date-time type="timestamp"/>
        </field>
        <field name="thruDate" title="${uiLabelMap.CommonThru} (${uiLabelMap.CommonDate}&lt;)">
            <date-time type="timestamp"/>
        </field>
        <field name="partyIdTo" title="${uiLabelMap.FormFieldTitle_partyIdTo}">
            <lookup target-form-name="LookupPartyName"/>
        </field>
        <field name="partyIdFrom" title="${uiLabelMap.FormFieldTitle_fromPartyId}">
            <lookup target-form-name="LookupPartyName"/>
        </field>
        <field name="statusId" title="${uiLabelMap.CommonStatus}">
            <drop-down allow-empty="true">
                <option key="" description="- ${uiLabelMap.CommonSelectAny} -"/>
                <entity-options entity-name="StatusItem" description="${description}" key-field-name="statusId">
                    <entity-constraint name="statusTypeId" operator="equals" value="COM_EVENT_STATUS"/>
                </entity-options>
            </drop-down>
        </field>
        <field name="roleStatusId" title="${uiLabelMap.MarketingSegmentGroupSegmentGroupRole} ${uiLabelMap.CommonStatus}">
            <drop-down allow-empty="true">
                <option key="" description="- ${uiLabelMap.CommonSelectAny} -"/>
                <entity-options entity-name="StatusItem" description="${description}" key-field-name="statusId">
                    <entity-constraint name="statusTypeId" operator="equals" value="COM_EVENT_ROL_STATUS"/>
                </entity-options>
            </drop-down>
        </field>
        <field name="submitAction" title="${uiLabelMap.CommonRun} ${uiLabelMap.MarketingEmailStatusReport}" widget-style="${styles.link_run_sys} ${styles.action_view}">
            <submit button-type="button"/>
        </field>
    </form>

    <form name="PartyStatusOptions" type="single" target="PartyStatusReport" 
            header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <field name="fromDate" title="${uiLabelMap.CommonFrom} (${uiLabelMap.CommonDate}&gt;=)">
            <date-time type="timestamp"/>
        </field>
        <field name="statusDate" title="${uiLabelMap.CommonStatus} (${uiLabelMap.CommonDate}&gt;=)">
            <date-time type="timestamp"/>
        </field>
        <field name="thruDate" title="${uiLabelMap.CommonThru} (${uiLabelMap.CommonDate}&lt;)">
            <date-time type="timestamp"/>
        </field>
        <field name="contactListId" title="${uiLabelMap.PartyContactLists}">
            <drop-down allow-empty="true">
                <option key="" description="- ${uiLabelMap.CommonAny} -"/>
                <entity-options entity-name="ContactList" description="${contactListName}">
                </entity-options>
            </drop-down>
        </field>
        <field name="statusId" title="${uiLabelMap.CommonStatus}">
            <drop-down allow-empty="true">
                <option key="" description="- ${uiLabelMap.CommonSelectAny} -"/>
                <entity-options entity-name="StatusItem" description="${description}" key-field-name="statusId">
                    <entity-constraint name="statusTypeId" operator="equals" value="CONTACTLST_PARTY"/>
                </entity-options>
            </drop-down>
        </field>
        <field name="submitAction" title="${uiLabelMap.CommonRun} ${uiLabelMap.MarketingPartyStatusReport}" widget-style="${styles.link_run_sys} ${styles.action_view}">
            <submit button-type="button"/>
        </field>
    </form>

    <form name="TrackingCodeReport" list-name="trackingCodeVisitAndOrders" target="" title="${uiLabelMap.MarketingTrackingCodeReportTitle}" type="list" paginate-target="TrackingCodeReport"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <field name="trackingCodeId" title="${uiLabelMap.MarketingTrackingCode}">
            <display-entity entity-name="TrackingCode" key-field-name="trackingCodeId" description="${description} [${trackingCodeId}]"/>
        </field>
        <field name="visits" title="${uiLabelMap.MarketingVisits}"><display/></field>
        <field name="orders" title="${uiLabelMap.MarketingOrders}"><display/></field>
        <field name="orderAmount" title="${uiLabelMap.MarketingOrderAmount}"><display/></field>
        <field name="conversionRate" title="${uiLabelMap.MarketingConversionRate}"><display/></field>
    </form>

   <form name="MarketCampaignReport" title="${uiLabelMap.MarketingCampaignReportTitle}" type="list" list-name="marketingCampaignVisitAndOrders" target="" paginate-target="MarketCampaignReport"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <field name="marketingCampaignId" title="${uiLabelMap.MarketingCampaignName}">
            <display-entity entity-name="MarketingCampaign" key-field-name="marketingCampaignId" description="${campaignName} [${marketingCampaignId}]"/>
        </field>
        <field name="visits" title="${uiLabelMap.MarketingVisits}"><display/></field>
        <field name="orders" title="${uiLabelMap.MarketingOrders}"><display/></field>
        <field name="orderAmount" title="${uiLabelMap.MarketingOrderAmount}"><display/></field>
        <field name="conversionRate" title="${uiLabelMap.MarketingConversionRate}"><display/></field>
    </form>

    <form name="EmailStatusReport" title="${uiLabelMap.MarketingEmailStatusReport}" type="list" list-name="commStatausList" target="" paginate-target="EmailStatusReport"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <row-actions>
            <entity-one entity-name="CommunicationEventType" value-field="communicationEventType"/>
        </row-actions>
        <field name="communicationEventId" title="${uiLabelMap.MarketingContactListCommEventId}"><display/></field> 
        <field name="communicationEventTypeId" title="${uiLabelMap.MarketingContactListCommEventTypeId}"><display description="${communicationEventType.description}"/></field>
        <field name="statusId" title="${uiLabelMap.CommonStatus}">
            <display-entity entity-name="StatusItem" description="${description}"/>
        </field>
        <field name="partyIdTo" title="${uiLabelMap.FormFieldTitle_toPartyId}"><display/></field>
        <field name="roleStatusId" title="${uiLabelMap.MarketingSegmentGroupSegmentGroupRole} ${uiLabelMap.CommonStatus}">
            <display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/>
        </field>
        <field name="partyIdFrom" title="${uiLabelMap.FormFieldTitle_fromPartyId}"><display/></field>
        <field name="entryDate" title="${uiLabelMap.PartyEnteredDate}"><display/></field>
        <field name="subject" title="${uiLabelMap.PartySubject}"><display/></field>
    </form>

    <form name="PartyStatusReport" title="${uiLabelMap.MarketingPartyStatusReport}" type="list" list-name="partyStatusLists" target="" paginate-target="PartyStatusReport"
            odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
            <row-actions>
                <entity-one entity-name="StatusItem" value-field="statusItem"/>
            </row-actions>
        <field name="contactListId" title="${uiLabelMap.MarketingContactList}"><display/></field>
        <field name="partyId" title="${uiLabelMap.PartyPartyId}"><display/></field>
        <field name="fromDate" title="${uiLabelMap.CommonFrom}"><display/></field>
        <field name="statusDate" title="${uiLabelMap.CommonStatus} ${uiLabelMap.CommonDate}"><display/></field>
        <field name="statusId" title="${uiLabelMap.CommonStatus}"><display description="${statusItem.description}"/></field>
    </form>
</forms>