Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 473431b1

Von Moritz Bunkus vor etwa 4 Jahren hinzugefügt

  • ID 473431b1a1008e2cdcb5d49bb04227f5b0004852
  • Vorgänger 38823dc1
  • Nachfolger a5038d8d

Einkauf/Verkauf: Sprach-Drop-Down aus Print-Optionen in Hauptbeleg verschoben

Noch nicht erledigt ist der neue Angebots-/Auftragscontroller.

Unterschiede anzeigen:

bin/mozilla/do.pl
421 421
                   "business_types" => "ALL_BUSINESS_TYPES",
422 422
    );
423 423
  $form->{ALL_DEPARTMENTS} = SL::DB::Manager::Department->get_all_sorted;
424
  $form->{ALL_LANGUAGES}   = SL::DB::Manager::Language->get_all_sorted;
424 425

  
425 426
  # Projects
426 427
  my @old_project_ids = uniq grep { $_ } map { $_ * 1 } ($form->{"globalproject_id"}, map { $form->{"project_id_$_"} } 1..$form->{"rowcount"});
bin/mozilla/io.pl
2009 2009
sub setup_sales_purchase_print_options {
2010 2010
  my $print_form = Form->new('');
2011 2011
  $print_form->{printers}  = SL::DB::Manager::Printer->get_all_sorted;
2012
  $print_form->{languages} = SL::DB::Manager::Language->get_all_sorted;
2013 2012

  
2014
  $print_form->{$_} = $::form->{$_} for qw(type media language_id printer_id storno formname groupitems);
2013
  $print_form->{$_} = $::form->{$_} for qw(type media printer_id storno formname groupitems);
2015 2014

  
2016 2015
  return SL::Helper::PrintOptions->get_print_options(
2017 2016
    form    => $print_form,
bin/mozilla/is.pl
465 465
                   "price_factors" => "ALL_PRICE_FACTORS");
466 466

  
467 467
  $form->{ALL_DEPARTMENTS} = SL::DB::Manager::Department->get_all_sorted;
468
  $form->{ALL_LANGUAGES}   = SL::DB::Manager::Language->get_all_sorted;
468 469

  
469 470
  # Projects
470 471
  my @old_project_ids = uniq grep { $_ } map { $_ * 1 } ($form->{"globalproject_id"}, map { $form->{"project_id_$_"} } 1..$form->{"rowcount"});
bin/mozilla/oe.pl
526 526
  $form->{ALL_PAYMENTS} = SL::DB::Manager::PaymentTerm->get_all( where => [ or => [ obsolete => 0, id => $form->{payment_id} || undef ] ]);
527 527

  
528 528
  $form->{ALL_DEPARTMENTS} = SL::DB::Manager::Department->get_all_sorted;
529
  $form->{ALL_LANGUAGES}   = SL::DB::Manager::Language->get_all_sorted;
529 530

  
530 531
  # Projects
531 532
  my @old_project_ids = uniq grep { $_ } map { $_ * 1 } ($form->{"globalproject_id"}, map { $form->{"project_id_$_"} } 1..$form->{"rowcount"});
templates/webpages/do/form_header.html
186 186
        [%- END %]
187 187
       </tr>
188 188

  
189
       [%- IF ALL_LANGUAGES.size %]
190
       <tr>
191
        <th align="right" nowrap>[% 'Language' | $T8 %]</th>
192
        <td colspan="3">
193
         [% L.select_tag('language_id', ALL_LANGUAGES, default = language_id, title_key = 'description', with_empty = 1, style = 'width: 250px' )%]
194
        </td>
195
       </tr>
196
       [%- END %]
197

  
189 198
       [%- IF ALL_DEPARTMENTS.size %]
190 199
       <tr>
191 200
        <th align="right" nowrap>[% 'Department' | $T8 %]</th>
templates/webpages/is/form_header.html
136 136
  [%- END %]
137 137
          </td>
138 138
        </tr>
139
[%- IF ALL_LANGUAGES %]
140
        <tr>
141
          <th align="right" nowrap>[% 'Language' | $T8 %]</th>
142
          <td colspan="3">
143
            [% L.select_tag('language_id', ALL_LANGUAGES, default = language_id, title_key = 'description', with_empty = 1, style = 'width:250px') %]
144
          </td>
145
        </tr>
146
[%- END %]
139 147
[%- IF ALL_DEPARTMENTS %]
140 148
        <tr>
141 149
          <th align="right" nowrap>[% 'Department' | $T8 %]</th>
templates/webpages/oe/form_header.html
110 110
                      [% L.select_tag('taxzone_id', ( id ? ALL_TAXZONES : ALL_ACTIVE_TAXZONES), default=taxzone_id, title_key='description', style='width: 250px') %]
111 111
                    </td>
112 112
                  </tr>
113
[%- IF ALL_LANGUAGES.size %]
114
                  <tr>
115
                    <th align="right" nowrap>[% 'Language' | $T8 %]</th>
116
                    <td colspan="3">
117
                      [% L.select_tag('language_id', ALL_LANGUAGES, default=language_id, title_key = 'description', with_empty=1, style='width:250px') %]
118
                    </td>
119
                  </tr>
120
[%- END %]
113 121
[%- IF ALL_DEPARTMENTS.size %]
114 122
                  <tr>
115 123
                    <th align="right" nowrap>[% 'Department' | $T8 %]</th>

Auch abrufbar als: Unified diff