Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c8d3f1cd

Von Tamino Steinert vor 6 Tagen hinzugefügt

  • ID c8d3f1cd62b4fa6cd268d2dcc248bcc048e94729
  • Vorgänger 41b0ac27
  • Nachfolger f7b21f9b

Varianten: Einklappen von Varianten-erstellungs/umwandelungs-masken

Unterschiede anzeigen:

locale/de/all
1949 1949
  'Here you only provide the credentials for logging into the database.' => 'Hier geben Sie nur die Logindaten für die Anmeldung an der Datenbank ein.',
1950 1950
  'Here\'s an example command line:' => 'Hier ist eine Kommandozeile, die als Beispiel dient:',
1951 1951
  'Hide Attachment'             => 'Anhang verbergen',
1952
  'Hide Convert Part to Variant' => 'Artikel in Variante umwandeln verbergen',
1953
  'Hide Create new Variants'    => 'Neue Varianten erstellen verbergen',
1952 1954
  'Hide Filter'                 => 'Filter verbergen',
1953 1955
  'Hide Records'                => 'Belege verbergen',
1954 1956
  'Hide all details'            => 'Alle Details verbergen',
......
3716 3718
  'Show AR transactions as part of AR invoice report' => 'Debitorenbuchungen zusammen mit Verkaufsrechnungen anzeigen',
3717 3719
  'Show Attachment'             => 'Anhang anzeigen',
3718 3720
  'Show Bestbefore'             => 'Mindesthaltbarkeit anzeigen',
3721
  'Show Convert Part to Variant' => 'Artikel in Variante umwandeln zeigen',
3722
  'Show Create new Variants'    => 'Neue Varianten erstellen zeigen',
3719 3723
  'Show E-Mails'                => 'E-Mails anzeigen',
3720 3724
  'Show Filter'                 => 'Filter zeigen',
3721 3725
  'Show Records'                => 'Belege anzeigen',
locale/en/all
1948 1948
  'Here you only provide the credentials for logging into the database.' => '',
1949 1949
  'Here\'s an example command line:' => '',
1950 1950
  'Hide Attachment'             => '',
1951
  'Hide Convert Part to Variant' => '',
1952
  'Hide Create new Variants'    => '',
1951 1953
  'Hide Filter'                 => '',
1952 1954
  'Hide Records'                => '',
1953 1955
  'Hide all details'            => '',
......
3715 3717
  'Show AR transactions as part of AR invoice report' => '',
3716 3718
  'Show Attachment'             => '',
3717 3719
  'Show Bestbefore'             => '',
3720
  'Show Convert Part to Variant' => '',
3721
  'Show Create new Variants'    => '',
3718 3722
  'Show E-Mails'                => '',
3719 3723
  'Show Filter'                 => '',
3720 3724
  'Show Records'                => '',
templates/design40_webpages/part/_parent_variant.html
5 5
[% USE P %]
6 6

  
7 7
<div id="parent_variant" class="wrapper">
8
  <div class="wrapper input-panel">
8
  <div class="input-panel">
9 9
    <h3> [% LxERP.t8("Variant Properties") %] </h3>
10 10
    <table id="parent_variant_table" class="tbl-list">
11 11
      <caption>
......
235 235
    [% L.button_tag('kivi.Part.update_variants();', LxERP.t8("Update Variants")) %]
236 236
  </div>
237 237

  
238
  <div class="wrapper input-panel">
238
  [% BLOCK panel_1 %]
239 239
    <h3> [% LxERP.t8("Create new Variants") %] </h3>
240 240
    <div class="wrapper">
241 241
    [% FOREACH variant_property = SELF.part.variant_properties %]
......
256 256
    [% END %]
257 257
    </div>
258 258
    [% L.button_tag('kivi.Part.create_variants();', LxERP.t8("Create Variants with selected Values")) %]
259
  [% END %]
260

  
261
  <div class="wrapper">
262
  [%
263
    INCLUDE 'common/toggle_panel.html'
264
    block_name='panel_1'
265
    toggle_class='panel_1'
266
    display_status='closed'
267
    button_closed=LxERP.t8('Show Create new Variants')
268
    button_open=LxERP.t8('Hide Create new Variants')
269
  %]
259 270
  </div>
260 271

  
261
  <div class="wrapper input-panel">
272
  [% BLOCK panel_2 %]
262 273
    <h3> [% LxERP.t8("Convert Part to Variant") %] </h3>
263 274
    <table class="tbl-list">
264 275
      <caption>
......
266 277
      </caption>
267 278
      <thead>
268 279
        <tr>
269
          <th>[% 'Name' | $T8 %]</th>
270
          <th>[% 'Value' | $T8 %]</th>
280
          [% FOREACH variant_property = SELF.part.variant_properties %]
281
          <th>[% variant_property.displayable_name | html %]</th>
282
          [% END %]
271 283
        </tr>
272 284
      </thead>
273 285
      <tbody>
274
        [% FOREACH variant_property = SELF.part.variant_properties %]
275 286
        <tr>
276
          <td>[% variant_property.displayable_name | html %]</td>
277
          <td>
278
          [% L.select_tag("convert_part.variant_properties." _ variant_property.id _ ".selected_property_value_id",
279
            variant_property.property_values,
280
            title_key='displayable_name', value_key='id',
281
            size=variant_property.property_values.size,
282
          ) %]
287
          [% FOREACH variant_property = SELF.part.variant_properties %]
288
          <td style="vertical-align:top">
289
            [% L.select_tag("convert_part.variant_properties." _ variant_property.id _ ".selected_property_value_id",
290
              variant_property.property_values,
291
              title_key='displayable_name', value_key='id',
292
              size=variant_property.property_values.size,
293
            ) %]
294
          </td>
295
          [% END %]
283 296
        </tr>
284
        [% END %]
285 297
      </tbody>
286 298
    </table>
287 299
    <label for="convert_part.id">[% 'Part for conversion:' | $T8 %]</label>
......
293 305
    <br>
294 306
    <br>
295 307
    [% L.button_tag('kivi.Part.convert_part_to_variant();', LxERP.t8("Convert")) %]
296
  </div>
308
  [% END %]
309

  
310
  <div class="wrapper">
311
  [%
312
    INCLUDE 'common/toggle_panel.html'
313
    block_name='panel_2'
314
    toggle_class='panel_2'
315
    display_status='closed'
316
    button_closed=LxERP.t8('Show Convert Part to Variant')
317
    button_open=LxERP.t8('Hide Convert Part to Variant')
318
  %]
319
  <div>
320

  
297 321
</div>
298 322

  
299 323

  

Auch abrufbar als: Unified diff