Revision f056356d
Von Jan Büren vor fast 3 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
614 | 614 |
$form->{"select$item"} =~ s/option>\Q$form->{$item}\E/option selected>$form->{$item}/; |
615 | 615 |
} |
616 | 616 |
|
617 |
$TMPL_VAR{is_type_invoice_for_advance_payment} = $form->{type} eq "invoice_for_advance_payment";
|
|
618 |
$TMPL_VAR{is_type_credit_note} = $form->{type} eq "credit_note";
|
|
619 |
$TMPL_VAR{is_format_html} = $form->{format} eq 'html';
|
|
620 |
$TMPL_VAR{dateformat} = $myconfig{dateformat};
|
|
621 |
$TMPL_VAR{numberformat} = $myconfig{numberformat};
|
|
617 |
$TMPL_VAR{is_type_normal_invoice} = $form->{type} eq "invoice";
|
|
618 |
$TMPL_VAR{is_type_credit_note} = $form->{type} eq "credit_note"; |
|
619 |
$TMPL_VAR{is_format_html} = $form->{format} eq 'html'; |
|
620 |
$TMPL_VAR{dateformat} = $myconfig{dateformat}; |
|
621 |
$TMPL_VAR{numberformat} = $myconfig{numberformat}; |
|
622 | 622 |
|
623 | 623 |
# hiddens |
624 | 624 |
$TMPL_VAR{HIDDENS} = [qw( |
... | ... | |
758 | 758 |
} |
759 | 759 |
|
760 | 760 |
print $form->parse_html_template('is/form_footer', { |
761 |
is_type_invoice_for_advance_payment => ($form->{type} eq "invoice_for_advance_payment"),
|
|
761 |
is_type_normal_invoice => ($form->{type} eq "invoice"),
|
|
762 | 762 |
is_type_credit_note => ($form->{type} eq "credit_note"), |
763 | 763 |
totalpaid => $totalpaid, |
764 | 764 |
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