Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a85900cb

Von Hans Peter Schlaepfer vor etwa 6 Jahren hinzugefügt

  • ID a85900cb68a578d89090043534ae79664a4070a9
  • Vorgänger 72c4037d
  • Nachfolger e7c11f83

Preview design 4.0

Unterschiede anzeigen:

templates/webpages/requirement_spec/_show_time_and_cost_estimate.html
10 10

  
11 11
  [%- SET at_least_one_function_block = 0 %]
12 12

  
13
  <table class="time-cost-estimate time-cost-estimate-context-menu">
14
   <tbody>
13
  <table class="tbl-list time-cost-estimate time-cost-estimate-context-menu">
15 14
    [%- FOREACH section = SELF.requirement_spec.sections_sorted %]
16
     <tr class="listheading">
15
     <thead>
16
       <tr>
17 17
      <th>[%- LxERP.t8("Function block") %]</th>
18 18
      <th>[%- LxERP.t8("Complexity") %]</th>
19 19
      <th>[%- LxERP.t8("Risk") %]</th>
......
22 22
       <th align="right">[%- LxERP.t8("Price") %]</th>
23 23
      [%- END %]
24 24
     </tr>
25
     </thead>
25 26

  
26
     <tr class="listrow section">
27
      <td colspan="5">[%- HTML.escape(section.fb_number) %]: [%- HTML.escape(section.title) %]</td>
27
    <tbody>
28
     <tr class="section">
29
      <th colspan="4">[%- HTML.escape(section.fb_number) %]: [%- HTML.escape(section.title) %]</th>
28 30
     </tr>
29 31

  
30 32
     [%- IF section.children.size %]
......
36 38
                   level   = 1 %]
37 39
      [%- END %]
38 40

  
39
      <tr class="listrow subtotal">
40
       <td style="padding-left: 50px" colspan="3" class="sum">[%- LxERP.t8("Sum for section") -%]:</td>
41
       <td align="right" nowrap>[%- P.format_man_days(section.time_estimation, 'skip_zero'=1) -%]</td>
41
      <tr class="subtotal">
42
       <th colspan="3" class="right">[%- LxERP.t8("Sum for section") -%]:</th>
43
       <td class="numeric">[%- P.format_man_days(section.time_estimation, 'skip_zero'=1) -%]</td>
42 44
       [%- UNLESS SELF.requirement_spec.is_template %]
43 45
        [%- SET section_cost = section.time_estimation * SELF.requirement_spec.hourly_rate * section.sellprice_factor;
44 46
                total_cost   = total_cost + section_cost %]
45
        <td align="right" nowrap>[%- LxERP.format_amount(section_cost, 2) -%] EUR</td>
47
        <!-- PENDENT: hier ist EURO angegeben -->
48
        <td class="numeric">[%- LxERP.format_amount(section_cost, 2) -%] EUR</td>
46 49
       [%- END %]
47 50
      </tr>
48 51
     [%- END -%]
......
51 54

  
52 55
   <tfoot>
53 56
    <tr>
54
     <td colspan="3">[%- LxERP.t8("Sum for #1", SELF.requirement_spec.type.description) -%]:</td>
55
     <td align="right" nowrap>[%- P.format_man_days(SELF.requirement_spec.time_estimation) -%]</td>
57
     <th class="right" colspan="3">[%- LxERP.t8("Sum for #1", SELF.requirement_spec.type.description) -%]:</th>
58
     <td class="right">[%- P.format_man_days(SELF.requirement_spec.time_estimation) -%]</td>
56 59
     [%- UNLESS SELF.requirement_spec.is_template %]
57
      <td align="right" nowrap>[%- LxERP.format_amount(total_cost, 2) -%] EUR</td>
60
      <!-- PENDENT: hier ist EURO angegeben -->
61
      <td class="right" >[%- LxERP.format_amount(total_cost, 2) -%] EUR</td>
58 62
     [%- END %]
59 63
    </tr>
60 64
   </tfoot>

Auch abrufbar als: Unified diff