mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Clients API - Add - abbreviation support
This commit is contained in:
@@ -66,6 +66,14 @@ if (isset($_POST['client_tax_id_number'])) {
|
||||
$tax_id_number = '';
|
||||
}
|
||||
|
||||
if (isset($_POST['client_abbreviation'])) {
|
||||
$abbreviation = substr(sanitizeInput($_POST['client_abbreviation']), 0, 6);
|
||||
} elseif ($client_row) {
|
||||
$abbreviation = $client_row['client_abbreviation'];
|
||||
} else {
|
||||
$abbreviation = '';
|
||||
}
|
||||
|
||||
if (isset($_POST['client_is_lead'])) {
|
||||
$lead = intval($_POST['client_is_lead']);
|
||||
} elseif ($client_row) {
|
||||
|
||||
Reference in New Issue
Block a user