Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 652b8ed2

Von Hans Peter Schlaepfer vor mehr als 6 Jahren hinzugefügt

  • ID 652b8ed267d9b068fc800ff7dd8e2fe4f9d436a6
  • Vorgänger 98768b68
  • Nachfolger 5b4e0fd0

Design 4.0: b/m/oe.pl: notes/intnotes/ALL_DELIVERY_TERMS von footer in header

Unterschiede anzeigen:

bin/mozilla/oe.pl
$TMPL_VAR->{transport_cost_reminder_article} = SL::DB::Part->new(id => $::instance_conf->get_transport_cost_reminder_article_number_id)->load;
}
# following 4 lines came from form_footer, comments/notes are now in upper part of the page
my $introws = max 5, $form->numtextrows($form->{intnotes}, 35, 8);
my $TMPL_VAR = $::request->cache('tmpl_var', {});
$TMPL_VAR->{notes} = qq|<textarea name="notes" class="texteditor" wrap="soft" style="width: 300px; height: 150px">| . H($form->{notes}) . qq|</textarea>|;
$TMPL_VAR->{intnotes} = qq|<textarea name=intnotes rows="$introws" cols="35">| . H($form->{intnotes}) . qq|</textarea>|;
$TMPL_VAR->{ALL_DELIVERY_TERMS} = SL::DB::Manager::DeliveryTerm->get_all_sorted(); # moved from sub form_footer
print $form->parse_html_template("oe/form_header", {
%$TMPL_VAR,
%type_check_vars,
......
$form->{invtotal} = $form->{invsubtotal};
my $introws = max 5, $form->numtextrows($form->{intnotes}, 35, 8);
#my $introws = max 5, $form->numtextrows($form->{intnotes}, 35, 8);
my $TMPL_VAR = $::request->cache('tmpl_var', {});
$TMPL_VAR->{notes} = qq|<textarea name="notes" class="texteditor" wrap="soft" style="width: 350px; height: 150px">| . H($form->{notes}) . qq|</textarea>|;
$TMPL_VAR->{intnotes} = qq|<textarea name=intnotes rows="$introws" cols="35">| . H($form->{intnotes}) . qq|</textarea>|;
#$TMPL_VAR->{notes} = qq|<textarea name="notes" class="texteditor" wrap="soft" style="width: 350px; height: 150px">| . H($form->{notes}) . qq|</textarea>|;
#$TMPL_VAR->{intnotes} = qq|<textarea name=intnotes rows="$introws" cols="35">| . H($form->{intnotes}) . qq|</textarea>|;
if( $form->{customer_id} && !$form->{taxincluded_changed_by_user} ) {
my $customer = SL::DB::Customer->new(id => $form->{customer_id})->load();

Auch abrufbar als: Unified diff