Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 79d1a2cd

Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt

  • ID 79d1a2cdc2c4ef737229315a86badbbc39615ca7
  • Vorgänger ab80e40b
  • Nachfolger 3f6cbbd5

kundentyp-spezifische Artikelnummern: Design40

Unterschiede anzeigen:

templates/design40_webpages/part/_basic_data.html
285 285
[% UNLESS SELF.part.is_assembly %]
286 286
  <div id="makemodel" class="wrapper">[% PROCESS 'part/_makemodel.html' %]</div>
287 287
[% END %]
288

  
289
<div id="businessmodels" class="wrapper">
290
  [% PROCESS 'part/_businessmodels.html' %]
291
</div>
templates/design40_webpages/part/_businessmodel_row.html
1
[%- USE T8 %]
2
[%- USE L %]
3
[%- USE HTML %]
4
[%- USE LxERP %]
5

  
6
<tr class="businessmodel_row">
7
  <td style='display:none'>
8
    [%- L.hidden_tag("businessmodels[+].business_id", businessmodel.business_id) -%]
9
  </td>
10
  <td>[%- L.button_tag("kivi.Part.delete_businessmodel_row(this)", LxERP.t8("X"), class="wi-verytiny neutral") %] [% # , confirm=LxERP.t8("Are you sure?")) %]</td>
11
  <td>[% businessmodel.business.description | html %]</td>
12
  <td>[% L.input_tag('businessmodels[].model',                    businessmodel.model,                class='wi-mediumsmall', size=30) %]</td>
13
  <td>[% L.input_tag('businessmodels[].part_description',         businessmodel.part_description,     class='wi-mediumsmall', size=10) %]</td>
14
  <td>[% L.areainput_tag('businessmodels[].part_longdescription', businessmodel.part_longdescription, class='wi-mediumsmall', size=10) %]
15
</tr>
templates/design40_webpages/part/_businessmodels.html
1
[%- USE T8 %]
2
[%- USE L %]
3
[%- USE P %]
4
[%- USE HTML %]
5
[%- USE LxERP %]
6

  
7
<table id="businessmodel_table" class="tbl-list wi-moderate">
8
  <caption>[% 'Business Type Model' | $T8 %]</caption>
9
  <thead>
10
    <tr>
11
      <th class="center"><img src="image/close.png" alt="[%- LxERP.t8('delete item') %]"></th>
12
      <th>[% 'Business'            | $T8 %]</th>
13
      <th>[% 'Business Type Model' | $T8 %]</th>
14
      <th>[% 'Part Description'    | $T8 %]</th>
15
      <th>[% 'Long Description'    | $T8 %]</th>
16
    </tr>
17
  </thead>
18
  <tbody id="businessmodel_rows">
19
    [%- FOREACH businessmodel = SELF.part.businessmodels %]
20
      [% PROCESS 'part/_businessmodel_row.html' businessmodel=businessmodel %]
21
    [%- END %]
22
  </tbody>
23
  <tfoot>
24
    <tr>
25
      <td></td>
26
      <th class="right"><span class="label">[% 'Business' | $T8 %]</th>
27
      <td>[% P.select_tag('add_businessmodel', SELF.all_businesses, title_key="description", with_empty=1, class='wi-mediumsmall', onchange='kivi.Part.add_businessmodel_row()') %]</td>
28
      <td>[% L.button_tag('kivi.Part.add_businessmodel_row()', LxERP.t8('Add')) %]</td>
29
      <td></td>
30
    </tr>
31
  </tfoot>
32
</table>

Auch abrufbar als: Unified diff