mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 00:04:50 +00:00
Fix mis-spelling on dashboard
This commit is contained in:
@@ -43,7 +43,7 @@ $sql_invoice_totals = mysqli_query($mysqli,"SELECT SUM(invoice_amount) AS invoic
|
|||||||
$row = mysqli_fetch_array($sql_invoice_totals);
|
$row = mysqli_fetch_array($sql_invoice_totals);
|
||||||
$invoice_totals = $row['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");
|
$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);
|
$row = mysqli_fetch_array($sql_total_payments_to_invoices_all_years);
|
||||||
$total_payments_to_invoices_all_years = $row['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);
|
$row = mysqli_fetch_array($sql_invoice_totals_all_years);
|
||||||
$invoice_totals_all_years = $row['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;
|
$profit = $total_income - $total_expenses;
|
||||||
|
|
||||||
@@ -125,7 +125,7 @@ $vendors_added = $row['vendors_added'];
|
|||||||
<h3>$<?php echo number_format($total_income,2); ?></h3>
|
<h3>$<?php echo number_format($total_income,2); ?></h3>
|
||||||
<p>Total Income</p>
|
<p>Total Income</p>
|
||||||
<hr>
|
<hr>
|
||||||
<small>Recievables: $<?php echo number_format($recievables,2); ?></small>
|
<small>Receivables: $<?php echo number_format($receivables,2); ?></small>
|
||||||
</div>
|
</div>
|
||||||
<div class="icon">
|
<div class="icon">
|
||||||
<i class="fa fa-money-check"></i>
|
<i class="fa fa-money-check"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user