Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 31157ef9

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 31157ef998ed7bf55d1fca0d0a65d632c8d3c787
  • Vorgänger e47b2d70
  • Nachfolger 1dc2e239

Neues kivitendo Design restliche Aenderungen in templates/webpages/*

Dateien gobd/* order_items_search/* parts_price_history/* payment_term/*
presenter/* price_information/* taxzones/* todo/* vk/* webdav/*

Unterschiede anzeigen:

templates/webpages/order_items_search/_order_item_list.html
1
[%- USE LxERP %]
2
[%- USE T8 %]
3
[%- USE L %]
4
[%- USE HTML %]
5
[%- USE P %]
1
[% USE LxERP %]
2
[% USE T8 %]
3
[% USE L %]
4
[% USE HTML %]
5
[% USE P %]
6 6
[% SET qty_round = 2 %]
7
<table cellpadding="3px">
8
 <tr class="listheading">
9
  <th>[%- LxERP.t8("Part")           %]</th>
10
  <th>[%- LxERP.t8("Customer")       %]</th>
11
  <th>[%- LxERP.t8("Order")          %]</th>
12
  <th>[%- LxERP.t8("Order Date")      %]</th>
13
  <th>[%- LxERP.t8("Qty")            %]</th>
14
  <th>[%- LxERP.t8("Delivered")      %]</th>
15
  <th>[%- LxERP.t8("Price")          %]</th>
16
  <th>[%- LxERP.t8("Discount")       %] %</th>
17
  <th>[%- LxERP.t8("Delivery Order") %]</th>
18
  [% IF FORM.show_images %]
19
  <th>[%- LxERP.t8("Image")          %]</th>
20
  [% END %]
21
 </tr>
22
 [% FOREACH order_item = SELF.orderitems %]
23
 <tr id="tr_[% loop.count %]" class="listrow[% loop.count % 2 %]">
24
  <td>                 [% order_item.part.presenter.part(no_link => 0)               %]</td>
25
  <td>                 [% order_item.order.customer.presenter.customer(no_link => 0) %]</td>
26
  <td class="numeric"> [% order_item.order.presenter.sales_order(no_link => 0)       %]</td>
27
  <td>                 [% order_item.order.transdate.to_kivitendo             %]</td>
28
  <td class="numeric [% IF order_item.delivered_qty == order_item.qty %]shipped[% ELSE %]not_shipped[% END %]">
29
    [% LxERP.format_amount(order_item.qty, qty_round) %] [% order_item.unit | html %]
30
  </td>
31
  <td class="numeric"> [% LxERP.format_amount(order_item.delivered_qty, qty_round) %] [% order_item.unit | html %] </td>
32
  <td class="numeric"> [% order_item.sellprice_as_number                      %]</td>
33
  <td class="numeric"> [% order_item.discount_as_percent                      %]</td>
34
  <td>                 [% order_item.deliveryorders                           %]</td>
35
  [% IF FORM.show_images %]
36
  <td> [% IF order_item.part.image %]<a href="[% order_item.part.image | html %]" target="_blank"><img height="32" border="0" src="[% order_item.part.image | html %]"/></a>[% END %]</td>
37
  [% END %]
38
 </tr>
39
 [% END %]
7

  
8
<table class="tbl-list wi-moderate">
9
  <thead>
10
    <tr>
11
      <th>[%               LxERP.t8("Part")           %]</th>
12
      <th>[%               LxERP.t8("Customer")       %]</th>
13
      <th class="right">[% LxERP.t8("Order")          %]</th>
14
      <th>[%               LxERP.t8("Order Date")     %]</th>
15
      <th class="right" colspan="2">[% LxERP.t8("Qty")       ; "/" ;LxERP.t8("Unit") %]</th>
16
      <th class="right" colspan="2">[% LxERP.t8("Delivered") ; "/" ;LxERP.t8("Unit") %]</th>
17
      <th class="right">[% LxERP.t8("Price")          %]</th>
18
      <th class="right">[% LxERP.t8("Discount")       %]%</th>
19
      <th>[%               LxERP.t8("Delivery Order") %]</th>
20
      [% IF FORM.show_images %]
21
        <th>[%             LxERP.t8("Image")          %]</th>
22
      [% END %]
23
    </tr>
24
  </thead>
25
  <tbody>
26
    [% FOREACH order_item = SELF.orderitems %]
27
      <tr id="tr_[% loop.count %]">
28
      <td>[%                   order_item.part.presenter.part(no_link => 0)               %]</td>
29
      <td>[%                   order_item.order.customer.presenter.customer(no_link => 0) %]</td>
30
      <td class="numeric">[%   order_item.order.presenter.sales_order(no_link => 0)       %]</td>
31
      <td>[%                   order_item.order.transdate.to_kivitendo %]</td>
32
      <td class="numeric[% IF order_item.delivered_qty == order_item.qty %] plus[% ELSE %] minus[% END %]">
33
          [%                   LxERP.format_amount(order_item.qty, qty_round) %]
34
      </td>
35
      <td>[% order_item.unit | html %]</td>
36
      <td class="numeric">[% LxERP.format_amount(order_item.delivered_qty, qty_round) %]</td>
37
      <td>[% order_item.unit | html %]</td>
38
      <td class="numeric">[% order_item.sellprice_as_number %]</td>
39
      <td class="numeric">[% order_item.discount_as_percent %]</td>
40
      <td>[% order_item.deliveryorders %]</td>
41
      [% IF FORM.show_images %]
42
        <td>[% IF order_item.part.image %]<a href="[% order_item.part.image | html %]" target="_blank"><img height="32" src="[% order_item.part.image | html %]"/></a>[% END %]</td>
43
      [% END %]
44
      </tr>
45
    [% END %]
46
  </tbody>
40 47
</table>

Auch abrufbar als: Unified diff