mirror of
https://github.com/itflow-org/itflow
synced 2026-09-19 21:25:13 +00:00
Update Font, Migrated away from JQUERY dependent libs: toastr to bootstrap5 toasts, daterangepicker to flatpickr, select2 to Tom Select, InputMask to IMask
This commit is contained in:
@@ -40,7 +40,7 @@ ob_start();
|
||||
<label>Type <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-tag"></i></span>
|
||||
<select class="form-control select2" name="type" required>
|
||||
<select class="form-select select2" name="type" required>
|
||||
<option value="">- Select Type -</option>
|
||||
<?php foreach ($product_types_array as $type_select) { ?>
|
||||
<option><?= $type_select ?></option>
|
||||
@@ -55,7 +55,7 @@ ob_start();
|
||||
<label>Category <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-tag"></i></span>
|
||||
<select class="form-control select2" name="category" required>
|
||||
<select class="form-select select2" name="category" required>
|
||||
<option value="">- Select Category -</option>
|
||||
<?php
|
||||
|
||||
@@ -93,7 +93,7 @@ ob_start();
|
||||
<label>Tax</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-balance-scale"></i></span>
|
||||
<select class="form-control select2" name="tax">
|
||||
<select class="form-select select2" name="tax">
|
||||
<option value="0">None</option>
|
||||
<?php
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ ob_start();
|
||||
<label>Category <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-list"></i></span>
|
||||
<select class="form-control select2" name="bulk_category_id">
|
||||
<select class="form-select select2" name="bulk_category_id">
|
||||
<?php
|
||||
|
||||
$sql = mysqli_query($mysqli, "SELECT category_id, category_name FROM categories WHERE category_type = 'Income' AND category_archived_at IS NULL ORDER BY category_name ASC");
|
||||
|
||||
@@ -45,7 +45,7 @@ ob_start();
|
||||
<label>Category <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-list"></i></span>
|
||||
<select class="form-control select2" name="category" required>
|
||||
<select class="form-select select2" name="category" required>
|
||||
<?php
|
||||
|
||||
$sql_select = mysqli_query($mysqli, "SELECT category_id, category_name FROM categories WHERE category_type = 'Income' AND (category_archived_at > '$product_created_at' OR category_archived_at IS NULL)");
|
||||
@@ -81,7 +81,7 @@ ob_start();
|
||||
<label>Tax</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-balance-scale"></i></span>
|
||||
<select class="form-control select2" name="tax">
|
||||
<select class="form-select select2" name="tax">
|
||||
<option value="0">None</option>
|
||||
<?php
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ ob_start();
|
||||
<label>Type</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-box"></i></span>
|
||||
<select class="form-control select2" name="type">
|
||||
<select class="form-select select2" name="type">
|
||||
<option value="">- All Types -</option>
|
||||
<option <?php if ($type_filter === 'product') { echo "selected"; } ?> value="product">Products</option>
|
||||
<option <?php if ($type_filter === 'service') { echo "selected"; } ?> value="service">Services</option>
|
||||
@@ -65,7 +65,7 @@ ob_start();
|
||||
<label>Category</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-list"></i></span>
|
||||
<select class="form-control select2" name="category">
|
||||
<select class="form-select select2" name="category">
|
||||
<option value="">- All Categories -</option>
|
||||
<?php
|
||||
$sql_category_filter = mysqli_query($mysqli, "SELECT category_id, category_name FROM categories WHERE category_type = 'Income' ORDER BY category_name ASC");
|
||||
@@ -85,7 +85,7 @@ ob_start();
|
||||
<label>Archived</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-archive"></i></span>
|
||||
<select class="form-control select2" name="archived">
|
||||
<select class="form-select select2" name="archived">
|
||||
<option <?php if (!$archived_filter) { echo "selected"; } ?> value="0">Active only</option>
|
||||
<option <?php if ($archived_filter) { echo "selected"; } ?> value="1">Archived only</option>
|
||||
</select>
|
||||
|
||||
@@ -32,7 +32,7 @@ ob_start();
|
||||
<label>Expense</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-shopping-cart"></i></span>
|
||||
<select class="form-control select2" name="expense">
|
||||
<select class="form-select select2" name="expense">
|
||||
<option value="0">- Link an Expense -</option>
|
||||
<?php
|
||||
|
||||
|
||||
Reference in New Issue
Block a user