Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4d3ce527

Von Sven Schöling vor fast 3 Jahren hinzugefügt

  • ID 4d3ce52751ba328509c3ecf03c7de37c3aab20c9
  • Vorgänger d332663c

DeliveryOrder: Anpassungen

Unterschiede anzeigen:

templates/webpages/delivery_order/tabs/basic_data.html
16 16
            [% SET cv_id = SELF.cv _ '_id' %]
17 17
            <td>
18 18
              [% P.customer_vendor.picker("order.${SELF.cv}" _ '_id', SELF.order.$cv_id, type=SELF.cv, style='width: 300px') %]
19
              [% P.button_tag("kivi.Order.show_vc_details_dialog()", LxERP.t8("Details (one letter abbreviation)")) %]
19
              [% P.button_tag("kivi.DeliveryOrder.show_vc_details_dialog()", LxERP.t8("Details (one letter abbreviation)")) %]
20 20
            </td>
21 21
          </tr>
22 22

  
......
47 47
                                 with_empty=0,
48 48
                                 style='width: 300px') %]
49 49
              </span>
50
              [% L.button_tag("kivi.Order.edit_custom_shipto()", LxERP.t8("Custom shipto")) %]
50
              [% L.button_tag("kivi.DeliveryOrder.edit_custom_shipto()", LxERP.t8("Custom shipto")) %]
51 51
            </td>
52 52
          </tr>
53 53

  
......
120 120
          <tr>
121 121
            <td colspan="2" align="center">
122 122
              [%- IF SELF.order.id %]
123
                <label for="order.delivered">[% 'Delivery Order(s) for full qty created' | $T8 %]</label>
123
                <label for="order.stocked_out">[% 'Delivery Order(s) for full qty created' | $T8 %]</label>
124 124
                [% L.yes_no_tag('order.delivered', SELF.order.delivered) %]
125
                <label for="order.closed">[% 'Closed' | $T8 %]</label>
125
                <label for="order.delivererd">[% 'Closed' | $T8 %]</label>
126 126
                [% L.yes_no_tag('order.closed', SELF.order.closed) %]
127 127
              [%- END %]
128 128
            </td>
......
149 149
          [%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%]
150 150
          <tr>
151 151
            <th width="70%" align="right" nowrap>[% 'Order Number' | $T8 %]</th>
152
            <td>[% L.input_tag('order.ordnumber', SELF.order.ordnumber, size = 11, onchange='kivi.Order.set_number_in_title(this)') %]</td>
152
            <td>[% L.input_tag('order.ordnumber', SELF.order.ordnumber, size = 11, onchange='kivi.DeliveryOrder.set_number_in_title(this)') %]</td>
153 153
          </tr>
154 154
          [%- END -%]
155 155

  
......
163 163
            [%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%]
164 164
              <td>[% L.input_tag('order.quonumber', SELF.order.quonumber, size = 11) %]</td>
165 165
            [%- ELSE -%]
166
              <td>[% L.input_tag('order.quonumber', SELF.order.quonumber, size = 11, onchange='kivi.Order.set_number_in_title(this)') %]</td>
166
              <td>[% L.input_tag('order.quonumber', SELF.order.quonumber, size = 11, onchange='kivi.DeliveryOrder.set_number_in_title(this)') %]</td>
167 167
            [%- END -%]
168 168
          </tr>
169 169

  
......
227 227

  
228 228
  [%- PROCESS order/tabs/_item_input.html SELF=SELF %]
229 229

  
230
  [% L.button_tag('kivi.Order.open_multi_items_dialog()', LxERP.t8('Add multiple items')) %]
230
  [% L.button_tag('kivi.DeliveryOrder.open_multi_items_dialog()', LxERP.t8('Add multiple items')) %]
231 231

  
232 232
  <table width="100%">
233 233
    <tr>
......
256 256
                  [%- L.img_tag(src="image/rotate_cw.svg",
257 257
                                alt=LxERP.t8('Update from master data'),
258 258
                                title= LxERP.t8('Update from master data'),
259
                                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();",
259
                                onclick="if (!confirm('" _ LxERP.t8("Are you sure to update all positions from master data?") _ "')) return false; kivi.DeliveryOrder.update_all_rows_from_master_data();",
260 260
                                id='update_from_master') %]
261 261
                </th>
262 262
                [%- END %]
263
                <th id="partnumber_header_id"   class="listheading" nowrap width="15"><a href='#' onClick='javascript:kivi.Order.reorder_items("partnumber")'> [%- 'Partnumber'  | $T8 %]</a></th>
263
                <th id="partnumber_header_id"   class="listheading" nowrap width="15"><a href='#' onClick='javascript:kivi.DeliveryOrder.reorder_items("partnumber")'> [%- 'Partnumber'  | $T8 %]</a></th>
264 264
                [%- IF SELF.search_cvpartnumber -%]
265
                <th id="cvpartnumber_header_id" class="listheading" nowrap width="15"><a href='#' onClick='javascript:kivi.Order.reorder_items("cvpartnumber")' > [%- SELF.cv == "customer" ? LxERP.t8('Customer Part Number') : LxERP.t8('Model') %]</a></th>
265
                <th id="cvpartnumber_header_id" class="listheading" nowrap width="15"><a href='#' onClick='javascript:kivi.DeliveryOrder.reorder_items("cvpartnumber")' > [%- SELF.cv == "customer" ? LxERP.t8('Customer Part Number') : LxERP.t8('Model') %]</a></th>
266 266
                [%- END -%]
267 267
                <th id="partclass_header_id"    class="listheading" nowrap width="2">[%- 'Type'  | $T8 %]</th>
268
                <th id="description_header_id"  class="listheading" nowrap           ><a href='#' onClick='javascript:kivi.Order.reorder_items("description")'>[%- 'Description' | $T8 %]</a></th>
268
                <th id="description_header_id"  class="listheading" nowrap           ><a href='#' onClick='javascript:kivi.DeliveryOrder.reorder_items("description")'>[%- 'Description' | $T8 %]</a></th>
269 269
                [%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%]
270
                <th id="shipped_qty_header_id"  class="listheading" nowrap width="5" ><a href='#' onClick='javascript:kivi.Order.reorder_items("shipped_qty")'>[%- 'Delivered'   | $T8 %]</a></th>
270
                <th id="shipped_qty_header_id"  class="listheading" nowrap width="5" ><a href='#' onClick='javascript:kivi.DeliveryOrder.reorder_items("shipped_qty")'>[%- 'Delivered'   | $T8 %]</a></th>
271 271
                [%- END -%]
272
                <th id="qty_header_id"          class="listheading" nowrap width="5" ><a href='#' onClick='javascript:kivi.Order.reorder_items("qty")'>        [%- 'Qty'         | $T8 %]</a></th>
272
                <th id="qty_header_id"          class="listheading" nowrap width="5" ><a href='#' onClick='javascript:kivi.DeliveryOrder.reorder_items("qty")'>        [%- 'Qty'         | $T8 %]</a></th>
273 273
                <th class="listheading" nowrap width="5" >[%- 'Price Factor' | $T8 %] </th>
274 274
                <th class="listheading" nowrap width="5" >[%- 'Unit'         | $T8 %] </th>
275 275
                <th class="listheading" nowrap width="5" >[%- 'Price Source' | $T8 %] </th>
276
                <th id="sellprice_header_id"   class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.Order.reorder_items("sellprice")'> [%- 'Price'       | $T8 %]</a></th>
277
                <th id="discount_header_id"    class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.Order.reorder_items("discount")'>  [%- 'Discount'    | $T8 %]</a></th>
276
                <th id="sellprice_header_id"   class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.DeliveryOrder.reorder_items("sellprice")'> [%- 'Price'       | $T8 %]</a></th>
277
                <th id="discount_header_id"    class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.DeliveryOrder.reorder_items("discount")'>  [%- 'Discount'    | $T8 %]</a></th>
278 278
                <th class="listheading" nowrap width="10">[%- 'Extended'     | $T8 %] </th>
279 279
              </tr>
280 280
            </thead>
......
336 336
                [%- IF SELF.type == "sales_order" %]
337 337
                <tr>
338 338
                  <th align="right">[%- 'Periodic Invoices' | $T8 %]</th>
339
                  <td>[% L.button_tag('kivi.Order.show_periodic_invoices_config_dialog()', LxERP.t8('Configure')) %]
339
                  <td>[% L.button_tag('kivi.DeliveryOrder.show_periodic_invoices_config_dialog()', LxERP.t8('Configure')) %]
340 340
                    (<span id='periodic_invoices_status'>[%- SELF.periodic_invoices_status -%]</span>)
341 341
                    <a href="doc/html/ch03.html#features.periodic-invoices.variables" target="_blank">?</a>
342 342
                  </td>

Auch abrufbar als: Unified diff