mirror of
https://github.com/itflow-org/itflow
synced 2026-03-10 15:54:51 +00:00
DB Structure Update - Added Extension to contact on export PDF, finished contact departments
This commit is contained in:
@@ -53,6 +53,30 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Department</label>
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-building"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="department">
|
||||
<option value="">- Department -</option>
|
||||
<?php
|
||||
|
||||
$sql = mysqli_query($mysqli,"SELECT * FROM departments WHERE department_archived_at IS NULL AND department_client_id = $client_id ORDER BY department_name ASC");
|
||||
while($row = mysqli_fetch_array($sql)){
|
||||
$department_id = $row['department_id'];
|
||||
$department_name = $row['department_name'];
|
||||
?>
|
||||
<option value="<?php echo $department_id; ?>"><?php echo $department_name; ?></option>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<label>Phone</label>
|
||||
<div class="form-row">
|
||||
|
||||
Reference in New Issue
Block a user