Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7dbd708b

Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt

  • ID 7dbd708b2fc99e53667662c56c1f1156fd115ef3
  • Vorgänger 8e6c6a5b
  • Nachfolger 39b03fb1

Erzeugnisse/Sortimente: Preisfaktor in Tabelle bei Bestandteilen anzeigen

Unterschiede anzeigen:

templates/design40_webpages/part/_assembly.html
29 29
      <th>[% 'Unit' | $T8 %]</th>
30 30
      <th class="right">[% 'BOM' | $T8 %]</th>
31 31
      <th class="right">[% 'Line Total' | $T8 %]</th>
32
      <th class="right">[% 'Price Factor' | $T8 %]</th>
32 33
      <th id="sellprice_header_id"><a href="#" onclick="kivi.Part.reorder_items('sellprice')">[% 'Sellprice'| $T8 %]</a></th>
33 34
      <th id="lastcost_header_id"><a href="#" onclick="kivi.Part.reorder_items('lastcost')">[% 'Lastcost' | $T8 %]</a></th>
34 35
      <th id="_header_id"><a href="#" onclick="kivi.Part.reorder_items('partsgroup')">[% 'Partsgroup' | $T8 %]</a></th>
......
60 61
        <td></td>
61 62
        <td colspan="3"></td>
62 63
      [% END %]
64
      <td></td>
63 65
      <td colspan="3" class="right">[% #'Totals' | $T8 %][% #":" %]</td>
64 66
      <td id="items_sellprice_sum" class="numeric">[% LxERP.format_amount(items_sellprice_sum, 2, 0) %]</td>
65 67
      <td id="items_lastcost_sum" class="numeric">[% LxERP.format_amount(items_lastcost_sum, 2, 0) %]</td>
......
67 69
    </tr>
68 70
    <tr>
69 71
      [% IF SELF.orphaned || AUTH.assert('assembly_edit', 1) %]
70
      <td colspan="8"></td>
72
      <td colspan="9"></td>
71 73
      [% ELSE %]
72
      <td colspan="6"></td>
74
      <td colspan="7"></td>
73 75
      [% END %]
74 76
      <td align="right">[% 'Margepercent' | $T8 %]:</td>
75 77
      <td></td>
......
78 80
        [%- LxERP.format_amount(100 - items_lastcost_sum / items_sellprice_sum * 100,      2, 0) %]
79 81
      [% END %]
80 82
      </td>
81
      <td colspan="2"></td>
83
      <td colspan="3"></td>
82 84
    </tr>
83 85
    <tr>
84 86
    <tr>
85 87
      [% IF SELF.orphaned || AUTH.assert('assembly_edit', 1) %]
86
      <td colspan="8"></td>
88
      <td colspan="9"></td>
87 89
      [% ELSE %]
88
      <td colspan="6"></td>
90
      <td colspan="7"></td>
89 91
      [% END %]
90 92
      <td align="right">[% 'Margetotal' | $T8 %]:</td>
91 93
      <td></td>
92 94
      <td id="items_sum_diff"      class="numeric">[%- LxERP.format_amount(items_sum_diff,      2, 0) %]</td>
93
      <td colspan="2"></td>
95
      <td colspan="3"></td>
94 96
    </tr>
95 97
    <tr>
96 98
    </tr>
......
100 102
        <td></td>
101 103
      [% END %]
102 104
      <td colspan="4">[% L.button_tag('$("#assembly_picker").data("part_picker").open_dialog()', LxERP.t8('Add multiple items'), class="neutral") %]</td>
103
      <td></td>
104 105
      <!--<td></td> <td></td><td></td> -->
105
      <td colspan="4" class="right">[% L.button_tag("kivi.Part.set_assembly_sellprice()", LxERP.t8("Set sellprice")) %]</td>
106
      <td colspan="2"></td>
106
      <td></td>
107
      <td colspan="5" class="right">[% L.button_tag("kivi.Part.set_assembly_sellprice()", LxERP.t8("Set sellprice")) %]</td>
108
      <td colspan="3"></td>
107 109
    </tr>
108 110
  </tfoot>
109 111
</table>
templates/design40_webpages/part/_assembly_row.html
39 39
    <td class="center">[% IF ITEM.bom %][% 'Yes' | $T8 %][% ELSE %][% 'No' | $T8 %][% END %]</td>
40 40
  [% END %]
41 41
  <td class="right">[% L.div_tag(LxERP.format_amount(ITEM.linetotal_sellprice, 3, 0), name="linetotal") %]</td>
42
  <td class="right">[% ITEM.part.price_factor.description %]</td>
42 43
  <td class="right">[% ITEM.part.sellprice_as_number %]</td>
43 44
  <td class="right">[% ITEM.part.lastcost_as_number %]</td>
44 45
  <td>[% HTML.escape(ITEM.part.partsgroup.partsgroup) %]</td>
templates/design40_webpages/part/_assortment.html
32 32
      <th>[% 'Unit'         | $T8 %] </th>
33 33
      <th>[% 'Charge'       | $T8 %] </th>
34 34
      <th>[% 'Line Total'   | $T8 %] </th>
35
      <th class="right">[% 'Price Factor' | $T8 %]</th>
35 36
      <th id="sellprice_header_id" class="right">
36 37
        <a href='javascript:kivi.Part.reorder_items("sellprice")'> [% 'Sellprice' | $T8 %]</a>
37 38
      </th>
......
66 67
      [% END %]
67 68
      <td></td>
68 69
      <td></td>
70
      <td></td>
69 71
      <td class="numeric" id="items_sellprice_sum">[% LxERP.format_amount(items_sellprice_sum, 2, 0) %]</td>
70 72
      <td class="numeric" id="items_lastcost_sum" >[% LxERP.format_amount(items_lastcost_sum,  2, 0) %]</td>
71 73
      <td class="numeric" id="items_sum_diff"     >[% LxERP.format_amount(items_sum_diff,      2, 0) %]</td>
......
85 87
     <td></td>
86 88
     <td></td>
87 89
     <td></td>
90
     <td></td>
88 91
     <td class="right">[% L.button_tag("kivi.Part.set_assortment_sellprice()", LxERP.t8("Set sellprice")) %]</td>
89 92
     <td class="right">[% L.button_tag("kivi.Part.set_assortment_lastcost()",  LxERP.t8("Set lastcost"))  %]</td>
90 93
     <td></td>
templates/design40_webpages/part/_assortment_row.html
60 60
  <td class="numeric">
61 61
    [% L.div_tag(LxERP.format_amount(ITEM.linetotal_sellprice, 2, 0), name="linetotal") %]
62 62
  </td>
63
  <td class="right">[% ITEM.part.price_factor.description %]</td>
63 64
  <td class="numeric">
64 65
    [% ITEM.part.sellprice_as_number %]
65 66
  </td>
templates/webpages/part/_assembly.html
29 29
     <th class="listheading" nowrap width="5" >[%- 'Unit'         | $T8 %] </th>
30 30
     <th class="listheading" nowrap width="5" >[%- 'BOM'          | $T8 %] </th>
31 31
     <th class="listheading" nowrap width="5" >[%- 'Line Total'   | $T8 %] </th>
32
     <th class="listheading" nowrap width="5" >[%- 'Price Factor' | $T8 %] </th>
32 33
     <th id="sellprice_header_id"   class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("sellprice")' >[%- 'Sellprice'       | $T8 %]</a></th>
33 34
     <th id="lastcost_header_id"   class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("lastcost")'   >[%- 'Lastcost'       | $T8 %]</a></th>
34 35
     <th id="_header_id"   class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.Part.reorder_items("partsgroup")'         >[%- 'Partsgroup'       | $T8 %]</a></th>
......
55 56
 <td></td>
56 57
 [% END %]
57 58
 <td></td>
59
 <td></td>
58 60
 <td align="right">[% 'Totals' | $T8 %]:</td>
59 61
 <td></td>
60 62
 <td id="items_sellprice_sum" class="numeric">[%- LxERP.format_amount(items_sellprice_sum, 2, 0) %]</td>
......
72 74
 <td></td>
73 75
 <td></td>
74 76
 <td></td>
77
 <td></td>
75 78
 <td align="right">[% 'Margepercent' | $T8 %]:</td>
76 79
 <td></td>
77 80
 <td class="numeric">
......
91 94
 <td></td>
92 95
 <td></td>
93 96
 <td></td>
97
 <td></td>
94 98
 <td align="right">[% 'Margetotal' | $T8 %]:</td>
95 99
 <td></td>
96 100
 <td id="items_sum_diff"      class="numeric">[%- LxERP.format_amount(items_sum_diff,      2, 0) %]</td>
......
108 112
 <td></td>
109 113
 <td></td>
110 114
 <td></td>
115
 <td></td>
111 116
 <td align="right">[% L.button_tag("kivi.Part.set_assembly_sellprice()", LxERP.t8("Set sellprice")) %]</td>
112 117
 <td></td>
113 118
</tr>
templates/webpages/part/_assembly_row.html
51 51
    <td align="right">
52 52
      [%- L.div_tag(LxERP.format_amount(ITEM.linetotal_sellprice, 3, 0), name="linetotal") %]
53 53
      </td>
54
    <td align="right">
55
      [% ITEM.part.price_factor.description %]
56
    </td>
54 57
    <td align="right">
55 58
      [% ITEM.part.sellprice_as_number %]
56 59
      </td>
templates/webpages/part/_assortment.html
28 28
     <th class="listheading" nowrap width="5" >[%- 'Unit'         | $T8 %] </th>
29 29
     <th class="listheading" nowrap width="5" >[%- 'Charge'       | $T8 %] </th>
30 30
     <th class="listheading" nowrap width="5" >[%- 'Line Total'   | $T8 %] </th>
31
     <th class="listheading" nowrap width="5" >[%- 'Price Factor' | $T8 %] </th>
31 32
     <th id="sellprice_header_id"   class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("sellprice")'> [%- 'Sellprice'   | $T8 %]</a></th>
32 33
     <th id="lastcost_header_id"   class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("lastcost")'> [%- 'Lastcost'      | $T8 %]</a></th>
33 34
     <th id="_header_id"   class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.Part.reorder_items("partsgroup")'> [%- 'Partsgroup'       | $T8 %]</a></th>
......
54 55
 <td></td>
55 56
 [% END %]
56 57
 <td></td>
58
 <td></td>
57 59
 <td align="right">[% 'Totals' | $T8 %]:</td>
58 60
 <th id="items_sellprice_sum" class="numeric">[%- LxERP.format_amount(items_sellprice_sum, 2, 0) %]</th>
59 61
 <th id="items_lastcost_sum"  class="numeric">[%- LxERP.format_amount(items_lastcost_sum,  2, 0) %]</th>
......
71 73
 <td></td>
72 74
 <td></td>
73 75
 <td></td>
76
 <td></td>
74 77
 <td align="right">[% L.button_tag("kivi.Part.set_assortment_sellprice()", LxERP.t8("Set sellprice")) %]</td>
75 78
 <td align="right">[% L.button_tag("kivi.Part.set_assortment_lastcost()",  LxERP.t8("Set lastcost"))  %]</td>
76 79
 <td></td>
templates/webpages/part/_assortment_row.html
59 59
    <td align="right">
60 60
      [%- L.div_tag(LxERP.format_amount(ITEM.linetotal_sellprice, 2, 0), name="linetotal") %]
61 61
      </td>
62
    <td align="right">
63
      [% ITEM.part.price_factor.description %]
64
      </td>
62 65
    <td align="right">
63 66
      [% ITEM.part.sellprice_as_number %]
64 67
      </td>

Auch abrufbar als: Unified diff