diff --git a/client.php b/client.php index 60ee3ed2..b106c4f9 100644 --- a/client.php +++ b/client.php @@ -109,21 +109,8 @@ if(isset($_GET['client_id'])){ @@ -133,37 +120,14 @@ if(isset($_GET['client_id'])){ -
-
-
-
- -
- -
- -
-
-
-
+ - - - - - - - - - - - - - - + +} + +?> -
- - - - - - - - - - - - - - - - - -
ApplicationTypeLicenseActions
+
+
+
Applications
+ +
+
+
+ + + + + + + + + + + - + + while($row = mysqli_fetch_array($sql)){ + $client_application_id = $row['client_application_id']; + $client_application_name = $row['client_application_name']; + $client_application_type = $row['client_application_type']; + $client_application_license = $row['client_application_license']; - + + + + + + + - - - - + +
ApplicationTypeLicenseActions
+ + + + - - + + + +
- -
+
+
+
-
-
\ No newline at end of file + \ No newline at end of file diff --git a/client_assets.php b/client_assets.php index d84e173c..997d4be0 100644 --- a/client_assets.php +++ b/client_assets.php @@ -1,99 +1,110 @@ -
- - - - - - - - - - - - - +
+
Assets
+ +
+
- $sql2 = mysqli_query($mysqli,"SELECT * FROM client_logins WHERE client_asset_id = $client_asset_id"); - $row = mysqli_fetch_array($sql2); - $client_login_id = $row['client_login_id']; - $client_login_username = $row['client_login_username']; - $client_login_password = $row['client_login_password']; - $client_asset_id_relation = $row['client_asset_id']; - - ?> -
- - - - - -
TypeNameMake/ModelSerialActions
+
+ + + + + + + + + + + + - + + while($row = mysqli_fetch_array($sql)){ + $client_asset_id = $row['client_asset_id']; + $client_asset_type = $row['client_asset_type']; + $client_asset_name = $row['client_asset_name']; + $client_asset_make = $row['client_asset_make']; + $client_asset_model = $row['client_asset_model']; + $client_asset_serial = $row['client_asset_serial']; - + + + + + + + + - - - - + +
TypeNameMake/ModelSerialActions
+ + + + + + + +
- -
+
+ + -
-
\ No newline at end of file + \ No newline at end of file diff --git a/client_contacts.php b/client_contacts.php index dfef7b21..bd21ca0f 100644 --- a/client_contacts.php +++ b/client_contacts.php @@ -1,54 +1,63 @@ +
+
+
Contacts
+ +
+
+
+ + + + + + + + + + + + 2){ + $client_contact_phone = substr($row['client_contact_phone'],0,3)."-".substr($row['client_contact_phone'],3,3)."-".substr($row['client_contact_phone'],6,4); + } + $client_contact_email = $row['client_contact_email']; + + ?> + + + + + + + + -
-
NameTitleEmailPhoneActions
+ +
- - - - - - - - - - - 2){ - $client_contact_phone = substr($row['client_contact_phone'],0,3)."-".substr($row['client_contact_phone'],3,3)."-".substr($row['client_contact_phone'],6,4); - } - $client_contact_email = $row['client_contact_email']; - - ?> - - - - - - - - + - + +
NameTitleEmailPhoneActions
- -
+
+
+
- - - \ No newline at end of file + \ No newline at end of file diff --git a/client_domains.php b/client_domains.php index 436fe75b..6e4ff15d 100644 --- a/client_domains.php +++ b/client_domains.php @@ -1,51 +1,62 @@ -
- - - - - - - - - - - - +
+
Domains
+ +
+
- - ?> -
- - - - - - +
+
DomainRegistrarExpireServerActions
- -
+ + + + + + + + + + + + + ?> + + + + + + + - -
DomainRegistrarExpireServerActions
+ +
-
\ No newline at end of file + + + + + + + + + \ No newline at end of file diff --git a/client_files.php b/client_files.php index d902a60e..cdb30b1a 100644 --- a/client_files.php +++ b/client_files.php @@ -1,25 +1,37 @@ -

Pictures

-
-
- -
- - - - +
+
+
Files
+ +
+
+ +

Pictures

+
+
+ + +
+ + + + +
+ + +
- - +
+
-
\ No newline at end of file + \ No newline at end of file diff --git a/client_invoices.php b/client_invoices.php index 8a37b95f..0930d769 100644 --- a/client_invoices.php +++ b/client_invoices.php @@ -4,89 +4,100 @@ ?> -
- - - - - - - - - - - - - +
+
Invoices
+ +
+
- if(($invoice_status == "Sent" or $invoice_status == "Partial") and strtotime($invoice_due) < $now ){ - $overdue_color = "text-danger font-weight-bold"; - $overdue_badge = "badge-danger"; - $invoice_status = "Overdue"; - }else{ - $overdue_color = ""; - $overdue_badge = ""; +
+
NumberAmountDateDueStatusActions
+ + + + + + + + + + + + + + + + + + + + + + + - ?> + +
NumberAmountDateDueStatusActions
INV-$
+ + + + + +
+
+
+ - - INV- - $ - -
- - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/client_locations.php b/client_locations.php index 268201cb..2ea41f32 100644 --- a/client_locations.php +++ b/client_locations.php @@ -1,53 +1,64 @@ -
- - - - - - - - - - - 2){ - $client_location_phone = substr($row['client_location_phone'],0,3)."-".substr($row['client_location_phone'],3,3)."-".substr($row['client_location_phone'],6,4); - } - - ?> - - - - - - +
+
+
Locations
+ +
+
- +
+
NameAddressPhoneActions
" target="_blank"> - -
+ + + + + + + + + + 2){ + $client_location_phone = substr($row['client_location_phone'],0,3)."-".substr($row['client_location_phone'],3,3)."-".substr($row['client_location_phone'],6,4); + } + + ?> + + + + + + - -
NameAddressPhoneActions
" target="_blank"> + +
-
\ No newline at end of file + + + + + + + + + \ No newline at end of file diff --git a/client_logins.php b/client_logins.php index 47ae7981..5355b535 100644 --- a/client_logins.php +++ b/client_logins.php @@ -1,47 +1,57 @@ -
- - - - - - - - - - - - - - - - - +
+
+
Logins
+ +
+
+
+
DescriptionUsernamePasswordActions
- -
+ + + + + + + + + + + + + + + + - + - -
DescriptionUsernamePasswordActions
+ +
-
\ No newline at end of file + + + + + + + \ No newline at end of file diff --git a/client_networks.php b/client_networks.php index 41eb1242..9669263d 100644 --- a/client_networks.php +++ b/client_networks.php @@ -1,51 +1,61 @@ -
- - - - - - - - - - - - +
+
Networks
+ +
+
+
+
NameNetworkGatewayDHCP RangeActions
+ + + + + + + + + + + - - - - - - - + + ?> + + + + + + + - + - -
NameNetworkGatewayDHCP RangeActions
- -
+ +
-
\ No newline at end of file + + + + + + + \ No newline at end of file diff --git a/client_notes.php b/client_notes.php index af234e5b..85b4c37b 100644 --- a/client_notes.php +++ b/client_notes.php @@ -1,43 +1,55 @@ +
+
+
Notes
+ +
+
- -
-
- - - - +
+
+ + + + +
+
+ text("$client_note_body"); + ?> +
+
-
- text("$client_note_body"); - ?> -
- -
- - + + +
+
+ + diff --git a/client_quotes.php b/client_quotes.php index 6376dd5b..b5a1ec5b 100644 --- a/client_quotes.php +++ b/client_quotes.php @@ -4,75 +4,85 @@ ?> -
- - - - - - - - - - - - +
+
Quotes
+ +
+
+
+
NumberAmountDateStatusActions
+ + + + + + + + + + + + ?> - - - - - - - - - + + + + + + + + + - + ?> - -
NumberAmountDateStatusActions
QUO-$$
- - - - - -
QUO-$$
+ + + + + +
-
\ No newline at end of file + + +
+ + + + \ No newline at end of file diff --git a/client_recurring.php b/client_recurring.php index 74716401..96495a70 100644 --- a/client_recurring.php +++ b/client_recurring.php @@ -6,75 +6,86 @@ ORDER BY recurring_invoices.recurring_invoice_id DESC"); ?> -
- - - - - - - - - - - - - +
+
Recurring Invoices
+ +
+
+ +
+
FrequencyStart DateLast SentNext DateStatusActions
+ + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + +
FrequencyStart DateLast SentNext DateStatusActions
ly + + + + + +
ly - - - - - -
+
+ + - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/client_vendors.php b/client_vendors.php index a4cc1d12..4200690d 100644 --- a/client_vendors.php +++ b/client_vendors.php @@ -1,97 +1,107 @@ -
- - - - - - - - - - - - - - - - - -
VendorDescriptionAccount NumberActions
+
+
+
Vendors
+ +
+
+
+ + + + + + + + + + + - + + while($row = mysqli_fetch_array($sql)){ + $client_vendor_id = $row['client_vendor_id']; + $client_vendor_name = $row['client_vendor_name']; + $client_vendor_description = $row['client_vendor_description']; + $client_vendor_account_number = $row['client_vendor_account_number']; + $client_login_id = $row['client_login_id']; - + + + + + + + + - - - + +
VendorDescriptionAccount NumberActions
+ + + + + + + +
- -
+
+
+
- - -
-
\ No newline at end of file + \ No newline at end of file diff --git a/clients.php b/clients.php index 313d211b..ec9db294 100644 --- a/clients.php +++ b/clients.php @@ -52,7 +52,7 @@ $balance = $invoice_amounts - $amount_paid; //set Text color on balance if($balance > 0){ - $balance_text_color = "text-danger"; + $balance_text_color = "text-danger font-weight-bold"; }else{ $balance_text_color = ""; } diff --git a/dashboard.php b/dashboard.php index f221c3c1..5e2c8699 100644 --- a/dashboard.php +++ b/dashboard.php @@ -203,4 +203,62 @@ $sql_latest_expenses = mysqli_query($mysqli,"SELECT * FROM expenses, vendors, ca - \ No newline at end of file + + \ No newline at end of file diff --git a/footer.php b/footer.php index 4d3d82d0..a7266ae4 100644 --- a/footer.php +++ b/footer.php @@ -25,8 +25,6 @@ - - diff --git a/header.php b/header.php index 4d54b043..1b06d55d 100644 --- a/header.php +++ b/header.php @@ -25,12 +25,6 @@ - - - - - - diff --git a/js/app.js b/js/app.js index 561eb5e7..1b6bd258 100644 --- a/js/app.js +++ b/js/app.js @@ -1,61 +1,3 @@ - - // Set new default font family and font color to mimic Bootstrap's default styling -Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'; -Chart.defaults.global.defaultFontColor = '#292b2c'; - -// Area Chart Example -var ctx = document.getElementById("myAreaChart"); -var myLineChart = new Chart(ctx, { - type: 'line', - data: { - labels: ["Mar 1", "Mar 2", "Mar 3", "Mar 4", "Mar 5", "Mar 6", "Mar 7", "Mar 8", "Mar 9", "Mar 10", "Mar 11", "Mar 12", "Mar 13"], - datasets: [{ - label: "Sessions", - lineTension: 0.3, - backgroundColor: "rgba(2,117,216,0.2)", - borderColor: "rgba(2,117,216,1)", - pointRadius: 5, - pointBackgroundColor: "rgba(2,117,216,1)", - pointBorderColor: "rgba(255,255,255,0.8)", - pointHoverRadius: 5, - pointHoverBackgroundColor: "rgba(2,117,216,1)", - pointHitRadius: 50, - pointBorderWidth: 2, - data: [10000, 30162, 26263, 18394, 18287, 28682, 31274, 33259, 25849, 24159, 32651, 31984, 38451], - }], - }, - options: { - scales: { - xAxes: [{ - time: { - unit: 'date' - }, - gridLines: { - display: false - }, - ticks: { - maxTicksLimit: 7 - } - }], - yAxes: [{ - ticks: { - min: 0, - max: 40000, - maxTicksLimit: 5 - }, - gridLines: { - color: "rgba(0, 0, 0, .125)", - } - }], - }, - legend: { - display: false - } - } -}); - - - //Prevents resubmit on refresh or back if ( window.history.replaceState ) { window.history.replaceState( null, null, window.location.href );