From 604d2a741748307cc4fe04b4b872831067408a6f Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 17 Nov 2021 13:08:05 -0500 Subject: [PATCH] Fix mis-spelling on dashboard --- dashboard.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard.php b/dashboard.php index cc4f8382..2051508b 100644 --- a/dashboard.php +++ b/dashboard.php @@ -43,7 +43,7 @@ $sql_invoice_totals = mysqli_query($mysqli,"SELECT SUM(invoice_amount) AS invoic $row = mysqli_fetch_array($sql_invoice_totals); $invoice_totals = $row['invoice_totals']; -//Quaeries from Recievables +//Quaeries from Receivables $sql_total_payments_to_invoices_all_years = mysqli_query($mysqli,"SELECT SUM(payment_amount) AS total_payments_to_invoices_all_years FROM payments WHERE company_id = $session_company_id"); $row = mysqli_fetch_array($sql_total_payments_to_invoices_all_years); $total_payments_to_invoices_all_years = $row['total_payments_to_invoices_all_years']; @@ -52,7 +52,7 @@ $sql_invoice_totals_all_years = mysqli_query($mysqli,"SELECT SUM(invoice_amount) $row = mysqli_fetch_array($sql_invoice_totals_all_years); $invoice_totals_all_years = $row['invoice_totals_all_years']; -$recievables = $invoice_totals_all_years - $total_payments_to_invoices_all_years; +$receivables = $invoice_totals_all_years - $total_payments_to_invoices_all_years; $profit = $total_income - $total_expenses; @@ -125,7 +125,7 @@ $vendors_added = $row['vendors_added'];

$

Total Income


- Recievables: $ + Receivables: $