mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Hide Archived dropdowns when adding adding a new item, except when you are editing an item from before the archived date, Do not allow archiving account until balance is 0.
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
<option value="">N/A</option>
|
||||
<?php
|
||||
|
||||
$referral_sql = mysqli_query($mysqli,"SELECT * FROM categories WHERE category_type = 'Referral' AND company_id = $session_company_id ORDER BY category_name ASC");
|
||||
$referral_sql = mysqli_query($mysqli,"SELECT * FROM categories WHERE category_type = 'Referral' AND category_archived_at IS NULL AND company_id = $session_company_id ORDER BY category_name ASC");
|
||||
while($row = mysqli_fetch_array($referral_sql)){
|
||||
$referral = $row['category_name'];
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user