Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e7c613f2

Von Werner Hahn vor etwa 2 Monaten hinzugefügt

  • ID e7c613f2579c2778bb27125714af5cb50150b7dd
  • Vorgänger 9bace48d
  • Nachfolger 23874369

POS: Kasse WIP funktionrendes css

Unterschiede anzeigen:

css/design40/less/custom.less
23 23
// **********************************
24 24
// MY SPECIAL CLASS
25 25
// **********************************
26
.pos_content{
27
  display: grid;
28
  grid-template-columns: repeat(16, 1fr);
29
  grid-template-rows: auto;
30
  grid-gap: 2px;
31
}
32

  
33
//.container_pos_right{
26
//.pos_content{
34 27
//  display: grid;
35
//  grid-column: 7/12;
36
//  grid-template-columns: repeat(2, 1fr);
37
//  grid-template-rows: repeat(6, 1fr);
38
//  grid-gap: 1px;
39
//  height: calc(50vh - 10px);
40
//justify-self: center;
41
//align-self: center;
42
//padding-left:1em;
28
//  grid-template-columns: repeat(16, 1fr);
29
//  grid-template-rows: auto;
30
//  grid-gap: 2px;
43 31
//}
44

  
45
.input_cv{
46
  grid-column:2/4;
47
  grid-row: 2/3;
48
}
49

  
50
.salesman{
51
  grid-column:4/6;
52
  grid-row: 2/3;
53
}
54

  
55

  
56
.order{
57
  grid-column:2/4;
58
  grid-row: 3/4;
59
}
60

  
61
.item_input{
62
  grid-column:2/8;
63
  grid-row: 4/5;
64
}
65

  
66
.show_rows{
67
  grid-column:1/8;
68
  grid-row: 5/12;
69
}
70
//.container_pos_left{
71
//  display: grid;
72
//  grid-column: 1 / 6;
73
//  grid-row: 1 /6;
74
//  grid-template-columns: repeat(3, 1fr);
75
//  grid-template-rows: repeat(12, 1fr);
76
//  grid-gap: 1px;
77
//  height: calc(50vh - 10px);
78
//justify-self: center;
79
//align-self: center;
80
//padding: 3em;
32
//
33
////.container_pos_right{
34
////  display: grid;
35
////  grid-column: 7/12;
36
////  grid-template-columns: repeat(2, 1fr);
37
////  grid-template-rows: repeat(6, 1fr);
38
////  grid-gap: 1px;
39
////  height: calc(50vh - 10px);
40
////justify-self: center;
41
////align-self: center;
42
////padding-left:1em;
43
////}
44
//
45
//.input_cv{
46
//  grid-column:2/4;
47
//  grid-row: 2/3;
48
//}
49
//
50
//.salesman{
51
//  grid-column:4/6;
52
//  grid-row: 2/3;
53
//}
54
//
55
//
56
//.order{
57
//  grid-column:2/4;
58
//  grid-row: 3/4;
59
//}
60
//
61
//.item_input{
62
//  grid-column:2/8;
63
//  grid-row: 4/5;
64
//}
65
//
66
//.show_rows{
67
//  grid-column:1/8;
68
//  grid-row: 5/12;
69
//}
70
////.container_pos_left{
71
////  display: grid;
72
////  grid-column: 1 / 6;
73
////  grid-row: 1 /6;
74
////  grid-template-columns: repeat(3, 1fr);
75
////  grid-template-rows: repeat(12, 1fr);
76
////  grid-gap: 1px;
77
////  height: calc(50vh - 10px);
78
////justify-self: center;
79
////align-self: center;
80
////padding: 3em;
81
////}
82
//
83
//.pos_button1{
84
//  grid-column: 9/11;
85
//  grid-row: 2/3;
86
//  font-size: 1vi;
87
//  font-weight: bold;
88
//  display: flex;
89
//  justify-content: center;
90
//  align-items: center;
91
//  cursor:pointer;
92
//}
93
//
94
//.pos_button2{
95
//  grid-column: 11/13;
96
//  grid-row: 2/3;
97
//  font-size: 1vi;
98
//  font-weight: bold;
99
//  display: flex;
100
//  justify-content: center;
101
//  align-items: center;
102
//  cursor:pointer;
103
//}
104
//
105
//.pos_button3{
106
//  grid-column: 9/11;
107
//  grid-row: 3/4;
108
//  font-size: 1vi;
109
//  font-weight: bold;
110
//  display: flex;
111
//  justify-content: center;
112
//  align-items: center;
113
//  cursor:pointer;
114
//}
115
//
116
//.pos_button4{
117
//  grid-column: 11/13;
118
//  grid-row: 3/4;
119
//  font-size: 1vi;
120
//  font-weight: bold;
121
//  display: flex;
122
//  justify-content: center;
123
//  align-items: center;
124
//  cursor:pointer;
125
//}
126
//
127
//.pos_button5{
128
//  grid-column: 9/11;
129
//  grid-row: 4/5;
130
//  font-size: 1vi;
131
//  font-weight: bold;
132
//  display: flex;
133
//  justify-content: center;
134
//  align-items: center;
135
//  cursor:pointer;
136
//}
137
//
138
//.pos_button6{
139
//  grid-column: 11/13;
140
//  grid-row: 4/5;
141
//  font-size: 1vi;
142
//  font-weight: bold;
143
//  display: flex;
144
//  justify-content: center;
145
//  align-items: center;
146
//  cursor:pointer;
147
//}
148
//
149
//.pos_button7{
150
//  grid-column: 9/11;
151
//  grid-row: 5/6;
152
//  font-size: 1vi;
153
//  font-weight: bold;
154
//  display: flex;
155
//  justify-content: center;
156
//  align-items: center;
157
//  cursor:pointer;
158
//}
159
//
160
//.pos_button8{
161
//  grid-column: 11/13;
162
//  grid-row: 5/6;
163
//  font-size: 1vi;
164
//  font-weight: bold;
165
//  display: flex;
166
//  justify-content: center;
167
//  align-items: center;
168
//  cursor:pointer;
169
//}
170
//
171
//.pos_button9{
172
//  grid-column: 9/11;
173
//  grid-row: 6/7;
174
//  font-size: 1vi;
175
//  font-weight: bold;
176
//  display: flex;
177
//  justify-content: center;
178
//  align-items: center;
179
//  cursor:pointer;
180
//}
181
//
182
//.pos_button10{
183
//  grid-column: 11/13;
184
//  grid-row: 6/7;
185
//  font-size: 1vi;
186
//  font-weight: bold;
187
//  display: flex;
188
//  justify-content: center;
189
//  align-items: center;
190
//  cursor:pointer;
191
//}
192
//
193
//.pos_button11{
194
//  grid-column: 11/13;
195
//  grid-row: 8/9;
196
//  font-size: 1vi;
197
//  font-weight: bold;
198
//  display: flex;
199
//  justify-content: center;
200
//  align-items: center;
201
//  cursor:pointer;
202
//}
203
//
204
//.pos_button12{
205
//  grid-column: 11/13;
206
//  grid-row: 8/9;
207
//  font-size: 1vi;
208
//  font-weight: bold;
209
//  display: flex;
210
//  justify-content: center;
211
//  align-items: center;
212
//  cursor:pointer;
81 213
//}
82

  
83
.pos_button1{
84
  grid-column: 9/11;
85
  grid-row: 2/3;
86
  font-size: 1vi;
87
  font-weight: bold;
88
  display: flex;
89
  justify-content: center;
90
  align-items: center;
91
  cursor:pointer;
92
}
93

  
94
.pos_button2{
95
  grid-column: 11/13;
96
  grid-row: 2/3;
97
  font-size: 1vi;
98
  font-weight: bold;
99
  display: flex;
100
  justify-content: center;
101
  align-items: center;
102
  cursor:pointer;
103
}
104

  
105
.pos_button3{
106
  grid-column: 9/11;
107
  grid-row: 3/4;
108
  font-size: 1vi;
109
  font-weight: bold;
110
  display: flex;
111
  justify-content: center;
112
  align-items: center;
113
  cursor:pointer;
114
}
115

  
116
.pos_button4{
117
  grid-column: 11/13;
118
  grid-row: 3/4;
119
  font-size: 1vi;
120
  font-weight: bold;
121
  display: flex;
122
  justify-content: center;
123
  align-items: center;
124
  cursor:pointer;
125
}
126

  
127
.pos_button5{
128
  grid-column: 9/11;
129
  grid-row: 4/5;
130
  font-size: 1vi;
131
  font-weight: bold;
132
  display: flex;
133
  justify-content: center;
134
  align-items: center;
135
  cursor:pointer;
136
}
137

  
138
.pos_button6{
139
  grid-column: 11/13;
140
  grid-row: 4/5;
141
  font-size: 1vi;
142
  font-weight: bold;
143
  display: flex;
144
  justify-content: center;
145
  align-items: center;
146
  cursor:pointer;
147
}
148

  
149
.pos_button7{
150
  grid-column: 9/11;
151
  grid-row: 5/6;
152
  font-size: 1vi;
153
  font-weight: bold;
154
  display: flex;
155
  justify-content: center;
156
  align-items: center;
157
  cursor:pointer;
158
}
159

  
160
.pos_button8{
161
  grid-column: 11/13;
162
  grid-row: 5/6;
163
  font-size: 1vi;
164
  font-weight: bold;
165
  display: flex;
166
  justify-content: center;
167
  align-items: center;
168
  cursor:pointer;
169
}
170

  
171
.pos_button9{
172
  grid-column: 9/11;
173
  grid-row: 6/7;
174
  font-size: 1vi;
175
  font-weight: bold;
176
  display: flex;
177
  justify-content: center;
178
  align-items: center;
179
  cursor:pointer;
180
}
181

  
182
.pos_button10{
183
  grid-column: 11/13;
184
  grid-row: 6/7;
185
  font-size: 1vi;
186
  font-weight: bold;
187
  display: flex;
188
  justify-content: center;
189
  align-items: center;
190
  cursor:pointer;
191
}
192

  
193
.pos_button11{
194
  grid-column: 11/13;
195
  grid-row: 8/9;
196
  font-size: 1vi;
197
  font-weight: bold;
198
  display: flex;
199
  justify-content: center;
200
  align-items: center;
201
  cursor:pointer;
202
}
203

  
204
.pos_button12{
205
  grid-column: 11/13;
206
  grid-row: 8/9;
207
  font-size: 1vi;
208
  font-weight: bold;
209
  display: flex;
210
  justify-content: center;
211
  align-items: center;
212
  cursor:pointer;
213
}
214 214

  
215 215
//.pos_button:hover{
216 216
//  cursor:pointer;
css/design40/less/pos.less
1
/* ------------------------------------------------------------- */
2
/* POS (pos.less)                      */
3
/* ------------------------------------------------------------- */
4

  
5

  
6

  
7
//  ------------------------------------------------------------
8
//  General page layout
9
//  ------------------------------------------------------------
10

  
11
.pos_wrapper{
12
  border: solid blue;
13
  position: relative;
14
  height: 85vh;
15
}
16

  
17
// pos_content
18

  
19
.pos_content{
20
  margin-right: 600px;
21
  border: thin solid red;
22
}
23

  
24
// buttons
25

  
26
.buttons{
27
  position: absolute;
28
  right: 0px;
29
  top: 0px;
30

  
31
  width: 600px;
32
  border: thin solid green;
33
}
34

  
35
.container_pos_left{
36
  display: grid;
37
  grid-template-columns: 1fr 1fr;
38
  column-gap: 10px;
39
  row-gap: 15px;
40
}
41

  
42
.pos_button{
43
  height: 60px;
44
  border: thin solid red;
45
}
css/design40/less/style.less
106 106
// -----------------------
107 107
@import 'requirement_spec.less'; //
108 108
@import 'specials.less';
109
@import 'pos.less';
109 110

  
110 111

  
111 112

  
css/design40/style.css
5203 5203
  cursor: pointer;
5204 5204
}
5205 5205
/* ------------------------------------------------------------- */
5206
/* POS (pos.less)                      */
5207
/* ------------------------------------------------------------- */
5208
.pos_wrapper {
5209
  border: solid blue;
5210
  position: relative;
5211
  height: 85vh;
5212
}
5213
.pos_content {
5214
  margin-right: 600px;
5215
  border: thin solid red;
5216
}
5217
.buttons {
5218
  position: absolute;
5219
  right: 0px;
5220
  top: 0px;
5221
  width: 600px;
5222
  border: thin solid green;
5223
}
5224
.container_pos_left {
5225
  display: grid;
5226
  grid-template-columns: 1fr 1fr;
5227
  column-gap: 10px;
5228
  row-gap: 15px;
5229
}
5230
.pos_button {
5231
  height: 60px;
5232
  border: thin solid red;
5233
}
5234
/* ------------------------------------------------------------- */
5206 5235
/* JQUERY UI (jquery-ui.less)                                    */
5207 5236
/* ------------------------------------------------------------- */
5208 5237
.ui-helper-hidden {
......
7949 7978
/* ------------------------------------------------------------- */
7950 7979
/* CUSTOM LESS STUFF (custom.less)                               */
7951 7980
/* ------------------------------------------------------------- */
7952
.pos_content {
7953
  display: grid;
7954
  grid-template-columns: repeat(16, 1fr);
7955
  grid-template-rows: auto;
7956
  grid-gap: 2px;
7957
}
7958
.input_cv {
7959
  grid-column: 2/4;
7960
  grid-row: 2/3;
7961
}
7962
.salesman {
7963
  grid-column: 4/6;
7964
  grid-row: 2/3;
7965
}
7966
.order {
7967
  grid-column: 2/4;
7968
  grid-row: 3/4;
7969
}
7970
.item_input {
7971
  grid-column: 2/8;
7972
  grid-row: 4/5;
7973
}
7974
.show_rows {
7975
  grid-column: 1/8;
7976
  grid-row: 5/12;
7977
}
7978
.pos_button1 {
7979
  grid-column: 9/11;
7980
  grid-row: 2/3;
7981
  font-size: 1vi;
7982
  font-weight: bold;
7983
  display: flex;
7984
  justify-content: center;
7985
  align-items: center;
7986
  cursor: pointer;
7987
}
7988
.pos_button2 {
7989
  grid-column: 11/13;
7990
  grid-row: 2/3;
7991
  font-size: 1vi;
7992
  font-weight: bold;
7993
  display: flex;
7994
  justify-content: center;
7995
  align-items: center;
7996
  cursor: pointer;
7997
}
7998
.pos_button3 {
7999
  grid-column: 9/11;
8000
  grid-row: 3/4;
8001
  font-size: 1vi;
8002
  font-weight: bold;
8003
  display: flex;
8004
  justify-content: center;
8005
  align-items: center;
8006
  cursor: pointer;
8007
}
8008
.pos_button4 {
8009
  grid-column: 11/13;
8010
  grid-row: 3/4;
8011
  font-size: 1vi;
8012
  font-weight: bold;
8013
  display: flex;
8014
  justify-content: center;
8015
  align-items: center;
8016
  cursor: pointer;
8017
}
8018
.pos_button5 {
8019
  grid-column: 9/11;
8020
  grid-row: 4/5;
8021
  font-size: 1vi;
8022
  font-weight: bold;
8023
  display: flex;
8024
  justify-content: center;
8025
  align-items: center;
8026
  cursor: pointer;
8027
}
8028
.pos_button6 {
8029
  grid-column: 11/13;
8030
  grid-row: 4/5;
8031
  font-size: 1vi;
8032
  font-weight: bold;
8033
  display: flex;
8034
  justify-content: center;
8035
  align-items: center;
8036
  cursor: pointer;
8037
}
8038
.pos_button7 {
8039
  grid-column: 9/11;
8040
  grid-row: 5/6;
8041
  font-size: 1vi;
8042
  font-weight: bold;
8043
  display: flex;
8044
  justify-content: center;
8045
  align-items: center;
8046
  cursor: pointer;
8047
}
8048
.pos_button8 {
8049
  grid-column: 11/13;
8050
  grid-row: 5/6;
8051
  font-size: 1vi;
8052
  font-weight: bold;
8053
  display: flex;
8054
  justify-content: center;
8055
  align-items: center;
8056
  cursor: pointer;
8057
}
8058
.pos_button9 {
8059
  grid-column: 9/11;
8060
  grid-row: 6/7;
8061
  font-size: 1vi;
8062
  font-weight: bold;
8063
  display: flex;
8064
  justify-content: center;
8065
  align-items: center;
8066
  cursor: pointer;
8067
}
8068
.pos_button10 {
8069
  grid-column: 11/13;
8070
  grid-row: 6/7;
8071
  font-size: 1vi;
8072
  font-weight: bold;
8073
  display: flex;
8074
  justify-content: center;
8075
  align-items: center;
8076
  cursor: pointer;
8077
}
8078
.pos_button11 {
8079
  grid-column: 11/13;
8080
  grid-row: 8/9;
8081
  font-size: 1vi;
8082
  font-weight: bold;
8083
  display: flex;
8084
  justify-content: center;
8085
  align-items: center;
8086
  cursor: pointer;
8087
}
8088
.pos_button12 {
8089
  grid-column: 11/13;
8090
  grid-row: 8/9;
8091
  font-size: 1vi;
8092
  font-weight: bold;
8093
  display: flex;
8094
  justify-content: center;
8095
  align-items: center;
8096
  cursor: pointer;
8097
}
8098 7981
/* ------------------------------------------------------------- */
8099 7982
/* DEVELOPING (developing.less)                                  */
8100 7983
/* ------------------------------------------------------------- */
templates/design40_webpages/pos/form.html
6 6

  
7 7
<h1>[% FORM.title %]</h1>
8 8

  
9

  
10
<div id="pos_content" class="pos_content">
11
      <div class="salesman ">[% "Salesman" | $T8 %]<br>
9
<form method="post" action="controller.pl" id="pos_form">
10
  [% L.hidden_tag('type',                 'sales_order') %]
11
  [% # L.hidden_tag('id',                   SELF.order.id) %]
12

  
13
  [% INCLUDE 'common/flash.html' %]
14
<div class="wrapper">
15
  <div class="pos_wrapper">
16
    <div class="pos_content">
17
      <div class="left_input control-panel small">[% "Salesman" | $T8 %]
12 18
        [% L.select_tag('order.salesman_id',
13
              SELF.all_salesmen,
14
              #[{id=1,name=werner},{id=2,name=Max}],
15
              default=(SELF.order.salesman_id ? SELF.order.salesman_id : SELF.current_employee_id),
16
              class='wi-normal',
17
              title_key='safe_name') %]
19
        SELF.all_salesmen,
20
        #[{id=1,name=werner},{id=2,name=Max}],
21
        default=(SELF.order.salesman_id ? SELF.order.salesman_id : SELF.current_employee_id),
22
        class='wi-lightwide',
23
        title_key='safe_name') %]
24
      </div>
25
      <div>
26
        <table>
27
          <tr>
28
            <th>[% 'Customer' | $T8 %]</th>
29
            <td class="wi-lightwide"> [% P.customer_vendor.picker("order.customer_id",SELF.order.customer_id,type="customer", show_details="1", label=LxERP.t8('Customer')) %]</td>
30
            <td>[% L.button_tag("input_delete", LxERP.t8('Input delete') ) %]</td>
31
          </tr>
32
        </table>
18 33
      </div>
19
      <div class="input_cv">
20
            <div>[% 'Customer' | $T8 %]</div>
21
            <div> [% P.customer_vendor.picker("customer_id",'',type="customer", show_details="1", label=LxERP.t8('Customer')) %]</div>
22
            <div>[% L.button_tag("input_delete", LxERP.t8('Input delete') ) %]</div>
34
      <div class="toggle_panel control-panel toggle_order_info %]">
35
        <a href="#" onClick='javascript:$(".toggle_panel_block").toggle()' class="button toggle off neutral">Auftragsdaten</a>
23 36
      </div>
24
      <div class="order">
25
        <div class="toggle_panel control-panel toggle_order_info order_data %]">
26
          <a href="#" onClick='javascript:$(".toggle_panel_block").toggle()' class="button toggle off neutral">Auftragsdaten</a>
27
        </div>
28
        <div class="toggle_panel_block order_data_block" style="display:none;">
37
      <div class="toggle_panel_block" style="display:none;">
38
        <div id="tables_left" style="float:left;">
29 39
          <table style="width:40%">
30 40
            <caption>[% 'Customer & Order Information' | $T8 %]</caption>
31 41
            <colgroup><col class="wi-mediumsmall"><col class="wi-lightwide"></colgroup>
......
33 43
              <tr id='cp_row' [% IF !SELF.order.${SELF.cv}.contacts.size %]style='display:none'[% END %]>
34 44
                <th>[% 'Contact Person' | $T8 %]</th>
35 45
                <td>[% L.select_tag('order.cp_id',
36
                                    SELF.order.${SELF.cv}.contacts,
37
                                    default=SELF.order.cp_id,
38
                                    title_key='full_name_dep',
39
                                    value_key='cp_id',
40
                                    with_empty=1,
41
                                    class='wi-lightwide') %]</td>
46
                  SELF.order.${SELF.cv}.contacts,
47
                  default=SELF.order.cp_id,
48
                  title_key='full_name_dep',
49
                  value_key='cp_id',
50
                  with_empty=1,
51
                  class='wi-lightwide') %]</td>
42 52
              </tr>
43 53
              <tr>
44 54
                <th>[% 'Shipping Address' | $T8 %]</th>
45 55
                <td>
46 56
                  <span id='shipto_selection' [% IF !SELF.order.${SELF.cv}.shipto.size %]style='display:none'[% END %]>
47 57
                    [% shiptos = [ { shipto_id => "", displayable_id => LxERP.t8("No/individual shipping address") } ] ;
48
                       FOREACH s = SELF.order.${SELF.cv}.shipto ;
49
                         shiptos.push(s) ;
50
                       END ;
51
                       L.select_tag('order.shipto_id',
52
                                     shiptos,
53
                                     default=SELF.order.shipto_id,
54
                                     title_key='displayable_id',
55
                                     value_key='shipto_id',
56
                                     with_empty=0,
57
                                     class='wi-lightwide') %]
58
                    FOREACH s = SELF.order.${SELF.cv}.shipto ;
59
                    shiptos.push(s) ;
60
                    END ;
61
                    L.select_tag('order.shipto_id',
62
                    shiptos,
63
                    default=SELF.order.shipto_id,
64
                    title_key='displayable_id',
65
                    value_key='shipto_id',
66
                    with_empty=0,
67
                    class='wi-lightwide') %]
58 68
                  </span>
59 69
                  [% L.button_tag("kivi.Order.edit_custom_shipto()",
60
                                  LxERP.t8("Custom shipto"),
61
                                  class='button neutral below wi-lightwide') %]
70
                  LxERP.t8("Custom shipto"),
71
                  class='button neutral below wi-lightwide') %]
62 72
                </td>
63 73
              </tr>
64 74
              <tr id="billing_address_row"[% IF !SELF.order.customer.additional_billing_addresses.as_list.size %]style="display:none"[% END %]>
65 75
                <th>[% 'Custom Billing Address' | $T8 %]</th>
66 76
                <td>
67 77
                  [% L.select_tag('order.billing_address_id',
68
                                   SELF.order.customer.additional_billing_addresses,
69
                                   default=SELF.order.billing_address_id,
70
                                   title_key='displayable_id',
71
                                   value_key='id',
72
                                   with_empty=1,
73
                                   class='wi-lightwide') %]
78
                  SELF.order.customer.additional_billing_addresses,
79
                  default=SELF.order.billing_address_id,
80
                  title_key='displayable_id',
81
                  value_key='id',
82
                  with_empty=1,
83
                  class='wi-lightwide') %]
74 84
                </td>
75 85
              </tr>
76 86
              [% PROCESS order/tabs/_business_info_row.html SELF=SELF %]
......
80 90
              </tr>
81 91
              <!-- CURRENCY und EXCAHANGERATE rausgenommen -->
82 92
              [% IF SELF.all_languages.size %]
83
                <tr>
84
                  <th>[% 'Language' | $T8 %]</th>
85
                  <td>
86
                    [% L.select_tag('order.language_id', SELF.all_languages, default=SELF.order.language_id, title_key='description', with_empty=1, class='wi-lightwide') %]
87
                  </td>
88
                </tr>
93
              <tr>
94
                <th>[% 'Language' | $T8 %]</th>
95
                <td>
96
                  [% L.select_tag('order.language_id', SELF.all_languages, default=SELF.order.language_id, title_key='description', with_empty=1, class='wi-lightwide') %]
97
                </td>
98
              </tr>
89 99
              [% END %]
90 100
              [% IF SELF.all_departments.size %]
91
                <tr>
92
                  <th>[% 'Department' | $T8 %]</th>
93
                  <td>
94
                    [% L.select_tag('order.department_id', SELF.all_departments, default=SELF.order.department_id, title_key='description', with_empty=1, class='wi-lightwide') %]
95
                  </td>
96
                </tr>
101
              <tr>
102
                <th>[% 'Department' | $T8 %]</th>
103
                <td>
104
                  [% L.select_tag('order.department_id', SELF.all_departments, default=SELF.order.department_id, title_key='description', with_empty=1, class='wi-lightwide') %]
105
                </td>
106
              </tr>
97 107
              [% END %]
98 108
              <tr>
99 109
                <th>[% 'Shipping Point' | $T8 %]</th>
......
122 132
                <td colspan="2">
123 133
                  <span class="label above">[% 'Payment Terms' | $T8 %]</span>
124 134
                  [% L.select_tag('order.payment_id',
125
                                    SELF.all_payment_terms,
126
                                    default = SELF.order.payment_id,
127
                                    with_empty = 1,
128
                                    title_key = 'description',
129
                                    class = 'wi-mediumsmall-lightwide') %]
135
                  SELF.all_payment_terms,
136
                  default = SELF.order.payment_id,
137
                  with_empty = 1,
138
                  title_key = 'description',
139
                  class = 'wi-mediumsmall-lightwide') %]
130 140
                </td>
131 141
              </tr>
132 142
              <tr>
133 143
                <td colspan="2">
134 144
                  <span class="label above">[% 'Delivery Terms' | $T8 %]</span>
135 145
                  [% L.select_tag('order.delivery_term_id',
136
                                    SELF.all_delivery_terms,
137
                                    default = SELF.order.delivery_term_id,
138
                                    with_empty = 1,
139
                                    title_key = 'description',
140
                                    class = 'wi-mediumsmall-lightwide') %]
146
                  SELF.all_delivery_terms,
147
                  default = SELF.order.delivery_term_id,
148
                  with_empty = 1,
149
                  title_key = 'description',
150
                  class = 'wi-mediumsmall-lightwide') %]
141 151
                </td>
142 152
              </tr>
143 153
              <tr id="taxincluded_row_id">
......
146 156
              </tr>
147 157
            </tbody>
148 158
          </table>
159
        </div> <!-- end table_left -->
160
        <div id="tables_right" style="float:left;">
149 161
          <table class="tbl-horizontal col">
150 162
            <caption>[% 'Notes' | $T8 %]</caption>
151
            <colgroup><col class="wi-wide"></colgroup>
163
            <colgroup><col class="wi-wide"><col class="wi-wide"></colgroup>
152 164
            <tbody>
153 165
              <tr>
154 166
                <td class="wi-wide">[% L.textarea_tag('order.notes', SELF.order.notes, wrap="soft",rows=7, class="texteditor wi-wide") %]</td>
155
              </tr>
156
              <tr>
157 167
                <td><span class="label above">[% 'Internal Notes' | $T8 %]</span>[% L.textarea_tag('order.intnotes', SELF.order.intnotes, wrap="soft", style="height: 150px", class="wi-wide") %]</td>
158 168
              </tr>
159 169
            </tbody>
160 170
          </table>
161
        </div>
162
      </div>
163
      <div class="item_input">    
171
        </div> <!-- end table_left -->
172
      </div><!-- /.filter_toggle -->
173
      <div class="wrapper">
164 174
        [% PROCESS pos/tabs/_item_input.html SELF=SELF %]
165 175
      </div>
166
[%- IF SELF.positions_scrollbar_height -%]
167
  [%- SET scroll_style = 'style="overflow-y: auto; height:' _ SELF.positions_scrollbar_height _ 'vh;"' -%]
168
[%- ELSE -%]
169
  [%- SET scroll_style = '' -%]
170
[%- END -%]
171
<div id="row_table_scroll_id" class="show_rows" [%- scroll_style -%]>
172

  
173
<table id="row_table_id" class="tbl-list">
174
  <caption>[% 'Articles' | $T8 %]</caption>
175
  <thead>
176
    <tr>
177
      <th class="center">
178
        [% IF MYCONFIG.show_form_details %]
179
          [% L.img_tag(src="image/collapse.svg", alt=LxERP.t8('Hide all details'), title=LxERP.t8('Hide all details'), id='expand_all', "data-expanded"="1") %]
180
        [% ELSE %]
181
          [% L.img_tag(src="image/expand.svg", alt=LxERP.t8('Show all details'), title=LxERP.t8('Show all details'), id='expand_all') %]
182
        [% END %]
183
      </th>
184
      <th>[% 'position'     | $T8 %] </th>
185
      <th style='text-align:center'><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]"></th>
186
      <th style='text-align:center'><img src="image/close.png" alt="[% LxERP.t8('delete item') %]"></th>
187
      [%- IF SELF.show_update_button -%]
188
      <th class="listheading" style='text-align:center' nowrap width="1">
189
        [%- L.img_tag(src="image/rotate_cw.svg",
190
                      alt=LxERP.t8('Update from master data'),
191
                      title= LxERP.t8('Update from master data'),
192
                      onclick="if (!confirm('" _ LxERP.t8("Are you sure to update all positions from master data?") _ "')) return false; kivi.Order.update_all_rows_from_master_data();",
193
                      id='update_from_master',
194
                      class='expand') %]
195
      </th>
196
      [%- END %]
197
      <th id="partnumber_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("partnumber")'> [% 'Partnumber'  | $T8 %]</a></th>
198
      [%- IF SELF.search_cvpartnumber -%]
199
      <th id="cvpartnumber_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("cvpartnumber")'>[%- SELF.cv == "customer" ? LxERP.t8('Customer Part Number') : LxERP.t8('Model') %]</a></th>
200
      [%- END -%]
201
      <th id="partclass_header_id">[% 'Type'  | $T8 %]</th>
202
      <th id="description_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("description")'>[% 'Description' | $T8 %]</a></th>
203
      [%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") -%]
204
      <th id="shipped_qty_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("shipped_qty")'>[% 'Delivered' | $T8 %]</a></th>
205
      [%- END -%]
206
      <th id="qty_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("qty")'>        [% 'Qty'         | $T8 %]</a></th>
207
      <th >[% 'Price Factor' | $T8 %]</th>
208
      <th >[% 'Unit'         | $T8 %]</th>
209
      <th >[% 'Price Source' | $T8 %]</th>
210
      <th id="sellprice_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("sellprice")'> [% 'Price'       | $T8 %]</a></th>
211
      <th id="discount_header_id" ><a href='#' onClick='javascript:kivi.Order.reorder_items("discount")'>  [% 'Discount'    | $T8 %]</a></th>
212
      <th>[% 'Extended'     | $T8 %]</th>
213
    </tr>
214
  </thead>
215
  [% FOREACH item = SELF.order.items_sorted %]
216
    [% PROCESS order/tabs/_row.html ITEM=item ID=(item.id||item.new_fake_id) %]
217
  [% END %]
218
  <tfoot>
219
    [% IF (SELF.type == "sales_quotation") || (SELF.type == "request_quotation")  || (SELF.type == "purchase_quotation_intake") %]
220
      [% SET add_col = 0 %]
221
    [% ELSE %]
222
      [% SET add_col = 1 %]
223
    [% END %]
224
    [% IF SELF.search_cvpartnumber %]
225
      [% SET add_col = add_col + 1 %]
226
    [% END %]
227
    <tr id="subtotal_row_id">
228
      <td colspan="[%- 10 + add_col %]"></td>
229
      [%- IF SELF.show_update_button -%]
230
      <td></td>
231
      [%- END -%]
232
      <th colspan="3">[% IF !SELF.order.taxincluded %][% 'Subtotal' | $T8 %][% END %]</th>
233
      <td class="numeric">[% IF !SELF.order.taxincluded %][% L.div_tag(SELF.order.netamount_as_number, id='netamount_id') %][% END %]</td>
234
    </tr>
235
    [% FOREACH tax = SELF.taxes %]
236
      [% PROCESS order/tabs/_tax_row.html TAX=tax TAXINCLUDED=SELF.order.taxincluded QUOTATION=SELF.order.quotation %]
237
    [% END %]
238
    <tr id="amount_row_id">
239
      [%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "sales_quotation") -%]
240
      [%- SET marge_class = ((SELF.order.marge_total || 0) < 0) ? 'plus0' : '' -%]
241
      <th colspan="2">[% 'Ertrag' | $T8 %]</th>
242
      <td colspan="2" class="numeric">[%- L.div_tag(SELF.order.marge_total_as_number, id='marge_total_id', class=marge_class) %]</td>
243
      <th colspan="2">[% 'Ertrag prozentual' | $T8 %]</th>
244
      <td class="numeric">[%- LxERP.format_amount(SELF.order.marge_percent, 2) %] %</td>
245
      [%- ELSE -%]
246
      <td colspan="7"></td>
247
      [%- END -%]
248
      [%- IF SELF.show_update_button -%]
249
      <td></td>
250
      [%- END -%]
251
      <td colspan="[%- 3 + add_col %]"></td>
252
      <th colspan="3">[% 'Total' | $T8 %]</th>
253
      <td class="numeric">[% L.div_tag(SELF.order.amount_as_number, id='amount_id') %]</td>
254
    </tr>
255
  </tfoot>
256
</table>
257

  
258
  </div><!-- /#row_table_scroll_id /.wrapper -->
259
  </div><!-- /#row_table_scroll_id /.wrapper -->
260
    <div class="pos_button1 control-panel" onclick="alert('Funktion')">Funktion*</div>
261
    <div class="pos_button2 control-panel">Funktion</div>
262
    <div class="pos_button3 control-panel">Auswahl bezahlen/zurücknehmen</div>
263
    <div class="pos_button4 control-panel">Nachlass gewähren</div>
264
    <div class="pos_button5 control-panel">Nachdruck Quittung</div>
265
    <div class="pos_button6 control-panel">Auf Rechnung</div>
266
    <div class="pos_button7 control-panel">Entnahme erfassen</div>
267
    <div class="pos_button8 control-panel">Auf Lieferschein</div>
268
    <div class="pos_button9 control-panel">Quittung parken</div>
269
    <div class="pos_button10 control-panel">geparkte Quittung</div>
270
    <div class="pos_button11 control-panel">Bezahlen</div>
271
    <div class="pos_button12 control-panel">Abbrechen</div>
176
      <div id="row_table_scroll_id" class="horizontal-scroll-wrapper" style="overflow: auto; height:100%;">
177
        <table id="row_table_id" class="tbl-list">
178
          <caption>Artikel</caption>
179
          <thead>
180
            <tr>
181
              <th class="center">
182
                <img id="expand_all" alt="Alle Details anzeigen" src="image/expand.svg" title="Alle Details anzeigen">
183
              </th>
184
              <th >Position</th>
185
              <th style='text-align:center'><img src="image/updown.png" alt="Eintrag umsortieren"></th>
186
              <th style='text-align:center'><img src="image/close.png" alt="Position löschen"></th>
187
              <th id="partnumber_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("partnumber")'> Artikelnummer</a></th>
188
              <th id="description_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("description")'>Beschreibung</a></th>
189
              <th id="qty_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("qty")'>        Menge</a></th>
190
              <th >Einheit</th>
191
              <th id="sellprice_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("sellprice")'> Preis</a></th>
192
              <th id="discount_header_id" ><a href='#' onClick='javascript:kivi.Order.reorder_items("discount")'>  Rabatt</a></th>
193
              <th>Gesamt</th>
194
            </tr>
195
          </thead>
196
            [% FOREACH item = SELF.order.items_sorted %]
197
              [% PROCESS pos/tabs/_row.html ITEM=item ID=(item.id||item.new_fake_id) %]
198
            [% END %]
199
        </table>
200
      </div>
201
    </div>
202

  
203
    <div class="buttons">
204
      <div class="container_pos_left">
205
        <div class="pos_button control-panel small" onclick="alert('Funktion')">Funktion*</div>
206
        <div class="pos_button control-panel small">Funktion</div>
207
        <div class="pos_button control-panel small small">Funktion</div>
208
        <div class="pos_button control-panel">Auswahl bezahlen/zurücknehmen</div>
209
        <div class="pos_button control-panel">Nachlass gewähren</div>
210
        <div class="pos_button control-panel">Nachdruck Quittung</div>
211
        <div class="pos_button control-panel">Auf Rechnung</div>
212
        <div class="pos_button control-panel">Entnahme erfassen</div>
213
        <div class="pos_button control-panel">Auf Lieferschein</div>
214
        <div class="pos_button control-panel">Quittung parken</div>
215
        <div class="pos_button control-panel">geparkte Quittung</div>
216
        <div class="pos_button control-panel">Bezahlen</div>
217
        <div class="pos_button control-panel">Abbrechen</div>
218
      </div>
219
    </div>
220
  </div>
272 221
</div>
273

  
274

  
275

  
276

  
277

  
278

  
279

  
280

  
281

  
282

  
templates/design40_webpages/pos/tabs/_item_input.html
4 4
[% USE L %]
5 5
[% USE P %]
6 6

  
7
<div class="wrapper panel-wrapper">
8 7
<div class="input-panel control-panel">
9 8
  <table id="input_row_table_id" class="tbl-plain condensed">
10 9
    <caption>[% 'Add Parts here!' | $T8 %]</caption>
......
20 19
          [%- SET PARAM_KEY = SELF.cv == "customer" ? 'with_customer_partnumber' : 'with_makemodel' -%]
21 20
          [%- SET PARAM_VAL = SELF.search_cvpartnumber -%]
22 21
          [% P.part.picker('add_item.parts_id', SELF.created_part, class="add_item_input wi-normal",
23
             fat_set_item=1,
24
             multiple_pos_input=1,
25
             action={set_multi_items='kivi.Order.add_multi_items'},
26
             classification_id=SELF.part_picker_classification_ids.as_list.join(','),
27
             not_order_locked=SELF.type_data.no_order_locked_parts,
28
             $PARAM_KEY=PARAM_VAL) %]
22
          fat_set_item=1,
23
          multiple_pos_input=1,
24
          action={set_multi_items='kivi.Order.add_multi_items'},
25
          classification_id=SELF.part_picker_classification_ids.as_list.join(','),
26
          not_order_locked=SELF.type_data.no_order_locked_parts,
27
          $PARAM_KEY=PARAM_VAL) %]
29 28
        </td>
30 29
        <td>
31 30
          <span class="label above">[% 'Description' | $T8 %] </span>
......
42 41
      <td colspan="6"></td>      <td></td>      <th colspan="3">Zwischensumme</th>
43 42
      <td class="numeric"><div id="netamount_id">20.800,00</div></td>
44 43
    </tr>
45
<tr class="tax_row">
46
  <td colspan="6"></td>  <td></td>  <th colspan="3">Umsatzsteuer 19,00%</th>
47
  <td class="numeric">3952,00</td>
48
</tr>
44
    <tr class="tax_row">
45
      <td colspan="6"></td>  <td></td>  <th colspan="3">Umsatzsteuer 19,00%</th>
46
      <td class="numeric">3952,00</td>
47
    </tr>
49 48
    <tr id="amount_row_id">
50 49
      <td colspan="6"></td><td></td>
51 50
      <th colspan="3">Summe</th>
......
53 52
    </tr>
54 53
  </table>
55 54
</div><!-- /.entry-panel -->
56

  
57
</div><!-- /.wrapper -->
58
<div id="row_table_scroll_id" class="wrapper horizontal-scroll-wrapper" style="overflow-y: auto; height:100%;">
59

  
60
<table id="row_table_id" class="tbl-list">
templates/design40_webpages/pos/tabs/_row.html
15 15
                     alt=LxERP.t8('Show details'), title=LxERP.t8('Show details'), class="expand") %]
16 16
      [% END %]
17 17
      [% L.hidden_tag("orderitem_ids[+]", ID) %]
18
      [% L.hidden_tag("converted_from_record_item_type_ref[+]", ITEM.converted_from_record_item_type_ref) %]
19
      [% L.hidden_tag("converted_from_record_item_id[+]",       ITEM.converted_from_record_item_id) %]
20 18
      [% L.hidden_tag("order.orderitems[+].id", ITEM.id, id='item_' _ ID) %]
21 19
      [% L.hidden_tag("order.orderitems[].parts_id", ITEM.parts_id) %]
22
      [% L.hidden_tag("basket_item_ids[+]", ITEM.basket_item_id) %]
23 20
    </td>
24 21
    <td class="center"><div name="position">[% HTML.escape(ITEM.position) %]</div></td>
25 22
    <td><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]" class="dragdrop"></td>
......
28 25
                      LxERP.t8("X"),
29 26
                      confirm=LxERP.t8("Are you sure?")) %]
30 27
    </td>
31
    [%- IF SELF.show_update_button -%]
32
    <td>
33
      [%- L.img_tag(src="image/rotate_cw.svg",
34
                    alt=LxERP.t8('Update from master data'),
35
                    title= LxERP.t8('Update from master data'),
36
                    onclick="if (!confirm('" _ LxERP.t8("Are you sure to update this position from master data?") _ "')) return false; kivi.Order.update_row_from_master_data(this);",
37
                    id='update_from_master',
38
                    class="expand") %]
39
    </td>
40
    [%- END -%]
41 28
    <td>
42 29
      <div name="partnumber">
43 30
        [%- P.link_tag(SELF.url_for(controller='Part', action='edit', 'part.id'=ITEM.part.id), ITEM.part.partnumber, target="_blank", title=LxERP.t8('Open in new window')) -%]
44 31
      </div>
45 32
    </td>
46
    [%- IF SELF.search_cvpartnumber -%]
47
    <td><div name="cvpartnumber">[% HTML.escape(ITEM.cvpartnumber) %]</div></td>
48
    [%- END -%]
49
    <td><div name="partclassification">[% ITEM.part.presenter.typeclass_abbreviation %]</div></td>
50 33
    <td>
51 34
      [% L.areainput_tag("order.orderitems[].description",
52 35
                     ITEM.description,
templates/design40_webpages/pos/tabs/_rows_tmp.html
1
<div id="row_table_scroll_id" class="wrapper horizontal-scroll-wrapper" style="overflow-y: auto; height:100%;">
2 1

  
3
<table id="row_table_id" class="tbl-list">
4
  <caption>Artikel</caption>
5
  <thead>
6
    <tr>
7
      <th class="center">
8
        
2
  <table id="row_table_id" class="tbl-list">
3
    <caption>Artikel</caption>
4
    <thead>
5
      <tr>
6
        <th class="center">
7

  
9 8
          <img id="expand_all" alt="Alle Details anzeigen" src="image/expand.svg" title="Alle Details anzeigen">
10
        
11
      </th>
12
      <th style='text-align:center'><img src="image/updown.png" alt="Eintrag umsortieren"></th>
13
      <th style='text-align:center'><img src="image/close.png" alt="Position löschen"></th>
14
      <th id="partnumber_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("partnumber")'> Artikelnummer</a></th>
15
      <th id="description_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("description")'>Beschreibung</a></th>
16
      <th id="qty_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("qty")'>        Menge</a></th>
17
      <th >Preisfaktor</th>
18
      <th >Einheit</th>
19
      <th id="sellprice_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("sellprice")'> Preis</a></th>
20
      <th id="discount_header_id" ><a href='#' onClick='javascript:kivi.Order.reorder_items("discount")'>  Rabatt</a></th>
21
      <th>Gesamt</th>
22
    </tr>
23
  </thead>
24
<tbody class="row_entry listrow" data-position="1">
25
  <tr>
26
    <td>
27
        <img class="expand" src="image/expand.svg" title="Details anzeigen" alt="Details anzeigen">
28
      <input value="16" id="orderitem_ids5227448" name="orderitem_ids[+]" type="hidden">
29
      <input value="" id="converted_from_record_item_type_ref5227449" name="converted_from_record_item_type_ref[+]" type="hidden">
30
      <input type="hidden" id="converted_from_record_item_id5227450" name="converted_from_record_item_id[+]" value="">
31
      <input type="hidden" name="order.orderitems[+].id" id="item_16" value="16">
32
      <input value="1130" type="hidden" name="order.orderitems[].parts_id" id="order_orderitems5227451_parts_id">
33
      <input type="hidden" id="basket_item_ids5227452" name="basket_item_ids[+]" value="">
34
    </td>
35
    <td><img src="image/updown.png" alt="Eintrag umsortieren" class="dragdrop"></td>
36
    <td>
37
      <input tag="input" value="X" onclick="if (!confirm(&quot;Sind Sie sicher?&quot;)) return false; kivi.Order.delete_order_item_row(this)" type="button">
38
    </td>
39
    <td>
40
      <div name="partnumber"><a title="In neuem Fenster öffnen." target="_blank" href="controller.pl?action=Part%2fedit&amp;part.id=1130">R1</a>      </div>
41
    </td>
42
    <td>
43
      <span class="area-input"><input name="order.orderitems[].description" id="id_8380663" type="text" size="40" value="Breitreifen 17“" class="wi-lightwide"><span class="switch-to-textarea" onclick="kivi.switch_areainput_to_textarea('id_8380663')"></span></span>
44
      <input name="order.orderitems[].longdescription" id="order_orderitems5227453_longdescription" type="hidden" value="für HS225, HS800, HS Kombi">
45
      <input type="button" value="T" onclick="kivi.Order.show_longdescription_dialog(this)" class="wi-tiny neutral" tag="input">
46
    </td>
47
    <td>
48
      <input name="order.orderitems[].qty_as_number" id="order_orderitems5227454_qty_as_number" type="text" size="5" value="1,00" class="recalc reformat_number numeric wi-verysmall">
49
    </td>
50
    <td>
51
      <select class="recalc wi-mediumsmall" name="order.orderitems[].price_factor_id" id="order_orderitems5227455_price_factor_id"><option value=""></option><option value="876">pro 10</option><option value="877">pro 100</option><option value="878">pro 1.000</option></select>
52
    </td>
53
    <td>
54
      <select class="unitselect wi-mediumsmall" name="order.orderitems[].unit" id="order_orderitems5227456_unit"><option value="Stck" selected>Stck</option></select>
55
    </td>
56
    <td>
57
      <input value="master_data/sellprice" type="hidden" name="order.orderitems[].active_price_source" id="order_orderitems5227457_active_price_source">
58
      <div name="editable_price" style="display:none" class="numeric">
59
        <input type="text" size="10" name="order.orderitems[].sellprice_as_number" id="order_orderitems5227458_sellprice_as_number" disabled class="recalc reformat_number numeric wi-verysmall" value="800,00">
60
      </div>
61
      <div name="not_editable_price" >
62
        <div name="sellprice_text" class="numeric plain-data">800,00</div>  <!-- PENDENT: plain-data in DIV noch dem CSS hinzufuegen -->
63
        <input value="800,00" id="order_orderitems5227459_sellprice_as_number" name="order.orderitems[].sellprice_as_number" type="hidden">
64
      </div>
65
    </td>
66
    <td>
67
      <input value="" id="order_orderitems5227460_active_discount_source" name="order.orderitems[].active_discount_source" type="hidden">
68
      <div name="editable_discount"  class="numeric">
69
        <input value="0,00" class="recalc reformat_number numeric" id="order_orderitems5227461_discount_as_percent" name="order.orderitems[].discount_as_percent" size="5" type="text">
70
      </div>
71
      <div name="not_editable_discount" style="display:none">
72
        <div class="numeric" name="discount_text">0,00</div>
73
        <input disabled value="0,00" type="hidden" name="order.orderitems[].discount_as_percent" id="order_orderitems5227462_discount_as_percent">
74
      </div>
75
    </td>
76
    <td><div name="linetotal" class="numeric">800,00</div></td>
77
  </tr>
78
  <tr style="display:none">
79
    <td colspan="100%">
80
        <div name="second_row" id="second_row_16">
81
          Wird geladen...
82
        </div>
83
    </td>
84
  </tr>
85
</tbody>
86
<tbody class="row_entry listrow" data-position="1">
87
  <tr>
88
    <td>
89
        <img class="expand" src="image/expand.svg" title="Details anzeigen" alt="Details anzeigen">
90
      <input value="16" id="orderitem_ids5227448" name="orderitem_ids[+]" type="hidden">
91
      <input value="" id="converted_from_record_item_type_ref5227449" name="converted_from_record_item_type_ref[+]" type="hidden">
92
      <input type="hidden" id="converted_from_record_item_id5227450" name="converted_from_record_item_id[+]" value="">
93
      <input type="hidden" name="order.orderitems[+].id" id="item_16" value="16">
94
      <input value="1130" type="hidden" name="order.orderitems[].parts_id" id="order_orderitems5227451_parts_id">
95
      <input type="hidden" id="basket_item_ids5227452" name="basket_item_ids[+]" value="">
96
    </td>
97
    <td><img src="image/updown.png" alt="Eintrag umsortieren" class="dragdrop"></td>
98
    <td>
99
      <input tag="input" value="X" onclick="if (!confirm(&quot;Sind Sie sicher?&quot;)) return false; kivi.Order.delete_order_item_row(this)" type="button">
100
    </td>
101
    <td>
102
      <div name="partnumber"><a title="In neuem Fenster öffnen." target="_blank" href="controller.pl?action=Part%2fedit&amp;part.id=1130">R1</a>      </div>
103
    </td>
104
    <td>
105
      <span class="area-input"><input name="order.orderitems[].description" id="id_8380663" type="text" size="40" value="Breitreifen 17“" class="wi-lightwide"><span class="switch-to-textarea" onclick="kivi.switch_areainput_to_textarea('id_8380663')"></span></span>
106
      <input name="order.orderitems[].longdescription" id="order_orderitems5227453_longdescription" type="hidden" value="für HS225, HS800, HS Kombi">
107
      <input type="button" value="T" onclick="kivi.Order.show_longdescription_dialog(this)" class="wi-tiny neutral" tag="input">
108
    </td>
109
    <td>
110
      <input name="order.orderitems[].qty_as_number" id="order_orderitems5227454_qty_as_number" type="text" size="5" value="1,00" class="recalc reformat_number numeric wi-verysmall">
111
    </td>
112
    <td>
113
      <select class="recalc wi-mediumsmall" name="order.orderitems[].price_factor_id" id="order_orderitems5227455_price_factor_id"><option value=""></option><option value="876">pro 10</option><option value="877">pro 100</option><option value="878">pro 1.000</option></select>
114
    </td>
115
    <td>
116
      <select class="unitselect wi-mediumsmall" name="order.orderitems[].unit" id="order_orderitems5227456_unit"><option value="Stck" selected>Stck</option></select>
117
    </td>
118
    <td>
119
      <input value="master_data/sellprice" type="hidden" name="order.orderitems[].active_price_source" id="order_orderitems5227457_active_price_source">
120
      <div name="editable_price" style="display:none" class="numeric">
121
        <input type="text" size="10" name="order.orderitems[].sellprice_as_number" id="order_orderitems5227458_sellprice_as_number" disabled class="recalc reformat_number numeric wi-verysmall" value="800,00">
122
      </div>
123
      <div name="not_editable_price" >
124
        <div name="sellprice_text" class="numeric plain-data">800,00</div>  <!-- PENDENT: plain-data in DIV noch dem CSS hinzufuegen -->
125
        <input value="800,00" id="order_orderitems5227459_sellprice_as_number" name="order.orderitems[].sellprice_as_number" type="hidden">
126
      </div>
127
    </td>
128
    <td>
129
      <input value="" id="order_orderitems5227460_active_discount_source" name="order.orderitems[].active_discount_source" type="hidden">
130
      <div name="editable_discount"  class="numeric">
131
        <input value="0,00" class="recalc reformat_number numeric" id="order_orderitems5227461_discount_as_percent" name="order.orderitems[].discount_as_percent" size="5" type="text">
132
      </div>
133
      <div name="not_editable_discount" style="display:none">
134
        <div class="numeric" name="discount_text">0,00</div>
135
        <input disabled value="0,00" type="hidden" name="order.orderitems[].discount_as_percent" id="order_orderitems5227462_discount_as_percent">
136
      </div>
137
    </td>
138
    <td><div name="linetotal" class="numeric">800,00</div></td>
139
  </tr>
140
  <tr style="display:none">
141
    <td colspan="100%">
142
        <div name="second_row" id="second_row_16">
143
          Wird geladen...
144
        </div>
145
    </td>
146
  </tr>
147
</tbody>
148
<tbody class="row_entry listrow" data-position="1">
149
  <tr>
150
    <td>
151
        <img class="expand" src="image/expand.svg" title="Details anzeigen" alt="Details anzeigen">
152
      <input value="16" id="orderitem_ids5227448" name="orderitem_ids[+]" type="hidden">
153
      <input value="" id="converted_from_record_item_type_ref5227449" name="converted_from_record_item_type_ref[+]" type="hidden">
154
      <input type="hidden" id="converted_from_record_item_id5227450" name="converted_from_record_item_id[+]" value="">
155
      <input type="hidden" name="order.orderitems[+].id" id="item_16" value="16">
156
      <input value="1130" type="hidden" name="order.orderitems[].parts_id" id="order_orderitems5227451_parts_id">
157
      <input type="hidden" id="basket_item_ids5227452" name="basket_item_ids[+]" value="">
158
    </td>
159
    <td><img src="image/updown.png" alt="Eintrag umsortieren" class="dragdrop"></td>
160
    <td>
161
      <input tag="input" value="X" onclick="if (!confirm(&quot;Sind Sie sicher?&quot;)) return false; kivi.Order.delete_order_item_row(this)" type="button">
162
    </td>
163
    <td>
164
      <div name="partnumber"><a title="In neuem Fenster öffnen." target="_blank" href="controller.pl?action=Part%2fedit&amp;part.id=1130">R1</a>      </div>
165
    </td>
166
    <td>
167
      <span class="area-input"><input name="order.orderitems[].description" id="id_8380663" type="text" size="40" value="Breitreifen 17“" class="wi-lightwide"><span class="switch-to-textarea" onclick="kivi.switch_areainput_to_textarea('id_8380663')"></span></span>
168
      <input name="order.orderitems[].longdescription" id="order_orderitems5227453_longdescription" type="hidden" value="für HS225, HS800, HS Kombi">
169
      <input type="button" value="T" onclick="kivi.Order.show_longdescription_dialog(this)" class="wi-tiny neutral" tag="input">
170
    </td>
171
    <td>
172
      <input name="order.orderitems[].qty_as_number" id="order_orderitems5227454_qty_as_number" type="text" size="5" value="1,00" class="recalc reformat_number numeric wi-verysmall">
173
    </td>
174
    <td>
175
      <select class="recalc wi-mediumsmall" name="order.orderitems[].price_factor_id" id="order_orderitems5227455_price_factor_id"><option value=""></option><option value="876">pro 10</option><option value="877">pro 100</option><option value="878">pro 1.000</option></select>
176
    </td>
177
    <td>
178
      <select class="unitselect wi-mediumsmall" name="order.orderitems[].unit" id="order_orderitems5227456_unit"><option value="Stck" selected>Stck</option></select>
179
    </td>
180
    <td>
181
      <input value="master_data/sellprice" type="hidden" name="order.orderitems[].active_price_source" id="order_orderitems5227457_active_price_source">
182
      <div name="editable_price" style="display:none" class="numeric">
183
        <input type="text" size="10" name="order.orderitems[].sellprice_as_number" id="order_orderitems5227458_sellprice_as_number" disabled class="recalc reformat_number numeric wi-verysmall" value="800,00">
184
      </div>
185
      <div name="not_editable_price" >
186
        <div name="sellprice_text" class="numeric plain-data">800,00</div>  <!-- PENDENT: plain-data in DIV noch dem CSS hinzufuegen -->
187
        <input value="800,00" id="order_orderitems5227459_sellprice_as_number" name="order.orderitems[].sellprice_as_number" type="hidden">
188
      </div>
189
    </td>
190
    <td>
191
      <input value="" id="order_orderitems5227460_active_discount_source" name="order.orderitems[].active_discount_source" type="hidden">
192
      <div name="editable_discount"  class="numeric">
193
        <input value="0,00" class="recalc reformat_number numeric" id="order_orderitems5227461_discount_as_percent" name="order.orderitems[].discount_as_percent" size="5" type="text">
194
      </div>
195
      <div name="not_editable_discount" style="display:none">
196
        <div class="numeric" name="discount_text">0,00</div>
197
        <input disabled value="0,00" type="hidden" name="order.orderitems[].discount_as_percent" id="order_orderitems5227462_discount_as_percent">
198
      </div>
199
    </td>
200
    <td><div name="linetotal" class="numeric">800,00</div></td>
201
  </tr>
202
  <tr style="display:none">
203
    <td colspan="100%">
204
        <div name="second_row" id="second_row_16">
205
          Wird geladen...
206
        </div>
207
    </td>
208
  </tr>
209
</tbody>
210
<tbody class="row_entry listrow" data-position="1">
211
  <tr>
212
    <td>
213
        <img class="expand" src="image/expand.svg" title="Details anzeigen" alt="Details anzeigen">
214
      <input value="16" id="orderitem_ids5227448" name="orderitem_ids[+]" type="hidden">
215
      <input value="" id="converted_from_record_item_type_ref5227449" name="converted_from_record_item_type_ref[+]" type="hidden">
216
      <input type="hidden" id="converted_from_record_item_id5227450" name="converted_from_record_item_id[+]" value="">
217
      <input type="hidden" name="order.orderitems[+].id" id="item_16" value="16">
218
      <input value="1130" type="hidden" name="order.orderitems[].parts_id" id="order_orderitems5227451_parts_id">
219
      <input type="hidden" id="basket_item_ids5227452" name="basket_item_ids[+]" value="">
220
    </td>
221
    <td><img src="image/updown.png" alt="Eintrag umsortieren" class="dragdrop"></td>
222
    <td>
223
      <input tag="input" value="X" onclick="if (!confirm(&quot;Sind Sie sicher?&quot;)) return false; kivi.Order.delete_order_item_row(this)" type="button">
224
    </td>
225
    <td>
226
      <div name="partnumber"><a title="In neuem Fenster öffnen." target="_blank" href="controller.pl?action=Part%2fedit&amp;part.id=1130">R1</a>      </div>
227
    </td>
228
    <td>
229
      <span class="area-input"><input name="order.orderitems[].description" id="id_8380663" type="text" size="40" value="Breitreifen 17“" class="wi-lightwide"><span class="switch-to-textarea" onclick="kivi.switch_areainput_to_textarea('id_8380663')"></span></span>
230
      <input name="order.orderitems[].longdescription" id="order_orderitems5227453_longdescription" type="hidden" value="für HS225, HS800, HS Kombi">
231
      <input type="button" value="T" onclick="kivi.Order.show_longdescription_dialog(this)" class="wi-tiny neutral" tag="input">
232
    </td>
233
    <td>
234
      <input name="order.orderitems[].qty_as_number" id="order_orderitems5227454_qty_as_number" type="text" size="5" value="1,00" class="recalc reformat_number numeric wi-verysmall">
235
    </td>
236
    <td>
237
      <select class="recalc wi-mediumsmall" name="order.orderitems[].price_factor_id" id="order_orderitems5227455_price_factor_id"><option value=""></option><option value="876">pro 10</option><option value="877">pro 100</option><option value="878">pro 1.000</option></select>
238
    </td>
239
    <td>
240
      <select class="unitselect wi-mediumsmall" name="order.orderitems[].unit" id="order_orderitems5227456_unit"><option value="Stck" selected>Stck</option></select>
241
    </td>
242
    <td>
243
      <input value="master_data/sellprice" type="hidden" name="order.orderitems[].active_price_source" id="order_orderitems5227457_active_price_source">
244
      <div name="editable_price" style="display:none" class="numeric">
245
        <input type="text" size="10" name="order.orderitems[].sellprice_as_number" id="order_orderitems5227458_sellprice_as_number" disabled class="recalc reformat_number numeric wi-verysmall" value="800,00">
246
      </div>
247
      <div name="not_editable_price" >
248
        <div name="sellprice_text" class="numeric plain-data">800,00</div>  <!-- PENDENT: plain-data in DIV noch dem CSS hinzufuegen -->
249
        <input value="800,00" id="order_orderitems5227459_sellprice_as_number" name="order.orderitems[].sellprice_as_number" type="hidden">
250
      </div>
251
    </td>
252
    <td>
253
      <input value="" id="order_orderitems5227460_active_discount_source" name="order.orderitems[].active_discount_source" type="hidden">
254
      <div name="editable_discount"  class="numeric">
255
        <input value="0,00" class="recalc reformat_number numeric" id="order_orderitems5227461_discount_as_percent" name="order.orderitems[].discount_as_percent" size="5" type="text">
256
      </div>
257
      <div name="not_editable_discount" style="display:none">
258
        <div class="numeric" name="discount_text">0,00</div>
259
        <input disabled value="0,00" type="hidden" name="order.orderitems[].discount_as_percent" id="order_orderitems5227462_discount_as_percent">
260
      </div>
261
    </td>
262
    <td><div name="linetotal" class="numeric">800,00</div></td>
263
  </tr>
264
  <tr style="display:none">
265
    <td colspan="100%">
266
        <div name="second_row" id="second_row_16">
267
          Wird geladen...
268
        </div>
269
    </td>
270
  </tr>
271
</tbody>
272
<tbody class="row_entry listrow" data-position="1">
273
  <tr>
274
    <td>
275
        <img class="expand" src="image/expand.svg" title="Details anzeigen" alt="Details anzeigen">
276
      <input value="16" id="orderitem_ids5227448" name="orderitem_ids[+]" type="hidden">
277
      <input value="" id="converted_from_record_item_type_ref5227449" name="converted_from_record_item_type_ref[+]" type="hidden">
278
      <input type="hidden" id="converted_from_record_item_id5227450" name="converted_from_record_item_id[+]" value="">
279
      <input type="hidden" name="order.orderitems[+].id" id="item_16" value="16">
280
      <input value="1130" type="hidden" name="order.orderitems[].parts_id" id="order_orderitems5227451_parts_id">
281
      <input type="hidden" id="basket_item_ids5227452" name="basket_item_ids[+]" value="">
282
    </td>
283
    <td><img src="image/updown.png" alt="Eintrag umsortieren" class="dragdrop"></td>
284
    <td>
285
      <input tag="input" value="X" onclick="if (!confirm(&quot;Sind Sie sicher?&quot;)) return false; kivi.Order.delete_order_item_row(this)" type="button">
286
    </td>
287
    <td>
288
      <div name="partnumber"><a title="In neuem Fenster öffnen." target="_blank" href="controller.pl?action=Part%2fedit&amp;part.id=1130">R1</a>      </div>
289
    </td>
290
    <td>
291
      <span class="area-input"><input name="order.orderitems[].description" id="id_8380663" type="text" size="40" value="Breitreifen 17“" class="wi-lightwide"><span class="switch-to-textarea" onclick="kivi.switch_areainput_to_textarea('id_8380663')"></span></span>
292
      <input name="order.orderitems[].longdescription" id="order_orderitems5227453_longdescription" type="hidden" value="für HS225, HS800, HS Kombi">
293
      <input type="button" value="T" onclick="kivi.Order.show_longdescription_dialog(this)" class="wi-tiny neutral" tag="input">
294
    </td>
295
    <td>
296
      <input name="order.orderitems[].qty_as_number" id="order_orderitems5227454_qty_as_number" type="text" size="5" value="1,00" class="recalc reformat_number numeric wi-verysmall">
297
    </td>
298
    <td>
299
      <select class="recalc wi-mediumsmall" name="order.orderitems[].price_factor_id" id="order_orderitems5227455_price_factor_id"><option value=""></option><option value="876">pro 10</option><option value="877">pro 100</option><option value="878">pro 1.000</option></select>
300
    </td>
301
    <td>
302
      <select class="unitselect wi-mediumsmall" name="order.orderitems[].unit" id="order_orderitems5227456_unit"><option value="Stck" selected>Stck</option></select>
303
    </td>
304
    <td>
305
      <input value="master_data/sellprice" type="hidden" name="order.orderitems[].active_price_source" id="order_orderitems5227457_active_price_source">
306
      <div name="editable_price" style="display:none" class="numeric">
307
        <input type="text" size="10" name="order.orderitems[].sellprice_as_number" id="order_orderitems5227458_sellprice_as_number" disabled class="recalc reformat_number numeric wi-verysmall" value="800,00">
308
      </div>
309
      <div name="not_editable_price" >
310
        <div name="sellprice_text" class="numeric plain-data">800,00</div>  <!-- PENDENT: plain-data in DIV noch dem CSS hinzufuegen -->
311
        <input value="800,00" id="order_orderitems5227459_sellprice_as_number" name="order.orderitems[].sellprice_as_number" type="hidden">
312
      </div>
313
    </td>
314
    <td>
315
      <input value="" id="order_orderitems5227460_active_discount_source" name="order.orderitems[].active_discount_source" type="hidden">
316
      <div name="editable_discount"  class="numeric">
317
        <input value="0,00" class="recalc reformat_number numeric" id="order_orderitems5227461_discount_as_percent" name="order.orderitems[].discount_as_percent" size="5" type="text">
318
      </div>
319
      <div name="not_editable_discount" style="display:none">
320
        <div class="numeric" name="discount_text">0,00</div>
321
        <input disabled value="0,00" type="hidden" name="order.orderitems[].discount_as_percent" id="order_orderitems5227462_discount_as_percent">
322
      </div>
323
    </td>
324
    <td><div name="linetotal" class="numeric">800,00</div></td>
325
  </tr>
326
  <tr style="display:none">
327
    <td colspan="100%">
328
        <div name="second_row" id="second_row_16">
329
          Wird geladen...
330
        </div>
331
    </td>
332
  </tr>
333
</tbody>
334
<tbody class="row_entry listrow" data-position="1">
335
  <tr>
336
    <td>
337
        <img class="expand" src="image/expand.svg" title="Details anzeigen" alt="Details anzeigen">
338
      <input value="16" id="orderitem_ids5227448" name="orderitem_ids[+]" type="hidden">
339
      <input value="" id="converted_from_record_item_type_ref5227449" name="converted_from_record_item_type_ref[+]" type="hidden">
340
      <input type="hidden" id="converted_from_record_item_id5227450" name="converted_from_record_item_id[+]" value="">
341
      <input type="hidden" name="order.orderitems[+].id" id="item_16" value="16">
342
      <input value="1130" type="hidden" name="order.orderitems[].parts_id" id="order_orderitems5227451_parts_id">
343
      <input type="hidden" id="basket_item_ids5227452" name="basket_item_ids[+]" value="">
344
    </td>
345
    <td><img src="image/updown.png" alt="Eintrag umsortieren" class="dragdrop"></td>
346
    <td>
347
      <input tag="input" value="X" onclick="if (!confirm(&quot;Sind Sie sicher?&quot;)) return false; kivi.Order.delete_order_item_row(this)" type="button">
348
    </td>
349
    <td>
350
      <div name="partnumber"><a title="In neuem Fenster öffnen." target="_blank" href="controller.pl?action=Part%2fedit&amp;part.id=1130">R1</a>      </div>
351
    </td>
352
    <td>
353
      <span class="area-input"><input name="order.orderitems[].description" id="id_8380663" type="text" size="40" value="Breitreifen 17“" class="wi-lightwide"><span class="switch-to-textarea" onclick="kivi.switch_areainput_to_textarea('id_8380663')"></span></span>
354
      <input name="order.orderitems[].longdescription" id="order_orderitems5227453_longdescription" type="hidden" value="für HS225, HS800, HS Kombi">
355
      <input type="button" value="T" onclick="kivi.Order.show_longdescription_dialog(this)" class="wi-tiny neutral" tag="input">
356
    </td>
357
    <td>
358
      <input name="order.orderitems[].qty_as_number" id="order_orderitems5227454_qty_as_number" type="text" size="5" value="1,00" class="recalc reformat_number numeric wi-verysmall">
359
    </td>
360
    <td>
361
      <select class="recalc wi-mediumsmall" name="order.orderitems[].price_factor_id" id="order_orderitems5227455_price_factor_id"><option value=""></option><option value="876">pro 10</option><option value="877">pro 100</option><option value="878">pro 1.000</option></select>
362
    </td>
363
    <td>
364
      <select class="unitselect wi-mediumsmall" name="order.orderitems[].unit" id="order_orderitems5227456_unit"><option value="Stck" selected>Stck</option></select>
365
    </td>
... Dieser Diff wurde abgeschnitten, weil er die maximale Anzahl anzuzeigender Zeilen überschreitet.

Auch abrufbar als: Unified diff