Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ac6d3a20

Von Kivitendo Admin vor fast 10 Jahren hinzugefügt

  • ID ac6d3a20575e77752a9ed40fb1dd39f675a22c10
  • Vorgänger e24e3284
  • Nachfolger b720e272

Benutzerdefinierte Variable: Parts als Partpicker

noch vorhandene L.part_select nach L.part_picker geändert.
Analog wie für CustomerVendor-Picker (siehe Commit 65b7c724e)

Unterschiede anzeigen:

bin/mozilla/do.pl
323 323

  
324 324
  $form->{follow_up_trans_info} = $form->{donumber} .'('. $follow_up_vc .')';
325 325

  
326
  $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase ckeditor/ckeditor ckeditor/adapters/jquery kivi.io autocomplete_customer));
326
  $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase ckeditor/ckeditor ckeditor/adapters/jquery kivi.io autocomplete_customer autocomplete_part));
327 327

  
328 328
  $form->header();
329 329
  # Fix für Bug 1082 Erwartet wird: 'abteilungsNAME--abteilungsID'
bin/mozilla/ir.pl
337 337
  ), @custom_hiddens,
338 338
  map { $_.'_rate', $_.'_description', $_.'_taxnumber' } split / /, $form->{taxaccounts}];
339 339

  
340
  $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase ckeditor/ckeditor ckeditor/adapters/jquery kivi.io autocomplete_customer));
340
  $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase ckeditor/ckeditor ckeditor/adapters/jquery kivi.io autocomplete_customer autocomplete_part));
341 341

  
342 342
  $form->header();
343 343

  
bin/mozilla/is.pl
385 385
  ), @custom_hiddens,
386 386
  map { $_.'_rate', $_.'_description', $_.'_taxnumber' } split / /, $form->{taxaccounts}];
387 387

  
388
  $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase ckeditor/ckeditor ckeditor/adapters/jquery kivi.io autocomplete_customer));
388
  $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase ckeditor/ckeditor ckeditor/adapters/jquery kivi.io autocomplete_customer autocomplete_part));
389 389

  
390 390
  $form->header();
391 391

  
bin/mozilla/oe.pl
465 465
    }
466 466
  }
467 467

  
468
  $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase show_form_details show_history show_vc_details ckeditor/ckeditor ckeditor/adapters/jquery kivi.io autocomplete_customer));
468
  $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase show_form_details show_history show_vc_details ckeditor/ckeditor ckeditor/adapters/jquery kivi.io autocomplete_customer autocomplete_part));
469 469

  
470 470
  $form->header;
471 471
  if ($form->{CFDD_shipto} && $form->{CFDD_shipto_id} ) {
templates/webpages/amcvar/render_inputs.html
31 31
[% L.customer_vendor_picker(var_name, var.value, type='vendor') %]
32 32

  
33 33
[%- ELSIF var.type == 'part' %]
34
[% L.part_selector(var_name, var.value) %]
34
[% L.part_picker(var_name, var.value) %]
35 35

  
36 36
[%- ELSIF var.type == 'select' %]
37 37

  
templates/webpages/amcvar/render_inputs_block.html
63 63
[%- L.customer_vendor_picker(cvar_tag_name, cvar.value, render_cvar_tag_options) %]
64 64

  
65 65
[%- ELSIF cvar.var.type == 'part' %]
66
[% L.part_selector(cvar_tag_name, cvar.value, render_cvar_tag_options) %]
66
[% L.part_picker(cvar_tag_name, cvar.value, render_cvar_tag_options) %]
67 67

  
68 68
[%- ELSIF cvar.var.type == 'number' %]
69 69
[%- L.input_tag(cvar_tag_name, LxERP.format_amount(cvar.value, -2), render_cvar_tag_options) %]

Auch abrufbar als: Unified diff