Blame view

applications/order/widget/ordermgr/QuoteWorkEffortForms.xml 4.22 KB
c16038356   Anchit Jindal   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
  <?xml version="1.0" encoding="UTF-8"?>
  <!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
  
  http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
  <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
  
      <form name="ListQuoteWorkEfforts" separate-columns="true" title="" type="list"  target="ListQuoteWorkEfforts"
          odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
          <actions>
              <entity-and entity-name="QuoteWorkEffortView">
                  <field-map field-name="quoteId"/>
              </entity-and>
          </actions>
          <field name="quoteId"><hidden/></field>
          <field name="workEffortId" widget-style="buttontext">
              <hyperlink also-hidden="false" description="${workEffortName} [${workEffortId}]" target="EditQuoteWorkEffort">
                  <parameter param-name="workEffortId"/>
                  <parameter param-name="quoteId"/>
              </hyperlink>
          </field>
          <field name="workEffortTypeId"><display-entity entity-name="WorkEffortType" description="${description}"/></field>
          <field name="statusItemDescription"><display/></field>
          <field name="description"><display/></field>
          <field name="workEffortPurposeTypeId"><display-entity entity-name="WorkEffortPurposeType" description="${description}"/></field>
          <field name="actualStartDate"><display/></field>
          <field name="actualEndDate"><display/></field>
          <field name="deleteLink" title=" " widget-style="buttontext">
              <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteQuoteWorkEffort">
                  <parameter param-name="workEffortId"/>
                  <parameter param-name="quoteId"/>
              </hyperlink>
          </field>
      </form>
  
      <form name="AddQuoteWorkEffort" extends="EditWorkEffort" extends-resource="component://workeffort/widget/WorkEffortForms.xml" target="/ordermgr/control/createQuoteWorkEffort" target-type="inter-app" title="" type="single"
          header-row-style="header-row" default-table-style="basic-table">
  
          <field name="quoteId" map-name="parameters"><display/></field>
          <field name="workEffortId" use-when="workEffort==null&amp;&amp;workEffortId!=null">
              <lookup target-form-name="LookupWorkEffort"/>
          </field>
          <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="buttontext">
              <submit button-type="text-link"/>
          </field>
          <sort-order>
              <sort-field name="quoteId"/>
              <banner left-text="${uiLabelMap.OrderOrderQuoteEnterWorkEffortId}"/>
              <sort-field name="workEffortId"/>
              <banner left-text="${uiLabelMap.OrderOrderQuoteEnterWorkEffortIdNew}"/>
          </sort-order>
      </form>
  
      <form name="EditQuoteWorkEffort" target="updateQuoteWorkEffort" title="" type="single" extends="EditWorkEffort" extends-resource="component://workeffort/widget/WorkEffortForms.xml"
          header-row-style="header-row" default-table-style="basic-table">
          <actions>
              <entity-one entity-name="StatusItem" value-field="currentStatus" auto-field-map="false">
                  <field-map field-name="statusId" from-field="quote.statusId"/>
              </entity-one>
          </actions>
          <field name="quoteId" field-name="quoteId" map-name="parameters">
              <hidden/>
          </field>
          <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="buttontext">
              <submit button-type="text-link"/>
          </field>
      </form>
  </forms>