confirm => t8('Do you really want to cancel this invoice?'),
disabled => !$form->{id} ? t8('This invoice has not been posted yet.')
: $has_sepa_exports ? t8('This invoice has been linked with a sepa export, undo this first.')
confirm => t8('Do you really want to cancel this invoice?'),
disabled => !$form->{id} ? t8('This invoice has not been posted yet.')
: $has_sepa_exports ? t8('This invoice has been linked with a sepa export, undo this first.')