diff --git a/client_asset_details.php b/client_asset_details.php index de8573d2..7f1f6c39 100644 --- a/client_asset_details.php +++ b/client_asset_details.php @@ -684,8 +684,8 @@ if (isset($_GET['asset_id'])) { ?> - - + + diff --git a/client_contact_details.php b/client_contact_details.php index c4c4815c..2c6397dc 100644 --- a/client_contact_details.php +++ b/client_contact_details.php @@ -566,8 +566,8 @@ if (isset($_GET['contact_id'])) { ?> - - + + diff --git a/client_events.php b/client_events.php index 938898af..61031c59 100644 --- a/client_events.php +++ b/client_events.php @@ -131,7 +131,7 @@ while ($row = mysqli_fetch_array($sql)) { $event_start = json_encode($row['invoice_date']); - echo "{ id: $event_id, title: $event_title, start: $event_start, display: 'list-item', color: 'blue', url: 'invoice.php?invoice_id=$event_id' },"; + echo "{ id: $event_id, title: $event_title, start: $event_start, display: 'list-item', color: 'blue', url: 'invoice.php?client_id=$client_id&invoice_id=$event_id' },"; } //Quotes Created @@ -141,7 +141,7 @@ while ($row = mysqli_fetch_array($sql)) { $event_title = json_encode($row['quote_prefix'] . $row['quote_number'] . " " . $row['quote_scope']); $event_start = json_encode($row['quote_date']); - echo "{ id: $event_id, title: $event_title, start: $event_start, display: 'list-item', color: 'purple', url: 'quote.php?quote_id=$event_id' },"; + echo "{ id: $event_id, title: $event_title, start: $event_start, display: 'list-item', color: 'purple', url: 'quote.php?client_id=$client_id"e_id=$event_id' },"; } //Tickets Created @@ -175,7 +175,7 @@ while ($row = mysqli_fetch_array($sql)) { $event_color = "black"; } - echo "{ id: $event_id, title: $event_title, start: $event_start, color: '$event_color', url: 'ticket.php?ticket_id=$event_id' },"; + echo "{ id: $event_id, title: $event_title, start: $event_start, color: '$event_color', url: 'ticket.php?client_id=$client_id&ticket_id=$event_id' },"; } // Recurring Tickets @@ -233,7 +233,7 @@ while ($row = mysqli_fetch_array($sql)) { $event_start = json_encode($row['ticket_schedule']); - echo "{ id: $event_id, title: $event_title, start: $event_start, color: '$event_color', url: 'ticket.php?ticket_id=$event_id' },"; + echo "{ id: $event_id, title: $event_title, start: $event_start, color: '$event_color', url: 'ticket.php?client_id=$client_id&ticket_id=$event_id' },"; } ?> ], diff --git a/client_overview.php b/client_overview.php index 13b8c32e..528008eb 100644 --- a/client_overview.php +++ b/client_overview.php @@ -607,7 +607,7 @@ $sql_asset_retired = mysqli_query( ?> - + diff --git a/client_payments.php b/client_payments.php index 6c12296a..fe1f23c0 100644 --- a/client_payments.php +++ b/client_payments.php @@ -131,7 +131,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); - +