Revision 3ab333a0
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
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"; |
... | ... | |
559 | 564 |
$form->{"select$item"} =~ s/option>\Q$form->{$item}\E/option selected>$form->{$item}/; |
560 | 565 |
} |
561 | 566 |
|
567 |
$TMPL_VAR{is_type_invoice_for_advance_payment} = $form->{type} eq "invoice_for_advance_payment"; |
|
562 | 568 |
$TMPL_VAR{is_type_credit_note} = $form->{type} eq "credit_note"; |
563 | 569 |
$TMPL_VAR{is_format_html} = $form->{format} eq 'html'; |
564 | 570 |
$TMPL_VAR{dateformat} = $myconfig{dateformat}; |
... | ... | |
702 | 708 |
} |
703 | 709 |
|
704 | 710 |
print $form->parse_html_template('is/form_footer', { |
711 |
is_type_invoice_for_advance_payment => ($form->{type} eq "invoice_for_advance_payment"), |
|
705 | 712 |
is_type_credit_note => ($form->{type} eq "credit_note"), |
706 | 713 |
totalpaid => $totalpaid, |
707 | 714 |
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
Anzahlungs-Rg.: Kein Zahlungsabschnitt in der Maske