mirror of
https://github.com/itflow-org/itflow
synced 2026-09-16 03:35:12 +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:
@@ -24,7 +24,7 @@ ob_start();
|
||||
<label>Client <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-user"></i></span>
|
||||
<select class="form-control select2" name="client_id" required>
|
||||
<select class="form-select select2" name="client_id" required>
|
||||
<option value="">- Select a Client -</option>
|
||||
<?php
|
||||
//select unarchived clients
|
||||
@@ -64,7 +64,7 @@ ob_start();
|
||||
<label>Frequency <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-clock"></i></span>
|
||||
<select class="form-control select2" name="frequency" required>
|
||||
<select class="form-select select2" name="frequency" required>
|
||||
<option value="">- Frequency -</option>
|
||||
<option value="month">Monthly</option>
|
||||
<option value="year">Yearly</option>
|
||||
@@ -76,7 +76,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="">- Category -</option>
|
||||
<?php
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ ob_start();
|
||||
<label>Frequency <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-clock"></i></span>
|
||||
<select class="form-control select2" name="frequency" required>
|
||||
<select class="form-select select2" name="frequency" required>
|
||||
<option value="">- Frequency -</option>
|
||||
<option <?php if ($recurring_invoice_frequency == 'month') { echo "selected"; } ?> value="month">Monthly</option>
|
||||
<option <?php if ($recurring_invoice_frequency == 'year') { echo "selected"; } ?> value="year">Yearly</option>
|
||||
@@ -71,7 +71,7 @@ ob_start();
|
||||
<label>Income 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="">- Category -</option>
|
||||
<?php
|
||||
|
||||
@@ -96,9 +96,7 @@ ob_start();
|
||||
<div class='mb-3'>
|
||||
<label>Discount Amount</label>
|
||||
<div class='input-group'>
|
||||
<div class='input-group-prepend'>
|
||||
<span class='input-group-text'><i class='fa fa-fw fa-dollar-sign'></i></span>
|
||||
</div>
|
||||
<input type='text' class='form-control' inputmode="decimal" pattern="-?[0-9]*\.?[0-9]{0,2}" name='recurring_invoice_discount' placeholder='0.00' value="<?= number_format($recurring_invoice_discount, 2, '.', '') ?>">
|
||||
</div>
|
||||
</div>
|
||||
@@ -107,7 +105,7 @@ ob_start();
|
||||
<label>Status <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-clock"></i></span>
|
||||
<select class="form-control select2" name="status" required>
|
||||
<select class="form-select select2" name="status" required>
|
||||
<option <?php if ($recurring_invoice_status == 1) {
|
||||
echo "selected";
|
||||
} ?> value="1">Active</option>
|
||||
|
||||
@@ -52,7 +52,7 @@ ob_start();
|
||||
<label>Status</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-toggle-on"></i></span>
|
||||
<select class="form-control select2" name="status">
|
||||
<select class="form-select select2" name="status">
|
||||
<option value="">- Any Status -</option>
|
||||
<option <?php if ($status_filter === 'active') { echo "selected"; } ?> value="active">Active</option>
|
||||
<option <?php if ($status_filter === 'inactive') { echo "selected"; } ?> value="inactive">Inactive</option>
|
||||
|
||||
@@ -75,7 +75,7 @@ ob_start();
|
||||
<label>Tax <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-piggy-bank"></i></span>
|
||||
<select class="form-control select2" name="tax_id" required>
|
||||
<select class="form-select select2" name="tax_id" required>
|
||||
<option value="0">No Tax</option>
|
||||
<?php
|
||||
$taxes_sql = mysqli_query($mysqli, "SELECT tax_id, tax_name, tax_percent FROM taxes WHERE (tax_archived_at > '$item_created_at' OR tax_archived_at IS NULL) ORDER BY tax_name ASC");
|
||||
|
||||
Reference in New Issue
Block a user