Quick add: the plus beside Contact, Site, Location, Assigned to and Vendor in New Ticket, Edit Ticket and the asset form opens the usual New Contact, New Location or New Vendor window over the form, saved in the background and picked, in place of the pop-up

This commit is contained in:
johnnyq
2026-11-20 12:49:34 -05:00
parent 4083b7cbf3
commit 2fdb280406
89 changed files with 406 additions and 319 deletions

View File

@@ -204,7 +204,7 @@ ob_start();
<option value="">- Pick a category -</option>
<?= categoryOptionsHtml('Expense', $category_id ?: null) ?>
</select>
<?= categoryAddButtonHtml('Expense', 'btn btn-secondary') ?>
<?= categoryAddButtonHtml('Expense') ?>
</div>
<?= $error_for('expense_category') ?>
<div class="form-text">Processing Fee, or the like.</div>

View File

@@ -144,7 +144,7 @@ ob_start();
<option value="0">- Not Categorized -</option>
<?= categoryOptionsHtml('Ticket', $alert_category_id ?: null) ?>
</select>
<?= categoryAddButtonHtml('Ticket', 'btn btn-secondary') ?>
<?= categoryAddButtonHtml('Ticket') ?>
</div>
</div>
</div>

View File

@@ -50,7 +50,7 @@ $contact_phone_value = ($vt['contact_phone'] ?? '') !== '' ? escapeHtml(formatPh
</div>
</div>
<div class="col-12">
<label class="form-label">What they are</label>
<label class="form-label">Description</label>
<div class="input-group">
<span class="input-group-text"><i class="fa fa-fw fa-align-left"></i></span>
<input type="text" class="form-control" name="description" placeholder="Business internet and phone, servers and workstations" maxlength="200" value="<?= $value('description') ?>">