diff --git a/invoice.php b/invoice.php
index d3bab716..504c417b 100644
--- a/invoice.php
+++ b/invoice.php
@@ -96,9 +96,7 @@ if (isset($_GET['invoice_id'])) {
$company_tax_id_display = "";
}
$company_logo = nullable_htmlentities($row['company_logo']);
- if (!empty($company_logo)) {
- $company_logo_base64 = base64_encode(file_get_contents("uploads/settings/$company_logo"));
- }
+
$sql_history = mysqli_query($mysqli, "SELECT * FROM history WHERE history_invoice_id = $invoice_id ORDER BY history_id DESC");
$sql_payments = mysqli_query($mysqli, "SELECT * FROM payments, accounts WHERE payment_account_id = account_id AND payment_invoice_id = $invoice_id ORDER BY payments.payment_id DESC");
@@ -278,7 +276,7 @@ if (isset($_GET['invoice_id'])) {
Print
- ');">
+
Download PDF
@@ -705,6 +703,7 @@ if (isset($_GET['invoice_id'])) {
+
-
-
-
-