Link opens the standard picker under the button instead of a window - linked records ticked, tick to link and untick to unlink, saved when the picker closes with one message - for every record link, contact and asset credentials, a contact's assets, project and service tickets, a ticket's services and related tickets, with a document's or file's Link grouped by kind and quick looks reloading in place; the old link windows and the handlers only they used are removed

This commit is contained in:
johnnyq
2026-11-20 18:23:48 -05:00
parent c1bdc99c14
commit 8ac88a48fd
54 changed files with 837 additions and 1252 deletions

View File

@@ -1,12 +0,0 @@
<?php
/*
* Kept so existing links keep working. Every pair is linked in
* agent/modals/link/link.php, here opened on its Assets tab.
*/
$_GET['from'] = 'document';
$_GET['id'] = intval($_GET['document_id'] ?? 0);
$_GET['to'] = 'asset';
require __DIR__ . '/../link/link.php';

View File

@@ -1,12 +0,0 @@
<?php
/*
* Kept so existing links keep working. Every pair is linked in
* agent/modals/link/link.php, here opened on its Contacts tab.
*/
$_GET['from'] = 'document';
$_GET['id'] = intval($_GET['document_id'] ?? 0);
$_GET['to'] = 'contact';
require __DIR__ . '/../link/link.php';

View File

@@ -1,12 +0,0 @@
<?php
/*
* Kept so existing links keep working. Every pair is linked in
* agent/modals/link/link.php, here opened on its Files tab.
*/
$_GET['from'] = 'document';
$_GET['id'] = intval($_GET['document_id'] ?? 0);
$_GET['to'] = 'file';
require __DIR__ . '/../link/link.php';

View File

@@ -1,12 +0,0 @@
<?php
/*
* Kept so existing links keep working. Every pair is linked in
* agent/modals/link/link.php, here opened on its Licenses tab.
*/
$_GET['from'] = 'document';
$_GET['id'] = intval($_GET['document_id'] ?? 0);
$_GET['to'] = 'software';
require __DIR__ . '/../link/link.php';

View File

@@ -1,12 +0,0 @@
<?php
/*
* Kept so existing links keep working. Every pair is linked in
* agent/modals/link/link.php, here opened on its Vendors tab.
*/
$_GET['from'] = 'document';
$_GET['id'] = intval($_GET['document_id'] ?? 0);
$_GET['to'] = 'vendor';
require __DIR__ . '/../link/link.php';