Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f6760f01

Von Tamino Steinert vor 10 Monaten hinzugefügt

  • ID f6760f0106cf30aff52d3633bda2cd9b0ceafb73
  • Vorgänger 7bd0835e
  • Nachfolger 267268a3

Varianten: Einklappen von Varianten-erstellungs/umwandelungs-masken

Unterschiede anzeigen:

locale/de/all
1906 1906
  'Here'                        => 'Hier',
1907 1907
  '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.',
1908 1908
  'Here\'s an example command line:' => 'Hier ist eine Kommandozeile, die als Beispiel dient:',
1909
  'Hide Convert Part to Variant' => 'Artikel in Variante umwandeln verbergen',
1910
  'Hide Create new Variants'    => 'Neue Varianten erstellen verbergen',
1909 1911
  'Hide Filter'                 => 'Filter verbergen',
1910 1912
  'Hide all details'            => 'Alle Details verbergen',
1911 1913
  'Hide buttons'                => 'Knöpfe verstecken',
......
3629 3631
  'Show AP transactions as part of AP invoice report' => 'Kreditorenbuchungen zusammen mit Verkaufsrechnungen anzeigen',
3630 3632
  'Show AR transactions as part of AR invoice report' => 'Debitorenbuchungen zusammen mit Verkaufsrechnungen anzeigen',
3631 3633
  'Show Bestbefore'             => 'Mindesthaltbarkeit anzeigen',
3634
  'Show Convert Part to Variant' => 'Artikel in Variante umwandeln zeigen',
3635
  'Show Create new Variants'    => 'Neue Varianten erstellen zeigen',
3632 3636
  'Show E-Mails'                => 'E-Mails anzeigen',
3633 3637
  'Show Filter'                 => 'Filter zeigen',
3634 3638
  'Show Salesman'               => 'Verkäufer anzeigen',
locale/en/all
1905 1905
  'Here'                        => '',
1906 1906
  'Here you only provide the credentials for logging into the database.' => '',
1907 1907
  'Here\'s an example command line:' => '',
1908
  'Hide Convert Part to Variant' => '',
1909
  'Hide Create new Variants'    => '',
1908 1910
  'Hide Filter'                 => '',
1909 1911
  'Hide all details'            => '',
1910 1912
  'Hide buttons'                => '',
......
3628 3630
  'Show AP transactions as part of AP invoice report' => '',
3629 3631
  'Show AR transactions as part of AR invoice report' => '',
3630 3632
  'Show Bestbefore'             => '',
3633
  'Show Convert Part to Variant' => '',
3634
  'Show Create new Variants'    => '',
3631 3635
  'Show E-Mails'                => '',
3632 3636
  'Show Filter'                 => '',
3633 3637
  'Show Salesman'               => '',
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