diff --git a/SECURITY.md b/SECURITY.md index bd36785f..a5e58297 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -20,7 +20,7 @@ ITFlow is in Beta. **Please do not report security vulnerabilities through public GitHub issues.** -If you have discovered a security issue, please report it to us in as much detail as possible so we can fix it. +If you have discovered a security issue, please report it to us in as much detail as possible, so we can fix it. You should expect to receive an initial acknowledgement within 72 hours. If you do not, please get in touch discretely via GitHub issues/Forum/Discord to ensure we received your e-mail. Security contact: diff --git a/check_login.php b/check_login.php index bdac3101..5ebf73c2 100644 --- a/check_login.php +++ b/check_login.php @@ -71,7 +71,7 @@ $session_company_currency = $row['company_currency']; include("get_settings.php"); -//Detects if using an apple device and uses apple maps instead of google +//Detects if using an Apple device and uses Apple Maps instead of google $iPod = stripos($_SERVER['HTTP_USER_AGENT'],"iPod"); $iPhone = stripos($_SERVER['HTTP_USER_AGENT'],"iPhone"); $iPad = stripos($_SERVER['HTTP_USER_AGENT'],"iPad"); @@ -89,4 +89,4 @@ $num_notifications = $row['num']; //Set Currency Format $currency_format = numfmt_create($session_company_locale, NumberFormatter::CURRENCY); -?> \ No newline at end of file +?> diff --git a/client_delete_modal.php b/client_delete_modal.php index 12ed3740..41d05cf6 100644 --- a/client_delete_modal.php +++ b/client_delete_modal.php @@ -16,7 +16,7 @@

Are you sure?

-
Do you really want to delete and all associated data including financial data, logs, shared links etc? This process cannot be undone.
+
Do you really want to delete and all associated data including financial data, logs, shared links etc.? This process cannot be undone.
diff --git a/cron.php b/cron.php index 465649a4..7145977b 100644 --- a/cron.php +++ b/cron.php @@ -254,7 +254,7 @@ while ($row = mysqli_fetch_array($sql_companies)) { } - //Send Recurring Invoices that match todays date and are active + //Send Recurring Invoices that match today's date and are active //Loop through all recurring that match today's date and is active $sql_recurring = mysqli_query($mysqli,"SELECT * FROM recurring LEFT JOIN clients ON client_id = recurring_client_id WHERE recurring_next_date = CURDATE() AND recurring_status = 1 AND recurring.company_id = $company_id"); @@ -296,8 +296,8 @@ while ($row = mysqli_fetch_array($sql_companies)) { while ($row = mysqli_fetch_array($sql_invoice_items)) { $item_id = $row['item_id']; - $item_name = mysqli_real_escape_string($mysqli,$row['item_name']); //SQL Escape incase of , - $item_description = mysqli_real_escape_string($mysqli,$row['item_description']); //SQL Escape incase of , + $item_name = mysqli_real_escape_string($mysqli,$row['item_name']); //SQL Escape in case of , + $item_description = mysqli_real_escape_string($mysqli,$row['item_description']); //SQL Escape in case of , $item_quantity = $row['item_quantity']; $item_price = $row['item_price']; $item_subtotal = $row['item_subtotal']; @@ -368,4 +368,4 @@ while ($row = mysqli_fetch_array($sql_companies)) { } //End Company Loop through -?> \ No newline at end of file +?> diff --git a/dashboard_financial.php b/dashboard_financial.php index 041449ff..258b655b 100644 --- a/dashboard_financial.php +++ b/dashboard_financial.php @@ -39,7 +39,7 @@ $largest_income_month = 0; $sql_total_payments_to_invoices = mysqli_query($mysqli,"SELECT SUM(payment_amount) AS total_payments_to_invoices FROM payments WHERE YEAR(payment_date) = $year AND company_id = $session_company_id"); $row = mysqli_fetch_array($sql_total_payments_to_invoices); $total_payments_to_invoices = $row['total_payments_to_invoices']; -//Do not grab transfer payment as these have an category_id of 0 +//Do not grab transfer payment as these have a category_id of 0 $sql_total_revenues = mysqli_query($mysqli,"SELECT SUM(revenue_amount) AS total_revenues FROM revenues WHERE YEAR(revenue_date) = $year AND revenue_category_id > 0 AND company_id = $session_company_id"); $row = mysqli_fetch_array($sql_total_revenues); $total_revenues = $row['total_revenues']; @@ -65,7 +65,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']; -$receivables = $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; @@ -112,8 +112,8 @@ $vendors_added = $row['vendors_added'];