<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://schemas.haulmont.com/cuba/window.xsd"
        caption="msg://browseCaption"
        class="kz.gis.vvtapi.web.dicnormawork.DicNormaWorkBrowse"
        focusComponent="dicNormaWorksTable"
        lookupComponent="dicNormaWorksTable"
        messagesPack="kz.gis.vvtapi.web.dicnormawork">
    <dsContext>
        <groupDatasource id="dicNormaWorksDs"
                         class="kz.gis.vvtapi.dic.entity.DicNormaWork"
                         view="dicNormaWork-view">
            <query>
                <![CDATA[select e from vvtapi$DicNormaWork e]]>
            </query>
        </groupDatasource>
    </dsContext>
    <dialogMode height="600"
                width="800"/>
    <layout expand="dicNormaWorksTable"
            spacing="true">
        <filter id="filter"
                applyTo="dicNormaWorksTable"
                datasource="dicNormaWorksDs">
            <properties include=".*"/>
        </filter>
        <groupTable id="dicNormaWorksTable"
                    width="100%">
            <actions>
                <action id="create"
                        openType="NEW_TAB"/>
                <action id="edit"
                        openType="NEW_TAB"/>
                <action id="remove"/>
                <action id="excel"/>
            </actions>
            <columns>
                <column id="dicCategory"/>
                <column id="dicSample"/>
                <column id="dicUnits"/>
                <column id="guarantyWork"/>
                <column id="guarantyAfterRepair"/>
                <column id="guarantyWorkMoto"/>
                <column id="guarantyAfterRepairMoto"/>
                <column id="avgRepair"/>
                <column id="avgAfterRepair"/>
                <column id="avgRepairMoto"/>
                <column id="avgAfterRepairMoto"/>
                <column id="capitalRepair"/>
                <column id="capitalAfterRepair"/>
                <column id="capitalRepairMoto"/>
                <column id="capitalAfterRepairMoto"/>
                <column id="warrantyStorageYear"/>
                <column id="periodStorageYear"/>
            </columns>
            <rows datasource="dicNormaWorksDs"/>
            <rowsCount/>
            <buttonsPanel id="buttonsPanel"
                          alwaysVisible="true">
                <button id="createBtn" action="dicNormaWorksTable.create"/>
                <button id="editBtn" action="dicNormaWorksTable.edit"/>
                <button id="removeBtn" action="dicNormaWorksTable.remove"/>
                <button id="excelBtn" action="dicNormaWorksTable.excel"/>
            </buttonsPanel>
        </groupTable>
    </layout>
</window>
