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
498 498
  $form->{invtotal}    = $form->{invsubtotal};
499 499
  $form->{oldinvtotal} = $form->{invtotal};
500 500

  
501
  # note rows
502
  $form->{rows} = max 2,
503
    $form->numtextrows($form->{notes},    26, 8),
504
    $form->numtextrows($form->{intnotes}, 35, 8);
505

  
506

  
507 501
  # tax, total and subtotal calculations
508 502
  my ($tax, $subtotal);
509 503
  $form->{taxaccounts_array} = [ split / /, $form->{taxaccounts} ];
bin/mozilla/is.pl
582 582

  
583 583
  $form->{invtotal}    = $form->{invsubtotal};
584 584

  
585
  # note rows
586
  $form->{rows} = max 2,
587
    $form->numtextrows($form->{notes},    26, 8),
588
    $form->numtextrows($form->{intnotes}, 35, 8);
589

  
590

  
591 585
  # tax, total and subtotal calculations
592 586
  my ($tax, $subtotal);
593 587
  $form->{taxaccounts_array} = [ split(/ /, $form->{taxaccounts}) ];
bin/mozilla/oe.pl
680 680

  
681 681
  $form->{invtotal} = $form->{invsubtotal};
682 682

  
683
  my $introws = max 5, $form->numtextrows($form->{intnotes}, 35, 8);
684

  
685 683
  my $TMPL_VAR = $::request->cache('tmpl_var', {});
686 684

  
687
  $TMPL_VAR->{notes}    = qq|<textarea name="notes" class="texteditor" wrap="soft" style="width: 350px; height: 150px">| . H($form->{notes}) . qq|</textarea>|;
688
  $TMPL_VAR->{intnotes} = qq|<textarea name=intnotes rows="$introws" cols="35">| . H($form->{intnotes}) . qq|</textarea>|;
689

  
690 685
  if( $form->{customer_id} && !$form->{taxincluded_changed_by_user} ) {
691 686
    my $customer = SL::DB::Customer->new(id => $form->{customer_id})->load();
692 687
    $form->{taxincluded} = defined($customer->taxincluded_checked) ? $customer->taxincluded_checked : $myconfig{taxincluded_checked};
templates/webpages/do/form_footer.html
21 21
          [% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
22 22
         [% END %]
23 23
        </td>
24
        <td><textarea name="intnotes" rows="[% LxERP.numtextrows(intnotes, 35, 8, 2) %]" cols="35" wrap="soft"[% RO %]>[% HTML.escape(intnotes) %]</textarea></td>
24
        <td>[% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]</td>
25 25
       </tr>
26 26

  
27 27
       <tr>
templates/webpages/ir/form_footer.html
18 18
          [% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
19 19
         </td>
20 20
         <td>
21
          <textarea name="intnotes" rows="[% rows %]" cols="35" wrap="soft">[% intnotes %]</textarea>
21
          [% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]
22 22
         </td>
23 23
         <td>
24 24
           <table>
templates/webpages/is/form_footer.html
18 18
          [% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
19 19
         </td>
20 20
         <td>
21
          <textarea name="intnotes" rows="[% rows %]" cols="35">[% intnotes %]</textarea>
21
          [% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]
22 22
         </td>
23 23
         <td>
24 24
           <table>
templates/webpages/oe/form_footer.html
22 22
                <th align="left">[% 'Internal Notes' | $T8 %]</th>
23 23
              </tr>
24 24
              <tr valign="top">
25
                <td>[% notes %]</td>
26
                <td>[% intnotes %]</td>
25
                <td>[% L.textarea_tag('notes',    notes,    style="width: 350px; height: 150px", class="texteditor") %]</td>
26
                <td>[% L.textarea_tag('intnotes', intnotes, style="width: 350px; height: 150px") %]</td>
27 27
              </tr>
28 28
              <tr>
29 29
                <th align="right">[% 'Payment Terms' | $T8 %]</th>

Auch abrufbar als: Unified diff