@@ -92,7 +92,7 @@ |
||
| 92 | 92 | |
| 93 | 93 | // sending per email enabled in billing data? |
| 94 | 94 | $billing_data = org_openpsa_invoices_billing_data_dba::get_by_object($this->invoice); |
| 95 | - if ( !$this->invoice->sent && intval($billing_data->sendingoption) == 2) { |
|
| 95 | + if (!$this->invoice->sent && intval($billing_data->sendingoption) == 2) { |
|
| 96 | 96 | $buttons[] = $workflow->get_button( |
| 97 | 97 | $this->router->generate('invoice_send_by_mail', ['guid' => $this->invoice->guid]), |
| 98 | 98 | [ |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | /** |
| 64 | 64 | * Get the billing data for given contact if any. |
| 65 | 65 | */ |
| 66 | - private static function get_billing_data(string $dba_class, string|int $contact_id) : ?self |
|
| 66 | + private static function get_billing_data(string $dba_class, string | int $contact_id) : ?self |
|
| 67 | 67 | { |
| 68 | 68 | if ($contact_id == 0) { |
| 69 | 69 | return null; |