Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b4b63814

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID b4b6381477747cc142d569ba0fadd3214f7da71f
  • Vorgänger a780e878
  • Nachfolger 10011738

Neues Design 2019 Standard-Code templates/webpages/requirement_spec_order/list.html

Unterschiede anzeigen:

templates/webpages/requirement_spec_order/_assignment_form.html
2 2
[% SET style="width: 400px" %]
3 3

  
4 4
<form id="quotations_and_orders_form">
5
 <table>
5
 <table class="tbl-horizontal">
6
  <tbody>
6 7
  [% IF for_new %]
7 8
  <tr>
8
   <td>[% LxERP.t8("Record type to create") %]:</td>
9
   <th>[% LxERP.t8("Record type to create") %]:</th>
9 10
   <td>[% L.select_tag('quotation', [ [ 1, LxERP.t8('Sales quotation') ], [ 0, LxERP.t8('Sales Order') ] ], style=style, no_id=1) %]</td>
10 11
  </tr>
11 12

  
12 13
  <tr>
13
   <td>[% LxERP.t8("Customer") %]:</td>
14
   <th>[% LxERP.t8("Customer") %]:</th>
14 15
   <td>[% L.select_tag('customer_id', SELF.all_customers, default=SELF.requirement_spec.customer_id, title_key='name', style=style, no_id=1) %]</td>
15 16
  </tr>
16 17
  [% END %]
17 18

  
18 19
  <tr>
19
   <td>[% LxERP.t8("Assign the following article to all sections") %]:</td>
20
   <th>[% LxERP.t8("Assign the following article to all sections") %]:</th>
20 21
   <td data-unit="[% HTML.escape(SELF.section_order_part.unit) %]">
21 22
    [% P.part.picker('quotations_and_orders_dummy', SELF.section_order_part.id, id='quotations_and_orders_order_id', style=style) %]
22 23
    [% L.button_tag('kivi.requirement_spec.assign_order_part_id_to_all()', LxERP.t8('Assign article')) %]
23 24
   </td>
24 25
  </tr>
26
</tbody>
25 27
 </table>
26 28

  
27
 <table style="width: 100%">
29
 <table class="tbl-list">
28 30
  <thead>
29
   <tr class="listheading">
30
    <th>[% LxERP.t8("Number") %]</th>
31
   <tr>
32
    <th class="right">[% LxERP.t8("Number") %]</th>
31 33
    <th>[% LxERP.t8("Title") %]</th>
32 34
    <th>[% LxERP.t8("Description") %]</th>
33 35
    <th>[% LxERP.t8("Article") %]</th>
......
38 40

  
39 41
  <tbody>
40 42
   [% FOREACH section = SELF.requirement_spec.sections_sorted %]
41
   <tr class="listrow">
43
   <tr>
42 44
    [% L.hidden_tag("sections[+].id", section.id, no_id=1) %]
43
    <td>[% HTML.escape(section.fb_number) %]</td>
45
    <td class="numeric">[% HTML.escape(section.fb_number) %]</td>
44 46
    <td>[% HTML.escape(section.title) %]</td>
45 47
    <td>[% HTML.escape(P.truncate(section.description_as_stripped_html)) %]</td>
46 48
    <td>[% P.part.picker('sections[].order_part_id', section.order_part_id, id='quotations_and_orders_sections_order_pard_id_' _ loop.count, style=style) %]</td>
templates/webpages/requirement_spec_order/list.html
8 8
  [% LxERP.t8("No sections have been created yet.") %]
9 9
 </div>
10 10
 [% ELSE %]
11
 <table id="quotations_and_orders_sections" style="width: 100%">
11
 <table id="quotations_and_orders_sections" class="tbl-list">
12 12
  <thead>
13
   <tr class="listheading">
13
   <tr>
14 14
    <th>[% LxERP.t8("Number") %]</th>
15 15
    <th>[% LxERP.t8("Title") %]</th>
16 16
    <th>[% LxERP.t8("Description") %]</th>
......
22 22

  
23 23
  <tbody>
24 24
   [% FOREACH section = sections %]
25
    <tr class="listrow">
25
    <tr>
26 26
     <td>[% HTML.escape(section.fb_number) %]</td>
27 27
     <td>[% HTML.escape(section.title) %]</td>
28 28
     <td>[% HTML.escape(P.truncate(section.description_as_stripped_html)) %]</td>
......
54 54
  <div>[% LxERP.t8("No quotations or orders have been created yet.") %]</div>
55 55
 [% ELSE %]
56 56

  
57
  <table style="width:100%">
57
  <table class="tbl-list">
58 58
   <thead>
59
    <tr class="listheading">
59
    <tr>
60 60
     <th>[% LxERP.t8("Type") %]</th>
61 61
     <th>[% LxERP.t8("Requirement Spec Version") %]</th>
62
     <th>[% LxERP.t8("Record number") %]</th>
62
     <th class="right">[% LxERP.t8("Record number") %]</th>
63 63
     <th>[% LxERP.t8("Transaction description") %]</th>
64 64
     <th>[% LxERP.t8("Quotation/Order Date") %]</th>
65 65
     <th>[% LxERP.t8("Creation Date") %]</th>
......
68 68

  
69 69
   <tbody>
70 70
    [% FOREACH rs_order = orders %]
71
    <tr class="listrow quotations-and-orders-order-context-menu">
71
    <tr class="quotations-and-orders-order-context-menu">
72 72
     [% L.hidden_tag('order_id', rs_order.id, no_id=1) %]
73 73
     <td>[% rs_order.order.type == 'sales_quotation' ? LxERP.t8('Sales quotation') : LxERP.t8('Sales Order') %]</td>
74 74
     <td>
......
78 78
       [% LxERP.t8("working copy") %]
79 79
      [% END %]
80 80
     </td>
81
     <td>
81
     <td class="numeric">
82 82
      [%- IF INSTANCE_CONF.get_feature_experimental_order -%]
83 83
        <a href="controller.pl?action=Order/edit&id=[% HTML.url(rs_order.order_id) %]&type=[% HTML.url(rs_order.order.type) %]">
84 84
      [%- ELSE -%]

Auch abrufbar als: Unified diff