diff --git a/check_login.php b/check_login.php index 0f629776..64e70969 100644 --- a/check_login.php +++ b/check_login.php @@ -18,6 +18,9 @@ $session_name = $row['name']; $session_email = $row['email']; $session_avatar = $row['avatar']; + if(empty($session_avatar)){ + $session_avatar = "dist/img/noone.png"; + } $session_company_id = $row['company_id']; $session_company_name = $row['company_name']; $session_token = $row['token']; diff --git a/clients.php b/clients.php index 55e5ac42..a6eac0fc 100644 --- a/clients.php +++ b/clients.php @@ -58,40 +58,20 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); ?> -
-
-
-
-

Clients

-
-
- -
-
-
-
- -
-
-
-
-
- -
- -
-
- - - - -
-
+
+
+
Clients
+
-
+
+
+
+ +
+ +
+
+
"> diff --git a/cron.php b/cron.php index 61f5c850..93a6a890 100644 --- a/cron.php +++ b/cron.php @@ -66,7 +66,7 @@ while($row = mysqli_fetch_array($sql_companies)){ //PAST DUE INVOICE ALERTS //$invoiceAlertArray = [$config_invoice_overdue_reminders]; - $invoiceAlertArray = [3,8,14,30,60,90,120]; + $invoiceAlertArray = [3,8,14,30,45,60,90,120]; foreach($invoiceAlertArray as $day){ diff --git a/dist/img/noone.png b/dist/img/noone.png new file mode 100644 index 00000000..bbd0c875 Binary files /dev/null and b/dist/img/noone.png differ diff --git a/invoice.php b/invoice.php index 95d0c475..9521e658 100644 --- a/invoice.php +++ b/invoice.php @@ -354,6 +354,7 @@ if(isset($_GET['invoice_id'])){ + @@ -365,13 +366,14 @@ if(isset($_GET['invoice_id'])){ $payment_id = $row['payment_id']; $payment_date = $row['payment_date']; $payment_amount = $row['payment_amount']; + $payment_reference = $row['payment_reference']; $account_name = $row['account_name']; - ?> +
Date AmountReference Account Action
$