PHP-databaskonstruktion

Log | Files | Refs

commit 759c1e7c3e3c3d207ad1631b1203cfad04a0be4f
parent eedd3dfac4f51e9faeefbe81db949cd91ed41e65
Author: William Lindholm <william_lindholm@outlook.com>
Date:   Sun,  1 Oct 2023 14:46:18 +0000

Removed broken modal.

Diffstat:
Mreports.php | 10----------
Mutils/logs.txt | 30++++++++++++++++++++++++++++++
Mutils/modalBuilder.php | 2--
3 files changed, 30 insertions(+), 12 deletions(-)

diff --git a/reports.php b/reports.php @@ -21,16 +21,6 @@ $pageContent .= ' </form>'; $pageContent .= '</div>'; - $modalBuilder = (new ModalBuilder()) - ->setModalId('ArvhiceReport') - ->setProcedure('ArchiveReport') - ->setPostHandler(new ProcedureHandler()) - ->addDropdownColumn("Report", GetCompositeKeyValues("Report", ["Title", "DateCreated"])); - - $modalBuilder->handleData(); - $pageContent .= $modalBuilder->build(); - $pageContent .= $modalBuilder->generateOpenButton("Archive Report"); - $sqlQuery = $searchQuery ? "SELECT * FROM ArchivedReport WHERE Title LIKE '%{$searchQuery}%';" : "SELECT * FROM ArchivedReport;"; $pageContent .= tableFactory::createCustomTable($sqlQuery, "ArchivedReport"); diff --git a/utils/logs.txt b/utils/logs.txt @@ -2694,3 +2694,33 @@ 2023-10-01 14:38:13 - FROM MODALBUILDER: posthandler intercepting messages with operationType: UPDATE 2023-10-01 14:38:26 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT 2023-10-01 14:38:26 - FROM MODALBUILDER: posthandler intercepting messages with operationType: UPDATE +2023-10-01 14:41:23 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:23 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:24 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:24 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:25 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:25 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:26 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:26 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:31 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:32 - Incident: 'Ambush', '106' +2023-10-01 14:41:32 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:32 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:35 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:36 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:36 - FROM MODALBUILDER: posthandler intercepting messages with operationType: UPDATE +2023-10-01 14:41:56 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:58 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:41:58 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:42:01 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:42:02 - Incident: 'Breach', '105' +2023-10-01 14:42:02 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:42:02 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:42:06 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:42:06 - FROM MODALBUILDER: posthandler intercepting messages with operationType: UPDATE +2023-10-01 14:42:09 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:42:09 - Updating records in: Operation +2023-10-01 14:42:09 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:42:09 - FROM MODALBUILDER: posthandler intercepting messages with operationType: UPDATE +2023-10-01 14:42:11 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT +2023-10-01 14:42:18 - FROM MODALBUILDER: posthandler intercepting messages with operationType: INSERT diff --git a/utils/modalBuilder.php b/utils/modalBuilder.php @@ -130,8 +130,6 @@ </div> </form>"; - logg("FROM MODALBUILDER: posthandler intercepting messages with operationType: {$this->postHandler->getOperationType()}"); - return $modalStart . $modalBody . $modalEnd; } }