Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 57717cbb

Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt

  • ID 57717cbb6f5e4c6da34d6267ab867db485fced57
  • Vorgänger bf6510a2
  • Nachfolger 5ab85d98

Pflichtenhefte -> Angebote/Aufträge: Artikelauswahl per Partpicker

Unterschiede anzeigen:

SL/Controller/RequirementSpecOrder.pm
192 192
  my ($self) = @_;
193 193

  
194 194
  $::auth->assert('sales_quotation_edit');
195
  $::request->{layout}->use_stylesheet("${_}.css") for qw(jquery.contextMenu requirement_spec);
195
  $::request->{layout}->use_stylesheet("${_}.css") for qw(jquery.contextMenu requirement_spec autocomplete_part);
196 196
  $::request->{layout}->use_javascript("${_}.js")  for qw(jquery.jstree jquery/jquery.contextMenu client_js requirement_spec);
197 197

  
198 198
  return 1;
templates/webpages/requirement_spec_order/_assignment_form.html
18 18
  <tr>
19 19
   <td>[% LxERP.t8("Assign the following article to all sections") %]:</td>
20 20
   <td>
21
    [% L.select_tag('quotations_and_orders_dummy', SELF.all_parts_time_unit, default=INSTANCE_CONF.get_requirement_spec_section_order_part_id, title_sub=\make_part_title, id='quoations_and_orders_order_id', style=style) %]
21
    [% P.part_picker('quotations_and_orders_dummy', INSTANCE_CONF.get_requirement_spec_section_order_part_id, convertible_unit=SELF.h_unit_name, id='quoations_and_orders_order_id', style=style) %]
22 22
    [% L.button_tag('kivi.requirement_spec.assign_order_part_id_to_all()', LxERP.t8('Assign article')) %]
23 23
   </td>
24 24
  </tr>
......
41 41
    <td>[% HTML.escape(section.fb_number) %]</td>
42 42
    <td>[% HTML.escape(section.title) %]</td>
43 43
    <td>[% HTML.escape(P.truncate(section.description)) %]</td>
44
    <td>[% L.select_tag('sections[].order_part_id', SELF.all_parts_time_unit, default=section.order_part_id, with_empty=!for_new, title_sub=\make_part_title, style=style, no_id=1) %]</td>
44
    <td>[% P.part_picker('sections[].order_part_id', section.order_part_id, convertible_unit=SELF.h_unit_name, id='quoations_and_orders_sections_order_pard_id_' _ loop.count, style=style) %]</td>
45 45
   </tr>
46 46
   [% END %]
47 47
  </tbody>

Auch abrufbar als: Unified diff