projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ab333a
)
Anzahlungs-Rg.: Keine Zahlungsaktionen
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Mon, 15 Nov 2021 12:04:20 +0000
(13:04 +0100)
committer
Jan Büren
<jan@kivitendo.de>
Mon, 14 Feb 2022 12:47:45 +0000
(13:47 +0100)
bin/mozilla/is.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/is.pl
b/bin/mozilla/is.pl
index
14b3946
..
b6d6d34
100644
(file)
--- a/
bin/mozilla/is.pl
+++ b/
bin/mozilla/is.pl
@@
-342,6
+342,7
@@
sub setup_is_action_bar {
: !$form->{id} ? t8('This invoice has not been posted yet.')
: $is_linked_bank_transaction ? t8('This transaction is linked with a bank transaction. Please undo and redo the bank transaction booking if needed.')
: undef,
: !$form->{id} ? t8('This invoice has not been posted yet.')
: $is_linked_bank_transaction ? t8('This transaction is linked with a bank transaction. Please undo and redo the bank transaction booking if needed.')
: undef,
+ only_if => $form->{type} ne "invoice_for_advance_payment",
],
action => [ t8('Mark as paid'),
submit => [ '#form', { action => "mark_as_paid" } ],
],
action => [ t8('Mark as paid'),
submit => [ '#form', { action => "mark_as_paid" } ],
@@
-349,7
+350,7
@@
sub setup_is_action_bar {
disabled => !$may_edit_create ? t8('You must not change this invoice.')
: !$form->{id} ? t8('This invoice has not been posted yet.')
: undef,
disabled => !$may_edit_create ? t8('You must not change this invoice.')
: !$form->{id} ? t8('This invoice has not been posted yet.')
: undef,
- only_if => $::instance_conf->get_is_show_mark_as_paid,
+ only_if => $::instance_conf->get_is_show_mark_as_paid
&& $form->{type} ne "invoice_for_advance_payment"
,
],
], # end of combobox "Post"
],
], # end of combobox "Post"