Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6d1b1f7d

Von Bernd Bleßmann vor etwa 3 Jahren hinzugefügt

  • ID 6d1b1f7d31dfafe79aae73d752f8cd7b9397bde2
  • Vorgänger 82036aca
  • Nachfolger 31d60fb4

Anzahlungs-Rg.: Kein Zahlungsabschnitt in der Maske

Unterschiede anzeigen:

bin/mozilla/is.pl
246 246
  if ($form->{type} eq "credit_note") {
247 247
    $form->{type}     = "credit_note";
248 248
    $form->{formname} = "credit_note";
249

  
250
  } elsif ($form->{type} eq "invoice_for_advance_payment") {
251
    $form->{type}     = "invoice_for_advance_payment";
252

  
249 253
  } elsif ($form->{formname} eq "proforma" ) {
250 254
    $form->{type}     = "invoice";
255

  
251 256
  } else {
252 257
    $form->{type}     = "invoice";
253 258
    $form->{formname} = "invoice";
......
549 554
    $form->{"select$item"} =~ s/option>\Q$form->{$item}\E/option selected>$form->{$item}/;
550 555
  }
551 556

  
557
  $TMPL_VAR{is_type_invoice_for_advance_payment} = $form->{type} eq "invoice_for_advance_payment";
552 558
  $TMPL_VAR{is_type_credit_note} = $form->{type}   eq "credit_note";
553 559
  $TMPL_VAR{is_format_html}      = $form->{format} eq 'html';
554 560
  $TMPL_VAR{dateformat}          = $myconfig{dateformat};
......
692 698
  }
693 699

  
694 700
  print $form->parse_html_template('is/form_footer', {
701
    is_type_invoice_for_advance_payment => ($form->{type} eq "invoice_for_advance_payment"),
695 702
    is_type_credit_note => ($form->{type} eq "credit_note"),
696 703
    totalpaid           => $totalpaid,
697 704
    paid_missing        => $form->{invtotal} - $totalpaid,
templates/webpages/is/form_footer.html
135 135
   </td>
136 136
  </tr>
137 137

  
138
[% PROCESS 'is/_payments.html' %]
138
[% IF !is_type_invoice_for_advance_payment %]
139
  [% PROCESS 'is/_payments.html' %]
140
[% END %]
139 141
 </table>
140 142
</div>
141 143
[% PROCESS 'webdav/_list.html' %]

Auch abrufbar als: Unified diff