Skip to content

Commit

Permalink
remove bracelets
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rautenberg committed Apr 2, 2024
1 parent 4179a8c commit 1d20f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/org/openpsa/invoices/invoice/pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function get_attachment(bool $autocreate = false, string $kind = null) :
public function get_button_options(string $kind = 'invoice') : array
{
if ($attachment = $this->get_attachment()) {
if ($this->invoice->sent && (!($kind == 'reminder'))) {
if ($this->invoice->sent && !($kind == 'reminder')) {

This comment has been minimized.

Copy link
@flack

flack Apr 2, 2024

Owner

($this->invoice->sent && $kind != 'reminder')

$message = 'invoice has already been sent. should it be replaced?';
}
// check if auto generated parameter is same as md5 in current-file
Expand Down

0 comments on commit 1d20f78

Please sign in to comment.