@@ -37,7 +37,7 @@ |
||
37 | 37 | $approved_text = $projects_l10n->get('not approved'); |
38 | 38 | $icon = 'times'; |
39 | 39 | } |
40 | - $entry['approved'] = "<i class='fa fa-{$icon}' title='{$approved_text}'></i>"; |
|
40 | + $entry['approved'] = "<i class='fa fa-{$icon}' title='{$approved_text}'></i>"; |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | $entry['index_description'] = $report->description; |
@@ -63,12 +63,12 @@ discard block |
||
63 | 63 | foreach ($vat_array as $vat) { |
64 | 64 | $vat_values[$vat] = "{$vat}%"; |
65 | 65 | } |
66 | - $vat_field =& $schemadb->get('default')->get_field('vat'); |
|
66 | + $vat_field = & $schemadb->get('default')->get_field('vat'); |
|
67 | 67 | $vat_field['type_config']['options'] = $vat_values; |
68 | 68 | } |
69 | 69 | |
70 | 70 | if ($this->_config->get('invoice_pdfbuilder_class')) { |
71 | - $pdf_field =& $schemadb->get('default')->get_field('pdf_file'); |
|
71 | + $pdf_field = & $schemadb->get('default')->get_field('pdf_file'); |
|
72 | 72 | $pdf_field['hidden'] = false; |
73 | 73 | } |
74 | 74 | |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | |
113 | 113 | // sending per email enabled in billing data? |
114 | 114 | $billing_data = org_openpsa_invoices_billing_data_dba::get_by_object($this->invoice); |
115 | - if ( !$this->invoice->sent |
|
115 | + if (!$this->invoice->sent |
|
116 | 116 | && intval($billing_data->sendingoption) == 2) { |
117 | 117 | $buttons[] = $this->build_button('send_by_mail', 'paper-plane'); |
118 | 118 | } |