Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f855da37

Von Sven Schöling vor mehr als 2 Jahren hinzugefügt

  • ID f855da3769791aa7a006c38a2ac4dcc536310266
  • Vorgänger 65940d66
  • Nachfolger ad04be0a

DeliveryOrder: package, namespace, template und controller referenzen angepasst

Unterschiede anzeigen:

templates/webpages/delivery_order/tabs/_item_input.html
22 22
            [%- type_options.push([ 'assortment', LxERP.t8('Assortment')]) %]
23 23
          [%- END %]
24 24
          [% L.select_tag('add_item.create_part_type', type_options) %]
25
          [% L.button_tag('kivi.Order.create_part()', LxERP.t8('+')) %]
25
          [% L.button_tag('kivi.DeliveryOrder.create_part()', LxERP.t8('+')) %]
26 26
        </td>
27 27
        <td>[% L.input_tag('add_item.position', '', size = 5, class="add_item_input numeric") %]</td>
28 28
        <td>
......
31 31
          [% P.part.picker('add_item.parts_id', SELF.created_part, style='width: 300px', class="add_item_input",
32 32
                            fat_set_item=1,
33 33
                            multiple_pos_input=1,
34
                            action={set_multi_items='kivi.Order.add_multi_items'},
34
                            action={set_multi_items='kivi.DeliveryOrder.add_multi_items'},
35 35
                            classification_id=SELF.part_picker_classification_ids.as_list.join(','),
36 36
                            $PARAM_KEY=PARAM_VAL) %]</td>
37 37
        <td>[% L.input_tag('add_item.description', SELF.created_part.description, class="add_item_input") %]</td>
......
42 42
        [%- SET price = LxERP.format_amount(((SELF.type == 'sales_quotation' || SELF.type == 'sales_order') ? SELF.created_part.sellprice : SELF.created_part.lastcost), -2) -%]
43 43
        <td>[% L.input_tag('add_item.sellprice_as_number', price, size = 10, class="add_item_input numeric") %]</td>
44 44
        <td>[% L.input_tag('add_item.discount_as_percent', '', size = 5, class="add_item_input numeric") %]</td>
45
        <td>[% L.button_tag('kivi.Order.add_item()', LxERP.t8('Add part')) %]</td>
45
        <td>[% L.button_tag('kivi.DeliveryOrder.add_item()', LxERP.t8('Add part')) %]</td>
46 46
      </tr>
47 47
    </tbody>
48 48
  </table>

Auch abrufbar als: Unified diff