mirror of
https://github.com/itflow-org/itflow
synced 2026-03-10 07:44:50 +00:00
Up Max Client Abbreviation length from 5 to 6
This commit is contained in:
@@ -297,7 +297,7 @@
|
|||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
<span class="input-group-text"><i class="fa fa-fw fa-id-badge"></i></span>
|
<span class="input-group-text"><i class="fa fa-fw fa-id-badge"></i></span>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" class="form-control" name="abbreviation" placeholder="Abbreviated name for client" maxlength="5" oninput="this.value = this.value.toUpperCase()">
|
<input type="text" class="form-control" name="abbreviation" placeholder="Abbreviated name for client" maxlength="6" oninput="this.value = this.value.toUpperCase()">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -190,7 +190,7 @@
|
|||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
<span class="input-group-text"><i class="fa fa-fw fa-id-badge"></i></span>
|
<span class="input-group-text"><i class="fa fa-fw fa-id-badge"></i></span>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" class="form-control" name="abbreviation" placeholder="Abbreviated name for client" value="<?php echo $client_abbreviation; ?>" maxlength="5" oninput="this.value = this.value.toUpperCase()">
|
<input type="text" class="form-control" name="abbreviation" placeholder="Abbreviated name for client" value="<?php echo $client_abbreviation; ?>" maxlength="6" oninput="this.value = this.value.toUpperCase()">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ $sql = mysqli_query($mysqli, "SELECT SQL_CALC_FOUND_ROWS domains.*,
|
|||||||
LEFT JOIN vendors AS mailhost ON domains.domain_mailhost = mailhost.vendor_id
|
LEFT JOIN vendors AS mailhost ON domains.domain_mailhost = mailhost.vendor_id
|
||||||
LEFT JOIN vendors AS webhost ON domains.domain_webhost = webhost.vendor_id
|
LEFT JOIN vendors AS webhost ON domains.domain_webhost = webhost.vendor_id
|
||||||
WHERE domain_archived_at IS NULL
|
WHERE domain_archived_at IS NULL
|
||||||
AND (domains.domain_name LIKE '%$q%' OR domain_description LIKE '%$q%' OR registrar.vendor_name LIKE '%$q%' OR dnshost.vendor_name LIKE '%$q%' OR mailhost.vendor_name LIKE '%$q%' OR webhost.vendor_name LIKE '%$q%' OR client_name LIKE '%$q%')
|
AND (domain_name LIKE '%$q%' OR domain_description LIKE '%$q%' OR registrar.vendor_name LIKE '%$q%' OR dnshost.vendor_name LIKE '%$q%' OR mailhost.vendor_name LIKE '%$q%' OR webhost.vendor_name LIKE '%$q%' OR client_name LIKE '%$q%')
|
||||||
ORDER BY $sort $order LIMIT $record_from, $record_to");
|
ORDER BY $sort $order LIMIT $record_from, $record_to");
|
||||||
|
|
||||||
$num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
$num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||||
|
|||||||
Reference in New Issue
Block a user