Revision 332e327b
Von Jan Büren vor fast 3 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
624 | 624 |
$form->{"select$item"} =~ s/option>\Q$form->{$item}\E/option selected>$form->{$item}/; |
625 | 625 |
} |
626 | 626 |
|
627 |
$TMPL_VAR{is_type_invoice_for_advance_payment} = $form->{type} eq "invoice_for_advance_payment";
|
|
628 |
$TMPL_VAR{is_type_credit_note} = $form->{type} eq "credit_note";
|
|
629 |
$TMPL_VAR{is_format_html} = $form->{format} eq 'html';
|
|
630 |
$TMPL_VAR{dateformat} = $myconfig{dateformat};
|
|
631 |
$TMPL_VAR{numberformat} = $myconfig{numberformat};
|
|
627 |
$TMPL_VAR{is_type_normal_invoice} = $form->{type} eq "invoice";
|
|
628 |
$TMPL_VAR{is_type_credit_note} = $form->{type} eq "credit_note"; |
|
629 |
$TMPL_VAR{is_format_html} = $form->{format} eq 'html'; |
|
630 |
$TMPL_VAR{dateformat} = $myconfig{dateformat}; |
|
631 |
$TMPL_VAR{numberformat} = $myconfig{numberformat}; |
|
632 | 632 |
|
633 | 633 |
# hiddens |
634 | 634 |
$TMPL_VAR{HIDDENS} = [qw( |
... | ... | |
768 | 768 |
} |
769 | 769 |
|
770 | 770 |
print $form->parse_html_template('is/form_footer', { |
771 |
is_type_invoice_for_advance_payment => ($form->{type} eq "invoice_for_advance_payment"),
|
|
771 |
is_type_normal_invoice => ($form->{type} eq "invoice"),
|
|
772 | 772 |
is_type_credit_note => ($form->{type} eq "credit_note"), |
773 | 773 |
totalpaid => $totalpaid, |
774 | 774 |
paid_missing => $form->{invtotal} - $totalpaid, |
templates/webpages/is/form_footer.html | ||
---|---|---|
134 | 134 |
</table> |
135 | 135 |
</td> |
136 | 136 |
</tr> |
137 |
|
|
138 |
[% IF !is_type_invoice_for_advance_payment %] |
|
137 |
[% IF is_type_normal_invoice OR is_type_credit_note %] |
|
139 | 138 |
[% PROCESS 'is/_payments.html' %] |
140 | 139 |
[% END %] |
141 | 140 |
</table> |
Auch abrufbar als: Unified diff
manueller Zahlungseingang beim Beleg, nur bei alten Rechnungstypen
und nicht bei Anzahlungs- oder Schlußrechnungen