mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Tidy codestyle - spaces between parenthesis and curly braces
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
</div>
|
||||
<select class="form-control select2" name="frequency" required>
|
||||
<option value="">- Frequency -</option>
|
||||
<option <?php if($recurring_frequency == 'week'){ echo "selected"; } ?> value="week">Weekly</option>
|
||||
<option <?php if($recurring_frequency == 'month'){ echo "selected"; } ?> value="month">Monthly</option>
|
||||
<option <?php if($recurring_frequency == 'year'){ echo "selected"; } ?> value="year">Yearly</option>
|
||||
<option <?php if ($recurring_frequency == 'week') { echo "selected"; } ?> value="week">Weekly</option>
|
||||
<option <?php if ($recurring_frequency == 'month') { echo "selected"; } ?> value="month">Monthly</option>
|
||||
<option <?php if ($recurring_frequency == 'year') { echo "selected"; } ?> value="year">Yearly</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -48,11 +48,11 @@
|
||||
<?php
|
||||
|
||||
$sql_income_category = mysqli_query($mysqli,"SELECT * FROM categories WHERE category_type = 'Income' AND (category_archived_at > '$recurring_created_at' OR category_archived_at IS NULL) AND company_id = $session_company_id ORDER BY category_name ASC");
|
||||
while($row = mysqli_fetch_array($sql_income_category)){
|
||||
while ($row = mysqli_fetch_array($sql_income_category)) {
|
||||
$category_id_select= $row['category_id'];
|
||||
$category_name_select = htmlentities($row['category_name']);
|
||||
?>
|
||||
<option <?php if($category_id == $category_id_select){ ?> selected <?php } ?> value="<?php echo $category_id_select; ?>"><?php echo $category_name_select; ?></option>
|
||||
<option <?php if ($category_id == $category_id_select) { ?> selected <?php } ?> value="<?php echo $category_id_select; ?>"><?php echo $category_name_select; ?></option>
|
||||
|
||||
<?php
|
||||
}
|
||||
@@ -81,8 +81,8 @@
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-clock"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="status" required>
|
||||
<option <?php if($recurring_status == 1){ echo "selected"; } ?> value="1">Active</option>
|
||||
<option <?php if($recurring_status == 0){ echo "selected"; } ?> value="0">InActive</option>
|
||||
<option <?php if ($recurring_status == 1) { echo "selected"; } ?> value="1">Active</option>
|
||||
<option <?php if ($recurring_status == 0) { echo "selected"; } ?> value="0">InActive</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user