mirror of
https://github.com/itflow-org/itflow
synced 2026-11-22 04:17:24 +00:00
QoL 64: bulk asset delete asks first, credential archive from a record page no longer asks as no other archive does, related ticket and service ticket removal ask first like the other ticket page removals, and four field hints use form-text
This commit is contained in:
@@ -449,7 +449,7 @@ $search_noun = $type_filter ? $asset_type_tabs[$type_filter]['label'] : 'assets'
|
||||
<i class="fas fa-fw fa-redo me-2"></i>Restore
|
||||
</button>
|
||||
<?php if ($can_delete) { ?>
|
||||
<button class="dropdown-item text-danger fw-bold"
|
||||
<button class="dropdown-item text-danger fw-bold confirm-link"
|
||||
type="submit" form="bulkActions" name="bulk_delete_assets">
|
||||
<i class="fas fa-fw fa-trash me-2"></i>Delete
|
||||
</button>
|
||||
|
||||
@@ -110,7 +110,7 @@ ob_start();
|
||||
<span class="input-group-text"><i class="fas fa-fw fa-calendar"></i></span>
|
||||
<input type="date" class="form-control" name="dtf" max="2999-12-31" data-statement-option>
|
||||
</div>
|
||||
<small class="text-body-secondary">Leave blank for all history</small>
|
||||
<div class="form-text">Leave blank for all history</div>
|
||||
</div>
|
||||
<div class="col-sm-6 mb-3">
|
||||
<label class="form-label">To</label>
|
||||
|
||||
@@ -181,9 +181,9 @@ ob_start();
|
||||
<span class="input-group-text"><i class="fas fa-fw fa-dollar-sign"></i></span>
|
||||
<input type="text" class="form-control" inputmode="decimal" pattern="-?[0-9]*\.?[0-9]{0,2}" name="price" value="<?= number_format($client_rate, 2, '.', '') ?>" required>
|
||||
</div>
|
||||
<small class="form-text text-body-secondary">
|
||||
<div class="form-text">
|
||||
<?= escapeHtml(ucfirst($client_rate_info['note'])) ?> is <strong><?= billingMoney($client_rate, $session_company_currency); ?></strong> an hour
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -614,7 +614,7 @@ if (!$service || ($client_url && intval($service['service_client_id']) !== intva
|
||||
<span>Raised about the service:</span>
|
||||
<?php foreach ($linked_tickets as $row) { ?>
|
||||
<span class="itflow-contact-chip"><?= escapeHtml(ticketReference($row)) ?>
|
||||
<a class="text-body-secondary ms-1" href="post.php?unlink_service_ticket=<?= intval($row['ticket_id']) ?>&service_id=<?= $service_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" title="Not about this service"><i class="fas fa-times"></i></a>
|
||||
<a class="text-body-secondary ms-1 confirm-link" href="post.php?unlink_service_ticket=<?= intval($row['ticket_id']) ?>&service_id=<?= $service_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" title="Not about this service"><i class="fas fa-times"></i></a>
|
||||
</span>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
@@ -1577,7 +1577,7 @@ if (isset($_GET['ticket_id'])) {
|
||||
<div class="d-flex align-items-start gap-2">
|
||||
<div class="text-truncate flex-grow-1"><?= ticketLink($other) ?></div>
|
||||
<?php if ($can_edit_ticket && (!intval($other['ticket_client_id']) || hasClientAccess($other['ticket_client_id']))) { ?>
|
||||
<a class="text-body-secondary" href="post.php?unlink_ticket=<?= $other_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" title="No longer related"><i class="fas fa-times"></i></a>
|
||||
<a class="text-body-secondary confirm-link" href="post.php?unlink_ticket=<?= $other_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" title="No longer related"><i class="fas fa-times"></i></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="d-flex align-items-center gap-2 mt-1 text-body-secondary">
|
||||
|
||||
Reference in New Issue
Block a user