Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 96f5fcdb

Von Tamino Steinert vor 1 Tag hinzugefügt

  • ID 96f5fcdb7b1c45bdc85ee4b88a73cca8e7d4a8dd
  • Vorgänger 12d1af89
  • Nachfolger eaf77a00

POS: typos

Unterschiede anzeigen:

SL/Controller/POS.pm
19 19
   ) ]
20 20
);
21 21

  
22
# add a new point of sales order
22
# add a new point of sale order
23 23
# it's a sales order with a diffrent form
24 24
sub action_add {
25 25
  my ($self) = @_;
......
36 36

  
37 37
  $self->render(
38 38
    'pos/form',
39
    title => t8('Point of Sales'),
39
    title => t8('Point Of Sale'),
40 40
    %{$self->{template_args}}
41 41
  );
42 42
}
......
57 57
  $self->render(
58 58
    'pos/_edit_order_item_row_dialog', { layout => 0 },
59 59
    popup_dialog                 => 1,
60
    popup_js_delete_row_function => "kivi.POS.delete_order_item_row_point_of_sales('$temp_item_id')",
60
    popup_js_delete_row_function => "kivi.POS.delete_order_item_row_point_of_sale('$temp_item_id')",
61 61
    popup_js_close_function      => '$("#edit_order_item_row_dialog").dialog("close")',
62
    popup_js_assign_function     => "kivi.POS.assign_edit_order_item_row_point_of_sales('$temp_item_id')",
62
    popup_js_assign_function     => "kivi.POS.assign_edit_order_item_row_point_of_sale('$temp_item_id')",
63 63
    ITEM                         => $item
64 64
  );
65 65
}
js/kivi.POS.js
9 9
    return true;
10 10
  };
11 11

  
12
  ns.delete_order_item_row_point_of_sales = function(item_id) {
12
  ns.delete_order_item_row_point_of_sale = function(item_id) {
13 13
    var row = $('#item_' + item_id).parents("tbody").first();
14 14
    $(row).remove();
15 15

  
......
19 19
  };
20 20

  
21 21

  
22
  ns.edit_order_item_row_point_of_sales = function(item_id) {
22
  ns.edit_order_item_row_point_of_sale = function(item_id) {
23 23

  
24 24
    var data = $('#order_form').serializeArray();
25 25
    data.push({ name: 'item_id', value: item_id });
......
37 37
    });
38 38
  };
39 39

  
40
  ns.assign_edit_order_item_row_point_of_sales = function(item_id) {
40
  ns.assign_edit_order_item_row_point_of_sale = function(item_id) {
41 41
    var row = $('#item_' + item_id).parents("tbody").first();
42 42

  
43 43
    var discount = $('#item_discount_as_percent').val();
templates/design40_webpages/pos/tabs/_row.html
43 43
      [% L.div_tag(LxERP.format_amount(ITEM.linetotal, 2, 0), name="linetotal", class="numeric") %]
44 44
    </td>
45 45
    <td>
46
      [% L.button_tag('kivi.POS.edit_order_item_row_point_of_sales("' _ ID _ '")', LxERP.t8('Edit')) %]
46
      [% L.button_tag('kivi.POS.edit_order_item_row_point_of_sale("' _ ID _ '")', LxERP.t8('Edit')) %]
47 47
    </td>
48 48
  </tr>
49 49
</tbody>

Auch abrufbar als: Unified diff