Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 85743ebe

Von Moritz Bunkus vor mehr als 5 Jahren hinzugefügt

  • ID 85743ebe243343d54454245d295aa436945b598d
  • Vorgänger 70220684
  • Nachfolger 5a14cd3d

Einkauf/Verkauf: Bemerkungsfelder gleich groß anzeigen

Unterschiede anzeigen:

bin/mozilla/ir.pl
$form->{invtotal} = $form->{invsubtotal};
$form->{oldinvtotal} = $form->{invtotal};
# note rows
$form->{rows} = max 2,
$form->numtextrows($form->{notes}, 26, 8),
$form->numtextrows($form->{intnotes}, 35, 8);
# tax, total and subtotal calculations
my ($tax, $subtotal);
$form->{taxaccounts_array} = [ split / /, $form->{taxaccounts} ];
bin/mozilla/is.pl
$form->{invtotal} = $form->{invsubtotal};
# note rows
$form->{rows} = max 2,
$form->numtextrows($form->{notes}, 26, 8),
$form->numtextrows($form->{intnotes}, 35, 8);
# tax, total and subtotal calculations
my ($tax, $subtotal);
$form->{taxaccounts_array} = [ split(/ /, $form->{taxaccounts}) ];
bin/mozilla/oe.pl
$form->{invtotal} = $form->{invsubtotal};
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>|;
if( $form->{customer_id} && !$form->{taxincluded_changed_by_user} ) {
my $customer = SL::DB::Customer->new(id => $form->{customer_id})->load();
$form->{taxincluded} = defined($customer->taxincluded_checked) ? $customer->taxincluded_checked : $myconfig{taxincluded_checked};
templates/webpages/do/form_footer.html
[% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
[% END %]
</td>
<td><textarea name="intnotes" rows="[% LxERP.numtextrows(intnotes, 35, 8, 2) %]" cols="35" wrap="soft"[% RO %]>[% HTML.escape(intnotes) %]</textarea></td>
<td>[% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]</td>
</tr>
<tr>
templates/webpages/ir/form_footer.html
[% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
</td>
<td>
<textarea name="intnotes" rows="[% rows %]" cols="35" wrap="soft">[% intnotes %]</textarea>
[% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]
</td>
<td>
<table>
templates/webpages/is/form_footer.html
[% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
</td>
<td>
<textarea name="intnotes" rows="[% rows %]" cols="35">[% intnotes %]</textarea>
[% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]
</td>
<td>
<table>
templates/webpages/oe/form_footer.html
<th align="left">[% 'Internal Notes' | $T8 %]</th>
</tr>
<tr valign="top">
<td>[% notes %]</td>
<td>[% intnotes %]</td>
<td>[% L.textarea_tag('notes', notes, style="width: 350px; height: 150px", class="texteditor") %]</td>
<td>[% L.textarea_tag('intnotes', intnotes, style="width: 350px; height: 150px") %]</td>
</tr>
<tr>
<th align="right">[% 'Payment Terms' | $T8 %]</th>

Auch abrufbar als: Unified diff